PageSourceSearch

https://www.kojiya-ito-shika.com/js/map.js

js kojiya-ito-shika.com collected 2026-10-04 16:34:35 UTC 1,563 bytes, 57 lines download raw bytes

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.