maplibre-gl-components 0.24.0 → 0.25.1

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
@@ -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'