On Jan 7, 7:10 am, rlw <[email protected]> wrote:
> Hi,
>
> I am working on an app that shows a location map marker on a map.
> When I send the address, city, state, and zip code to the API, I get
> the coordinates back.  Unfortunately, the coordinates that are sent
> back are not correct.  The coordinates are off about a 1/2 mile from
> where they are supposed to be.  When I enter the location in the
> Google Maps page, it returns a set of correct listings.

If you know where the location is, use the known address not the one
returned by the geocoder.  The only reason for geocoding addresses on
the fly is for user entered addresses, that are not known ahead of
time.

Geocode your addresses off-line, store the resulting coordinates in a
database (or a static xml file) then use the coordinates to display
the marker.

http://econym.org.uk/gmap/geomulti.htm

   --  Larry

>
> Does the API and the map page use the same database?  If not, can you
> refer me to the correct forum to report this issue?
>
> Thanks.
-- 
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.


Reply via email to