Request format

https://static.api.mappable.world/v1
  ? apikey=<string>
  & ll=<float,float>
  & [spn=<float>]
  & [z=<integer>]
  & [size=<integer,integer>]
  & [scale=<float>]
  & [pt=<string>]
  & [pl=<string>]

All params

apikey

Required parameter

The key issued in the Mappable Account.

Note

Key activation takes up to 15 minutes.

ll

Required parameter

Longitude and latitude of the map center in degrees, see map center.

spn

Range of the map viewport by longitude and latitude (in degrees); see viewport.

z

Map zoom level (0–21), see map zoom level.

size

Height and width of the requested map image (in pixels), see map size. By default, its value is 450 × 450.

scale

Coefficient for scaling map objects. Takes a fractional value from 1.0 to 4.0. For more information, see scaling map objects.

pt

Contains definitions of one or more markers to be displayed on the map.

Each marker definition contains its coordinates (longitude and latitude) along with information on its appearance (including style, color, size, and the marker text). Marker definitions are separated by a tilde (~).

For more information, see markers.

pl

Contains definitions of geometric figures (polylines and polygons) to be displayed on the map.

The figure definition contains coordinates for its points, formatted as {longitude1},{latitude1},...{longitudeN},{latitudeN} or Base64, as well as information about the line color and thickness and the fill color (for polygons). Figure definitions are separated by a tilde (~).

For more information, see lines and polygons