Jump to content

Multiple custom tiles URL in one map

Recommended Posts


Maps in my country has multiple tile layers for one map, for example map data are one png layer and labels are in other png layer. In applications like leaflet I can add multiple tile url under one map. Can I do the same in cachly?

Thanks for answer, have a nice day!

Share this post

Link to post
Share on other sites

Hello and thanks for answer.

I'm from Czech Republic, here is example:

aerial tile:


label tile:


In leaflet:

map = L.map(canvas, options)
layers = [
	L.tileLayer('//mapserver.mapy.cz/bing/{z}-{x}-{y}', mapySatMapOptions),
	L.tileLayer('//mapserver.mapy.cz/hybrid-sparse-m/{z}-{x}-{y}', mapySatMapOptions).bringToFront()

for(i = 0; i < layers.length; i++) {

I'm surprised that I'm alone with this request. Please, consider implementing. Thanks :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now