When you submit an address to GeoCode in the following form: 123 Main St., anytown, CA you will (generally) receive a "location_type" of ROOFTOP, indicating the best accuracy available.
If you submit it with an apartment number (or suite, or unit) appended: 123 Main St. Apt 101, anytown, CA the returned "location_type" will be APPROXIMATE. The "geometry/ location" will be the same (accurate) point, and the "geometry/ viewport" will also be the same. Also, the apartment number is correctly parsed as a "sub-premise." It is tempting to use "location_type" as an indicator of "quality" of the returned GeoCode. The work around is simple; just strip off the apartment number before submitting the address to the GeoCode api. There may be a reason for this behavior: if an apartment building covers a city block, presumably any point on the roof qualifies as "ROOFTOP." But if the user submits an apartment number, perhaps the location_type is a signal that the returned coordinates are not specific to that particular unit. But I don't know. And because the work-around is so easy, I don't think of this as a "bug." -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
