Open freedom2012 opened 4 years ago
It is doable, however you'll need to add new events to the library (_onMouseDown, _onMouseUp) and edit the _onMouseMove event to handle it. Then you can get the mouse coordinates and convert them to lat/lon (an example of conversion can be found in the _click event). Once you have the callbacks, simply update the marker position with updateMarker().
hello,how can i drag and drop marker or how can i use THREE to achieve it?