1 2/*var map; 3var sc = new google.maps.LatLng(35.631988,139.517136); 4var MY_MAPTYPE_ID = 'SC_style'; 5 6function initialize() { 7 8 var featureOpts = [ 9 { 10 "stylers": [ 11 12 { 13 "visibility": "simplifed" 14 }, 15 { 16 "hue": "#f6f7f7" 17 }, 18 { 19 "lightness": 30 20 }, 21 { 22 "saturation": -120 23 }, 24 { 25 "invert_lightness": false 26 } 27 ], 28 "elementType": "all", 29 "featureType": "all", 30 } 31] 32 33 var mapOptions = { 34 zoom: 17, 35 center: sc, 36 scrollwheel: false, 37 controlSize: 24, 38 mapTypeControlOptions: { 39 mapTypeIds: [google.maps.MapTypeId.ROADMAP, MY_MAPTYPE_ID] 40 }, 41 mapTypeId: MY_MAPTYPE_ID 42 }; 43 44 map = new google.maps.Map(document.getElementById('map-canvas'),mapOptions); 45 46 var marker = new google.maps.Marker({ 47 position: sc, 48 map: map, 49 flat: true, 50 animation: google.maps.Animation.DROP, 51 title: "æ ªå¼ä¼ç¤¾ãã¿ããã©ã³ã" 52 }); 53 54 var styledMapOptions = { 55 name: "æ ªå¼ä¼ç¤¾ãã¿ããã©ã³ã" 56 }; 57 58var customMapType = new google.maps.StyledMapType(featureOpts, styledMapOptions); 59 60 map.mapTypes.set(MY_MAPTYPE_ID, customMapType); 61 62} 63 64google.maps.event.addDomListener(window, 'load', initialize);*/ 65 66 67$(function(){ 68 69var access = new Access(); 70access.init(); 71 72}); 73 74 75function Access(){ 76 var owner = this; 77} 78 79Access.prototype.init = function(){ 80 var owner = this; 81 $(window).bind({ 82 resize : function(){ 83 owner._onResize(); 84 } 85 }); 86 87 this._onResize(); 88} 89 90Access.prototype._onResize = function(){ 91 var owner = this; 92 var ww = $(window).width(); 93 var wh = $(window).height(); 94 95 if( !isMob ) { 96 $('#map-canvas iframe').css('height', 560*(ww/1400)+'px'); 97 } else { 98 $('#map-canvas iframe').css('height', ww-40+'px'); 99 } 100}
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.