barryhunter / classygmaps

Rip-off of Classic Google Maps, get a mostly functional version of Classic Maps, implemented with the Maps API
26 stars 14 forks source link

State abbreviations #66

Open sandpiper1 opened 9 years ago

sandpiper1 commented 9 years ago

Searching for an address using the states abbreviation does not work. I have to put in the full name of the state

Sorry if this has been mentioned before. I did search but could not find anything.

barryhunter commented 9 years ago

To be honest, not really something I can readily fix.

The geocoder is made by Google, so if their geocoder does not support the abbrivations, then its tough.

... in theory, could have a look lookup list of replacements, eg, search and replace TX with Texus before sending to the geocoder. But it risks making inappropriate replacements (I guess NE for example could be part of a placename, and SHOULDNT be replaced with Nebraska)

Not to mention not dealing with international, and non-english addresses.

sandpiper1 commented 9 years ago

I tried VA again today and it is working. Well done!!!

barryhunter commented 9 years ago

Not made any changes.

If soemthing happened its within the Google Maps API :)