svn: r17969
This commit is contained in:
Jérôme Rapinat 2011-07-26 09:24:51 +00:00
parent c278b158e8
commit 030d675b72

View File

@ -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());