1var scalebar = (function () { 2 var scalingSmoothness = "smooth"; 3 return { 4 switchScalingSmoothness: function () { 5 if (scalingSmoothness == "smooth"){ 6 scalingSmoothness = "rough"; 7 } else { 8 scalingSmoothness = "smooth"; 9 } 10 }, 11 getScalingSmoothness: function () { 12 return scalingSmoothness; 13 } 14 } 15})(); 16 17$("#scalebarsmooth").click(function () { 18 scalebar.switchScalingSmoothness(); 19 $("#scalebarsmooth").text(scalebar.getScalingSmoothness()); 20}); 21 22$(function() { 23 $("#scalebarslider").slider({ 24 value: 1, 25 orientation: "horizontal", 26 min: 1, 27 max: 54, 28 step: 0.1, 29 animate: true, 30 slide: function( event, ui ) { 31 ardamap.zoomedScalebar(ui.value); 32 //$( "#scalebarcenter" ).text ("x" + ui.value); 33 } 34 }); 35});
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.