map.fitToNodes
fitToNodes(options?: FlyToGeoOptions): Promise<void>Fit the view to show all nodes currently on the map.
Reads node positions from store.positionProvider, computes their bounding
box in scene space, and animates the view to frame all nodes with padding.
If no position provider or no positions are available, this is a no-op.
options | FlyToGeoOptions |
Returns: Promise<void>