Mappedin Paths Issue

Hello!

I have recently upgraded from alpha version to Mappedin SDK - v6.0.1-beta.8. For some reason my path does not get cleared anymore even though I haven’t changed anything in the code. Are there any differences in how the paths are cleared in beta version? Here is how I did it previously and it worked well.
// Reset the navigation state
startSpace = null;
endSpace = null;

  // Clear paths and markers
  navigationState.isPathDrawn = false;
  mapView.Paths.removeAll();
  mapView.Markers.removeAll();
  setSpaceInteractivity(true);

v6.0.1-beta.8. has an issue where calling Paths.removeAll() does not remove paths that are still being drawn. This may be what you are encountering. As a workaround you could await the drawing of the path and then call removeAll(). We will release a fix for this issue within the week.

Hi Jovana,

This issue has been resolved in v6.0.1-beta.11 (release notes).

Your existing code from alpha versions should work as expected now.