Map and Markers don't show after Joomla update

Phoca Maps - displaying maps in Joomla! CMS
markus01
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Oct 2014, 11:48

Map and Markers don't show after Joomla update

Post by markus01 »

Hello,

I have the following problem:

Yesterday i have updated the Joomla version to 3.3.6. Now the phoca map only shows a grey image. And after the image there are the two fields "From Address" and "Get Route". And after these fields, there is the following text:

Code: Select all

' }); google.maps.event.addListener(markerPhocaMarker1, 'click', function() { infoPhocaWindow1.open(mapPhocaMap, markerPhocaMarker1 ); }); phocaDirService = new google.maps.DirectionsService(); phocaDirDisplay = new google.maps.DirectionsRenderer(); phocaDirDisplay.setMap(mapPhocaMap); phocaDirDisplay.setPanel(document.getElementById("phocaDir")); google.maps.event.addDomListener(tstPhocaMap, 'DOMMouseScroll', CancelEventPhocaMap); google.maps.event.addDomListener(tstPhocaMap, 'mousewheel', CancelEventPhocaMap); } } function setPhocaDir(fromPMAddress, toPMAddress) { var request = { origin: fromPMAddress, destination: toPMAddress, travelMode: google.maps.DirectionsTravelMode.DRIVING }; phocaDirService.route(request, function(response, status) { if (status == google.maps.DirectionsStatus.OK) { pPI = document.getElementById('phocaMapsPrintIcon'); pPI.style.display='block'; var from64 = Base64.encode(fromPMAddress).toString(); var to64 = Base64.encode(toPMAddress).toString(); pPI.innerHTML = ' 
Print Route

Code: Select all

'; phocaDirDisplay.setDirections(response); } else if (google.maps.DirectionsStatus.NOT_FOND) { alert("One of the locations specified in the requests's origin, destination, or waypoints could not be geocoded."); } else if (google.maps.DirectionsStatus.ZERO_RESULTS) { alert("No route could be found between the origin and destination."); } else if (google.maps.DirectionsStatus.MAX_WAYPOINTS_EXCEEDED) { alert("Too many DirectionsWaypoints were provided in the DirectionsRequest."); } else if (google.maps.DirectionsStatus.OVER_QUERY_LIMIT) { alert("Webpage has sent too many requests within the allowed time period."); } else if (google.maps.DirectionsStatus.INVALID_REQUEST) { alert("The provided DirectionsRequest was invalid."); } ...........message was too long............function initialize() { tstPhocaMap.setAttribute("oldValue",0); tstPhocaMap.setAttribute("refreshMap",0); tstIntPhocaMap = setInterval("CheckPhocaMap()",500); } google.setOnLoadCallback(initialize); //]]> 
I have already installed the new phoca version. When i disable the marker, then the map is ok, but then i can not get a Route to my place :)

What's the problem?

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Map and Markers don't show after Joomla update

Post by Jan »

Hi, do you get any javascript errors there?

See: https://www.phoca.cz/documents/16-joomla ... -conflicts

Jan
If you find Phoca extensions useful, please support the project
markus01
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Oct 2014, 11:48

Re: Map and Markers don't show after Joomla update

Post by markus01 »

Thank you for the answer.

The problem was a javascript conflict.
After i have disabled the plugin "RokBox" the phoca maps plugin worked without any error.

Markus
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Map and Markers don't show after Joomla update

Post by Jan »

Hi, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply