mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
Update README.md
This commit is contained in:
@@ -4,6 +4,8 @@ Colorful iconic & retina-proof markers for Leaflet, based on the Font Awesome/Tw
|
||||
## Screenshots
|
||||

|
||||
|
||||
JSfiddle demo: http://jsfiddle.net/VPzu4/embedded/result/
|
||||
|
||||
### Twitter Bootstrap/Font-Awesome icons
|
||||
This plugin depends on Bootstrap or Font-Awesome for the rendering of the icons. The Font-Awesome fonts and CSS classes could be included in the project. See these urls for more information:
|
||||
- http://fortawesome.github.com/Font-Awesome/
|
||||
@@ -73,7 +75,7 @@ By default the icons are white, but you can set the color to black with the icon
|
||||
````js
|
||||
// Creates a red marker with the coffee icon
|
||||
var redMarker = L.AwesomeMarkers.icon({
|
||||
icon: 'spinner',
|
||||
icon: 'flag',
|
||||
color: 'red',
|
||||
iconColor: 'black'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user