GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Builds the adapter options (style merge, geometry, icons, styleRules, clustering) for a layer.

      Parameters

      • def: DefLike
      • preloadedStyleData: Record<string, unknown> | null
      • clusterResult: { shouldCluster: boolean; useSharedCluster?: boolean }
      • layerId: string
      • Log: GeoJSONLoaderLog
      • OptionalapplyCluster: (
            adapterOptions: Record<string, unknown>,
            def: unknown,
            layerId: string,
            Log: GeoJSONLoaderLog,
        ) => void
      • OptionalrefLat: number

        Latitude the scale bounds are converted at — the map's current centre.

      Returns Record<string, unknown>