From 5a8260bb87ed33e903b92e322495467eb7f9bb87 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sun, 27 Feb 2011 15:21:37 +0000 Subject: [PATCH] use correct y-offset for graphic. p=sbrunner, r=me (closes #3134) git-svn-id: http://svn.openlayers.org/trunk/openlayers@11565 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/mobile-jq.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/mobile-jq.js b/examples/mobile-jq.js index effdccf5e0..5e8f53cbee 100644 --- a/examples/mobile-jq.js +++ b/examples/mobile-jq.js @@ -47,10 +47,11 @@ $(document).ready(function() { 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 }) });