Contains an open-source map-tiling server, tileserver-gl for serving vector & raster tiles & the Malaysia-Singapore-Brunei map. The map is generated from openmaptiles.
Resources | Type | Format | Applicable Style | Description |
---|---|---|---|---|
Map of Malaysia, Singapore & Brunei | Vector | .mbtiles | light, dark, terrain | Macro view up to street/residential level view |
20m Contour lines | Vector | .mbtiles | terrain | Contour lines with a vertical distance of 20m |
40m Contour lines | Vector | .mbtiles | terrain | Contour lines with a vertical distance of 40m |
80m Contour lines | Vector | .mbtiles | terrain | Contour lines with a vertical distance of 10m |
High resolution hillshade | Raster | .mbtiles | terrain | Hillshade based on elevation |
Note: Intended for the development of other apps, not the tileserver itself.
- Install the following:
- Docker
- Copy the
docker-compose.example
todocker-compose.yml
and add a/data
folder (if missing)
cp docker-compose.example docker-compose.yml
mkdir data
- Download the map data (.zip) and extract it inside
/data
To run the server:
docker compose up
To stop the server:
docker compose down
To checkout the map tiles and preview the styles & layers, open up http://localhost:8080 in your browser.
You can use this tileserver to provide map for your client-side apps. Works well with client-side mapping library such as leaflet.js and mapbox
Read the documentation for the available endpoints here: TileServer GL Docs
Add more map styles (dark mode, terrain etc)Create a Dockerfile image of the tileserver- Add API key feature for securing endpoints