{"componentChunkName":"component---src-templates-developers-js","path":"/en/developers/architecture/x-apis/4-map-api/","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/architecture/x-apis/4-map-api/"},"frontmatter":{"title":"Map API","redirect":null,"toc":null,"description":{"info":"Map API provides raster and vector tiles in various formats.","architecture":"https://raw.githubusercontent.com/HSLdevcom/digitransit-site/master/src/pages/en/developers/architecture/x-apis/4-map-api/architecture.xml"},"assets":[{"title":"Source for background maps","url":"https://github.com/HSLdevcom/hsl-map-server"},{"title":"Source for points of interest vector maps","url":"https://github.com/HSLdevcom/opentripplanner"},{"title":"HSL-map-server DockerHub","url":"https://hub.docker.com/r/hsldevcom/hsl-map-server/"},{"title":"HSL-map-server Dockerfile","url":"https://github.com/HSLdevcom/hsl-map-server/blob/master/Dockerfile"},{"title":"OpenTripPlanner DockerHub","url":"https://hub.docker.com/r/hsldevcom/opentripplanner/"},{"title":"HSL map style","url":"https://github.com/HSLdevcom/hsl-map-style.git"},{"title":"HSL OpenMapTiles fork","url":"https://github.com/HSLdevcom/openmaptiles.git"},{"title":"tilelive-gl","url":"https://github.com/HSLdevcom/tilelive-gl.git"},{"title":"HSL-map-generator-ui","url":"https://github.com/HSLdevcom/hsl-map-generator-ui"}],"technologies":null,"docker":{"dockerfile":"https://github.com/HSLdevcom/hsl-map-server/blob/master/Dockerfile","imageName":"hsldevcom/hsl-map-server:prod","buildScript":"https://github.com/HSLdevcom/hsl-map-server/blob/master/.github/workflows/scripts/build_and_push_image.sh","runContainer":"docker run -d -p 8080:8080 --name hsl-map-server hsldevcom/hsl-map-server","accessContainer":"http://localhost:8080/map/v3/hsl-map/16/37313/18958.png"}},"html":"<h2 id=\"exploring-hsl-map-style\" style=\"position:relative;\"><a href=\"#exploring-hsl-map-style\" aria-label=\"exploring hsl map style 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>Exploring HSL map style</h2>\n<p>HSL map style is available at <a href=\"https://github.com/HSLdevcom/hsl-map-style.git\">https://github.com/HSLdevcom/hsl-map-style.git</a></p>\n<p><a href=\"https://github.com/HSLdevcom/hsl-map-style/blob/master/README.md\">Readme file</a> contains information of how to run map style on local machine.</p>\n<p>HSL map style example:</p>\n<p><code class=\"language-text\">https://cdn.digitransit.fi/map/v3/hsl-map/16/37311/18963@2x.png?digitransit-subscription-key=&lt;your subscription key></code></p>\n<h2 id=\"apis\" style=\"position:relative;\"><a href=\"#apis\" aria-label=\"apis 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>APIs</h2>\n<p>APIs are documented <a href=\"../../../apis/4-map-api/\">here</a>. There are instructions for how to run OpenTripPlanner locally in <a href=\"../1-routing-api/\">routing-api architecture page</a>.</p>\n<h2 id=\"related-links\" style=\"position:relative;\"><a href=\"#related-links\" aria-label=\"related links 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>Related links</h2>\n<table>\n<thead>\n<tr>\n<th>URL</th>\n<th>Project description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://github.com/mapbox/tilejson-spec\">https://github.com/mapbox/tilejson-spec</a></td>\n<td>JSON format for describing map tilesets</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/mapbox/vector-tile-spec\">https://github.com/mapbox/vector-tile-spec</a></td>\n<td>Mapbox Vector Tile specification</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/mapbox/mbtiles-spec\">https://github.com/mapbox/mbtiles-spec</a></td>\n<td>MBTiles specification for storing tiled map data in SQLite databases for immediate usage and for transfer</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/CI-CMG/mapbox-vector-tile\">https://github.com/CI-CMG/mapbox-vector-tile</a></td>\n<td>Java library for generating MapBox vector tiles</td>\n</tr>\n<tr>\n<td><a href=\"https://wiki.osgeo.org/wiki/Tile%5C_Map%5C_Service_Specification\">https://wiki.osgeo.org/wiki/Tile\\_Map\\_Service_Specification</a></td>\n<td>Tile Map Service Specification</td>\n</tr>\n<tr>\n<td><a href=\"https://geojson.org/\">https://geojson.org/</a></td>\n<td>GeoJSON format for encoding a variety of geographic data structures</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/mojodna/tessera\">https://github.com/mojodna/tessera</a></td>\n<td>Tessera development on GitHub</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/mapbox/tilelive\">https://github.com/mapbox/tilelive</a></td>\n<td>TileLive development on GitHub</td>\n</tr>\n<tr>\n<td><a href=\"https://openmaptiles.org/\">https://openmaptiles.org/</a></td>\n<td>OpenMapTiles Project</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/openmaptiles/openmaptiles\">https://github.com/openmaptiles/openmaptiles</a></td>\n<td>OpenMapTiles development on GitHub</td>\n</tr>\n<tr>\n<td><a href=\"https://github.com/HSLdevcom/OpenTripPlanner/blob/v2/doc/user/sandbox/MapboxVectorTilesApi.md\">https://github.com/HSLdevcom/OpenTripPlanner/blob/v2/doc/user/sandbox/MapboxVectorTilesApi.md</a></td>\n<td>OpenTripPlanner vector tile layer documentation</td>\n</tr>\n</tbody>\n</table>","tableOfContents":"<ul>\n<li><a href=\"/en/developers/architecture/x-apis/4-map-api/#exploring-hsl-map-style\">Exploring HSL map style</a></li>\n<li><a href=\"/en/developers/architecture/x-apis/4-map-api/#apis\">APIs</a></li>\n<li><a href=\"/en/developers/architecture/x-apis/4-map-api/#related-links\">Related links</a></li>\n</ul>","excerpt":"Exploring HSL map style HSL map style is available at https://github.com/HSLdevcom/hsl-map-style.git Readme file contains information of how to run map style on local machine. HSL map style example…"}},"pageContext":{"slug":"/en/developers/architecture/x-apis/4-map-api/"}},"staticQueryHashes":["3675773199","4050193485"]}