Trouble with zoom with default OpentopoMap layer

More
3 weeks 3 days 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
3 weeks 2 days 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 weeks 1 day 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.

More
2 weeks 5 days ago - 2 weeks 5 days ago #19541 by Dima
Hi
Sorry for delay.
I undertand, I can set max zoom for this layer in its definition to 17.
OK.
I will do new release of component tomorrow.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 2 weeks 5 days ago by Dima.

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

More
2 weeks 4 days ago - 2 weeks 4 days ago #19542 by pif
Hello,
Many thanks for the new release.
The zoom is now limited to 17.
Regards,
Last edit: 2 weeks 4 days ago by pif. Reason: typo

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

Time to create page: 0.327 seconds
Powered by Kunena Forum