Extension, Fieldtype, Module, Plugin

Archived
Forum
(read-only)

Google Maps for ExpressionEngine

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Objective HTML

     

Using Google’s Autocomplete for addresses with Store Finder

Support Request

kubik101
kubik101

See: https://developers.google.com/maps/documentation/javascript/places-autocomplete#video

I need to be able to include the places library for google’s auto complete to work on the location search field.
When I add the library it conflicts with the maps JS the module adds.

The error I see when using inspector is: You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

It’s fine when I use the search field on its own but when I use it when a map is on the page it conflicts.

Is there a way to add the library by editing the modules code somewhere.

The JS I have been adding is:
maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places

Cheers.
=)