Google Maps code
Posted: 21 Jan 2019, 14:03
Hello, I have been using Phoca maps with google maps for a few years with no issues. Recently, I have updated my site to Joomla version, 3.9.2. and have "refreshed" some articles. I have an issue with one article where when inserting the {phocamaps view=map|id=4} variable, the resulting doesn't display a Google map, but rather, a lengthy set of code starting with" }); google.maps.event.addListener(markerPhocaMarker2PlgPM1, 'click', function() { infoPhocaWindow2PlgPM1.open(mapPhocaMapPlgPM1, markerPhocaMarker2PlgPM1 ); }); google.maps.event.addDomListener(tstPhocaMapPlgPM1, 'DOMMouseScroll', CancelEventPhocaMapPlgPM1); "
The {phocamaps view=map|id=4} displays a map with OpenStreetMaps
The {phocamaps view=map|id=4} variable, in another article works fine with Google Maps.
The Link variable {phocamaps view=link|id=4|text=Map to us} in a module, works fine with Google Maps.
What did I do wrong?
Thank you in advance.
The {phocamaps view=map|id=4} displays a map with OpenStreetMaps
The {phocamaps view=map|id=4} variable, in another article works fine with Google Maps.
The Link variable {phocamaps view=link|id=4|text=Map to us} in a module, works fine with Google Maps.
What did I do wrong?
Thank you in advance.