Merge pull request #3 from fbeauchamp/master

use the size given in options
This commit is contained in:
Lennard Voogdt
2013-03-23 08:09:30 -07:00
+1 -1
View File
@@ -62,7 +62,7 @@ L.AwesomeMarkers.Icon = L.Icon.extend({
_setIconStyles: function (img, name) {
var options = this.options,
size = L.point(options[name + 'Size']),
size = L.point(options[name == 'shadow' ? 'shadowSize' : 'iconSize']),
anchor;
if (name === 'shadow') {