-
Notifications
You must be signed in to change notification settings - Fork 90
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
Icons Size and Anchor in webassembly core hosted #41
Comments
It appears to be something about how Blazor WASM serializes nullable value types. (Still investigating.) |
This appears to be a Blazor issue. https://github.com/dotnet/aspnetcore/issues/23885 |
chucker
pushed a commit
to chucker/BlazorLeaflet
that referenced
this issue
Jul 16, 2020
chucker
pushed a commit
to chucker/BlazorLeaflet
that referenced
this issue
Jul 16, 2020
I have the same issue still with .NET 5. @Rizov74's fix works luckily. |
I have the same issue in .NET Core 5, Blazor Server Side. @Rizov74 fix works fine! |
charleypeng
added a commit
to charleypeng/BlazorLeaflet
that referenced
this issue
May 6, 2022
Likely workaround Mehigh17#41 icon size/anchor in WASM
Yeetii
added a commit
to Yeetii/BlazorLeaflet-net6.0
that referenced
this issue
Nov 16, 2022
Likely workaround Mehigh17#41 icon size/anchor in WASM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for your Leaflet wrapper !
I'm using it in a webassembly core hosted (.NET Core 3.1), and when I set a size or an Anchor to a marker, there a not added to the map anymore. I never stop to my breakpoint at the begining addMarker function in leafletBlazorInterops.js
I think this is an sort of incompatibility width Size? and Point? types.
I replaced
by
and
by
to make it works
The text was updated successfully, but these errors were encountered: