Google Maps not working with address

(6 posts) (2 voices)

Tags:

  1. aescripts, Member

    I am trying this procedure

    create procedure sp_DBR_GoogleMaps_Paris()
    BEGIN select 'dbr.googlemaps', 'address', 'Paris sightseeing', 400, 400;
    select 'la Tour Eiffel', 'la Tour Eiffel'
    union
    select 'Musee du Louvre', 'Musee du Louvre';
    END

    from the online demo but I get the following error:

    Google Maps was not able to locate following addresses:
    - la Tour Eiffel
    - Musee du Louvre

    Interestingly if I try with coordinates it works fine:

    select 'dbr.googlemaps', 'coordinates', 'French sightseeing', 400, 400;
    
    select 48.858863, 2.294362, 'la Tour Eiffel'
    union
    select 48.861397, 2.335432, 'Musee du Louvre

  2. myDBR Team, Key Master

    Name based search on Google maps should work ok. Just make sure that the search of "la Tour Eiffel" returns a proper result with your Google Maps localization settings.

    --
    myDBR Team

  3. aescripts, Member

    Not sure if that is the problem as this does not work either:

    create procedure sp_DBR_GoogMap()
    
    BEGIN
    select 'dbr.googlemaps', 'address', 'Countries', 400, 400;
    select 'Canada', 'Canada'
    union
    select 'Mexico', 'Mexico';
    END

    Also, I tried a direct query and it works fine:

    http://maps.google.com/maps/geo?q=Mexico&output=csv

    returns:

    200,1,23.6345010,-102.5527840

    Any ideas?

  4. myDBR Team, Key Master

    You do have a valid Google Maps API key set in extensions.php as required by Google?

    --
    myDBR Team

  5. aescripts, Member

    You do have a valid Google Maps API key set in extensions.php as required by Google?

    Yes, and I am able to get results using coordinates just not using an address

  6. myDBR Team, Key Master

    Newly released myDBR 1.2.2 includes an improved version of Google Maps extension, that will report the Google Maps error messages alongside the items Google Maps has not been able to recognize. This should help to track down the problem.

    --
    myDBR Team


Reply

You must log in to post.