File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ Use render callbacks to customize how features are rendered:
6363| Prop | Type | Default | Description |
6464| ------| ------| ---------| -------------|
6565| ` geojson ` | ` GeoJSON ` | ** required** | GeoJSON object (FeatureCollection, Feature, or Geometry) |
66- | ` strokeColor ` | ` ColorValue ` | - | Default stroke color for polylines and polygons |
67- | ` strokeWidth ` | ` number ` | - | Default stroke width |
68- | ` fillColor ` | ` ColorValue ` | - | Default fill color for polygons |
6966| ` zIndex ` | ` number ` | - | Z-index for all rendered components |
7067| ` renderMarker ` | ` (props, feature) => ReactElement ` | - | Custom marker renderer |
7168| ` renderPolyline ` | ` (props, feature) => ReactElement ` | - | Custom polyline renderer |
@@ -85,7 +82,7 @@ Use render callbacks to customize how features are rendered:
8582
8683## Feature Properties (simplestyle-spec)
8784
88- Per-feature styling via ` feature.properties ` overrides component-level props :
85+ Per-feature styling via ` feature.properties ` :
8986
9087| Property | Maps To |
9188| ---| ---|
@@ -95,4 +92,4 @@ Per-feature styling via `feature.properties` overrides component-level props:
9592| ` stroke-width ` | Polyline/Polygon ` strokeWidth ` |
9693| ` fill ` | Polygon ` fillColor ` |
9794
98- Precedence: render callback > feature properties > component props .
95+ Precedence: render callback > feature properties.
You can’t perform that action at this time.
0 commit comments