Differences between revisions 8 and 9
Revision 8 as of 2006-04-06 15:03:13
Size: 624
Editor: 211
Comment:
Revision 9 as of 2006-04-06 15:32:34
Size: 1210
Editor: 211
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
참고로, [yong27]의 집은 참고로, [yong27]의 집은 [http://maps.google.com/maps?f=q&hl=en&q=seoul&ll=37.385435,126.903248&spn=0.075837,0.157585&t=k 이곳] 이를 바로 웹페이지에 삽입해보면,
Line 9: Line 10:
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAXKVhGH9PDWMdPYyiX2miZhQbkS_UKCJiKIxxOflSxeOFmNFGNhQLpV0zG0NZJh8hnd2Uhll4QOYxsQ" type="text/javascript">
</script>
Line 10: Line 13:
<script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAAXKVhGH9PDWMdPYyiX2miZhQbkS_UKCJiKIxxOflSxeOFmNFGNhQLpV0zG0NZJh8hnd2Uhll4QOYxsQ" type="text/javascript"></script>

<div id="map" style="width: 500px; height: 400px"></div>
Line 15: Line 15:
     var map = new GMap(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.centerAndZoom(new GPoint(126.903248,37.385435), 13);
    

   function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"), [G_SATELLITE_MAP]);
 map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(37.385435, 126.903248), 13);
        map.openInfoWindow(map.getCenter(),
                   document.createTextNode("yong27's home"));
      }
    }

Line 22: Line 30:

  <body onload="load()" onunload="GUnload()">
    <div id="map" style="width: 500px; height: 300px"></div>
  </body>
Line 23: Line 35:

See [http://googlemapsapi.blogspot.com/2006/04/google-maps-api-version-2.html GoogleMaps API 2]

[Google] 지도

http://maps.google.com/

각자의 웹페이지에 지도를 삽입할 수 있다.

참고로, [yong27]의 집은 [http://maps.google.com/maps?f=q&hl=en&q=seoul&ll=37.385435,126.903248&spn=0.075837,0.157585&t=k 이곳] 이를 바로 웹페이지에 삽입해보면,

See [http://googlemapsapi.blogspot.com/2006/04/google-maps-api-version-2.html GoogleMaps API 2]

GoogleMaps (last edited 2013-07-23 19:49:06 by 61)

web biohackers.net