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
This commit is contained in:
ahocevar
2011-02-27 15:21:37 +00:00
parent 693c95f999
commit 5a8260bb87
+5 -4
View File
@@ -47,10 +47,11 @@ $(document).ready(function() {
var sprintersLayer = new OpenLayers.Layer.Vector("Sprinters", { var sprintersLayer = new OpenLayers.Layer.Vector("Sprinters", {
styleMap: new OpenLayers.StyleMap({ styleMap: new OpenLayers.StyleMap({
externalGraphic : "img/mobile-loc.png", externalGraphic: "img/mobile-loc.png",
graphicOpacity : 1.0, graphicOpacity: 1.0,
graphicWith:16, graphicWith: 16,
graphicHeight:26 graphicHeight: 26,
graphicYOffset: -26
}) })
}); });