On Aug 21, 5:04 pm, "Eng. Mosaab" <[email protected]> wrote: > what to use instead of geocoder??? or which part of my code I have to > modify???
How are you saving the data the user submits? Save the coordinates of the marker they have dragged to the desired location. Use those coordinates directly to place the marker, not the geocoder. -- Larry > > On Aug 22, 2:49 am, "[email protected]" <[email protected]> > wrote: > > > On Aug 21, 12:30 pm, "Eng. Mosaab" <[email protected]> wrote: > > > > Hi, > > > I have a google map on my site which give the users the ability to > > > submit their position on the map by drag the marker to the desired > > > position. > > > The problem is that the marker deviates from its position after the > > > users post the posting. and I guess that the marker deviates to some > > > "known position" on the map instead of stay on its original position. > > > Let me explain this. The goole map on my site is rendering the saved > > > coordinates on my database to some to a 'known feature or place' on > > > the map,which has different coordinates from the original position. > > > So please, can any help me and let me know how to fix this, which > > > make > > > the map deal with coordinates not with the nearest "known position" > > > to > > > the original coordinates!!!! > > > > The following is the map code: > > > <snip> > > > > So please, can any body help me?? > > > Don't use the geocoder to position your markers. It only returns > > "known positions". > > > -- Larry -- 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.
