registerOnSetMapStyle method
void
registerOnSetMapStyle(
- SetMapStyleCallback? setMapStyleCallback
Registers for map style change notifications.
Fired when the map style is updated, either through the API or by native defaults.
Parameters
setMapStyleCallback: (SetMapStyleCallback?) Receives content store identifiers and style path metadata. Passnullto unregister.
Also see:
- MapViewPreferences.setMapStyle - Configure the map style.
Implementation
void registerOnSetMapStyle(final SetMapStyleCallback? setMapStyleCallback) {
_setMapStyle = setMapStyleCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onSetMapStyle',
setMapStyleCallback == null,
);
}