randomwalker-io / random_walker

This is the repository for the web application Random Walker
2 stars 1 forks source link

Destination circle make draggable #205

Open mkao006 opened 8 years ago

mkao006 commented 8 years ago

Maybe we should remove the marker and make the circle the draggable object.

mkao006 commented 8 years ago

This can be slightly complicated.

  1. A circle is a vector layer and thus has no interactive method. We will have to define the method suggested by this post.
  2. Although the routing control will re-calculate the route, we need to ensure the waypoint also changed accordingly.
  3. When waypoints has changed, we need to send the change to the database and save the changes.