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.
The
Map#setFeatureStateshould require theidfield 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.