diff --git a/examples/osm.html b/examples/osm.html index 94f73a3bdf..d14a1bb004 100644 --- a/examples/osm.html +++ b/examples/osm.html @@ -10,7 +10,12 @@ map = new OpenLayers.Map( 'map'); layer = new OpenLayers.Layer.OSM( "Simple OSM Map"); map.addLayer(layer); - map.zoomToMaxExtent(); + map.setCenter( + new OpenLayers.LonLat(-71.147, 42.472).transform( + new OpenLayers.Projection("EPSG:4326"), + map.getProjectionObject() + ), 12 + ); }