Vector tiles for web or mobile maps

We offer the map POI's service in the Mapbox vector tiles format.

Currently two dynamic layers are supported:

pois - all API objects. Each object contains a Point type geometry and a unique object identifier (id). Most objects also contain a name field. You can use the id as a parameter of the /{lang}/places/xid/{id} function to get information about an object.

heat - groups of points corresponding to API objects intended for creating heatmaps. Each layer object contains a Point type geometry and the number of points n that are included in the object geometry. The heat layer object with n=1 corresponds to one object from the pois layer.

https://api.opentripmap.com/0.1/­{lang}­/tiles/{layer}­/{z}­/{x}­/{y}.pbf?kinds={kinds}&rate={rate}&apikey={apikey}

Name Description
lang *
(path)

Language code (2 characters, ISO639-1). The following values are available: en (english), ru (russian)

layer *
(path)

Layer name.

Available values : pois, heat

z *
(path)

Zoom ranges from 8 to 14 for pois layer and from 1 to 10 for heat layer

x *
(path)

Horizontal tile position, counting from the "left", ranges from 0 to variable depending on the zoom

y *
(path)

Vertical tile position, counting from the "top", ranges from 0 to variable depending on the zoom

rate
(query)

Minimum rating of the object popularity, 1 - minimum, 3- maximum, h - object is referred to the cultural heritage. 2 (all named objects) is default.

Available values : 1, 2, 3, 1h, 2h, 3h

kinds
(query)

Object category. Several comma-separated categories may be stated with OR logic (see The categories tree).

Objects from interesting_places category are returned by default.

The example below uses the Mapbox GL JS library to display the world's museums map. By clicking on a point on the map, you can see a photo and description of the corresponding object. Zoom out to view the heatmap.

See this example stand-alone