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