WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Allow removing individual geometry #501

@sarahcodes100

Description

@sarahcodes100

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()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions