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--;
if (zoomlevel>16) zoomlevel=16;
map.setCenter(new GLatLng(<?= ($md->south+$md->north)/2; ?>,<?= ($md->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(<?= $md->north; ?>,<?= $md->west; ?>),
new GLatLng(<?= $md->north; ?>,<?= $md->east; ?>),