@octostar/map-component 0.1.13 → 0.1.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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6007,7 +6007,7 @@ const MapEditorCanvas = forwardRef(function MapEditorCanvas2({
|
|
|
6007
6007
|
const layer = layersRef.current.find((l) => l.id === lid);
|
|
6008
6008
|
if (layer == null ? void 0 : layer.visible) allFeatures.push(...features);
|
|
6009
6009
|
});
|
|
6010
|
-
const EPS = 1e-
|
|
6010
|
+
const EPS = 1e-6;
|
|
6011
6011
|
for (const cf of allFeatures) {
|
|
6012
6012
|
if (((_c = cf.geometry) == null ? void 0 : _c.type) !== "Point") continue;
|
|
6013
6013
|
const cc = cf.geometry.coordinates;
|