Index: trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js |
— | — | @@ -225,9 +225,9 @@ |
226 | 226 | var marker; |
227 | 227 | |
228 | 228 | if (markerData.icon != '') { |
229 | | - var iconSize = new OpenLayers.Size(10,17); |
230 | | - var iconOffset = new OpenLayers.Pixel(-(iconSize.w/2), -iconSize.h); |
231 | | - marker = new OpenLayers.Marker(markerData.lonlat, new OpenLayers.Icon(markerData.icon, iconSize, iconOffset)); |
| 229 | + //var iconSize = new OpenLayers.Size(10,17); |
| 230 | + //var iconOffset = new OpenLayers.Pixel(-(iconSize.w/2), -iconSize.h); |
| 231 | + marker = new OpenLayers.Marker(markerData.lonlat, new OpenLayers.Icon(markerData.icon)); // , iconSize, iconOffset |
232 | 232 | } else { |
233 | 233 | marker = new OpenLayers.Marker(markerData.lonlat); |
234 | 234 | } |