Raster and vector tile layers: Difference between revisions

From NIMBY Rails Wiki
Jump to navigation Jump to search
Danny252 (talk | contribs)
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
From v1.19 onwards, the game supports displaying raster and vector tile layers from an external source.
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 ==
== Raster tile layer sources ==
Line 5: Line 11:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Description !! URL
! Description !! URL !! Settings
|-
|-
| Google Maps Roads || https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
| Google Maps Roads || <nowiki>https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}</nowiki>
|-
|-
| Google Maps Satellite || https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
| Google Maps Satellite || <nowiki>https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}</nowiki>
|-
|-
| Google Maps Hybrid (satellite+road) || https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}
| Google Maps Hybrid (satellite+road) || <nowiki>https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}</nowiki>
|-
|-
| ESRI Satellite Imagery || https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
| ESRI Satellite Imagery || <nowiki>https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}?blankTile=false</nowiki>
|-
|-
| 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.'''
| 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
| OpenRailwayMap || <nowiki>https://tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png</nowiki> . 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
| OpenStreetMap pre-rendered || <nowiki>https://tile.openstreetmap.org/{z}/{x}/{y}.png</nowiki>
|-
|-
| Mapterhorn hillshade || https://tiles.mapterhorn.com/{z}/{x}/{y}.webp
| Mapterhorn hillshade || <nowiki>https://tiles.mapterhorn.com/tilejson.json</nowiki>
|}
|}

Latest revision as of 10:38, 10 August 2026

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