-
Hi so i have install the two last lib as
but when i call as this
geoScaleBar() is unknown .... where is my mistake (probably in the import line ?) ![]() so i am lost i dont understand .. Any help welcome thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, you probably don't need to do the Then, update your import line like so: import {geoScaleBar} from "npm:d3-geo-scale-bar"; and you can use: const scaleBar = geoScaleBar().… |
Beta Was this translation helpful? Give feedback.
Hello,
you probably don't need to do the
npm install
step, since theimport
call will download a different copy from npm.Then, update your import line like so:
and you can use: