[OpenLayers-Commits] r11565 - trunk/openlayers/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Sun Feb 27 10:21:40 EST 2011
Author: ahocevar
Date: 2011-02-27 07:21:37 -0800 (Sun, 27 Feb 2011)
New Revision: 11565
Modified:
trunk/openlayers/examples/mobile-jq.js
Log:
use correct y-offset for graphic. p=sbrunner, r=me (closes #3134)
Modified: trunk/openlayers/examples/mobile-jq.js
===================================================================
--- trunk/openlayers/examples/mobile-jq.js 2011-02-27 15:19:32 UTC (rev 11564)
+++ trunk/openlayers/examples/mobile-jq.js 2011-02-27 15:21:37 UTC (rev 11565)
@@ -47,10 +47,11 @@
var sprintersLayer = new OpenLayers.Layer.Vector("Sprinters", {
styleMap: new OpenLayers.StyleMap({
- externalGraphic : "img/mobile-loc.png",
- graphicOpacity : 1.0,
- graphicWith:16,
- graphicHeight:26
+ externalGraphic: "img/mobile-loc.png",
+ graphicOpacity: 1.0,
+ graphicWith: 16,
+ graphicHeight: 26,
+ graphicYOffset: -26
})
});
More information about the Commits
mailing list