From 4e1f3aea3cdeef71a379a56fe47e0dc98b09a416 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Thu, 7 Mar 2024 15:39:42 -0500 Subject: [PATCH] v0.6.68 --- CHANGELOG.md | 4 ++++ REFERENCE.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/cli/mapshaper-options.mjs | 6 +++++- src/dissolve/mapshaper-polygon-dissolve2.mjs | 5 +++-- test/each-test.mjs | 4 ++-- 7 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59048823..6255e4ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +v0.6.68 +* [scalebar] giving a pair of distances creates a dual-unit scale bar (style b only). +* [web] minor bug fixes and improvements. + v0.6.67 * -rectangle command with width= option creates a "frame" layer to use as the extent of an SVG map by setting the size of the SVG viewport (an alternative to using -o fit-extent= option). * [web] Map symbols scale as the map zooms when a frame layer is visible. diff --git a/REFERENCE.md b/REFERENCE.md index 3bd71cbf..cba3c281 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -615,7 +615,7 @@ Polyline layers Polygon, polyline and point layers - `this.partCount` 1 for single-part features, >1 for multi-part features, 0 for null features - `this.isNull` True if feature has null geometry -- `this.bounds` Bounding box as array [xmin, ymin, xmax, ymax] +- `this.bbox` Bounding box as array [xmin, ymin, xmax, ymax] - `this.width` Width of bounding box - `this.height` Height of bounding box @@ -1142,7 +1142,7 @@ Add a scale bar to an SVG map. The command creates a data-only layer containing The length of the scale bar reflects the scale in the center of the map's rectangular frame. -`