Skip to content

Instantly share code, notes, and snippets.

@xantiagoma
Last active May 10, 2024 01:41
Show Gist options
  • Save xantiagoma/39145a3042eca53a57ac3290a1a34973 to your computer and use it in GitHub Desktop.
Save xantiagoma/39145a3042eca53a57ac3290a1a34973 to your computer and use it in GitHub Desktop.
Map tiles

Map Tiles

Google Maps

http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z} - Subdomains: mt0, mt1, mt2, mt3. - Examples: - https://mts1.google.com/vt/x=1325&y=3143&z=13 - https://mt1.google.com/vt/lyrs=m&x=1325&y=3143&z=13 - Additional info: - h = roads only - m = standard roadmap - p = terrain - r = somehow altered roadmap - s = satellite only - t = terrain only - y = hybrid - Doc URLs: - https://stackoverflow.com/questions/23017766/google-maps-tile-url-for-hybrid-maptype-tiles - https://www.codeproject.com/Articles/14793/How-Google-Map-Works - https://stackoverflow.com/questions/34311747/whats-the-url-to-download-map-tiles-from-google-maps - https://stackoverflow.com/questions/23457916/how-to-get-latitude-and-longitude-bounds-from-google-maps-x-y-and-zoom-parameter

Carto Voyager

https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png Subdomains: a, b, c. Extra params: r -> [@2x]

Wikimedia

https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}{r}.png Subdomains: a, b, c. Extra params: r -> [@2x]

OpenStreetMap

https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png Subdomains: a, b, c. Extra params: r -> [@2x]

Other URLs

@SLAB-8002
Copy link

A few of us have been trying to figure out for a while how to display the street address inside the Google Maps tile, like can be seen when using the actual Google Maps app. This is possible in some locations (for instance Australia) but not in the US. Do you happen to have any idea how we might be able to modify the URL to display this info?

1000008552

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