We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mapbox-gl-js version: 1.11.1 mapbox-gl-draw version: 1.2.0
i have features and want to edit them: const featureIds = this.draw.add(geoInsight); this.draw.setFeatureProperty(featureIds[0], 'myFillColorProperty', this.geoInsight.color); this.draw.setFeatureProperty(featureIds[0], 'draw_type', this.geoInsight.geometricType); this.draw.changeMode((this.geoInsight.geometricType === GeometryType.POINT ? 'simple_select' : 'direct_select'), { featureId: featureIds[0] });
as you seemed in type point i use simple_select mode as in docs: https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md#direct_select
i want point to be activate like put feature in draw tool by direct_select, and emit draw.selectionchange when clickoutside selected point.
set point by simple_select and currently draw.selectionchange not emit when clickoutside selected point....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mapbox-gl-js version:
1.11.1
mapbox-gl-draw version:
1.2.0
Steps to Trigger Behavior
i have features and want to edit them:
const featureIds = this.draw.add(geoInsight);
this.draw.setFeatureProperty(featureIds[0], 'myFillColorProperty', this.geoInsight.color);
this.draw.setFeatureProperty(featureIds[0], 'draw_type', this.geoInsight.geometricType);
this.draw.changeMode((this.geoInsight.geometricType === GeometryType.POINT ? 'simple_select' : 'direct_select'), { featureId: featureIds[0] });
as you seemed in type point i use simple_select mode as in docs: https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/API.md#direct_select
Expected Behavior
i want point to be activate like put feature in draw tool by direct_select,
and emit draw.selectionchange when clickoutside selected point.
Actual Behavior
set point by simple_select and currently draw.selectionchange not emit when clickoutside selected point....
The text was updated successfully, but these errors were encountered: