@orbat-mapper/tactical-draw 0.30.0 → 0.31.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.
@@ -633,7 +633,16 @@ interface FeatureGroup {
633
633
  id: string;
634
634
  features: readonly Feature[];
635
635
  iconResources: readonly IconResource[];
636
- /** Ground-anchored rasters painted atomically with this Graphic. */
636
+ /**
637
+ * Ground-anchored rasters painted atomically with this Graphic.
638
+ *
639
+ * Each overlay also needs a feature in `features` whose `properties.imageOverlayId`
640
+ * is the overlay's `id`, with a polygon whose ring starts TL, TR, BR, BL. OpenLayers
641
+ * paints an overlay only through the feature that names it, positioned from that
642
+ * feature's geometry rather than `coordinates`, and silently drops an overlay no
643
+ * feature names. MapLibre and Leaflet don't read the property, so such a bug shows
644
+ * only on OpenLayers.
645
+ */
637
646
  imageOverlays?: readonly ImageOverlayResource[];
638
647
  /**
639
648
  * Monotonic stamp identifying this group's rendered content, when the
@@ -1,4 +1,4 @@
1
- import { a as LayerId, o as MapAdapter, p as PixelCoordinate } from "./map-adapter-BBbauQ5S.mjs";
1
+ import { a as LayerId, o as MapAdapter, p as PixelCoordinate } from "./map-adapter-g2v5Ok3Y.mjs";
2
2
  import { Feature } from "geojson";
3
3
 
4
4
  //#region src/testing/feature-group-conformance.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbat-mapper/tactical-draw",
3
- "version": "0.30.0",
3
+ "version": "0.31.1",
4
4
  "description": "Engine-agnostic draw/edit core for tactical control measures (MIL-STD-2525 / APP-6). The MapAdapter ABI and bring-your-own-engine entry point for the tactical-draw package family.",
5
5
  "license": "MIT",
6
6
  "author": "Orbat Mapper",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@orbat-mapper/control-measures": "^0.45.0"
42
+ "@orbat-mapper/control-measures": "^0.46.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "vitest": ">=4.0.0"