레이블이 My인 게시물을 표시합니다. 모든 게시물 표시
레이블이 My인 게시물을 표시합니다. 모든 게시물 표시

2009년 8월 10일 월요일

구글 맵 사용

<!-- ++Begin Map Search Control Wizard Generated Code++ -->
  <!--
  // Created with a Google AJAX Search Wizard
  // http://code.google.com/apis/ajaxsearch/wizards.html
  -->

  <!--
  // The Following div element will end up holding the map search control.
  // You can place this anywhere on your page
  -->

<!-- Maps Api, Ajax Search Api and Stylesheet
  // Note: If you are already using the Maps API then do not include it again
  //       If you are already using the AJAX Search API, then do not include it
  //       or its stylesheet again
  //
  // The Key Embedded in the following script tags is designed to work with
  // the following site:
  // http://momowani.java2u.co.kr
  -->
  <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA8wtKV3ToaGccFDq39AbHgRS1myzwKulOU-s3-QpLrRaXyKM0XBRhcjWxjYEfsjT8ZCiqr54m3qPg8w" type="text/javascript"></script>
  <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-msw&key=ABQIAAAA8wtKV3ToaGccFDq39AbHgRS1myzwKulOU-s3-QpLrRaXyKM0XBRhcjWxjYEfsjT8ZCiqr54m3qPg8w" type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/css/gsearch.css");
  </style>

  <!-- Map Search Control and Stylesheet -->
  <script type="text/javascript">
    window._uds_msw_donotrepair = true;
  </script>
  <script src="http://www.google.com/uds/solutions/mapsearch/gsmapsearch.js?mode=new"
    type="text/javascript"></script>
  <style type="text/css">
    @import url("http://www.google.com/uds/solutions/mapsearch/gsmapsearch.css");
  </style>

  <style type="text/css">
    .gsmsc-mapDiv {
      height : 300px;
    }

    .gsmsc-idleMapDiv {
      height : 300px;
    }

    #mapsearch {
      width : 500px;
      padding: 4px;
    }
  </style>
  <script type="text/javascript">
    function LoadMapSearchControl() {

      var options = {
            zoomControl : GSmapSearchControl.ZOOM_CONTROL_ENABLE_ALL,
            idleMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM,
            activeMapZoom : GSmapSearchControl.ACTIVE_MAP_ZOOM
            }

      new GSmapSearchControl(
            document.getElementById("mapsearch"),
            "<c:out value="${order.r_addr}"/>",
            options
            );

    }
    // arrange for this function to be called during body.onload
    // event processing
    GSearch.setOnLoadCallback(LoadMapSearchControl);
  </script>
<!-- ++End Map Search Control Wizard Generated Code++ -->

 

<div id="mapsearch">
     <span style="color:#676767;font-size:11px;padding:4px;">Loading...</span>
 </div>

야후 맵 api

//야후지도//////////////////////////////////////////////////////////////////////////////

https://developer.apps.yahoo.com/wsregapp/index.php

Congratulations, nsyang@ymail.com, your application is now registered! Yeah!

Your application id is IqMT8BXV34HVI2jSt7eVEuCgHL.AnS0yv8b38uGM25kC10.mMYptntgh5Jui5al1z7PK.MO_Hg--
For application entrypoint -> http://momowani.java2u.co.kr
To view your current application ids, click here.

You may want to print this page for your records.

Here's what to do next.

http://kr.open.gugi.yahoo.com/wizard/wizard.php

 

//네이버지도//////////////////////////////////////////////////////////////////////////////

http://dev.naver.com/openapi/register

좌표 가져오기

http://map.naver.com/api/geocode.php?key=25423a407575f2be0a9dcbf543111121&query=경기도성남시정자1동25-1