1// JavaScript Document 2var map; 3function initMap() { 4 map = new google.maps.Map(document.getElementById('map'), { 5 zoom: 16, 6 center: new google.maps.LatLng(47.376709, 13.393603), 7 8 disableDoubleClickZoom: true, 9 mapTypeControl: false, 10 scrollwheel: false, 11 panControl: false, 12 streetViewControl: false, 13 draggable : true, 14 overviewMapControl: true, 15 overviewMapControlOptions: { 16 opened: false, 17 }, 18 mapTypeId: 'roadmap' 19 }); 20 21 var iconBase = 'img/icons/'; 22 var icons = { 23 info: { 24 icon: iconBase + 'maps_karte.png' 25 } 26 }; 27 28 function addMarker(feature) { 29 var marker = new google.maps.Marker({ 30 position: feature.position, 31 icon: icons[feature.type].icon, 32 map: map 33 }); 34 } 35 36 var features = [ 37 { 38 position: new google.maps.LatLng(47.376709, 13.393603), 39 type: 'info' 40 } 41 ]; 42 43 var styles = [ 44 { 45 "stylers": [ 46 { 47 "saturation": -100 48 }, 49 { 50 "gamma": 1 51 } 52 ] 53 }, 54 { 55 "elementType": "labels.text.stroke", 56 "stylers": [ 57 { 58 "visibility": "off" 59 } 60 ] 61 }, 62 { 63 "featureType": "poi.business", 64 "elementType": "labels.text", 65 "stylers": [ 66 { 67 "visibility": "off" 68 } 69 ] 70 }, 71 { 72 "featureType": "poi.business", 73 "elementType": "labels.icon", 74 "stylers": [ 75 { 76 "visibility": "off" 77 } 78 ] 79 }, 80 { 81 "featureType": "poi.place_of_worship", 82 "elementType": "labels.text", 83 "stylers": [ 84 { 85 "visibility": "off" 86 } 87 ] 88 }, 89 { 90 "featureType": "poi.place_of_worship", 91 "elementType": "labels.icon", 92 "stylers": [ 93 { 94 "visibility": "off" 95 } 96 ] 97 }, 98 { 99 "featureType": "road", 100 "elementType": "geometry", 101 "stylers": [ 102 { 103 "visibility": "simplified" 104 } 105 ] 106 }, 107 { 108 "featureType": "water", 109 "stylers": [ 110 { 111 "visibility": "on" 112 }, 113 { 114 "saturation": 50 115 }, 116 { 117 "gamma": 0 118 }, 119 { 120 "hue": "#50a5d1" 121 } 122 ] 123 }, 124 { 125 "featureType": "administrative.neighborhood", 126 "elementType": "labels.text.fill", 127 "stylers": [ 128 { 129 "color": "#310000" 130 } 131 ] 132 }, 133 { 134 "featureType": "road.local", 135 "elementType": "labels.text", 136 "stylers": [ 137 { 138 "weight": 0.5 139 }, 140 { 141 "color": "#310000" 142 } 143 ] 144 }, 145 { 146 "featureType": "transit.station", 147 "elementType": "labels.icon", 148 "stylers": [ 149 { 150 "gamma": 1 151 }, 152 { 153 "saturation": 50 154 } 155 ] 156 } 157]; 158 159map.setOptions({styles: styles}); 160 161 for (var i = 0, feature; feature = features[i]; i++) { 162 addMarker(feature); 163 } 164} 165
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.