Skip to content

Instantly share code, notes, and snippets.

@dschep
Last active December 1, 2023 19:19
Show Gist options
  • Save dschep/1a8b0db51b98e57f17ef21797230082f to your computer and use it in GitHub Desktop.
Save dschep/1a8b0db51b98e57f17ef21797230082f to your computer and use it in GitHub Desktop.
MapSwap Presets

Sample MapSwap configs

This gist contains a few example MapSwap configs.

[
{
"name": "OpenStreetMap",
"icon": "https://www.openstreetmap.org/favicon.ico",
"template": "https://www.openstreetmap.org/#map={Zr}/{y}/{x}"
},
{
"name": "Google Maps",
"icon": "https://maps.google.com/favicon.ico",
"template": "https://www.google.com/maps/@{y},{x},{Z}z"
}
]
[
{
"name": "OpenStreetMap",
"icon": "https://www.openstreetmap.org/favicon.ico",
"template": "https://www.openstreetmap.org/#map={Zr}/{y}/{x}"
},
{
"name": "Edit OSM with iD",
"icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/OpenStreetMap-Editor_iD_Logo.svg/100px-OpenStreetMap-Editor_iD_Logo.svg.png",
"template": "https://openstreetmap.org/edit#map={Z}/{y}/{x}"
},
{
"name": "OSM Americana",
"icon": "https://zelonewolf.github.io/openstreetmap-americana/favicon.ico",
"template": "https://zelonewolf.github.io/openstreetmap-americana/#map={z}/{y}/{x}"
},
{
"name": "GaiaGPS Topo (ft)",
"icon": "https://www-static.gaiagps.com/img/icons/simple_favicon.ico",
"template":
"https://www.gaiagps.com/map/?loc={z}/{x}/{y}&layer=GaiaTopoRasterFeet"
},
{
"name": "TrailForks",
"icon": "https://es.pinkbike.org/246/sprt/i/trailforks/favicon.ico",
"template": "https://www.trailforks.com/map/?z={z}&lat={y}&lon={x}"
},
{
"name": "Gravelmap",
"icon": "https://gravelmap.com/images/favicon/apple-touch-icon.png",
"template": "https://gravelmap.com/#_={z}/{y}/{x}"
},
{
"name": "onX Backcountry",
"icon": "https://www.onxmaps.com/backcountry/wp-content/themes/onx-backcountry/assets/favicons/android-icon-192x192.png",
"template": "https://webmap.onxmaps.com/backcountry/#{z}/{y}/{x}"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment