GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Returns a shallow copy of a flat GeoLeaf style. All properties are copied as-is — radius is the canonical point-size key.

      The nested fill/stroke format is no longer supported — profile style files should use flat keys (fillColor, fillOpacity, color, weight…).

      Safe against prototype-pollution attacks: keys __proto__, constructor and prototype are never copied.

      Parameters

      • style: Record<string, unknown> | null | undefined

      Returns FlatStyle