diff --git a/lib/OpenLayers/Icon.js b/lib/OpenLayers/Icon.js index aa33b195d7..f0c8d93e69 100644 --- a/lib/OpenLayers/Icon.js +++ b/lib/OpenLayers/Icon.js @@ -53,7 +53,10 @@ OpenLayers.Icon.prototype = { * @type OpenLayers.Icon */ clone: function() { - return new OpenLayers.Icon(this.url, this.size, this.offset); + return new OpenLayers.Icon(this.url, + this.size, + this.offset, + this.calculateOffset); }, /**