Skip to content
Discussion options

You must be logged in to vote

Your tile URL would not work. You will need an URL that has {z}/{y}/{x} in it, like https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}

See https://leafletjs.com/examples/wms/wms.html for more information

Leaflet doesn’t have explicit support for TMS services, but the tile naming structure is so similar to the common L.TileLayer naming scheme, that displaying a TMS service is almost trivial.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants