-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
can't access property "map" r is undefined @/_content/Majorsoft.Blazor.Components.Maps #119
Comments
Hi @aboah, Without more details I don't really know the problem.
|
Find below the full code // Register Majorsoft.Blazor.Components @page "/Support/location-Map-1" @using Majorsoft.Blazor.Components.Maps @layout SiteLayout @Inject UserStateServices UserStateDictionary Display Google Map<GoogleMap @bind-Center="_jsMapCenter" @bind-Center:event="OnMapCenterChanged"
@code {
} |
I don't get this error. Is your project is .NET 6 or 7 Preview? |
Hi majorimi, |
Hmm and any error message in the console? This might be due to you missing API key, etc. |
Please how can we solve the below
[2022-08-21T10:53:57.163Z] Error: Microsoft.JSInterop.JSException: can't access property "map", r is undefined
dispose@https://localhost:4090/_content/Majorsoft.Blazor.Components.Maps/googleMaps.min.js:1:3990
beginInvokeJSFromDotNet/s<@https://localhost:4090/_framework/blazor.server.js:1:3501
beginInvokeJSFromDotNet@https://localhost:4090/_framework/blazor.server.js:1:3475
_invokeClientMethod/<@https://localhost:4090/_framework/blazor.server.js:1:72001
_invokeClientMethod@https://localhost:4090/_framework/blazor.server.js:1:71987
_processIncomingData@https://localhost:4090/_framework/blazor.server.js:1:70029
kt/this.connection.onreceive@https://localhost:4090/_framework/blazor.server.js:1:64432
connect/</o.onmessage@https://localhost:4090/_framework/blazor.server.js:1:48766
The text was updated successfully, but these errors were encountered: