allow VE to specify map type. fix for #273. update ve.html example to show how

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1526 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-10-02 21:48:21 +00:00
parent 14a2418a62
commit 890b2a6ffc
2 changed files with 7 additions and 1 deletions

View File

@@ -26,7 +26,7 @@
{controls:[new OpenLayers.Control.MouseDefaults()]});
velayer = new OpenLayers.Layer.VirtualEarth( "VE",
{ minZoomLevel: 4, maxZoomLevel: 6 });
{ minZoomLevel: 4, maxZoomLevel: 6, 'type': VEMapStyle.Aerial});
map.addLayer(velayer);
markers = new OpenLayers.Layer.Markers("markers");