Awesome Cluster Map archived
WordPress plugin to create awesome marker cluster maps with OpenStreetMap (Leaflet)
by Xennis · github.com/xennis/wordpress-awesome-cluster-map · website
★ 2stars
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/xennis/wordpress-awesome-cluster-map/archive/refs/heads/master.zipFrom the readme
WordPress Plugin Awesome Cluster Map (OpenStreetMap, Leaflet)
WordPress plugin to create awesome marker cluster maps with OpenStreetMap (OSM).
This plugin is build with Leaflet as OSM JavaScript
library and Leaflet.markercluster
and Leaflet.awesome-markers
to cluster pretty markers. Additionally Leaflet-MiniMap
is used for showing an overview map.
Setup
Install requirements: npm install
Build JavaScript and CSS: ./nodemodules/gulp/bin/gulp.js
Usage
Lets create a map with the initial center of the location 60.628 latitude and
6.41 longitude and add three markers to this map:
The markers are in CSV format:
1. Latitude
2. Longitude
3. Icon (Bootstraps glyphicons, e.g. use glass)
4. Color of the marker (e.g. red)
5. Text for the popup
The three defined markers:
Clustered markers:
Options
| Name | Default | Description |
|--------------------|---------|-------------------------------------------------|
| center | "0,0" | Initial center (latitude, longitude) of the map |
| zoom | 3 | Initial zoom of the map |
| height | "500px" | Height (CSS value) of the map
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.