remove icon prefix

This commit is contained in:
Calvin Metcalf
2013-03-16 08:15:31 -04:00
parent 7068021f23
commit db6e915904
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
iconAnchor: [17, 42],
popupAnchor: [1, -32],
shadowAnchor: [10, 12],
icon: 'icon-font', // All the font-awesome icons are possible
icon: 'font', // All the font-awesome icons are possible
shadowSize: [36, 16],
className: 'awesome-marker',
color: 'blue' // red, orange, green, blue, purple
@@ -48,7 +48,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
},
_createInner: function() {
return "<i class='" + this.options.icon + "'></i>";
return "<i class='icon-" + this.options.icon + "'></i>";
},
_setIconStyles: function (img, name) {