mmdolbow / usng-gmap-v3

Demonstration ONLY of US National Grid with Google Maps API v3. NOT intended for production usage!
http://mmdolbow.github.io/usng-gmap-v3/
9 stars 3 forks source link

Development Request - Make USNG and Street Address Search Show Same Info #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I note that when using an address to search for a location, the popup delivers 
street address, USNG coordinate, and lat/long.  However, if I search using 
USNG, I only get USNG coordinate and lat/long, unless I click the direction 
link - then the street address is displayed.  It would be really great if the 
display for USNG was the same as for street address.  Both showing street 
address, USNG coordinate, and lat/long.

Original issue reported on code.google.com by sdswa...@sharedgeo.org on 19 Nov 2014 at 7:14

GoogleCodeExporter commented 9 years ago
Yes, this is an important thing to notice, and to some extent it is by design. 
When starting with USNG, or even just clicking in the map, often there are 
locations that don't make sense to describe with an address. Imagine a marker 
in the middle of Mille Lacs or the Boundary Waters. Yes, Google insists on 
describing that lat/long with an address in their map, but it doesn't make a 
lot of sense to show.

I originally had things configured that way, but then the reverse geocode would 
"snap" the marker to the nearest road, and that was asked to be removed. It's 
possible that I could configure it so that the address "guess" is displayed but 
the marker doesn't "snap", but we'll want to think hard if that is really a 
good thing.

Original comment by mmdol...@gmail.com on 20 Nov 2014 at 2:00

GoogleCodeExporter commented 9 years ago
Mike,
Based on your comments below, what about inserting a logic statement that if 
Google doesn't return an address within X number of feet, the display address 
line would say, "Address Undefined" or some such thing.  But if there is a 
match within X feet, the address is displayed with wording to the effect of, 
"Closest Address Match: 123 Street, Anytown, State."  In both cases, the icon 
stays put?

Steve

Original comment by sdswa...@sharedgeo.org on 20 Nov 2014 at 9:45