From f7abb318551fc2c0250bedef3ed75ee1675c8a35 Mon Sep 17 00:00:00 2001 From: Curran Kelleher <68416+curran@users.noreply.github.com> Date: Wed, 28 Oct 2020 15:18:12 -0400 Subject: [PATCH] Expose Fit Internals. Closes #217 --- src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.js b/src/index.js index 9a36976..7247276 100644 --- a/src/index.js +++ b/src/index.js @@ -24,6 +24,12 @@ export {default as geoEquirectangular, equirectangularRaw as geoEquirectangularR export {default as geoGnomonic, gnomonicRaw as geoGnomonicRaw} from "./projection/gnomonic.js"; export {default as geoIdentity} from "./projection/identity.js"; export {default as geoProjection, projectionMutator as geoProjectionMutator} from "./projection/index.js"; +export { + fitExtent as geoProjectionFitExtent, + fitSize as geoProjectionFitSize, + fitWidth as geoProjectionFitWidth, + fitHeight as geoProjectionFitHeight +} from "./projection/fit.js"; export {default as geoMercator, mercatorRaw as geoMercatorRaw} from "./projection/mercator.js"; export {default as geoNaturalEarth1, naturalEarth1Raw as geoNaturalEarth1Raw} from "./projection/naturalEarth1.js"; export {default as geoOrthographic, orthographicRaw as geoOrthographicRaw} from "./projection/orthographic.js";