1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
This is a Example program to retrieve and display the data.
Press the Run button on the right of the screen (described the behavior of the Example program below).
Please create a new application rewrite this program work.
*/
function initialize() {
var myLatLng = new google.maps.LatLng(35.728867,137.933984);
var myMap = new google.maps.Map(document.getElementById('map_canvas'), {
zoom: 12,
center: myLatLng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
scaleControl: true,
scrollwheel: true,
draggable: true
});
var kmlUrl = "http://www.city.komagane.nagano.jp/trol.php?f=pub&fl=tropo_kom-15536_20-10001/dosekiryutokubetukeikaikuiki.kml";
var kmlLayer = new google.maps.KmlLayer(kmlUrl);
kmlLayer.setMap(myMap);
}
window.onload = function() {
$(function(){
initialize();
};
<head>
<meta name="viewport" content="user-scalable=yes">
</head>
<style type="text/css">
html { height: 100% }
body { height: 99%; width: 99%; margin: 1px; padding: 1px }
#map_canvas { height: 100% }
</style>
<div id="map_canvas" style="width:100%; height:100%"></div>
Click the Browse button or drag and drop to choose files to upload
The Maximum upload size is 1MB.(bmp,gif,jpeg,jpg,png)
*Required field
Add name for another language
You can upload jpg, gif, png file formats
Add description for another language
Fork original application has been updated. >>see
Original application has been updated. >>see
Playing...
Please enter a valid URL