| 57 | * 實驗在 Trac Wiki 中加入 Google Map 語法 |
| 58 | {{{ |
| 59 | #!html |
| 60 | <div id="map" style="width: 320px; height: 240px"></div> |
| 61 | <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAREq2HXjZzIdAyVORbKBYMhTGA1AmqT3f4EHIxhq9FLpYC-sN5RSNOiRjrKXraxSIlkXZKb9VzUKDWQ" type="text/javascript"></script> |
| 62 | <script type="text/javascript"> |
| 63 | if (GBrowserIsCompatible()) { |
| 64 | var map = new GMap2(document.getElementById("map")); |
| 65 | map.addControl(new GLargeMapControl()); |
| 66 | map.addControl(new GMapTypeControl()); |
| 67 | map.addControl(new GScaleControl()); |
| 68 | map.setCenter(new GLatLng(23.8,121), 7); |
| 69 | map.setMapType(G_SATELLITE_MAP); |
| 70 | } |
| 71 | </script> |
| 72 | }}} |