@octostar/map-component 0.1.22 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -78,26 +78,6 @@ function App() {
78
78
  | `PropertiesPanel` | Panel for editing feature properties |
79
79
  | `Timebar` | Timeline component for temporal filtering |
80
80
 
81
- ## Tooltip & Property Utilities
82
-
83
- The map component injects internal properties onto GeoJSON features at runtime (styling, selection state, heatmap visibility, etc.). When building custom tooltips via `tooltipProvider`, filter these out so users only see meaningful data:
84
-
85
- ```tsx
86
- import { isInternalProperty } from '@octostar/map-component';
87
-
88
- const tooltipProvider = (feature) => {
89
- const displayProps = Object.entries(feature.properties ?? {})
90
- .filter(([key]) => !isInternalProperty(key));
91
- // render displayProps...
92
- };
93
- ```
94
-
95
- | Export | Description |
96
- |--------|-------------|
97
- | `isInternalProperty(key)` | Returns `true` if the key is injected by the map component at runtime |
98
- | `INTERNAL_PROPERTY_KEYS` | `Set<string>` of exact keys (e.g. `fill`, `pointRadius`, `meta:type`) |
99
- | `INTERNAL_PROPERTY_PREFIXES` | `string[]` of prefixes (e.g. `isHidden`, `isSelected`, `trace`) |
100
-
101
81
  ## Configuration Options
102
82
 
103
83
  ```tsx