
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
@agm/js-marker-clusterer
Advanced tools
Angular Google Maps (AGM) extension for js-marker-clusterer support
this package levereges the js-marker-clusterer to add clustering support to AGM.
@agm/js-marker-clusterer has a peer depedency on js-marker-clusterer
npm install js-marker-clusterer @agm/js-marker-clusterer --save
# or
yarn add js-marker-clusterer @agm/js-marker-clusterer
Import the module
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// add these imports
import { AgmCoreModule } from '@agm/core';
import { AgmJsMarkerClustererModule } from '@agm/js-marker-clusterer';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AgmCoreModule.forRoot({
apiKey: ['YOUR_API_KEY_HERE']
}),
AgmJsMarkerClustererModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
use it in your template
<agm-map style="height: 300px" [latitude]="51.673858" [longitude]="7.815982">
<agm-marker-cluster imagePath="https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerclustererplus/images/m">
<agm-marker [latitude]="51.673858" [longitude]="7.815982">
</agm-marker><!-- multiple markers -->
</agm-marker-cluster>
</agm-map>
1.1.0 emma (2019-11-21)
<a name="1.0.0"></a>
FAQs
Angular Google Maps (AGM) extension for js-marker-clusterer support
The npm package @agm/js-marker-clusterer receives a total of 1,442 weekly downloads. As such, @agm/js-marker-clusterer popularity was classified as popular.
We found that @agm/js-marker-clusterer 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.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.