Home > @magiclane/maps-sdk > GemView > registerSetMapStyleCallback
GemView.registerSetMapStyleCallback() method
Register a callback for map style change events.
Signature:
registerSetMapStyleCallback(callback: SetMapStyleCallback | null): void;Parameters
Parameter | Type | Description |
|---|---|---|
callback | SetMapStyleCallback | null | The callback to invoke when the map style is changed. Pass null to unregister. |
Returns:
void