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:
@@ -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
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user