DefaultZoomViewModel
Default implementation of ZoomViewModel that integrates with ZoomControlModel.
Listens to the native zoom control model and exposes zoom-in/zoom-out enabled states as kotlinx.coroutines.flow.StateFlow. Delegates press/release actions to the model.
Parameters
map
The map instance to control zoom for.
Properties
Link copied to clipboard
Observable state indicating whether zooming in is currently available. When false, the zoom-in button should appear disabled.
Link copied to clipboard
Observable state indicating whether zooming out is currently available. When false, the zoom-out button should appear disabled.