diff --git a/README.md b/README.md index 65f64eccf..deb6f9c7b 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ http://getbootstrap.com/getting-started/ | markerColor | Color of the marker | 'blue' | 'red', 'darkred', 'orange', 'green', 'darkgreen', 'blue', 'purple', 'darkpuple', 'cadetblue' | | iconColor | Color of the icon | 'white' | 'white', 'black' or css code (hex, rgba etc) | | spin | Make the icon spin | false | true or false. Font-awesome required | +| extraClasses | Additional classes in the created tag | '' | 'fa-rotate90 myclass' eller other custom configuration | ### Supported icons diff --git a/dist/leaflet.awesome-markers.js b/dist/leaflet.awesome-markers.js index 8e1835e05..7505b6f26 100644 --- a/dist/leaflet.awesome-markers.js +++ b/dist/leaflet.awesome-markers.js @@ -28,6 +28,7 @@ className: 'awesome-marker', prefix: 'glyphicon', spinClass: 'fa-spin', + extraClasses: '', icon: 'home', markerColor: 'blue', iconColor: 'white' @@ -75,7 +76,7 @@ } } - return ""; + return ""; }, _setIconStyles: function (img, name) {