r54963 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54962‎ | r54963 | r54964 >
Date:19:17, 13 August 2009
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.3.
Modified paths:
  • /trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js
@@ -225,9 +225,9 @@
226226 var marker;
227227
228228 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
232232 } else {
233233 marker = new OpenLayers.Marker(markerData.lonlat);
234234 }

Status & tagging log