markerLayer = new OpenLayers.Layer.Vector("",{
displayInLayerSwitcher: false,
style: {
- externalGraphic: OpenLayers.Util.getImagesLocation() + "marker.png",
+ externalGraphic: OpenLayers.Util.getImageLocation("marker.png"),
graphicXOffset: -10.5,
graphicYOffset: -25,
graphicWidth: 21,