Skip to main content

MapViewportChangedCallbackType

Type Alias MapViewportChangedCallbackType 

Source
pub type MapViewportChangedCallbackType = extern "C" fn(RefAny, CallbackInfo, MapViewport) -> Update;
Expand description

User hook fired when the user pans or zooms the map. Lets app code observe or persist the widget-driven MapViewport (which otherwise lives only in the opaque MapTileCache). The backreference DI pattern (architecture.md).