Sure, why not?

There must be code that when it receives the geocoder response, it adds a
marker to the map. Just make sure it sets 'draggable:true' on the options
for the marker.

You must also store the location in the form (in hidden fields?) so can
submit. Just have a dragend event on the marker, update the same details as
the geocoder reply does.





On 20 June 2017 at 16:49, Dr. Ezra Boyd <ezgi...@gmail.com> wrote:

>
>
> We are working on a geocoder module using Google Maps JS API. We have a
> webform where the user enters their address with a map element next to it.
> When the user submits their info, a pin for the geocoded location shows up
> on the map. For the cases where the results are incorrect, is it possible
> to set it up so that the user can interactively drag the pin to the correct
> location?
>
> Thanks,
> Ezra
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-maps-js-api-v3+unsubscr...@googlegroups.com.
> To post to this group, send email to google-maps-js-api-v3@
> googlegroups.com.
> Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to