angular-gm icon indicating copy to clipboard operation
angular-gm copied to clipboard

add Marker drag

Open BusbyActual opened this issue 5 years ago • 2 comments

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 avatar Mar 13 '19 18:03 BusbyActual

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

BusbyActual avatar Mar 15 '19 18:03 BusbyActual

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.

dylanfprice avatar Mar 20 '19 17:03 dylanfprice