Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@amsterdam/react-maps
Advanced tools
Changelog
[1.1.1]
Readme
Please do not use this package anymore.
All dependencies can also be found at: npm install --save @amsterdam/arm-core
Loosely implemented package using react with leaflet. As compared to the existing react-leaflet, we want to set up things different in this repo:
useMapInstance
, users can just attach their own plugin / leaflet extension to the map instance.npm install --save @amsterdam/react-maps
- exports useMapInstance, useMapEvents, useEvents, ToolTip, Popup, etc.
Install dependencies: npm install
Start the example app: npm run start
and check out http://localhost:8080
Checkout ./src/example/App.tsx
for how to implement the components.
First build the package: npm run build
Then simply execute npm link
in this repo, then in your repo where you want implement this package npm link @amsterdam/react-maps
Then we have just one issue: we now have two react dependencies: one in your project, and the one in this repo. This will unfortunately resolve in an error. There are two ways of fixing this:
...
resolve: {
modules: ['node_modules'],
extensions: ['.js', '.jsx'],
alias: {
react: path.resolve('./node_modules/react'),
'react-dom': path.resolve('./node_modules/react-dom'),
},
},
react
and react-dom
folder in this repo in the node_modules
.FAQs
ReactJS wrapped around Leaflet
We found that @amsterdam/react-maps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).