GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Strips ONE leading properties. from a style rule's field — MapLibre's ["get"] already reads under feature.properties. Nothing else is rewritten: attributes.x stays a literal key, and so does a second properties..

      Parameters

      • field: string

        The field as the style rule writes it.

      Returns string

      The key read under feature.properties.

      styleRuleFieldKey("properties.statut"); // "statut"
      styleRuleFieldKey("statut"); // "statut"