change google map type.
This commit is contained in:
parent
2ee8e4195b
commit
782fd74ef4
|
@ -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; ?>),
|
||||
|
|
Loading…
Reference in New Issue