http://www.mediawiki.org/wiki/Special:Code/MediaWiki/54963
Revision: 54963 Author: jeroendedauw Date: 2009-08-13 19:17:39 +0000 (Thu, 13 Aug 2009) Log Message: ----------- Changes for 0.3. Modified Paths: -------------- trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js Modified: trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js =================================================================== --- trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js 2009-08-13 19:12:53 UTC (rev 54962) +++ trunk/extensions/Maps/OpenLayers/OpenLayerFunctions.js 2009-08-13 19:17:39 UTC (rev 54963) @@ -225,9 +225,9 @@ var marker; if (markerData.icon != '') { - var iconSize = new OpenLayers.Size(10,17); - var iconOffset = new OpenLayers.Pixel(-(iconSize.w/2), -iconSize.h); - marker = new OpenLayers.Marker(markerData.lonlat, new OpenLayers.Icon(markerData.icon, iconSize, iconOffset)); + //var iconSize = new OpenLayers.Size(10,17); + //var iconOffset = new OpenLayers.Pixel(-(iconSize.w/2), -iconSize.h); + marker = new OpenLayers.Marker(markerData.lonlat, new OpenLayers.Icon(markerData.icon)); // , iconSize, iconOffset } else { marker = new OpenLayers.Marker(markerData.lonlat); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs