maplibre-gl-components 0.24.0 → 0.25.0
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 +3 -0
- package/dist/{ControlGrid-B4xm-d1H.js → ControlGrid-C6BgPi2T.js} +4192 -4134
- package/dist/{ControlGrid-DQ9H0uV1.cjs → ControlGrid-CLlaJrXV.cjs} +155 -155
- package/dist/{DuckDBConverter-Cz7_Olwf.cjs → DuckDBConverter-rfnNPos-.cjs} +1 -1
- package/dist/{ShapefileConverter-CpeOQWcJ.cjs → ShapefileConverter-BPS-MS0z.cjs} +1 -1
- package/dist/{geotiff-CYwhlY2x.cjs → geotiff-CdKVv3B3.cjs} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-C0bV29lV.cjs → lerc-C5i3vJZh.cjs} +1 -1
- package/dist/{maplibre-geoman.es-kR9PScu_.cjs → maplibre-geoman.es-BVsCqtcC.cjs} +1 -1
- package/dist/maplibre-gl-components.css +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +1 -1
- package/dist/types/lib/core/MinimapControl.d.ts.map +1 -1
- package/dist/types/lib/core/ViewStateControl.d.ts +27 -1
- package/dist/types/lib/core/ViewStateControl.d.ts.map +1 -1
- package/dist/types/lib/core/types.d.ts +10 -0
- package/dist/types/lib/core/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -863,6 +863,7 @@ A control that displays live map view state (center, bounds, zoom, pitch, bearin
|
|
|
863
863
|
interface ViewStateControlOptions {
|
|
864
864
|
position?: ControlPosition;
|
|
865
865
|
className?: string; // Custom CSS class
|
|
866
|
+
title?: string; // Panel header title. Default: 'View State'
|
|
866
867
|
visible?: boolean; // Default: true
|
|
867
868
|
collapsed?: boolean; // Start collapsed (button only). Default: true
|
|
868
869
|
precision?: number; // Decimal precision for coordinates. Default: 4
|
|
@@ -871,6 +872,8 @@ interface ViewStateControlOptions {
|
|
|
871
872
|
showZoom?: boolean; // Show zoom level. Default: true
|
|
872
873
|
showPitch?: boolean; // Show pitch value. Default: true
|
|
873
874
|
showBearing?: boolean; // Show bearing value. Default: true
|
|
875
|
+
showProjection?: boolean; // Show projection (globe / mercator). Default: true
|
|
876
|
+
showCopyView?: boolean; // Show the unified "copy view" button. Default: true
|
|
874
877
|
enableBBox?: boolean; // Enable bounding box drawing. Default: false
|
|
875
878
|
bboxFillColor?: string; // BBox fill color. Default: 'rgba(0, 120, 215, 0.1)'
|
|
876
879
|
bboxStrokeColor?: string; // BBox stroke color. Default: '#0078d7'
|