Skip to content

Commit

Permalink
export useGeoTools; fix GeoCoords
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Jun 25, 2021
1 parent 364e006 commit d848cec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/map/src/geotools/GeoCoords.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export default function GeoCoords({ name, value, type, setLocation }) {
{ Input } = useInputComponents(),
longitudeName = `${name}_longitude`,
latitudeName = `${name}_latitude`,
[, { value: latitude }, { setValue: setLongitude }] = useField(
[, { value: longitude }, { setValue: setLongitude }] = useField(
longitudeName
),
[, { value: longitude }, { setValue: setLatitude }] = useField(
[, { value: latitude }, { setValue: setLatitude }] = useField(
latitudeName
);

Expand Down
2 changes: 2 additions & 0 deletions packages/map/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import map from './map';
import {
useBasemapComponents,
useOverlayComponents,
useGeoTools,
useMapState,
useMapInstance,
useGeoJSON,
Expand All @@ -25,6 +26,7 @@ export default map;
export {
useBasemapComponents,
useOverlayComponents,
useGeoTools,
useMapState,
useMapInstance,
useGeoJSON,
Expand Down

0 comments on commit d848cec

Please sign in to comment.