Closed ditikos closed 11 years ago
you can do something like this
var gmarker = addresspickerMap.addresspicker( "marker");
var map = addresspickerMap.addresspicker( "map");
google.maps.event.addListener(map, "click", function(position) {
gmarker.setPosition(position.latLng);
google.maps.event.trigger(gmarker, "dragend");
})
I was unable to make this work, has this changed?
Hi, is there a way to make the map clickable to the location instead of dragging the marker?