From 782fd74ef4b330f3359a1c40d84d583228acffe4 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 30 Dec 2009 04:30:03 +0000 Subject: [PATCH] change google map type. --- application/default/views/scripts/data/view.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index f789b8a3..bc1b9680 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -199,9 +199,9 @@ function reportError(request) zoomlevel--; if (zoomlevel>16) zoomlevel=16; map.setCenter(new GLatLng(south+$md->north)/2; ?>,east+$md->west)/2; ?>), zoomlevel); - map.addControl(new GLargeMapControl()); - map.addControl(new GMapTypeControl()); - map.setMapType(G_HYBRID_MAP); + map.setMapType(G_PHYSICAL_MAP); + map.setUIToDefault(); + var polygon=new GPolygon([ new GLatLng(north; ?>,west; ?>), new GLatLng(north; ?>,east; ?>),