Trouble with zoom with default OpentopoMap layer

More
2 days 2 hours ago #19538 by pif
Hello,
It seems that the maximum zoom for OpenTopoMap is now 17. If you set the option OpenToMap Layer to Yes, the layer is correctly displayed from zoom 1 to 17.
But if you use zoom 18, the map is no longer correctly displayed and you get a watermark "Max zoom layer =17".
Can you fix this ?
Thanks in advance.
Regards,

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

More
1 day 5 hours ago #19539 by Dima
Hi
I can't control it.
You can set in map details max zoom = 17
But in this case you can't set zoom 18 for Open Street Map

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

More
3 hours 20 minutes ago #19540 by pif
Hello Dima,
here is the fix :
on the file components/com_zhosmmap/tmpl/map/display_map_data.php
on line 3685 please replace :
$scripttext .= ' maxZoom: 18,' ."\n";
by :
$scripttext .= ' maxZoom: 17,' ."\n";
Can you publish an update ?
Rhanks in advance,
Regards

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

Time to create page: 0.513 seconds
Powered by Kunena Forum