@octostar/map-component 0.3.7 → 0.3.9
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.cjs +23 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +23 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/components/map-editor-canvas.d.ts.map +1 -1
- package/dist/types/lib/paintable-geometry.d.ts +8 -0
- package/dist/types/lib/paintable-geometry.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-editor-canvas.d.ts","sourceRoot":"","sources":["../../../client/src/components/map-editor-canvas.tsx"],"names":[],"mappings":"AA4HA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"map-editor-canvas.d.ts","sourceRoot":"","sources":["../../../client/src/components/map-editor-canvas.tsx"],"names":[],"mappings":"AA4HA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gDAAgD,CAAC;AAiSxD,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA2D5E,eAAO,MAAM,eAAe,4GAszS1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether every position in `geometry` is a coordinate pair, so MapLibre can
|
|
3
|
+
* paint it. A tool MapboxDraw has just started holds a feature with no
|
|
4
|
+
* positions yet (a new polygon serializes as `[[null]]`), and MapLibre's
|
|
5
|
+
* worker throws on it.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isPaintableGeometry(geometry: GeoJSON.Geometry): boolean;
|
|
8
|
+
//# sourceMappingURL=paintable-geometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paintable-geometry.d.ts","sourceRoot":"","sources":["../../../client/src/lib/paintable-geometry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,GAAG,OAAO,CAevE"}
|