Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Google API with gmap field not fully functional

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Google API with gmap field not fully functional

More
8 years 6 months ago #22462 by skippernet
Hi there,
I can still not resolve some problems with gmap after migrating site on new domain. Sorry, but this bug really blocks me from publishing my website.
I generated Google API key [AIzaSyDYKATuXJ8WNQF1U7Pl1HsuI1baIPyW6FM] and inserted it in field configuration. The map on www.divejobs.net works until you want to add new advertisment. It does not work in Write ad mode. Is there any problem with the engine or the key? What to do to make it work?
Thanks,
David
More
8 years 6 months ago #22476 by juloaadmin
Replied by juloaadmin on topic Google API with gmap field not fully functional
in images/com_adsmanager/plugins/gmap/plug.php

replace

$document->addScript("maps.googleapis.com/maps/api/js?libraries=places");

by

$document->addScript("maps.googleapis.com/maps/api/js?librarie...es&key=".$google_key);
More
8 years 6 months ago #22487 by skippernet
Replied by skippernet on topic Google API with gmap field not fully functional
OK, almost there. I inserted your code (after few corrections):
$document->addScript("maps.googleapis.com/maps/api/js?libraries&key=".$google_key);

Now it shows the map, but the red pointer that is supposed to be used to set the location on map is missing. How to fix that?
Of course I have already set Default Lat and Default Lng in mapfield.
(Sorry, but my PHP skills are very limited...)
More
8 years 6 months ago #22493 by juloaadmin
Replied by juloaadmin on topic Google API with gmap field not fully functional
If you set an adresse in the search bar, the map move ? you don't see the marker ? is there any error about google maps in the console (F12)
More
8 years 6 months ago - 8 years 6 months ago #22495 by skippernet
Replied by skippernet on topic Google API with gmap field not fully functional
No reaction after inserting any address in search bar. Always the result: undefined. Console shows this error:
Uncaught TypeError: Cannot read property 'Autocomplete' of undefined
at initializemap13 (www.divejobs.net/insert-add:1344:58)
insert-add:1344
codeAdress= undefined
Last edit: 8 years 6 months ago by skippernet.
More
8 years 5 months ago #22502 by juloaadmin
Replied by juloaadmin on topic Google API with gmap field not fully functional
Could you send us a FTP + admin account+ URL of your website by email This email address is being protected from spambots. You need JavaScript enabled to view it.
we will fix directly on your website
The following user(s) said Thank You: skippernet
Time to create page: 0.171 seconds
Powered by Kunena Forum