Closed MrYossu closed 1 year ago
I know that one works, but that doesn't help me. Mine doesn't work!
Please don't close issues as soon as you've answered them. Maybe you think it's done with, but if my code isn't working, then it's not. Your demo works fine, but that doesn't help me fix my code, which was copied from your demo.
Please can you explain under what circumstances AfterMapInit
doesn't get fired.
Thanks
I dont understand how to help. Probably there are some issue with your code misconfiguration. If there is issue with library i could try to help, but need to reproduce first.
You could try run demo at your computer and find differencies.
Well, having spent ages trying to build a repro, my original code now works! No idea what I've changed, but it's working, so this can be closed.
Thanks
Happy that you resolved.
I have a map component as follows...
...and the following in my code-behind...
When I load the page with the map on, I can see that the
AfterMapInit
method is not being called, so the map is not being set up. I haven't included the code inAfterMapInit
as it's not relevant, as the method never gets called.Any idea why it's not being called? Obviously I don't get a map. Thanks