Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
ember-leaflet-marker-cluster
Advanced tools
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.
ember install ember-leaflet-marker-cluster
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
argument provided to <LeafletMap>
like so: <LeafletMap @maxZoom={{25}}>
.
<LeafletMap @lat={{lat}} @lng={{lng}} @zoom={{zoom}} as |layers|>
<layers.tile @url="http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"/>
<layers.marker-cluster as |cluster|>
{{#each markers as |m|}}
<cluster.marker @location={{m.location}} as |marker|>
<marker.popup>
<h3>{{m.title}}</h3>
{{m.description}}
</marker.popup>
</cluster.marker>
{{/each}}
</layers.marker-cluster>
</LeafletMap>
ember server
npm test
(Runs ember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
This project is licensed under the MIT License.
FAQs
Addon for Ember-Leaflet which adds marker clusters
The npm package ember-leaflet-marker-cluster receives a total of 130 weekly downloads. As such, ember-leaflet-marker-cluster popularity was classified as not popular.
We found that ember-leaflet-marker-cluster demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.