mapshaper 0.6.71 → 0.6.72

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/mapshaper.js CHANGED
@@ -45492,7 +45492,7 @@ ${svg}
45492
45492
  });
45493
45493
  }
45494
45494
 
45495
- var version = "0.6.71";
45495
+ var version = "0.6.72";
45496
45496
 
45497
45497
  // Parse command line args into commands and run them
45498
45498
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.6.71",
3
+ "version": "0.6.72",
4
4
  "description": "A tool for editing vector datasets for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
@@ -10024,7 +10024,7 @@
10024
10024
  if (pixelDist > HOVER_THRESHOLD$1 || pathLen < 4) {
10025
10025
  return null;
10026
10026
  }
10027
- var point = translateDisplayPoint([x, y]);
10027
+ var point = translateDisplayPoint(target, [x, y]);
10028
10028
  return {
10029
10029
  target, ids: [id], extendable: false, point
10030
10030
  };
package/www/mapshaper.js CHANGED
@@ -45492,7 +45492,7 @@ ${svg}
45492
45492
  });
45493
45493
  }
45494
45494
 
45495
- var version = "0.6.71";
45495
+ var version = "0.6.72";
45496
45496
 
45497
45497
  // Parse command line args into commands and run them
45498
45498
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.