1//@prepros-prepend snowInit.js 2 3//@prepros-prepend ..\basic\valuefetchingIndex.js 4 5 6$(document).ready(function() { 7}); 8 9 10$(window).on('load', function() { 11 KGISviewState.initialize(); 12 13 var finalize = function() { 14 if($('#mapSpace').length > 0) { 15 KGISMapControll.initializeOverview(); 16 KGISapp.triggerEvent("mapControl:createBaseMap"); 17 KGISapp.triggerEvent("mapControl:updateVectorLayer"); 18 } 19 KGISsnowAppProfil.init(); 20 }; 21 22 if(KGISviewState.isDefaultView() && $('#mapSpace').length > 0 && KGISUrlParams.has('table') && KGISUrlParams.get('table') == 'true') { 23 // Open tableSpace and infospace before initializing map 24 // or otherwise the map's center will not be correct. 25 $('.contentViewer').children().css('transition', 'none'); // disable css transitions to safe time 26 //$('#infoSpace').addClass('active'); 27 $('#tableSpace').addClass('active'); 28 $('#mapSpace').css({ 29 width: (100 - $.infoSpaceWidth()) + '%', 30 height: $.mapSpaceHeight() + '%' 31 }); 32 window.setTimeout(function() { 33 $('.contentViewer').children().css({transition: ''}); 34 finalize(); 35 }, 400); 36 } else { 37 window.setTimeout(function() { 38 finalize(); 39 }, 0); 40 } 41}); 42 43 44 45 46// ---------------------------------------- specific overView functionality 47 48var KGISsnowAppProfil = function () { 49 var styleSelects = function() { 50 // $(".styledSelect").chosen(); 51 $('.styledSelect').chosen({width: "100%",disable_search_threshold: 12}); 52 53 if (KGISUrlParams.has('debug') && KGISUrlParams.get('debug') == 'true') 54 console.log("styled selects"); 55 }; 56 57 58 return { 59 init: function () { 60 styleSelects(); 61 62 KGISLocationHandling.initialize(); 63 KGISsnowApp.initApp(); 64 KGISvalueFetching.initialize(); 65 KGISglobalEffectsHandling.initialize(); 66 if(typeof(KGISeffectsHandling) !== 'undefined') { 67 // specific effects handling 68 KGISeffectsHandling.initializeOnOverview(); 69 } 70 71 if (KGISUrlParams.has('debug') && KGISUrlParams.get('debug') == 'true') 72 console.log('overview initialized'); 73 74 } 75 }; 76 77}();
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.