layerchart@2.0.0-next.53
Pre-release
Pre-release
·
0 commits
to main
since this release
Minor Changes
-
feat: Support pre-projected topologies in
GeoLegendviareferenceScale(#449)Add a
referenceScaleprop toGeoLegendfor charts that render pre-projected data withgeoIdentity(e.g.us-atlas'scounties-albers-10m/states-albers-10m, pre-projected withgeoAlbersUsa().scale(1300)). When provided, pixels-per-distance is derived from the chart's fit scale and the supplied base scale, bypassing theprojection.invert+geoDistancepath which only works for real lon/lat projections. TheGeoPathbubble-map example now renders a correct scale bar.