Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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?
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?
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!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted