@magiclane/maps-sdk
    Preparing search index...

    Type Alias SetMapStyleCallback

    SetMapStyleCallback: (id: number, stylePath: string, viaApi: boolean) => void

    Callback invoked when the map style is set.

    Type Declaration

      • (id: number, stylePath: string, viaApi: boolean): void
      • Parameters

        • id: number

          The style ID.

        • stylePath: string

          The path to the style file.

        • viaApi: boolean

          Whether the style was set via the API.

        Returns void