rungwiroon / BlazorGoogleMaps

Blazor interop for GoogleMap library
MIT License
319 stars 102 forks source link

enum serialization for StrokePosition and SymbolPath #255

Closed PSUnconquered closed 1 year ago

PSUnconquered commented 1 year ago

Serializing these enums as strings (e.g. "CIRCLE" and "Center") either breaks the constructor in objectManager.createObject() or causes a TypeError: h[r] is not a function error during drawing.

Can be checked with the polyline and drawing manager demo pages.

valentasm1 commented 1 year ago

Thank you very much for your help https://www.nuget.org/packages/BlazorGoogleMaps/3.0.2