-
Notifications
You must be signed in to change notification settings - Fork 106
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
DrawingManager.SetDrawingMode no longer works in 3.3.2 and newer #320
Comments
Sorry but i will take a look next week. Tuesday. |
Did you have a chance to look at this? |
Fixed. Thank you for detailed information |
Thank you! |
@valentasm1 I am still having an issue with the Polygon overlay. My button that switches to Polygon mode doesn't work unless I first use my Polyline button. Similarly, the private async Task ChangeDrawingModeToLine()
{
await _drawingManager.SetDrawingMode(OverlayType.Polygon);
} And then run the project, the Change Mode to Line button no longer works. |
Thank you very much! |
Calling
await DrawingManager.SetDrawingMode(OverlayType.Polygon);
in versions newer than 3.3.2 has no effect. I suspect this is due to the refactoring in theHelper.cs
file that modified how enums are handled. In the meantime, I am using an older version of the library in my project.I poked around for a while but wasn't able to pinpoint the specific issue. This commit may be the culprit: 4af3864
But there was also this commit later, so I am not sure what to make of it: 32ffc89
Edit: this issue can be replicated in the ServerSideDemo on the
/drawing-manager
page. Clicking "Change mode to line" does nothing.The text was updated successfully, but these errors were encountered: