Custom Map Type don't work

  • IvanDC
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago - 9 years 4 months ago #6784 by IvanDC
Custom Map Type don't work was created by IvanDC
I've added three custom map type using these function:
Code:
function(ll, z) { var X = ll.x % (1 << z); /* wrap */ return "http://tile.thunderforest.com/landscape/" + z + "/" + X + "/" + ll.y + ".png"; }
Code:
function(ll, z) { var X = ll.x % (1 << z); /* wrap */ return "http://tile.thunderforest.com/cycle/" + z + "/" + X + "/" + ll.y + ".png"; }
Code:
function(ll, z) { var X = ll.x % (1 << z); /* wrap */ return "http://tile.thunderforest.com/outdoors/" + z + "/" + X + "/" + ll.y + ".png"; }

Then I setted the layer type to Map for all three maps;
Then I enabled them setting: Allow custom map types to on, and added this list 1;2;3 on Custom Map Types List.
But when i go to the page ( www.capracottatracking.com/index.php/fr/ ) appear this immage www.capracottatracking.com/administrator...ts/utils/loading.gif

Wha i can do to solve this problem?
Last edit: 9 years 4 months ago by IvanDC. Reason: I've updated the map's URL

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #6815 by Dima
Replied by Dima on topic Custom Map Type don't work
Hi.

Try to set max zoom value to fixed value (not value - max available). For example, set to 17

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: IvanDC

Please Log in or Create an account to join the conversation.

  • IvanDC
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #6817 by IvanDC
Replied by IvanDC on topic Custom Map Type don't work
Thanks a lot, it now works

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds
Powered by Kunena Forum