Skip to content

Instantly share code, notes, and snippets.

@morehawes
Forked from xantiagoma/Tiles.md
Last active January 8, 2024 18:40
Show Gist options
  • Save morehawes/f2982753074599363ca3a9f8582cd572 to your computer and use it in GitHub Desktop.
Save morehawes/f2982753074599363ca3a9f8582cd572 to your computer and use it in GitHub Desktop.
Map tiles

Slippy Map Tiles

OpenStreetMap

https://tile.openstreetmap.org/{z}/{x}/{y}.png

Example

https://tile.openstreetmap.org/7/63/42.png

OSM

Usage

Google Maps

http://mt.google.com/vt/lyrs={layer}&x={x}&y={y}&z={z}

Layers

m = standard roadmap
h = roads only
p = terrain
r = altered roadmap
s = satellite only
t = terrain only
y = hybrid

Example

https://mt.google.com/vt/lyrs=s&x=63&y=42&z=7

Satellite

Usage

Carto Voyager

https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png

Retina

@2x.png

Example

https://basemaps.cartocdn.com/rastertiles/voyager/7/63/42@2x.png

Carto

Usage

Other Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment