@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.
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/types/index.d.cts
CHANGED
|
@@ -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/dist/types/index.d.ts
CHANGED
|
@@ -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];
|