// After your nbMapView is ready (e.g., in a delegate/callback)
2
nbMapView.setStyleWith(.Bright)
Objective-C
1
// Example if there is an Obj-C bridge
2
[nbMapView setStyleWith:Bright];
Best Practices & Notes
Coordinate with tiler changes: When you change the tile server, switch (or re-apply) the map style to force a clean reload of base tiles so users see the tiles from the new provider immediately.
Night mode: Consider mapping Night to your app’s dark theme or system appearance for consistency.
Verify Style Load Completion
You can verify that the map style has finished loading via the delegate callback. This is the safest point to add custom layers, sources, images, or adjust styling—your changes won’t be overwritten by subsequent style loads.