From 030d675b720e5e6462cff43c91a46ff1760fe972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 26 Jul 2011 09:24:51 +0000 Subject: [PATCH] typo svn: r17969 --- src/plugins/lib/libhtmlconst.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/lib/libhtmlconst.py b/src/plugins/lib/libhtmlconst.py index d620f0ee8..a89f16a90 100644 --- a/src/plugins/lib/libhtmlconst.py +++ b/src/plugins/lib/libhtmlconst.py @@ -136,10 +136,9 @@ function initialize() { var zoom =16; map.setCenter(lonLat, zoom); - var markers = new OpenLayers.Layer.Markers( "Markers" ); + var markers = new OpenLayers.Layer.Markers("Markers"); markers.addMarker(new OpenLayers.Marker(lonLat)); - - map.addLayers([osm, markers]); + map.addLayer(markers); // add overview control map.addControl(new OpenLayers.Control.OverviewMap());