dylanfprice / angular-gm

AngularJS Google Maps Directives
MIT License
198 stars 47 forks source link

add Marker drag #94

Open BusbyActual opened 5 years ago

BusbyActual commented 5 years ago

Is there any way to customize the add marker functionality? I'm hoping to make a marker off the iframe that when dragged over the map creates a marker and replaces the drag. Currently I'm just adding the marker to the watched object. This interaction doesn't feel as smooth. Does anyone have experience dragging a new marker onto the map?

BusbyActual commented 5 years ago

I've been editing the angular-gm.js with some luck to add custom controls. Here's a sample of something similar. http://www.wolfpil.de/v3/drag-from-outside.html

dylanfprice commented 5 years ago

I don't really work on this project much anymore but if you feel up to submitting a PR I'll try to get it in.