minor improvements after rev17946
svn: r17948
This commit is contained in:
parent
12148e7dbb
commit
3c15b42e98
@ -129,11 +129,11 @@ openstreet_jsc = """
|
|||||||
function mapInit(){
|
function mapInit(){
|
||||||
map = createMap("map");
|
map = createMap("map");
|
||||||
|
|
||||||
map.dataLayer = new OpenLayers.Layer("Données", { "visibility": false });
|
map.dataLayer = new OpenLayers.Layer("Data", { "visibility": false });
|
||||||
map.dataLayer.events.register("visibilitychanged", map.dataLayer, toggleData);
|
map.dataLayer.events.register("visibilitychanged", map.dataLayer, toggleData);
|
||||||
map.addLayer(map.dataLayer);
|
map.addLayer(map.dataLayer);
|
||||||
|
|
||||||
var centre = new OpenLayers.LonLat({$our lon}, {$our lat});
|
var centre = new OpenLayers.LonLat(%(lon)s, %(lat)s);
|
||||||
var zoom = 11;
|
var zoom = 11;
|
||||||
|
|
||||||
setMapCenter(centre, zoom);
|
setMapCenter(centre, zoom);
|
||||||
|
Loading…
Reference in New Issue
Block a user