Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #301664
    tmilios
    Member
    Post count: 3

    I am keep getting js?callback=loadMap:96 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
    Although i have deactivated api in function.php
    I am currently using two maps(map builder and dante maps).
    Dante map is working fine(manage to solve conflict there).

    The issue is on map builder plugin.
    please check link attached.

    #301743
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The Dante maps will use the same API as your other plugin. Do you mean you are wanting to not use the Dante map?

    Thanks,
    David.

    #301910
    tmilios
    Member
    Post count: 3

    I got Dante maps on my contact page and map builder on a content page.

    I could not view maps because I am keep getting js?callback=loadMap:96 You have included the Google Maps API multiple times on this page.

    I manage to deactivate map builder plugin on contact page and display the dante map.

    but doing on functions.php
    // wp_register_script(‘google-maps’, ‘//maps.google.com/maps/api/js?key=’ . $gmaps_api_key, ‘jquery’, NULL, TRUE);

    will still give me an error about multiple apis on the page i want display map builder.

    IS somewhere else the google map api loaded on Dante?

    #301914
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    The map script is only registered once, try to disable all plugins except your map plugin to see what happens. It could be another plugin.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register