Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-leaflet-marker-cluster

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-leaflet-marker-cluster

Addon for Ember-Leaflet which adds marker clusters

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Ember-leaflet-marker-cluster

Provides Beautiful Animated Marker Clustering functionality for Ember-Leaflet, an Ember Addon for Leaflet interactive maps.

This plugin is based on a JS library Leaflet.markercluster and basically wraps it into ember component for usage in HTMLbars templates.

Installation

  • ember install ember-leaflet-marker-cluster

Using the plugin

Please be advised that for some particular reason Leaflet Marker Cluster breaks if the component loads with some markers inside the marker cluster in place without maxZoom property provided on {{leaflet-map}} like so: {{leaflet-map maxZoom=25}}.

{{#leaflet-map lat=lat lng=lng zoom=zoom}}

  {{tile-layer url="http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"}}
  {{#marker-cluster-layer}}
	  {{#each markers as |marker|}}
	    {{#marker-layer location=marker.location}}
			  <h3>{{marker.title}}</h3>
			  {{marker.description}}
			{{/marker-layer}}
	  {{/each}}
  {{/marker-cluster-layer}}
{{/leaflet-map}}

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

FAQs

Package last updated on 06 Jan 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc