android icon indicating copy to clipboard operation
android copied to clipboard

Allow removing individual geometry

Open sarahsnow1 opened this issue 7 years ago • 0 comments

The APIs around adding polylines, polygons, and markers are currently unbalanced in that you add individual geometries but then only have the option to clear all of them. We should add methods to remove individual polylines/polygons/markers and update the current methods which remove all polylines/polygons/markers so that the apis for each look like this:

//Currently exists
`MapzenMap#addPolyline(Polyline)`

//Add this
`MapzenMap#removePolyline(Polyline)`

//Currently is `MapzenMap#removePolyline()`
`MapzenMap#removePolylines()`

sarahsnow1 avatar Nov 03 '17 20:11 sarahsnow1