registerOnSetMapStyle method

void registerOnSetMapStyle(
  1. SetMapStyleCallback? setMapStyleCallback
)

Map style changed notification

Parameters

  • IN id Style content store item id. See ContentStoreItem.id
  • IN stylePath Style local file path. See ContentStoreItem.fileName
  • IN viaApi True if the style was changed via a setStyle... method. False if a default style was applied internally.

Implementation

void registerOnSetMapStyle(final SetMapStyleCallback? setMapStyleCallback) {
  _setMapStyle = setMapStyleCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onSetMapStyle',
    setMapStyleCallback == null,
  );
}