Skip to content

Commit 93e3b09

Browse files
Version Packages (next) (#820)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8f676ef commit 93e3b09

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
"geo-default-translate-center",
114114
"geo-legend-component",
115115
"geo-relative-scale-translate-extent",
116+
"geolegend-reference-scale",
116117
"giant-donuts-yell",
117118
"globe-scroll-zoom",
118119
"good-glasses-design",

packages/layerchart/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# LayerChart
22

3+
## 2.0.0-next.53
4+
5+
### Minor Changes
6+
7+
- feat: Support pre-projected topologies in `GeoLegend` via `referenceScale` ([#449](https://github.com/techniq/layerchart/pull/449))
8+
9+
Add a `referenceScale` prop to `GeoLegend` for charts that render pre-projected data with `geoIdentity` (e.g. `us-atlas`'s `counties-albers-10m` / `states-albers-10m`, pre-projected with `geoAlbersUsa().scale(1300)`). When provided, pixels-per-distance is derived from the chart's fit scale and the supplied base scale, bypassing the `projection.invert` + `geoDistance` path which only works for real lon/lat projections. The `GeoPath` bubble-map example now renders a correct scale bar.
10+
311
## 2.0.0-next.52
412

513
### Minor Changes

packages/layerchart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"repository": "techniq/layerchart",
77
"homepage": "https://layerchart.com",
8-
"version": "2.0.0-next.52",
8+
"version": "2.0.0-next.53",
99
"scripts": {
1010
"dev": "pnpm package:watch",
1111
"package": "svelte-package",

0 commit comments

Comments
 (0)