J-BusinessDirectory - google maps api not loading in business edit page 4.5.1rc

Support Forum

 
 

 
In version 4.5.1rc, the google maps API isn't loading in the business listing edit page. 
(option=com_jbusinessdirectory&view=company&layout=edit)
The automatic address isn't working and the map doesn't load.

console errors:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
util.js:208

Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
js?sensor=true&libraries=places:32

Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?sensor=true&libraries=places:32
js?sensor=true&libraries=places:93

Uncaught TypeError: Cannot read property 'addEventListener' of undefined
7 replies

Hi,

 

As of June 22, 2016 

You can now enter a key in the General Settings->Front end tab->Map Section->Google Map Key. (starting from directory version 4.5.1 RC)

I had already put in an API key, and the maps in the front end do load correctly. The code for the map in the backend isn't adding the API key.

Same here, backend isn't working, frontend ok.

Updated to 4.5.2 today, problem still there.

We have own api key and enabled static maps.

Hi,

We have released another version today (4.5.2.1 - it is shown as 4.5.2). Please download the version and install it over existing one.

On API overview you have to make sure that following services are enabled
Google Maps JavaScript API
Google Static Maps API


That seems to have fixed it for me, thanks!

Something to remember when setting up your API and and you are verifying using your DNS and that is to verify your domain both as yourdomainname.com and www.yourdomainname.com If you fail to do so, and the unverified URL is used, your maps will not be displayed.

Jim, great advice. You can enter your referral in a general way: *yourdomainname.com/*   


This way you cover all possible urls for your domain. 

 
 
 

8 Item(s)

Show per page