-
Notifications
You must be signed in to change notification settings - Fork 91
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
3D Map not instantiating #991
Comments
Ah, with the new service / systems rewrite that @bhousel did, this '3d map' system isn't started by default. As such, whenever the user requires it, the system will now be started as soon as the 'toggle' method is invoked. This brings the map up correctly. This is much easier to follow and reason about! I simply needed to create the maplibre container for canvas to fit in, and be sure to call 'startAsync' after that container is created. Nice. |
Cool! Sorry I wasn't more clear with what I was doing.. I think we will want to throttle the redraws of the 3D map, because the |
You were very clear in what you were doing- this was just my first exposure to it so it took a little bit (not much!) of figuring out the new system startup/deferral type machinery you put in. The ability to control the instantiation of the mapLibre map until it's demanded is pretty great. |
Description
when I hit the shortcut key, the 3D map isn't coming up.
Also, the background panel 'Show 3D Map' checkbox errors out with a stacktrace when clicked:
Version
2.0.3
What browser are you seeing the problem on? What version are you running?
any/all
The OS you're using
MacOS 13
Steps to reproduce
Hit 'B' for background panel -> click on 'Show 3D Map' to observe the stack trace.
Also use the 'cmd+/' hotkey to observe that the minimap doesn't toggle when pressed.
The browser URL at the time you encountered the bug
n/a
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response
The text was updated successfully, but these errors were encountered: