0
我想使用預先定義的一組邊界來創建谷歌地圖。用定義的一組邊界實例化Google地圖對象?
因此,而不是通常的:
var map = new GMap2(document.getElementById('map'));
map.setCenter(new GLatLng(0,0),5);
我想要做的事,如:
var map = new GMap2(document.getElementById('map'));
map.setBounds(new GLatLng(10,10), new GLatLng(20,20));
這可能嗎?