{"componentChunkName":"component---src-templates-developers-js","path":"/en/developers/apis/4-map-api/pois/","result":{"data":{"childPages":{"edges":[{"node":{"fields":{"slug":"/en/developers/"},"frontmatter":{"title":"For developers","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/"},"frontmatter":{"title":"System architecture","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/api-registration/"},"frontmatter":{"title":"API portal and registration","order":-12,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/changes/"},"frontmatter":{"title":"Changes","order":-10,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/user-interfaces/"},"frontmatter":{"title":"User interfaces","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/deprecations/"},"frontmatter":{"title":"Deprecations","order":-11,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/docker-guide/"},"frontmatter":{"title":"Docker guide","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/"},"frontmatter":{"title":"APIs","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/"},"frontmatter":{"title":"Routing API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/2-routing-data-api/"},"frontmatter":{"title":"Routing data API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/4-map-api/"},"frontmatter":{"title":"Map API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/"},"frontmatter":{"title":"API architecture","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/6-api-faq/"},"frontmatter":{"title":"FAQ","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/"},"frontmatter":{"title":"Realtime APIs","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/3-geocoding-api/"},"frontmatter":{"title":"Geocoding API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/7-terms-of-use/"},"frontmatter":{"title":"Terms of use","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/user-interfaces/1-digitransit-ui/"},"frontmatter":{"title":"Digitransit-ui","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/0-graphql/"},"frontmatter":{"title":"GraphQL","order":10,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/3-realtime-information/"},"frontmatter":{"title":"Real-time information","order":40,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/2-glossary/"},"frontmatter":{"title":"Glossary","order":30,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/canceled-trips/"},"frontmatter":{"title":"Canceled trips","order":80,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/disruption-info/"},"frontmatter":{"title":"Disruption info","order":70,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/4-translations/"},"frontmatter":{"title":"Translation","order":50,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/routes/"},"frontmatter":{"title":"Routes","order":100,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/stops/"},"frontmatter":{"title":"Stops","order":110,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/bicycles-scooters-cars/"},"frontmatter":{"title":"Bicycles, cars and e-scooters","order":60,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/itinerary-planning/"},"frontmatter":{"title":"Itinerary planning","order":90,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/1-routing-api/"},"frontmatter":{"title":"Routing API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/2-routing-data-api/"},"frontmatter":{"title":"Routing Data","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/4-map-api/"},"frontmatter":{"title":"Map API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/5-realtime-api/"},"frontmatter":{"title":"Real-time APIs","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/3-geocoding-api/"},"frontmatter":{"title":"Geocoding API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/1-routing-api/1-graphiql/"},"frontmatter":{"title":"GraphiQL","order":20,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/4-map-api/background-map/"},"frontmatter":{"title":"Background map","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/1-getting-started/"},"frontmatter":{"title":"Getting started","order":10,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/3-geocoding-api/address-search/"},"frontmatter":{"title":"Address search","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/3-geocoding-api/autocomplete/"},"frontmatter":{"title":"Autocomplete","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/trip-updates/"},"frontmatter":{"title":"Trip updates","order":30,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/service-alerts/"},"frontmatter":{"title":"Service alerts","order":20,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/3-geocoding-api/address-lookup/"},"frontmatter":{"title":"Address lookup","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/4-map-api/pois/"},"frontmatter":{"title":"Points of interest","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/vehicle-positions/"},"frontmatter":{"title":"Vehicle positions","order":40,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/3-geocoding-api/data-container/"},"frontmatter":{"title":"Data builder and container","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/architecture/x-apis/3-geocoding-api/api/"},"frontmatter":{"title":"API","order":null,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/vehicle-positions/high-frequency-positioning/"},"frontmatter":{"title":"High-frequency positioning","order":20,"redirect":null}}},{"node":{"fields":{"slug":"/en/developers/apis/5-realtime-api/vehicle-positions/digitransit-mqtt/"},"frontmatter":{"title":"Digitransit MQTT broker","order":10,"redirect":null}}}]},"markdownRemark":{"fields":{"slug":"/en/developers/apis/4-map-api/pois/"},"frontmatter":{"title":"Points of interest","redirect":null,"toc":null,"description":null,"assets":null,"technologies":null,"docker":null},"html":"<p>This API provides vector map tiles for points of interests like rental stations and park and ride areas. They can be displayed on top of the background raster map.</p>\n<h2 id=\"data-format\" style=\"position:relative;\"><a href=\"#data-format\" aria-label=\"data format permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Data format</h2>\n<p><strong>Vector maps</strong> are available in <a href=\"https://github.com/mapbox/vector-tile-spec\">Mapbox Vector Tile format</a></p>\n<h2 id=\"endpoint\" style=\"position:relative;\"><a href=\"#endpoint\" aria-label=\"endpoint permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Endpoint</h2>\n<p><code class=\"language-text\">https://cdn.digitransit.fi/map/v3/:router-id/:lang/:source/:z/:x/:y.pbf?digitransit-subscription-key={YOUR_SUBSCRIPTION_KEY}</code></p>\n<p>There is also a TileJSON index file available at <code class=\"language-text\">https://cdn.digitransit.fi/map/v3/:router-id/:lang/:source/tilejson.json?digitransit-subscription-key={YOUR_SUBSCRIPTION_KEY}</code></p>\n<h3 id=\"supported-url-parameters\" style=\"position:relative;\"><a href=\"#supported-url-parameters\" aria-label=\"supported url parameters permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Supported URL parameters</h3>\n<table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>router-id</td>\n<td>string</td>\n<td>Router id eg. <code class=\"language-text\">hsl</code> or <code class=\"language-text\">waltti</code></td>\n</tr>\n<tr>\n<td>lang</td>\n<td>string</td>\n<td>Language <code class=\"language-text\">fi</code> or <code class=\"language-text\">sv</code> (<code class=\"language-text\">en</code> is available for parking layers)</td>\n</tr>\n<tr>\n<td>source</td>\n<td>string</td>\n<td>Comma separated list of source layers. See choices below. E.g, <code class=\"language-text\">stops</code> or <code class=\"language-text\">stops,stations</code></td>\n</tr>\n<tr>\n<td>z</td>\n<td>int</td>\n<td>Zoom level</td>\n</tr>\n<tr>\n<td>x</td>\n<td>int</td>\n<td>x-coordinate</td>\n</tr>\n<tr>\n<td>y</td>\n<td>int</td>\n<td>y-coordinate</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"source-values\" style=\"position:relative;\"><a href=\"#source-values\" aria-label=\"source values permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Source values</h3>\n<p><strong>Note:</strong> If the non-real-time versions of a layer provide enough data, those should be used instead of the real-time versions.</p>\n<table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n<th>Available router-ids</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class=\"language-text\">stops</code></td>\n<td>A stop map for the requested router id</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code>, <code class=\"language-text\">varely</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">realtimeStops</code></td>\n<td>A stop map including if stop is in use at the moment</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code>, <code class=\"language-text\">varely</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">stations</code></td>\n<td>A station map for the requested router id</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code>, <code class=\"language-text\">varely</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">rentalStations</code></td>\n<td>Available rental vehicle stations</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">realtimeRentalStations</code></td>\n<td>Rental vehicle stations including available rental vehicles and available spaces</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">realtimeRentalVehicles</code></td>\n<td>A map of rental vehicles</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">vehicleParking</code></td>\n<td>A map showing vehicle parking places</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code></td>\n</tr>\n<tr>\n<td><code class=\"language-text\">vehicleParkingGroups</code></td>\n<td>A map of groups of vehicleParking</td>\n<td><code class=\"language-text\">finland</code>, <code class=\"language-text\">hsl</code>, <code class=\"language-text\">waltti</code></td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"examples\" style=\"position:relative;\"><a href=\"#examples\" aria-label=\"examples permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Examples</h2>\n<h3 id=\"map-tiles-address\" style=\"position:relative;\"><a href=\"#map-tiles-address\" aria-label=\"map tiles address permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Map tiles address</h3>\n<blockquote>\n<p><a href=\"https://cdn.digitransit.fi/map/v3/hsl/stops,stations/16/37308/18959.pbf?digitransit-subscription-key=%7BYOUR_SUBSCRIPTION_KEY%7D\">https://cdn.digitransit.fi/map/v3/hsl/stops,stations/16/37308/18959.pbf?digitransit-subscription-key={YOUR_SUBSCRIPTION_KEY}</a></p>\n</blockquote>","tableOfContents":"<ul>\n<li><a href=\"/en/developers/apis/4-map-api/pois/#data-format\">Data format</a></li>\n<li>\n<p><a href=\"/en/developers/apis/4-map-api/pois/#endpoint\">Endpoint</a></p>\n<ul>\n<li><a href=\"/en/developers/apis/4-map-api/pois/#supported-url-parameters\">Supported URL parameters</a></li>\n<li><a href=\"/en/developers/apis/4-map-api/pois/#source-values\">Source values</a></li>\n</ul>\n</li>\n<li>\n<p><a href=\"/en/developers/apis/4-map-api/pois/#examples\">Examples</a></p>\n<ul>\n<li><a href=\"/en/developers/apis/4-map-api/pois/#map-tiles-address\">Map tiles address</a></li>\n</ul>\n</li>\n</ul>","excerpt":"This API provides vector map tiles for points of interests like rental stations and park and ride areas. They can be displayed on top of the background raster map. Data format Vector maps are…"}},"pageContext":{"slug":"/en/developers/apis/4-map-api/pois/"}},"staticQueryHashes":["3675773199","4050193485"]}