-
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
Display multiple maps on page within child component throws an error #393
Comments
I have created a minimal reproducible example here. |
Why you need this part |
I added that as an overlay so the user can't zoom the map since it's on a card. They need to open the full view in order to use the map. It has no effect whatsoever on the map rendering. If I remove it still throws an error. |
I've updated the repo with the double quotes and overlay removed. |
My guess is it has something to do with how it is rendered, but I can't figure out what and why. |
I get this error while trying to run client. What i am missing?
|
Was playing around for 1h and couldnt find anything.
|
Unfortunately that doesn't solve it either 😓 |
Did it work for you adding that check? |
Why it acts like this. Startup solution. It works. Stop. Start again. It dont works. cs
Razor
|
Oooh that is a horrible solution but it does work. Although the first time I ran it it still broke. |
Maybe serve that page from serverside. There are registered couple similar issues here, but so far no one find solution. If i knew what to do i will implement it without complain. |
Setting At the moment I'm stuck as I don't have any working solution to actually use this. |
Not sure what the issue here is but this seems like a perfect case for using: If that doesn't work for your case, I can try help figure out the issue here. |
@Nickztar this is perfect thank you. This is OK in my case. |
I'm trying to show multiple cards on a page, each with a map within. If I use this code it works fine:
However, if I move the
GoogleMap
element into a child component so the code then looks like this:And the child component is this:
Then I get the following error:
If I open a page that has a single map, and only then open a page with multiple, then no error occurs and it shows all the maps.
The text was updated successfully, but these errors were encountered: