Raster and vector tile layers

From NIMBY Rails Wiki
Jump to navigation Jump to search

From v1.19 onwards, the game supports displaying raster and vector tile layers from an external source.

To use these layers in your game, open "Map options" in the right toolbar, select Sources, and click New Source. Copy-paste the URL text in the URL field then click Create. If it's greyed out make sure there's no spaces before or after the URL text.

Do not use the "copy link" context menu option from your browser. Select the URL text and copy-paste as if it was plain text.

Do not post any links containing API keys, even if they are your API keys.

Raster tile layer sources

Description URL Settings
Google Maps Roads https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
Google Maps Satellite https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
Google Maps Hybrid (satellite+road) https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}
ESRI Satellite Imagery https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}?blankTile=false
UK - National Library of Scotland historic maps See instructions at https://maps.nls.uk/guides/georeferencing/layers-urls/ . Some layers require a MapTiler account. Do not post any MapTiler links containing your API key here.
OpenRailwayMap https://tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png . Note that this version of ORM has severe performance and/or rate limiting issues. Vector sources using in-game data or https://openrailwaymap.app would be better.
OpenStreetMap pre-rendered https://tile.openstreetmap.org/{z}/{x}/{y}.png
Mapterhorn hillshade https://tiles.mapterhorn.com/tilejson.json