change google map type.

This commit is contained in:
wlx 2009-12-30 04:30:03 +00:00
parent 2ee8e4195b
commit 782fd74ef4
1 changed files with 3 additions and 3 deletions

View File

@ -199,9 +199,9 @@ function reportError(request)
zoomlevel--; zoomlevel--;
if (zoomlevel>16) zoomlevel=16; if (zoomlevel>16) zoomlevel=16;
map.setCenter(new GLatLng(<?= ($md->south+$md->north)/2; ?>,<?= ($md->east+$md->west)/2; ?>), zoomlevel); map.setCenter(new GLatLng(<?= ($md->south+$md->north)/2; ?>,<?= ($md->east+$md->west)/2; ?>), zoomlevel);
map.addControl(new GLargeMapControl()); map.setMapType(G_PHYSICAL_MAP);
map.addControl(new GMapTypeControl()); map.setUIToDefault();
map.setMapType(G_HYBRID_MAP);
var polygon=new GPolygon([ var polygon=new GPolygon([
new GLatLng(<?= $md->north; ?>,<?= $md->west; ?>), new GLatLng(<?= $md->north; ?>,<?= $md->west; ?>),
new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>), new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>),