Skip to content
New issue

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

Error {message: "Input data given to 'mapbox-gl-draw-cold' is not a valid GeoJSON object."} with DragCircleMode #8

Open
dvmai11 opened this issue Sep 8, 2022 · 1 comment

Comments

@dvmai11
Copy link

dvmai11 commented Sep 8, 2022

This seems to be a known issue for DragCircleMode. (iamanvesh/mapbox-gl-draw-circle#21)
A potential fix for this - iamanvesh/mapbox-gl-draw-circle@71a3834

... geojson.properties.active = (isActivePolygon) ? Constants.activeStates.ACTIVE : Constants.activeStates.INACTIVE; if (state.polygon.properties.center.length > 0) return display(geojson);

@dvmai11 dvmai11 changed the title Error {message: "Input data given to 'mapbox-gl-draw-cold' is not a valid GeoJSON object."} Error {message: "Input data given to 'mapbox-gl-draw-cold' is not a valid GeoJSON object."} with DragCircleMode Sep 8, 2022
@MaxHammermann
Copy link

As this problem is still present, can someone merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants