beautifymarker
v1.0.9
Published
Leaflet.BeautifyIcon, a lightweight plugin that adds colorful iconic markers without images for Leaflet by giving full control of style to end user ( i.e. unlimited colors and many more...). It has also ability to adjust font awesome and glyphicon icons.
Downloads
12,825
Readme
BeautifyMarker
Leaflet.BeautifyIcon, a lightweight plugin that adds colorful iconic markers without images for Leaflet by giving full control of style to end user ( i.e. unlimited colors and many more...). It has also ability to adjust font awesome and glyphicon icons. Click here for Demo
JSFiddle Demo
JSFiddle Demo
Prerequisities
Installing
Add files in following order
Usage
Create markers as usual with Leaflet with L.BeautifyIcon.icon
using available options from below. Example:
options = {
icon: 'leaf',
iconShape: 'marker'
};
L.marker([48.13710, 11.57539], {
icon: L.BeautifyIcon.icon(options),
draggable: true
}).addTo(map).bindPopup("popup").bindPopup("This is a BeautifyMarker");
Properties
Supported Icons
All font awesome and glypicons
Version
Current version of L.BeautyMarker is 1.0.9