You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to enable the user to draw only one polygon.
One way of doing this is to set "Polygon Control" to false when the user draws a shape and then reset it again to true if the user deletes the shape, but for some reason changing the "PolygonControl" prop values doesn't re-render and the control is always visible.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
I want to enable the user to draw only one polygon.
One way of doing this is to set "Polygon Control" to false when the user draws a shape and then reset it again to true if the user deletes the shape, but for some reason changing the "PolygonControl" prop values doesn't re-render and the control is always visible.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: