6002: try to make the javascript code more consistent with this custom OSM layer handling
svn: r20599
This commit is contained in:
parent
55263813ba
commit
938e96747b
@ -266,7 +266,7 @@ openstreetmap_jsc = """
|
|||||||
{'layers':'basic'});
|
{'layers':'basic'});
|
||||||
map.addLayer(wms);
|
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");
|
var markers = new OpenLayers.Layer.Markers("Markers");
|
||||||
map.addLayer(markers);
|
map.addLayer(markers);
|
||||||
|
Loading…
Reference in New Issue
Block a user