From 619ae89ef478cefa736d0bce629d0b4b9090c296 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Wed, 28 Mar 2007 22:29:43 +0000 Subject: [PATCH] Don't automatically display Icons when moveTo() is called with a non-null pixel location. Fixes #553. Thanks Ali Lucio for finding this bug. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2916 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Icon.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Icon.js b/lib/OpenLayers/Icon.js index 94567b47d0..5c937b092b 100644 --- a/lib/OpenLayers/Icon.js +++ b/lib/OpenLayers/Icon.js @@ -120,7 +120,6 @@ OpenLayers.Icon.prototype = { } var offsetPx = this.px.offset(this.offset); OpenLayers.Util.modifyAlphaImageDiv(this.imageDiv, null, offsetPx); - this.display(true); } } },