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've only been coding in C# / Blazor for 3 months but I don't believe this is working as intended. I am unable to extract the Text from the Marker Label. Please advise. Thank you for building BlazorGoogleMaps.
// Directly get the MarkerLabel object
var markerLabel = await marker.GetLabelMarkerLabel();
Strange not sure which part to fix. Why js is serilized as element not object or add extra check if if marker response contains dotnetTypeName and then serilize to it.
Probably will do second one since doing fixes in first part could break. Strange it should happen to many more parts.
Found one more interesting code in related part " //Basically fails for marker GetLabel if skip this" :).
Need to check/write test for others OneOf parts where one is string other is object. If it return object or string
I've only been coding in C# / Blazor for 3 months but I don't believe this is working as intended. I am unable to extract the Text from the Marker Label. Please advise. Thank you for building BlazorGoogleMaps.
// Directly get the MarkerLabel object
var markerLabel = await marker.GetLabelMarkerLabel();
// Access the Text property directly
This is how I create my label.
// Create the marker
var marker = await Marker.CreateAsync(refGoogleMap.JsRuntime, markerOptions);
The text was updated successfully, but these errors were encountered: