Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Previous route left on map when point added/edited #35

Open
canadaka opened this issue Feb 11, 2015 · 3 comments
Open

Previous route left on map when point added/edited #35

canadaka opened this issue Feb 11, 2015 · 3 comments
Assignees

Comments

@canadaka
Copy link

When I add or edit a point along an existing route, the old route remains on the map, but slightly opaque. Not sure why this is happening or how to stop it. If I refresh the routing using the points,

Image of example map

@ghost
Copy link

ghost commented Mar 16, 2015

@canadaka It's a problem for me too. Waiting for a fix :)

@Starefossen
Copy link
Contributor

I'm trying to replicate the reported issue using the OSM demo without luck. Does any of you have a set of steps to reproduce this behaviour?

@ghost
Copy link

ghost commented Mar 16, 2015

Hi @Starefossen , i try to replicate on the demo but without luck too. Here is an other example of the " issue " (http://s28.postimg.org/5hplccn5p/for_Github.png) . I have made an function witch can continue drawing a polyline in an automatic mode ( with the help of your plugin ). I use the osm.html example to setup your plugin but i may forget something.

I use the removeWaypoint to manualy remove the last wayPoint and it works perfectly.

this.undoLast = function()
{
self._routing.removeWaypoint(self._routing.getLast(),function() {
// console.log(arguments);
});

The problem is that i can't reproduce this issue everytime and i don't know why.

(Sorry for my english)

Thanks for your awesome work!

@Starefossen Starefossen self-assigned this Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants