1// JavaScript Document 2function initialize() { 3 var latlng = new google.maps.LatLng(35.605989,139.481692); //緯度ã»çµåº¦ 4 var myOptions = { 5 zoom: 18, //æ¡å¤§åç 6 center: latlng, 7 mapTypeControlOptions: { mapTypeIds: ['sample', google.maps.MapTypeId.ROADMAP] } 8 }; 9 var map = new google.maps.Map(document.getElementById('map_canvas'), myOptions); //å°å³ã表示 10 11 /*ã¢ã¤ã³ã³è¨å®*/ 12var icon = new google.maps.MarkerImage('http://www.kurihira-hifuka.com/img/common/logo_icon.png',/*ç»åurl*/ 13new google.maps.Size(50,58),/*ã¢ã¤ã³ã³ãµã¤ãº*/ 14new google.maps.Point(0,0)/*ã¢ã¤ã³ã³ä½ç½®*/ 15); 16 17 18 19 20var markerOptions = { 21position: latlng, 22map: map, 23icon: icon, 24title: 'æ å¹³ããã ç®ãç§',/*ã¿ã¤ãã«*/ 25animation: google.maps.Animation.DROP/*ã¢ãã¡ã¼ã·ã§ã³*/ 26}; 27 28var marker = new google.maps.Marker(markerOptions); 29 30 /*åå¾ã¹ã¿ã¤ã«ã®è²¼ãä»ã*/ 31 var styleOptions = 32[ 33 { 34 "featureType": "road", 35 "elementType": "geometry.fill", 36 "stylers": [ 37 { "visibility": "on" }, 38 { "color": "#ffffff" } 39 ] 40 },{ 41 "featureType": "landscape.man_made", 42 "elementType": "geometry.fill", 43 "stylers": [ 44 { "hue": "#58cbfc" }, 45 { "saturation": 40 }, 46 { "lightness": 40 } 47 ] 48 } 49]; 50var styledMapOptions = { name: 'æ å¹³ããã ç®ãç§' } 51var sampleType = new google.maps.StyledMapType(styleOptions, styledMapOptions); 52map.mapTypes.set('style', sampleType); 53map.setMapTypeId('style'); 54}; 55google.maps.event.addDomListener(window, 'load', function() { 56googleMap(); 57});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.