var oldL = window.L,
L = {};
-L.version = '0.7.4';
+L.version = '0.7.5';
// define Leaflet for Node module pattern loaders, including Browserify
if (typeof module === 'object' && typeof module.exports === 'object') {
update: function () {
if (this._icon) {
- var pos = this._map.latLngToLayerPoint(this._latlng).round();
- L.Util.requestAnimFrame(function () {
- this._setPos(pos);
- }, this);
+ this._setPos(this._map.latLngToLayerPoint(this._latlng).round());
}
-
return this;
},
if (options.title) {
icon.title = options.title;
}
-
+
if (options.alt) {
icon.alt = options.alt;
}