Copied to clipboard

Flag this post as spam?

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

  • Bex 444 posts 555 karma points
    Dec 09, 2015 @ 10:43

    Searching by lat long brings back multiples


    I know this is an old plugin and not sure if anyone is looking anymore but I'm hopeful as I have an existing umbraco v6.1.6 site running Google Maps for Umbraco v2.1.0.

    We are using the googlemap datatype in the backend and I am just wondering how the "search" works? When I type a lat/long coordinate it brings back multliple results as shown here example map

    Anyone know what's going on as I would have thought that a lat/long would bring back only one location and don't understand why it would bring more?

    I don't know if this is a recent problem or if it's always been there?

  • Lee Kelleher 3988 posts 15555 karma points MVP 11x admin c-trib
    Dec 09, 2015 @ 11:08
    Lee Kelleher

    Hi Bex,

    I haven't used (or developed) that package for a few years.

    From what I recall, the search field will make a call to Google's Geocoder.geocode() API, with a query to the "address" field. So I think Google is returning results based on the "human-readable" value, rather than treating it as lat/long coords.

    I found this Google Maps dev doc that might explain it better?

    - Lee

  • Bex 444 posts 555 karma points
    Dec 09, 2015 @ 11:21

    Thanks Lee!

    That makes sense.

    Going by the link I am unsure what params its using but it's probably not that ones that accepts latlongs.

    It's quite an old site so it much have been doing it all along, but only just been noticed!


Please Sign in or register to post replies

Write your reply to: