select�t�H�[���ƒn�}�^�C�v��A��������

�i���ӁI�j���̋L���́A��API�ł���Google Maps API version 2������������̂ł��Bversion 2�̗��p�͐�������Ă��Ȃ��̂ŁA�Ӑ}�I�ɋ��o�[�W�����̏���T���Ă��Ȃ��ꍇ�́A�V�����o�[�W�����̉���������������B


�����ł́AGoogle MAPS API�ƃt�H�[��(FORM)��select�t�B�[���h��A��������������������Ǝv���܂��B ���̗�ł́A�n�}�̎�ނ�Select�t�H�[���ƘA�������܂��B

�T���v��

�ȉ��̃T���v����Google MAPS API���g�����y�[�W�̃\�[�X�ł��B


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <script src="http://maps.google.com/maps?file=api&v=2&key=SETYOURKEY"
        type="text/javascript" charset="UTF-8"></script>
  </head>
  <body>
    <div id="map" style="width:450px; height:400px"></div>
    <script type="text/javascript">
    //<![CDATA[

    var maptype = new Array(10);

    maptype[0] = G_NORMAL_MAP;
    maptype[1] = G_SATELLITE_MAP;
    maptype[2] = G_HYBRID_MAP;
    maptype[3] = G_PHYSICAL_MAP;
    maptype[4] = G_MOON_ELEVATION_MAP;
    maptype[5] = G_MOON_VISIBLE_MAP;
    maptype[6] = G_MARS_ELEVATION_MAP;
    maptype[7] = G_MARS_VISIBLE_MAP;
    maptype[8] = G_MARS_INFRARED_MAP;
    maptype[9] = G_SKY_VISIBLE_MAP;

    var map = new GMap2(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.setCenter(new GLatLng(36.033, 139.15), 11);
    map.setMapType(G_NORMAL_MAP);

    function selectchanged() {
        var point;

        var sel = document.getElementById("sel");
        var n = sel.selectedIndex;

        map.setMapType(maptype[n]);
    }

    //]]>
    </script>

    <P>
    <select id="sel" onChange="selectchanged()">
      <option>G_NORMAL_MAP</option>
      <option>G_SATELLITE_MAP</option>
      <option>G_HYBRID_MAP</option>
      <option>G_PHYSICAL_MAP</option>
      <option>G_MOON_ELEVATION_MAP</option>
      <option>G_MOON_VISIBLE_MAP</option>
      <option>G_MARS_ELEVATION_MAP</option>
      <option>G_MARS_VISIBLE_MAP</option>
      <option>G_MARS_INFRARED_MAP</option>
      <option>G_SKY_VISIBLE_MAP</option>
    </select>
    </P>
  </body>
</html>


��L�T���v���ł́Aselect�őI������Ă��鍀�ڂ�ύX����x�ɒn�}�̎�ނ��ς��܂��B 2007�N12������n���̒n�}�����ł͂Ȃ��A����ΐ��̒n�}���I�ׂ�悤�ɂȂ��Ă��܂��B

�\����

�\����ł��B


IPv6b

YouTube�`�����l������Ă܂��I