Results 1 to 6 of 6

Thread: MapPress + Google Autocomplete issue

  1. #1
    Thread Starter
    cpini's Avatar
    Join Date
    Apr 2014
    Location
    Switzerland
    Posts
    52
    Thanks
    5
    Thanked 1 Time in 1 Post

    MapPress + Google Autocomplete issue

    After including this line on my page to get both MapPress + Google Autocomplete working:
    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>

    The browser returns this error message:
    "You have included the Google Maps API multiple times on this page. This may cause unexpected errors."

    This is a functioning sample of autocomplete and a map: http://jsbin.com/jofodivovu/1/edit

    Could you please help implement this in Classipress + MapPress ?

    I have tried many different things including this:

    1. Modification of mappress.php at line #436:
    OLD: <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
    NEW: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>


    2. Removal of this line in my page:
    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>

    But this does not solve the issue, either autocomplete does not work or I get the error message.

  2. #2
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    cpini's Avatar
    Join Date
    Apr 2014
    Location
    Switzerland
    Posts
    52
    Thanks
    5
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    cpini's Avatar
    Join Date
    Apr 2014
    Location
    Switzerland
    Posts
    52
    Thanks
    5
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    cpini's Avatar
    Join Date
    Apr 2014
    Location
    Switzerland
    Posts
    52
    Thanks
    5
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PLUGIN NEEDED] Use Google Places Autocomplete for Classified Location Data
    By slimpickins in forum ClassiPress General Discussion
    Replies: 5
    Last Post: October 27th, 2017, 01:02 PM
  2. Replies: 13
    Last Post: October 23rd, 2015, 11:13 AM
  3. [PLUGIN NEEDED] Use Google Places Autocomplete for Vantage
    By evoag in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: December 26th, 2014, 11:57 AM
  4. Conflict with google autocomplete
    By icesway in forum Mapsupreme
    Replies: 1
    Last Post: December 11th, 2014, 07:45 AM