google.maps.event.addListener

Phoca Maps - displaying maps in Joomla! CMS
nanbdj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 May 2017, 15:57

google.maps.event.addListener

Post by nanbdj »

Hi,
I have a problem in Joomla 3.7.2 with Phoca maps. I don't see the map and this is the message underneath each item in the map.

' }); google.maps.event.addListener(markerPhocaMarker19, 'click', function() { infoPhocaWindow19.open(mapPhocaMap, markerPhocaMarker19 ); }); var phocaPoint20 = new google.maps.LatLng(53.02442019999999, 6.263354299999946); var markerPhocaMarker20 = new google.maps.Marker({ title:"Broekhuizen [hoofdvestiging]", position: phocaPoint20, map: mapPhocaMap }); var infoPhocaWindow20 = new google.maps.InfoWindow({ content: '

I made an API google api key. Do you know what is going wrong?
This is the link:http://vbm.bungewerk.nl/index.php/kaarten/vbm-locaties

thanks! Nanneke
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google.maps.event.addListener

Post by Jan »

Hi, there are more javascript errors, but one of them - regarding Phoca Maps - is:

Google Maps API error: ApiNotActivatedMapError

Did you activate all needed APIs:
https://www.phoca.cz/documents/53-phoca ... ps-api-key

Jan
If you find Phoca extensions useful, please support the project
nanbdj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 May 2017, 15:57

Re: google.maps.event.addListener

Post by nanbdj »

Hi Jan,
Thanks, I activated the api's and nothing changes in the errors.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: google.maps.event.addListener

Post by Jan »

Hi, if you see the javascript console now, there is no more problem with API key (no more message about key) but there are many javascript errors on your site which seems to prevent from loading the map :idea:

Such need to be solved first: https://www.phoca.cz/documents/16-jooml ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
Post Reply