Skip to content

Map#setFeatureState should reject feature identifier without an id field #6959

Description

@asheemmamoowala

The Map#setFeatureState should require the id field in the first argument and reject invocations missing said field.

mapbox-gl-js version: 0.46.1

Discovered this while debugging an issue where string ids in geojson data do not work with Map#setFeatureState. That is related to : #2716.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions