類型有很多種類如下:
Constant Description
G_NORMAL_MAP This map type (which is the default) displays a normal street map.
G_SATELLITE_MAP This map type displays satellite images.
G_AERIAL_MAP This map type displays aerial imagery.
(Since 2.193)
G_HYBRID_MAP This map type displays a transparent layer of major streets on satellite images.
G_AERIAL_HYBRID_MAP This map type displays a transparent layer of major streets on top of aerial imagery.
(Since 2.193)
G_PHYSICAL_MAP This map type displays maps with physical features such as terrain and vegetation. This map type is not displayed within map type controls by default.
(Since 2.94)
G_MAPMAKER_NORMAL_MAP This map type displays a street map with tiles created using Google Mapmaker.
Note: When you use a Mapmaker map type, users will only see maps in countries where Google Map Maker is launched.
(Since 2.145)
G_MAPMAKER_HYBRID_MAP This map type displays a transparent layer of major streets created using Google Mapmaker on satellite images.
Note: When you use the Mapmaker maptype, users will only see maps in countries where Google Map Maker is launched.
(Since 2.145)
G_MOON_ELEVATION_MAP This map type displays a shaded terrain map of the surface of the Moon, color-coded by altitude. This map type is not displayed within map type controls by default.
(Since 2.95)
G_MOON_VISIBLE_MAP This map type displays photographs taken from orbit around the moon. This map type is not displayed within map type controls by default.
(Since 2.95)
G_MARS_ELEVATION_MAP This map type displays a shaded relief map of the surface of Mars, color-coded by altitude. This map type is not displayed within map type controls by default.
(Since 2.95)
G_MARS_VISIBLE_MAP This map type displays photographs taken from orbit around Mars. This map type is not displayed within map type controls by default.
(Since 2.95)
G_MARS_INFRARED_MAP This map type displays a shaded infrared map of the surface of Mars, where warmer areas appear brighter and colder areas appear darker.
(Since 2.95)
G_SKY_VISIBLE_MAP This map type shows a mosaic of the sky, covering the full celestial sphere.
(Since 2.95)
G_SATELLITE_3D_MAP This map type, in conjunction with the Google Earth Browser Plug-in, displays a fully interactive 3D model of the Earth with satellite imagery. This map type is not displayed within map type controls by default.
Adding this map type to your map not only adds a control for the Google Earth map type, but also handles initialization of the map type once a user clicks on the control. If a user currently does not have the Google Earth Plug-in installed in their browser, the first time a user selects this map type, the user will be prompted to download and install the Plug-in and restart their browser.
For users that have already installed the plugin, selecting this map type will create an Earth instance for the map and display a 3D view of the Earth. You may use GMap2.getEarthInstance() to retrieve this Earth instance and manipulate it using the Google Earth API.
Currently, markers, infowindows, and polylines work with this 3D map type, but other features are not yet supported. We plan to add support for more features in future releases.
(Since 2.113)
G_DEFAULT_MAP_TYPES An array of the first three predefined map types described above (G_NORMAL_MAP, G_SATELLITE_MAP, and G_HYBRID_MAP).
G_MAPMAKER_MAP_TYPES An array of the Mapmaker map types described above (G_MAPMAKER_NORMAL_MAP, G_SATELLITE_MAP, and G_MAPMAKER_HYBRID_MAP).
G_MOON_MAP_TYPES An array of the two Moon types defined above (G_MOON_ELEVATION_MAP and G_MOON_VISIBLE_MAP).
G_MARS_MAP_TYPES An array of the three Mars map types defined above (G_MARS_ELEVATION_MAP, G_MARS_VISIBLE_MAP, and G_MARS_INFRARED_MAP).
G_SKY_MAP_TYPES An array of the one sky map type defined above (G_SKY_VISIBLE_MAP).
September 3, 2010, Friday
家中老2今年考上北大,下週2要新生訓練,週末準備開車載行李北上,今晚適逢ACPTW線上報名,先前幾場晚上開放的場次沒有自動開放,上週才發現原來是程式碼錯了一個字,H 與 h 的差別,24小時與12小時制,這次應該會準時開放了,不過晚上還是8點前回飯店上網待命比較保險,北部場次比南部還要瘋上好幾倍。
July 28, 2010, Wednesday
我用TIMEMACHINEX生成的地圖,預設只有3種類型,如要增加須自己動手,在下列程式碼加入map.addMapType(G_PHYSICAL_MAP)
如要改變預設類型則將下列TYPE改掉即可
map.setMapType(G_PHYSICAL_MAP);
function GetMap()
{
if (GBrowserIsCompatible())
{
map = new GMap2(document.getElementById("myMap")); document.getElementById("myMap").style.backgroundImage = "url(http://wintec.gps.googlepages.com/loading.gif)"; map.addMapType(G_PHYSICAL_MAP); map.addMapType(G_SATELLITE_3D_MAP); map.addControl(new GLargeMapControl());
如要改變預設類型則將下列TYPE改掉即可
map.setMapType(G_PHYSICAL_MAP);
July 13, 2010, Tuesday
這是把Google地圖嵌入網頁中的語法
<iframe style="width: 900px; height: 600px" name="001" src="http://maps.google.com/maps/ms?ie=UTF8&hl=zh-TW&msa=0&msid=109258053690807232587.00047b76153681328de60&ll=22.625108,120.308954&spn=0.22183,0.291824&z=11&source=embed" frameborder=0 scrolling="no">
</iframe>
這個程式不支援,所以沒有顯示地圖出來,在WordPress中就可以直接顯示在網頁中如下:
http://asongo.org/?p=29
<iframe style="width: 900px; height: 600px" name="001" src="http://maps.google.com/maps/ms?ie=UTF8&hl=zh-TW&msa=0&msid=109258053690807232587.00047b76153681328de60&ll=22.625108,120.308954&spn=0.22183,0.291824&z=11&source=embed" frameborder=0 scrolling="no">
</iframe>
這個程式不支援,所以沒有顯示地圖出來,在WordPress中就可以直接顯示在網頁中如下:
http://asongo.org/?p=29

April 9, 2010, Friday
其實這個問題已經持續很久了,只是初期常去骨科診所打針,後來知道是類固醇就不敢再去打了,改吃止痛藥及肌肉鬆弛劑,也是沒用還整天昏昏暈暈的,現在改用中醫針灸,已經針完6次了,效果也不是很明顯,實在想不出還有何辦法,民俗整復推拿更慢又花錢,唉!最好是退休喝西北風就自然會好了。


January 26, 2010, Tuesday
最近一直在研究GPS的軌跡圖,網路上國內的玩家大部分都是用Garmin的機器加工處理,當然也有Wintec的機器及工具程式,因為價格及用途上的考量,所以我買了Wintec G-Trender wsg-1000 gps軌跡紀錄儀,並使用專屬的Time Machine X程式,製作整合照片及GPS軌跡的Google地圖,目前剛在摸索中,第一張楊春圖為上週六下午由石頭公經盤榕至砲台再繞至教育電台、長春亭、靜谷亭、蔡園接新翠嶺、四欉榕回石頭公。途中僅拍了2張照片以便測試自動判別功能,結果很好,原先是用TMX2.7.1版,後來發現有3.0測試版安裝之後自動更新為4.X版,因為尚未正式發佈,所以還有些功能無法使用,不過最重要的軌跡合併照片的功能是可以用的。
GPS軌跡合併照片圖
www.asongo.info/TMX/990123/Photo.htm
還有動態版的軌跡圖
asongo.info/TMX/GM.html
GPS軌跡合併照片圖
www.asongo.info/TMX/990123/Photo.htm

還有動態版的軌跡圖
asongo.info/TMX/GM.html

January 4, 2010, Monday
這幾天在玩衛星地圖,發現把柴山衛星地圖,放到最大時居然可以看到地面的建物及車子,進而發現幾個座標定位偏移了,之前是用MIO A201車用導航機定位,因為不是登山專用的車機,所以之前就有網友發現很多誤差,但一直沒心去勘誤座標,最近才陸續改用NOKIA 5800Xpress Music 手機內建GPS定位,雖不是登山專用,但卻很方便而且準確度還不錯,在平地做了2個地點測試,發現蠻準確的,因此在柴山上也還可以,目前已陸續在重新定位中,並檢視地表建物或道路相對位置,同時也刪除幾個較不重要的地點。
December 31, 2009, Thursday
今天檢視了一下幾個景點,發現有不少錯字,還有盤榕的座標錯的離譜,明天上山第一件事先去盤榕定位,再去砲台定位後再回蔡園。
December 24, 2009, Thursday
這幾天柴山地圖陸續新增了4個地標,本月份也把以往從未去過的AB線及山海關都走過了,尚有少數景點還未找到,來日有空再找。
November 30, 2009, Monday
November 24, 2009, Tuesday
這個名字的好奇怪,猜不出是何涵義,不過總算找到了,柴山地圖景點於2年半前架設至今,停頓了許久未再新增景點,最近總算再踏出去了,昨天已新增上去了,下次再新增"砲台"
