The following demo has nearly all you need:

Google Maps API v3 Geocoder Tool
http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder-tool.html

1. when you click anywhere, it reverse-geocodes that point
2. when you enter an address, it geocodes it

If you make those markers draggable and trigger the geocode() function upon
dragger drop, you'll be practically there.

Cheers,
Miguel

On Wed, Jun 2, 2010 at 21:49, Jnew <[email protected]> wrote:

> Ok Thanks for the reply Miguel.
> But not yet succeeded.
> The google provides some example of this joint?
> Or is there any forum topic that has a nearby example of the code?
>
> Because I am not yet quite adapter or with google maps and I'm having
> trouble doing that.
>
> Thank you.
>
> On 2 jun, 05:09, Miguel Angel Vilela <[email protected]> wrote:
> > You need to do a few changes to map #1 to get it behave like #2:
> > - onClick -> add a draggable marker (if none exists yet, so only first
> time)
> > or move it there
> > - when dragging that marker, update current position
> > - when dropping that marker, reverse-geocode current position
> >
> > Cheers,
> > Miguel
> >
> >
> >
> > On Wed, Jun 2, 2010 at 08:51, Jnew <[email protected]> wrote:
> > > Allows you to search the site:
> >
> > >http://code.google.com/intl/pt-BR/apis/maps/documentation/javascript/.
> ..
> >
> > > Drag and shows the local "Closest matching address:"
> >
> > >http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-markers/dr.
> ..
> >
> > > How to join these two maps?
> >
> > > Because I wanted the user to seek its location on my site, but if he
> > > saw that it is not the exact address, allowing it to drag the marker
> > > and to the side, showing the address of the new location.
> >
> > > Thank you.
> >
> > > --
> > > 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]<google-maps-js-api-v3%[email protected]><google-maps-js-api-v3%2B
> [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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