28
Views
4
Comments
Solved
[LeafletJS - Reactive] remove polylines from leaflet map.
leafletjs-reactive
Reactive icon
Forge asset by Vincent Koning
Application Type
Reactive
Service Studio Version
11.53.30 (Build 61739)

I'm using leaflet js component and using 'AddPolyline' action to generate polylines. Now I'm struggling to remove all the polylines. I'm not getting how to remove polylines once it is generated.

Any suggestions?

2020-09-21 08-42-47
Vincent Koning
Solution

Hi, 

You can use the Hide action to remove objects from the map. Have you tried that?

Greetings,

Vincent

UserImage.jpg
Saransh

let me check this.

UserImage.jpg
Saransh

what we need to pass in this 'ObjectName' ?


I'm getting error If I pass my MapName.

UserImage.jpg
Saransh

Got it whatever the polylines names are there we can pass that.

Thanks man.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.