osingla / RouteView

Use GoogleMaps and StreetView to play a route ("Virtual Street View").
https://github.com/osingla/RouteView
BSD 3-Clause "New" or "Revised" License
74 stars 18 forks source link

[Request] Send Google Maps drag-modified routes to Routeview #5

Open JeffKang opened 8 years ago

JeffKang commented 8 years ago

Once you put a starting point and destination in Google Maps, you get an optimal route, but you can drag different points to modify the route.

http://googlegeodevelopers.blogspot.ca/2010/09/directions-now-draggable-in-maps-api-v3.html

https://developers.google.com/maps/documentation/javascript/examples/directions-draggable Drag the white dots.

I find some difficulty in dragging any white dots that appear in routeview, and that’s if they appear. If this can’t be changed, maybe we can do the route dragging on Google Maps (no noticeable issues), and then send it to Routeview. Use "Share link" option of Google Maps, then paste into Routeview.

Thanks for the awesome program.

Edit: e.g. Weird things happen when you drag things around:

Going off-route: http://i.imgur.com/Fw28mqj.png

Blue outline changes as you zoom in and out: http://i.imgur.com/zcvf5Ms.png

White dot floating somewhere else after a drag attempt: http://i.imgur.com/vCbYrsZ.png If a waypoint isn't created after the first drag (no A B -> A B C), then no white dot will appear along the blue line to grab. Successfully working = drag, waypoint created, drag, waypoint created.

Workaround: Drag various dots in Google Maps, and create the route. Get a couple latitude and longitude coordinates with single-clicks along the route. Press the Routeview "Create a new waypoint" button a couple times, and paste the coordinates.