@orbat-mapper/tactical-draw 0.30.0 → 0.31.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/dist/index.d.mts +247 -12
- package/dist/index.mjs +935 -45
- package/dist/{map-adapter-BBbauQ5S.d.mts → map-adapter-g2v5Ok3Y.d.mts} +10 -1
- package/dist/testing.d.mts +1 -1
- package/package.json +1 -1
|
@@ -633,7 +633,16 @@ interface FeatureGroup {
|
|
|
633
633
|
id: string;
|
|
634
634
|
features: readonly Feature[];
|
|
635
635
|
iconResources: readonly IconResource[];
|
|
636
|
-
/**
|
|
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
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LayerId, o as MapAdapter, p as PixelCoordinate } from "./map-adapter-
|
|
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.
|
|
3
|
+
"version": "0.31.0",
|
|
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",
|