Map Layers - Creating New Unfolded Map | Unfolded Dev | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Unfolded Dev
@unfoldeddev
Comments (1)
Ib Green
Nov 15, 2021
In the code snippet above, it is unfortunate that we need to nest the setViewState inside an onLoad event handler. I believe that we have been planning to add an internal queue to the SDK to avoid sending messages before the map is ready.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Unfolded Dev
1
Reply
Add comment
Subscribe to notifications
4
Map Layers - Creating New Unfolded Map | Unfolded Dev | Observable