From dccfe5c4aa96cba7973edf830283e3425ea95bc8 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 15 Aug 2006 12:46:20 +0000 Subject: [PATCH] add all three variations of google layer to example git-svn-id: http://svn.openlayers.org/trunk/openlayers@1213 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/google.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/google.html b/examples/google.html index d6081d51b0..1d43d8708c 100644 --- a/examples/google.html +++ b/examples/google.html @@ -22,8 +22,13 @@ function init(){ map = new OpenLayers.Map( $('map') ); - gmap = new OpenLayers.Layer.Google( "Google" , {type: G_HYBRID_MAP }); - map.addLayer(gmap); + + var normal = new OpenLayers.Layer.Google( "Google" ); + var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP }); + var hybrid = new OpenLayers.Layer.Google( "Google Hybrid" , {type: G_HYBRID_MAP }); + + + map.addLayers([normal, satellite, hybrid]); markers = new OpenLayers.Layer.Markers("markers"); map.addLayer(markers);