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

Map SetStyle removes direction polyline #277

Open
mapsensedev opened this issue Sep 22, 2021 · 1 comment
Open

Map SetStyle removes direction polyline #277

mapsensedev opened this issue Sep 22, 2021 · 1 comment

Comments

@mapsensedev
Copy link

When switching basemap using setStyle all the layers are removed including any directions polyline. Is the directions control has been added to the map then the map should retain the directions polyline. The developer should not have to add these as these capabilities come out of the box with directions implementation

@mithun-halo
Copy link

I solved it by using doing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants