Map API provides raster and vector tiles in various formats.
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:
https://cdn.digitransit.fi/map/v3/hsl-map/16/37311/18963@2x.png?digitransit-subscription-key=<your subscription key>
APIs are documented here. There are instructions for how to run OpenTripPlanner locally in routing-api architecture page.
| URL | Project description | 
|---|---|
| https://github.com/mapbox/tilejson-spec | JSON format for describing map tilesets | 
| https://github.com/mapbox/vector-tile-spec | Mapbox Vector Tile specification | 
| https://github.com/mapbox/mbtiles-spec | MBTiles specification for storing tiled map data in SQLite databases for immediate usage and for transfer | 
| https://github.com/CI-CMG/mapbox-vector-tile | Java library for generating MapBox vector tiles | 
| https://wiki.osgeo.org/wiki/Tile\_Map\_Service_Specification | Tile Map Service Specification | 
| https://geojson.org/ | GeoJSON format for encoding a variety of geographic data structures | 
| https://github.com/mojodna/tessera | Tessera development on GitHub | 
| https://github.com/mapbox/tilelive | TileLive development on GitHub | 
| https://openmaptiles.org/ | OpenMapTiles Project | 
| https://github.com/openmaptiles/openmaptiles | OpenMapTiles development on GitHub | 
| https://github.com/HSLdevcom/OpenTripPlanner/blob/v2/doc/user/sandbox/MapboxVectorTilesApi.md | OpenTripPlanner vector tile layer documentation | 
| Asset | Url | 
|---|---|
| Source for background maps | https://github.com/HSLdevcom/hsl-map-server | 
| Source for points of interest vector maps | https://github.com/HSLdevcom/opentripplanner | 
| HSL-map-server DockerHub | https://hub.docker.com/r/hsldevcom/hsl-map-server/ | 
| HSL-map-server Dockerfile | https://github.com/HSLdevcom/hsl-map-server/blob/master/Dockerfile | 
| OpenTripPlanner DockerHub | https://hub.docker.com/r/hsldevcom/opentripplanner/ | 
| HSL map style | https://github.com/HSLdevcom/hsl-map-style.git | 
| HSL OpenMapTiles fork | https://github.com/HSLdevcom/openmaptiles.git | 
| tilelive-gl | https://github.com/HSLdevcom/tilelive-gl.git | 
| HSL-map-generator-ui | https://github.com/HSLdevcom/hsl-map-generator-ui | 
The Docker image is called hsldevcom/hsl-map-server:prod and it is available at DockerHub. The image can be built using this build script.
To run Docker container, run:
 
docker run -d -p 8080:8080 --name hsl-map-server hsldevcom/hsl-map-serverTo access Docker container:
 
http://localhost:8080/map/v3/hsl-map/16/37313/18958.pngFor More information about how to use Docker see docker info.