@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.cjs
CHANGED
|
@@ -6028,7 +6028,7 @@ const MapEditorCanvas = react.forwardRef(function MapEditorCanvas2({
|
|
|
6028
6028
|
const layer = layersRef.current.find((l) => l.id === lid);
|
|
6029
6029
|
if (layer == null ? void 0 : layer.visible) allFeatures.push(...features);
|
|
6030
6030
|
});
|
|
6031
|
-
const EPS = 1e-
|
|
6031
|
+
const EPS = 1e-6;
|
|
6032
6032
|
for (const cf of allFeatures) {
|
|
6033
6033
|
if (((_c = cf.geometry) == null ? void 0 : _c.type) !== "Point") continue;
|
|
6034
6034
|
const cc = cf.geometry.coordinates;
|