There's another, more subtle issue.  If you on rely location_type as a
measure of "quality" of the result, I found that it returns
"approximate" with the apartment number, when it would return
"rooftop" without the apartment number.
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/982173188110debb/32d4815a009896bc?lnk=gst&q=JKurtock+geocoder#32d4815a009896bc
In my use, I strip off the apartment number before sending it the
Geocoder (so that a location_type of "rooftop" or "approximate" is
meaningful).

If haven't tested this in a few months, Google often changes subtle
parts of the API, so running a test would be a good idea.


On Jan 22, 12:48 pm, [email protected] wrote:
> Sorry if I missed this somewhere in the documentation.
>
> Using the online geocoding example, I added "Apt 23" to the 
> address:http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphith...
>
> This geocodes OK, but replaces "Apt" with # in the formatted address:
> "formatted_address": "1600 Amphitheatre Pkwy #23, Mountain View, CA 94043,
> USA"
>
> But if I attempt to geocode the address with the # for 
> Apt.http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphith...
>
> that results in an error:
>
> {
>   "status": "REQUEST_DENIED",
>   "results": [ ]
>
> }      
>
> Is there some rule I don't understand about "#" here?  Are there other
> special characters that should be avoided?
>
> Thanks for any insight about this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to