-
Zh OpenStreetMap
-
Component
-
Problem with the new fullscreen mode when using the map in other extensions
Problem with the new fullscreen mode when using the map in other extensions
-
amiconn
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
8 months 3 weeks ago #15092
by amiconn
The new fullscreen mode in Zh OpenStreetMap 11.23 (for Joomla 4) is working fine in Joomla (core) articles, however it is causing a Javascript error when the map is embedded in another extension (in our case, iCagenda):
Uncaught TypeError: L.control.fullscreen is not a function
This error causes the map to be not shown, and the "loading..." spinner to stay around. Disabling fullscreen mode for such a map helps, but it would be nice if fullscreen mode would work in other extensions as well.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
8 months 1 week ago #15095
by Dima
Probably, your the other extension stripes call to load library, or rewrite tags to wrong URL.
You can give me link to your page to check if loading library lines exists or not
Please Log in or Create an account to join the conversation.
-
amiconn
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
8 months 3 days ago #15099
by Dima
Hi
Yes, can you create temporary page with non-working map
Please Log in or Create an account to join the conversation.
-
amiconn
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
7 months 4 weeks ago #15106
by Dima
Hi
I think it is due to leaflet library loaded a few times.
One time by my extension, the other time - by com_icagenda
Please Log in or Create an account to join the conversation.
-
Zh OpenStreetMap
-
Component
-
Problem with the new fullscreen mode when using the map in other extensions
Time to create page: 0.078 seconds