User Tools

Site Tools


geo_programming

This is an old revision of the document!


<html> <div id=“map” style=“width:500px; height:500px”></div> </html>

<html> <script type=“text/javascript”

  src="http://maps.google.com/maps/api/js?sensor=false">

</script> </html>

<html> <script type=“text/javascript”>

  $(document).ready(function(){
      var map = new google.maps.Map($('#map')[0],{
          mapTypeId   : google.maps.MapTypeId.SATELLITE
      });
      var path = new google.maps.KmlLayer(
          'http://the.path.to.the.kml'
      );
      path.setMap(map);
  });

</script> </html>

참고: http://codeflow.org/entries/2010/aug/27/geo-programming-with-python-and-javascript/

geo_programming.1319469547.txt.gz · Last modified: 2018/07/18 14:09 (external edit)