6002: try to make the javascript code more consistent with this custom OSM layer handling

svn: r20599
This commit is contained in:
Jérôme Rapinat 2012-10-25 17:39:24 +00:00
parent 55263813ba
commit 938e96747b

View File

@ -266,7 +266,7 @@ openstreetmap_jsc = """
{'layers':'basic'});
map.addLayer(wms);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
map.setCenter(new OpenLayers.LonLat(%s, %s), %d);
var markers = new OpenLayers.Layer.Markers("Markers");
map.addLayer(markers);