3 years 4 months ago - 3 years 4 months ago#5353by upir
upir created the topic: KML path layer is not shown in Google Chrome
I have a problem with the plugin when using Google Chrome. If I use a map with a path containing a KML layer inside an article, the KML layer is not shown. There is also a problem with showing the Panoramio layer.
But when the same map with the same path and KML layer is shown as a Joomla menu item, everything works fine.
Here is an example with plugin used
and here as a menu item
Any idea how can I solve this?
Joomla v. 3.3.3
Zh GoogleMap v. 188.8.131.52
Zh GoogleMap Plugin v. 184.108.40.206
Dima replied the topic: KML path layer is not shown in Google Chrome
Sorry for delay.
When you show map by menu item (component call), I override in my css file styles for img tag. If you call map in an article (plugin) - I can't override it, because the map div ID is created dynamically. In that case you should fix it by yourself in your template.
Explanation: img tag (and svg tag) is overridden by your template (for example, by bootstrap styles). It overrides img to max-width:100%, and it breaks displaying images (map controls and panoramio images). Just fix it for map div (by applying for your map div classes)
Don't forget support my developments: post review in JED, donate