@classic-homes/maps-core 0.2.13 → 0.2.14

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.
@@ -627,9 +627,9 @@ interface MarkerProps {
627
627
  id?: string;
628
628
  /** Marker coordinates [lng, lat] */
629
629
  coordinates: LngLat;
630
- /** Marker color */
630
+ /** Marker color (init-only: MapLibre bakes it into the marker element at creation) */
631
631
  color?: string;
632
- /** Custom anchor point */
632
+ /** Custom anchor point (init-only: cannot change after marker creation) */
633
633
  anchor?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
634
634
  /** Offset from coordinates [x, y] in pixels */
635
635
  offset?: [number, number];
@@ -637,7 +637,7 @@ interface MarkerProps {
637
637
  rotation?: number;
638
638
  /** Enable dragging */
639
639
  draggable?: boolean;
640
- /** Marker scale */
640
+ /** Marker scale (init-only: cannot change after marker creation) */
641
641
  scale?: number;
642
642
  /** Popup offset */
643
643
  popupOffset?: number | [number, number];
@@ -627,9 +627,9 @@ interface MarkerProps {
627
627
  id?: string;
628
628
  /** Marker coordinates [lng, lat] */
629
629
  coordinates: LngLat;
630
- /** Marker color */
630
+ /** Marker color (init-only: MapLibre bakes it into the marker element at creation) */
631
631
  color?: string;
632
- /** Custom anchor point */
632
+ /** Custom anchor point (init-only: cannot change after marker creation) */
633
633
  anchor?: 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
634
634
  /** Offset from coordinates [x, y] in pixels */
635
635
  offset?: [number, number];
@@ -637,7 +637,7 @@ interface MarkerProps {
637
637
  rotation?: number;
638
638
  /** Enable dragging */
639
639
  draggable?: boolean;
640
- /** Marker scale */
640
+ /** Marker scale (init-only: cannot change after marker creation) */
641
641
  scale?: number;
642
642
  /** Popup offset */
643
643
  popupOffset?: number | [number, number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-core",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "Core utilities and theme for Classic Theme maps",
5
5
  "keywords": [
6
6
  "maps",