Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Berto 105 posts 177 karma points
    Mar 03, 2010 @ 19:54
    Berto
    1

    Bug when searching with coordinates

    Hi,

    In a project that i'm developing, i had to insert the google map from a list of coordinates, and the result was "no places found" (or something like this).

    I checkout the code, and with the help of firebug, i saw that when you are calling the google search "service", your passing something like this

    http://maps.google.com/maps/geo?q=?q=thesearchstring&AllTheOtherThings

    For text locations (like Lisbon), this worked, but with coordinates like 38º47'00.00"N 9º24'00.00"W, it return no results. My solution was to remove the ?q= from the mmurltemplate variable in mapType, and now it works perfect. I was in doubt to remove this ou to change the foreach, but i left this for you to decide what is best.

    By the way, its an awesome plugin ;)

     

     

     

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies