Add a method to remove polygons
See original GitHub issueHi, I’m having trouble removing existing Polylines on Android (I’ve not tested on IOS). This is how I add them:
this.map.addPolygon({
id: this.circular_polyline_id,
fillColor: new Color("#0099FF"),
fillOpacity: 0.7,
points: circlePoints.map(c => {
return {
'lat': c[1],
'lng': c[0]
}
})
});
Before adding, I try to remove them like this:
this.map.removePolylines([this.circular_polyline_id]).then(response => {
});
I’ve tried everything, even using setTimeout, etc.
Any ideias what I’m doing wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Blender: Reduce Polygons – Simply Explained - All3DP
This is perhaps the easiest method to reduce polygons in Blender due to its one and only control: the iteration count. As the...
Read more >Add a method to remove polygons · Issue #237 - GitHub
Hi, I'm having trouble removing existing Polylines on Android (I've not tested on IOS). This is how I add them: this.map.
Read more >Adding, Removing, and Modifying Polygons - Poser
Deselect mode button (8): Click the Deselect button to enable polygon deselection, and then click within the current object to remove polygons ......
Read more >How do I add and remove Polygons on Google Maps v3?
If you have a reference to the polygon object you want to remove, then simply call the remove() method of that polygon.
Read more >Eliminate Polygon Part (Data Management)—ArcGIS Pro
ArcGIS geoprocessing tool that creates a new output feature class containing the features from input polygons with some parts or holes of a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
4.1.1 released ➡️ grab it while it’s 🔥
Make sure to read the updated docs and or demo app to see how to use it.
I already update to the latest version, it works! Thanks!!!