Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@asymmetrik/angular2-leaflet-d3
Advanced tools
@asymmetrik/leaflet-d3 extension to the @asymmetrik/angular2-leaflet package for Angular 2 Provides @asymmetrik/leaflet-d3 integration into Angular 2 projects. Compatible with Leaflet v1.0.x and @asymmetrik/leaflet-d3 v2.x
Now supports Angular v4, Ahead-of-Time compilation (AOT), and use in Angular-CLI based projects
Install the package and its peer dependencies via npm:
npm install d3
npm install leaflet
npm install @asymmetrik/leaflet-d3
npm install @asymmetrik/angular2-leaflet
If you intend to use this library in a typescript project (utilizing the typings), you will need to also install the leaflet typings via npm:
npm install @types/d3
npm install @types/leaflet
If you want to run the demo, clone the repository, perform an npm install
, gulp dev
and then go to http://localhost:9000/src/demo/index.html
This plugin is used with the Angular 2 Leaflet plugin.
To create a map, use the leaflet
attribute directive. This directive must appear first.
You must specify an initial zoom/center and set of layers either via leafletOptions
or by binding to leafletZoom
, leafletCenter
, and leafletLayers
.
<div leaflet style="height: 400px;"
XXX
[leafletOptions]="options"
[leafletDrawOptions]="drawOptions">
</div>
blah blah
PRs accepted. If you are part of Asymmetrik, please make contributions on feature branches off of the develop
branch. If you are outside of Asymmetrik, please fork our repo to make contributions.
See LICENSE in repository for details.
Leaflet Is an awesome mapping package. D3 Is an awesome visualization kernel.
FAQs
Angular 2 D3 visualization components for Leaflet
The npm package @asymmetrik/angular2-leaflet-d3 receives a total of 1 weekly downloads. As such, @asymmetrik/angular2-leaflet-d3 popularity was classified as not popular.
We found that @asymmetrik/angular2-leaflet-d3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.