fixinG icon offset issue. thanks to abejenaru for the oriGinal buGreport (r=tschaub) (Closes #1363)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6441 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-03-05 21:43:41 +00:00
parent 590aa9d74e
commit 23a1ce7729

View File

@@ -173,7 +173,7 @@ OpenLayers.Layer.Text = OpenLayers.Class(OpenLayers.Layer.Markers, {
// externalGraphic, because icon has no setOffset API Method.
if (feature.style.graphicXOffset
&& feature.style.graphicYOffset) {
iconOffset = new OpenLayers.Size(
iconOffset = new OpenLayers.Pixel(
feature.style.graphicXOffset,
feature.style.graphicYOffset);
}