12.4 MB
/srv/reproducible-results/rbuild-debian/r-b-build.7emnrNd8/b1/openlayers_2.13.1+ds2-10_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.7emnrNd8/b2/openlayers_2.13.1+ds2-10_armhf.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·12bdc705a66de484ba6d90de49a3fdf3·764084·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb1 ·9f01c9c96ae38156af9859f3be439e64·719880·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb
12.4 MB
libjs-openlayers_2.13.1+ds2-10_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary1 -rw-r--r--···0········0········0········4·2023-01-14·13:27:41.000000·debian-binary
2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3680·2023-01-14·13:27:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0···760212·2023-01-14·13:27:41.000000·data.tar.xz3 -rw-r--r--···0········0········0···716008·2023-01-14·13:27:41.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
12.4 MB
data.tar.xz
12.4 MB
data.tar
3.72 MB
./usr/share/javascript/openlayers/OpenLayers.js
3.72 MB
js-beautify {}
    
Offset 5083, 14 lines modifiedOffset 5083, 324 lines modified
5083 ········return·this._hasString(this.options.corners,·"all",·"bottom",·"bl",·"br");5083 ········return·this._hasString(this.options.corners,·"all",·"bottom",·"bl",·"br");
5084 ····},5084 ····},
5085 ····_hasSingleTextChild:·function(el)·{5085 ····_hasSingleTextChild:·function(el)·{
5086 ········return·el.childNodes.length·==·1·&&·el.childNodes[0].nodeType·==·3;5086 ········return·el.childNodes.length·==·1·&&·el.childNodes[0].nodeType·==·3;
5087 ····}5087 ····}
5088 };5088 };
5089 /*·======================================================================5089 /*·======================================================================
 5090 ····OpenLayers/Symbolizer.js
 5091 ···======================================================================·*/
  
 5092 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 5093 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 5094 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 5095 ·*·full·text·of·the·license.·*/
  
 5096 /**
 5097 ·*·@requires·OpenLayers/BaseTypes/Class.js
 5098 ·*/
  
 5099 /**
 5100 ·*·Class:·OpenLayers.Symbolizer
 5101 ·*·Base·class·representing·a·symbolizer·used·for·feature·rendering.
 5102 ·*/
 5103 OpenLayers.Symbolizer·=·OpenLayers.Class({
  
  
 5104 ····/**
 5105 ·····*·APIProperty:·zIndex
 5106 ·····*·{Number}·The·zIndex·determines·the·rendering·order·for·a·symbolizer.
 5107 ·····*·····Symbolizers·with·larger·zIndex·values·are·rendered·over·symbolizers
 5108 ·····*·····with·smaller·zIndex·values.··Default·is·0.
 5109 ·····*/
 5110 ····zIndex:·0,
  
 5111 ····/**
 5112 ·····*·Constructor:·OpenLayers.Symbolizer
 5113 ·····*·Instances·of·this·class·are·not·useful.··See·one·of·the·subclasses.
 5114 ·····*
 5115 ·····*·Parameters:
 5116 ·····*·config·-·{Object}·An·object·containing·properties·to·be·set·on·the·
 5117 ·····*·····symbolizer.··Any·documented·symbolizer·property·can·be·set·at·
 5118 ·····*·····construction.
 5119 ·····*
 5120 ·····*·Returns:
 5121 ·····*·A·new·symbolizer.
 5122 ·····*/
 5123 ····initialize:·function(config)·{
 5124 ········OpenLayers.Util.extend(this,·config);
 5125 ····},
  
 5126 ····/**·
 5127 ·····*·APIMethod:·clone
 5128 ·····*·Create·a·copy·of·this·symbolizer.
 5129 ·····*
 5130 ·····*·Returns·a·symbolizer·of·the·same·type·with·the·same·properties.
 5131 ·····*/
 5132 ····clone:·function()·{
 5133 ········var·Type·=·eval(this.CLASS_NAME);
 5134 ········return·new·Type(OpenLayers.Util.extend({},·this));
 5135 ····},
  
 5136 ····CLASS_NAME:·"OpenLayers.Symbolizer"
  
 5137 });
  
 5138 /*·======================================================================
 5139 ····OpenLayers/Strategy.js
 5140 ···======================================================================·*/
  
 5141 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 5142 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 5143 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 5144 ·*·full·text·of·the·license.·*/
  
 5145 /**
 5146 ·*·@requires·OpenLayers/BaseTypes/Class.js
 5147 ·*/
  
 5148 /**
 5149 ·*·Class:·OpenLayers.Strategy
 5150 ·*·Abstract·vector·layer·strategy·class.··Not·to·be·instantiated·directly.··Use
 5151 ·*·····one·of·the·strategy·subclasses·instead.
 5152 ·*/
 5153 OpenLayers.Strategy·=·OpenLayers.Class({
  
 5154 ····/**
 5155 ·····*·Property:·layer
 5156 ·····*·{<OpenLayers.Layer.Vector>}·The·layer·this·strategy·belongs·to.
 5157 ·····*/
 5158 ····layer:·null,
  
 5159 ····/**
 5160 ·····*·Property:·options
 5161 ·····*·{Object}·Any·options·sent·to·the·constructor.
 5162 ·····*/
 5163 ····options:·null,
  
 5164 ····/**·
 5165 ·····*·Property:·active·
 5166 ·····*·{Boolean}·The·control·is·active.
 5167 ·····*/
 5168 ····active:·null,
  
 5169 ····/**
 5170 ·····*·Property:·autoActivate
 5171 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoActivate·to·false
 5172 ·····*······to·fully·control·when·the·protocol·is·activated·and·deactivated.
 5173 ·····*······Defaults·to·true.
 5174 ·····*/
 5175 ····autoActivate:·true,
  
 5176 ····/**
 5177 ·····*·Property:·autoDestroy
 5178 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoDestroy·to·false
 5179 ·····*······to·fully·control·when·the·strategy·is·destroyed.·Defaults·to
 5180 ·····*······true.
 5181 ·····*/
 5182 ····autoDestroy:·true,
  
 5183 ····/**
 5184 ·····*·Constructor:·OpenLayers.Strategy
 5185 ·····*·Abstract·class·for·vector·strategies.··Create·instances·of·a·subclass.
 5186 ·····*
 5187 ·····*·Parameters:
 5188 ·····*·options·-·{Object}·Optional·object·whose·properties·will·be·set·on·the
 5189 ·····*·····instance.
 5190 ·····*/
Max diff block lines reached; 3889140/3898889 bytes (99.75%) of diff not shown.
1.24 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.24 MB
js-beautify {}
    
Offset 263, 14 lines modifiedOffset 263, 449 lines modified
263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
264 ············destination.toString·=·source.toString;264 ············destination.toString·=·source.toString;
265 ········}265 ········}
266 ····}266 ····}
267 ····return·destination;267 ····return·destination;
268 };268 };
269 /*·======================================================================269 /*·======================================================================
 270 ····OpenLayers/Util/vendorPrefix.js
 271 ···======================================================================·*/
  
 272 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 273 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 274 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 275 ·*·full·text·of·the·license.·*/
  
 276 /**
 277 ·*·@requires·OpenLayers/SingleFile.js
 278 ·*/
  
 279 OpenLayers.Util·=·OpenLayers.Util·||·{};
 280 /**
 281 ·*·Namespace:·OpenLayers.Util.vendorPrefix
 282 ·*·A·collection·of·utility·functions·to·detect·vendor·prefixed·features
 283 ·*/
 284 OpenLayers.Util.vendorPrefix·=·(function()·{
 285 ····"use·strict";
  
 286 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 287 ········divStyle·=·document.createElement("div").style,
 288 ········cssCache·=·{},
 289 ········jsCache·=·{};
  
  
 290 ····/**
 291 ·····*·Function:·domToCss
 292 ·····*·Converts·a·upper·camel·case·DOM·style·property·name·to·a·CSS·property
 293 ·····*······i.e.·transformOrigin·->·transform-origin
 294 ·····*······or···WebkitTransformOrigin·->·-webkit-transform-origin
 295 ·····*
 296 ·····*·Parameters:
 297 ·····*·prefixedDom·-·{String}·The·property·to·convert
 298 ·····*
 299 ·····*·Returns:
 300 ·····*·{String}·The·CSS·property
 301 ·····*/
 302 ····function·domToCss(prefixedDom)·{
 303 ········if·(!prefixedDom)·{
 304 ············return·null;
 305 ········}
 306 ········return·prefixedDom.
 307 ········replace(/([A-Z])/g,·function(c)·{
 308 ············return·"-"·+·c.toLowerCase();
 309 ········}).
 310 ········replace(/^ms-/,·"-ms-");
 311 ····}
  
 312 ····/**
 313 ·····*·APIMethod:·css
 314 ·····*·Detect·which·property·is·used·for·a·CSS·property
 315 ·····*
 316 ·····*·Parameters:
 317 ·····*·property·-·{String}·The·standard·(unprefixed)·CSS·property·name
 318 ·····*
 319 ·····*·Returns:
 320 ·····*·{String}·The·standard·CSS·property,·prefixed·property·or·null·if·not
 321 ·····*··········supported
 322 ·····*/
 323 ····function·css(property)·{
 324 ········if·(cssCache[property]·===·undefined)·{
 325 ············var·domProperty·=·property.
 326 ············replace(/(-[\s\S])/g,·function(c)·{
 327 ················return·c.charAt(1).toUpperCase();
 328 ············});
 329 ············var·prefixedDom·=·style(domProperty);
 330 ············cssCache[property]·=·domToCss(prefixedDom);
 331 ········}
 332 ········return·cssCache[property];
 333 ····}
  
 334 ····/**
 335 ·····*·APIMethod:·js
 336 ·····*·Detect·which·property·is·used·for·a·JS·property/method
 337 ·····*
 338 ·····*·Parameters:
 339 ·····*·obj·-·{Object}·The·object·to·test·on
 340 ·····*·property·-·{String}·The·standard·(unprefixed)·JS·property·name
 341 ·····*
 342 ·····*·Returns:
 343 ·····*·{String}·The·standard·JS·property,·prefixed·property·or·null·if·not
 344 ·····*··········supported
 345 ·····*/
 346 ····function·js(obj,·property)·{
 347 ········if·(jsCache[property]·===·undefined)·{
 348 ············var·tmpProp,
 349 ················i·=·0,
 350 ················l·=·VENDOR_PREFIXES.length,
 351 ················prefix,
 352 ················isStyleObj·=·(typeof·obj.cssText·!==·"undefined");
  
 353 ············jsCache[property]·=·null;
 354 ············for·(;·i·<·l;·i++)·{
 355 ················prefix·=·VENDOR_PREFIXES[i];
 356 ················if·(prefix)·{
 357 ····················if·(!isStyleObj)·{
 358 ························//·js·prefix·should·be·lower-case,·while·style
 359 ························//·properties·have·upper·case·on·first·character
 360 ························prefix·=·prefix.toLowerCase();
 361 ····················}
 362 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1);
 363 ················}·else·{
 364 ····················tmpProp·=·property;
 365 ················}
  
 366 ················if·(obj[tmpProp]·!==·undefined)·{
 367 ····················jsCache[property]·=·tmpProp;
 368 ····················break;
 369 ················}
 370 ············}
 371 ········}
 372 ········return·jsCache[property];
 373 ····}
  
 374 ····/**
 375 ·····*·APIMethod:·style
 376 ·····*·Detect·which·property·is·used·for·a·DOM·style·property
 377 ·····*
 378 ·····*·Parameters:
Max diff block lines reached; 1284894/1298330 bytes (98.97%) of diff not shown.
521 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
521 KB
js-beautify {}
    
Offset 62, 14 lines modifiedOffset 62, 204 lines modified
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
64 ············destination.toString·=·source.toString64 ············destination.toString·=·source.toString
65 ········}65 ········}
66 ····}66 ····}
67 ····return·destination67 ····return·destination
68 };68 };
 69 OpenLayers.Util·=·OpenLayers.Util·||·{};
 70 OpenLayers.Util.vendorPrefix·=·function()·{
 71 ····"use·strict";
 72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 73 ········divStyle·=·document.createElement("div").style,
 74 ········cssCache·=·{},
 75 ········jsCache·=·{};
  
 76 ····function·domToCss(prefixedDom)·{
 77 ········if·(!prefixedDom)·{
 78 ············return·null
 79 ········}
 80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{
 81 ············return·"-"·+·c.toLowerCase()
 82 ········}).replace(/^ms-/,·"-ms-")
 83 ····}
  
 84 ····function·css(property)·{
 85 ········if·(cssCache[property]·===·undefined)·{
 86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{
 87 ················return·c.charAt(1).toUpperCase()
 88 ············});
 89 ············var·prefixedDom·=·style(domProperty);
 90 ············cssCache[property]·=·domToCss(prefixedDom)
 91 ········}
 92 ········return·cssCache[property]
 93 ····}
  
 94 ····function·js(obj,·property)·{
 95 ········if·(jsCache[property]·===·undefined)·{
 96 ············var·tmpProp,·i·=·0,
 97 ················l·=·VENDOR_PREFIXES.length,
 98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined";
 99 ············jsCache[property]·=·null;
 100 ············for·(;·i·<·l;·i++)·{
 101 ················prefix·=·VENDOR_PREFIXES[i];
 102 ················if·(prefix)·{
 103 ····················if·(!isStyleObj)·{
 104 ························prefix·=·prefix.toLowerCase()
 105 ····················}
 106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1)
 107 ················}·else·{
 108 ····················tmpProp·=·property
 109 ················}
 110 ················if·(obj[tmpProp]·!==·undefined)·{
 111 ····················jsCache[property]·=·tmpProp;
 112 ····················break
 113 ················}
 114 ············}
 115 ········}
 116 ········return·jsCache[property]
 117 ····}
  
 118 ····function·style(property)·{
 119 ········return·js(divStyle,·property)
 120 ····}
 121 ····return·{
 122 ········css:·css,
 123 ········js:·js,
 124 ········style:·style,
 125 ········cssCache:·cssCache,
 126 ········jsCache:·jsCache
 127 ····}
 128 }();
 129 OpenLayers.Animation·=·function(window)·{
 130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame");
 131 ····var·isNative·=·!!requestAnimationFrame;
 132 ····var·requestFrame·=·function()·{
 133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{
 134 ············window.setTimeout(callback,·16)
 135 ········};
 136 ········return·function(callback,·element)·{
 137 ············request.apply(window,·[callback,·element])
 138 ········}
 139 ····}();
 140 ····var·counter·=·0;
 141 ····var·loops·=·{};
  
 142 ····function·start(callback,·duration,·element)·{
 143 ········duration·=·duration·>·0·?·duration·:·Number.POSITIVE_INFINITY;
 144 ········var·id·=·++counter;
 145 ········var·start·=·+new·Date;
 146 ········loops[id]·=·function()·{
 147 ············if·(loops[id]·&&·+new·Date·-·start·<=·duration)·{
 148 ················callback();
 149 ················if·(loops[id])·{
 150 ····················requestFrame(loops[id],·element)
 151 ················}
 152 ············}·else·{
 153 ················delete·loops[id]
 154 ············}
 155 ········};
 156 ········requestFrame(loops[id],·element);
 157 ········return·id
 158 ····}
  
 159 ····function·stop(id)·{
 160 ········delete·loops[id]
 161 ····}
 162 ····return·{
 163 ········isNative:·isNative,
 164 ········requestFrame:·requestFrame,
 165 ········start:·start,
 166 ········stop:·stop
 167 ····}
 168 }(window);
 169 OpenLayers.Kinetic·=·OpenLayers.Class({
 170 ····threshold:·0,
 171 ····deceleration:·.0035,
 172 ····nbPoints:·100,
 173 ····delay:·200,
 174 ····points:·undefined,
 175 ····timerId:·undefined,
 176 ····initialize:·function(options)·{
 177 ········OpenLayers.Util.extend(this,·options)
 178 ····},
 179 ····begin:·function()·{
 180 ········OpenLayers.Animation.stop(this.timerId);
 181 ········this.timerId·=·undefined;
 182 ········this.points·=·[]
Max diff block lines reached; 527118/533430 bytes (98.82%) of diff not shown.
1.53 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.53 MB
js-beautify {}
    
Offset 2063, 14 lines modifiedOffset 2063, 79 lines modified
2063 ····_isBottomRounded:·function()·{2063 ····_isBottomRounded:·function()·{
2064 ········return·this._hasString(this.options.corners,·"all",·"bottom",·"bl",·"br")2064 ········return·this._hasString(this.options.corners,·"all",·"bottom",·"bl",·"br")
2065 ····},2065 ····},
2066 ····_hasSingleTextChild:·function(el)·{2066 ····_hasSingleTextChild:·function(el)·{
2067 ········return·el.childNodes.length·==·1·&&·el.childNodes[0].nodeType·==·32067 ········return·el.childNodes.length·==·1·&&·el.childNodes[0].nodeType·==·3
2068 ····}2068 ····}
2069 };2069 };
 2070 OpenLayers.Symbolizer·=·OpenLayers.Class({
 2071 ····zIndex:·0,
 2072 ····initialize:·function(config)·{
 2073 ········OpenLayers.Util.extend(this,·config)
 2074 ····},
 2075 ····clone:·function()·{
 2076 ········var·Type·=·eval(this.CLASS_NAME);
 2077 ········return·new·Type(OpenLayers.Util.extend({},·this))
 2078 ····},
 2079 ····CLASS_NAME:·"OpenLayers.Symbolizer"
 2080 });
 2081 OpenLayers.Strategy·=·OpenLayers.Class({
 2082 ····layer:·null,
 2083 ····options:·null,
 2084 ····active:·null,
 2085 ····autoActivate:·true,
 2086 ····autoDestroy:·true,
 2087 ····initialize:·function(options)·{
 2088 ········OpenLayers.Util.extend(this,·options);
 2089 ········this.options·=·options;
 2090 ········this.active·=·false
 2091 ····},
 2092 ····destroy:·function()·{
 2093 ········this.deactivate();
 2094 ········this.layer·=·null;
 2095 ········this.options·=·null
 2096 ····},
 2097 ····setLayer:·function(layer)·{
 2098 ········this.layer·=·layer
 2099 ····},
 2100 ····activate:·function()·{
 2101 ········if·(!this.active)·{
 2102 ············this.active·=·true;
 2103 ············return·true
 2104 ········}
 2105 ········return·false
 2106 ····},
 2107 ····deactivate:·function()·{
 2108 ········if·(this.active)·{
 2109 ············this.active·=·false;
 2110 ············return·true
 2111 ········}
 2112 ········return·false
 2113 ····},
 2114 ····CLASS_NAME:·"OpenLayers.Strategy"
 2115 });
 2116 OpenLayers.Format·=·OpenLayers.Class({
 2117 ····options:·null,
 2118 ····externalProjection:·null,
 2119 ····internalProjection:·null,
 2120 ····data:·null,
 2121 ····keepData:·false,
 2122 ····initialize:·function(options)·{
 2123 ········OpenLayers.Util.extend(this,·options);
 2124 ········this.options·=·options
 2125 ····},
 2126 ····destroy:·function()·{},
 2127 ····read:·function(data)·{
 2128 ········throw·new·Error("Read·not·implemented.")
 2129 ····},
 2130 ····write:·function(object)·{
 2131 ········throw·new·Error("Write·not·implemented.")
 2132 ····},
 2133 ····CLASS_NAME:·"OpenLayers.Format"
 2134 });
2070 OpenLayers.Util·=·OpenLayers.Util·||·{};2135 OpenLayers.Util·=·OpenLayers.Util·||·{};
2071 OpenLayers.Util.vendorPrefix·=·function()·{2136 OpenLayers.Util.vendorPrefix·=·function()·{
2072 ····"use·strict";2137 ····"use·strict";
2073 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],2138 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
2074 ········divStyle·=·document.createElement("div").style,2139 ········divStyle·=·document.createElement("div").style,
2075 ········cssCache·=·{},2140 ········cssCache·=·{},
2076 ········jsCache·=·{};2141 ········jsCache·=·{};
Offset 2127, 14 lines modifiedOffset 2192, 579 lines modified
2127 ········css:·css,2192 ········css:·css,
2128 ········js:·js,2193 ········js:·js,
2129 ········style:·style,2194 ········style:·style,
2130 ········cssCache:·cssCache,2195 ········cssCache:·cssCache,
2131 ········jsCache:·jsCache2196 ········jsCache:·jsCache
2132 ····}2197 ····}
2133 }();2198 }();
 2199 OpenLayers.Animation·=·function(window)·{
 2200 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame");
 2201 ····var·isNative·=·!!requestAnimationFrame;
 2202 ····var·requestFrame·=·function()·{
 2203 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{
 2204 ············window.setTimeout(callback,·16)
 2205 ········};
 2206 ········return·function(callback,·element)·{
 2207 ············request.apply(window,·[callback,·element])
 2208 ········}
 2209 ····}();
 2210 ····var·counter·=·0;
 2211 ····var·loops·=·{};
  
 2212 ····function·start(callback,·duration,·element)·{
 2213 ········duration·=·duration·>·0·?·duration·:·Number.POSITIVE_INFINITY;
 2214 ········var·id·=·++counter;
 2215 ········var·start·=·+new·Date;
 2216 ········loops[id]·=·function()·{
 2217 ············if·(loops[id]·&&·+new·Date·-·start·<=·duration)·{
 2218 ················callback();
 2219 ················if·(loops[id])·{
 2220 ····················requestFrame(loops[id],·element)
 2221 ················}
 2222 ············}·else·{
 2223 ················delete·loops[id]
 2224 ············}
 2225 ········};
 2226 ········requestFrame(loops[id],·element);
 2227 ········return·id
 2228 ····}
  
 2229 ····function·stop(id)·{
 2230 ········delete·loops[id]
 2231 ····}
 2232 ····return·{
 2233 ········isNative:·isNative,
 2234 ········requestFrame:·requestFrame,
 2235 ········start:·start,
 2236 ········stop:·stop
Max diff block lines reached; 1583835/1607700 bytes (98.52%) of diff not shown.
1.01 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.01 MB
js-beautify {}
    
Offset 136, 14 lines modifiedOffset 136, 576 lines modified
136 ·····*·(code)136 ·····*·(code)
137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">137 ·····*···<link·rel="stylesheet"·href="/path/to/default/style.css"··type="text/css">
138 ·····*·(end·code)138 ·····*·(end·code)
139 ·····*/139 ·····*/
140 ····ImgPath:·''140 ····ImgPath:·''
141 };141 };
142 /*·======================================================================142 /*·======================================================================
 143 ····OpenLayers/BaseTypes/Class.js
 144 ···======================================================================·*/
  
 145 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 146 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 147 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 148 ·*·full·text·of·the·license.·*/
  
 149 /**
 150 ·*·@requires·OpenLayers/SingleFile.js
 151 ·*/
  
 152 /**
 153 ·*·Constructor:·OpenLayers.Class
 154 ·*·Base·class·used·to·construct·all·other·classes.·Includes·support·for·
 155 ·*·····multiple·inheritance.·
 156 ·*·····
 157 ·*·This·constructor·is·new·in·OpenLayers·2.5.··At·OpenLayers·3.0,·the·old·
 158 ·*·····syntax·for·creating·classes·and·dealing·with·inheritance·
 159 ·*·····will·be·removed.
 160 ·*·
 161 ·*·To·create·a·new·OpenLayers-style·class,·use·the·following·syntax:
 162 ·*·(code)
 163 ·*·····var·MyClass·=·OpenLayers.Class(prototype);
 164 ·*·(end)
 165 ·*
 166 ·*·To·create·a·new·OpenLayers-style·class·with·multiple·inheritance,·use·the
 167 ·*·····following·syntax:
 168 ·*·(code)
 169 ·*·····var·MyClass·=·OpenLayers.Class(Class1,·Class2,·prototype);
 170 ·*·(end)
 171 ·*·
 172 ·*·Note·that·instanceof·reflection·will·only·reveal·Class1·as·superclass.
 173 ·*
 174 ·*/
 175 OpenLayers.Class·=·function()·{
 176 ····var·len·=·arguments.length;
 177 ····var·P·=·arguments[0];
 178 ····var·F·=·arguments[len·-·1];
  
 179 ····var·C·=·typeof·F.initialize·==·"function"·?
 180 ········F.initialize·:
 181 ········function()·{
 182 ············P.prototype.initialize.apply(this,·arguments);
 183 ········};
  
 184 ····if·(len·>·1)·{
 185 ········var·newArgs·=·[C,·P].concat(
 186 ············Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 187 ········OpenLayers.inherit.apply(null,·newArgs);
 188 ····}·else·{
 189 ········C.prototype·=·F;
 190 ····}
 191 ····return·C;
 192 };
  
 193 /**
 194 ·*·Function:·OpenLayers.inherit
 195 ·*
 196 ·*·Parameters:
 197 ·*·C·-·{Object}·the·class·that·inherits
 198 ·*·P·-·{Object}·the·superclass·to·inherit·from
 199 ·*
 200 ·*·In·addition·to·the·mandatory·C·and·P·parameters,·an·arbitrary·number·of
 201 ·*·objects·can·be·passed,·which·will·extend·C.
 202 ·*/
 203 OpenLayers.inherit·=·function(C,·P)·{
 204 ····var·F·=·function()·{};
 205 ····F.prototype·=·P.prototype;
 206 ····C.prototype·=·new·F;
 207 ····var·i,·l,·o;
 208 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 209 ········o·=·arguments[i];
 210 ········if·(typeof·o·===·"function")·{
 211 ············o·=·o.prototype;
 212 ········}
 213 ········OpenLayers.Util.extend(C.prototype,·o);
 214 ····}
 215 };
  
 216 /**
 217 ·*·APIFunction:·extend
 218 ·*·Copy·all·properties·of·a·source·object·to·a·destination·object.··Modifies
 219 ·*·····the·passed·in·destination·object.··Any·properties·on·the·source·object
 220 ·*·····that·are·set·to·undefined·will·not·be·(re)set·on·the·destination·object.
 221 ·*
 222 ·*·Parameters:
 223 ·*·destination·-·{Object}·The·object·that·will·be·modified
 224 ·*·source·-·{Object}·The·object·with·properties·to·be·set·on·the·destination
 225 ·*
 226 ·*·Returns:
 227 ·*·{Object}·The·destination·object.
 228 ·*/
 229 OpenLayers.Util·=·OpenLayers.Util·||·{};
 230 OpenLayers.Util.extend·=·function(destination,·source)·{
 231 ····destination·=·destination·||·{};
 232 ····if·(source)·{
 233 ········for·(var·property·in·source)·{
 234 ············var·value·=·source[property];
 235 ············if·(value·!==·undefined)·{
 236 ················destination[property]·=·value;
 237 ············}
 238 ········}
  
 239 ········/**
 240 ·········*·IE·doesn't·include·the·toString·property·when·iterating·over·an·object's
 241 ·········*·properties·with·the·for(property·in·object)·syntax.··Explicitly·check·if
 242 ·········*·the·source·has·its·own·toString·property.
 243 ·········*/
  
 244 ········/*
 245 ·········*·FF/Windows·<·2.0.0.13·reports·"Illegal·operation·on·WrappedNative
 246 ·········*·prototype·object"·when·calling·hawOwnProperty·if·the·source·object
 247 ·········*·is·an·instance·of·window.Event.
 248 ·········*/
  
 249 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&
 250 ············source·instanceof·window.Event;
  
 251 ········if·(!sourceIsEvt·&&
Max diff block lines reached; 1041967/1059456 bytes (98.35%) of diff not shown.
457 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
457 KB
js-beautify {}
    
Offset 17, 14 lines modifiedOffset 17, 249 lines modified
17 ········}17 ········}
18 ········return·function()·{18 ········return·function()·{
19 ············return·l19 ············return·l
20 ········}20 ········}
21 ····}(),21 ····}(),
22 ····ImgPath:·""22 ····ImgPath:·""
23 };23 };
 24 OpenLayers.Class·=·function()·{
 25 ····var·len·=·arguments.length;
 26 ····var·P·=·arguments[0];
 27 ····var·F·=·arguments[len·-·1];
 28 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 29 ········P.prototype.initialize.apply(this,·arguments)
 30 ····};
 31 ····if·(len·>·1)·{
 32 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 33 ········OpenLayers.inherit.apply(null,·newArgs)
 34 ····}·else·{
 35 ········C.prototype·=·F
 36 ····}
 37 ····return·C
 38 };
 39 OpenLayers.inherit·=·function(C,·P)·{
 40 ····var·F·=·function()·{};
 41 ····F.prototype·=·P.prototype;
 42 ····C.prototype·=·new·F;
 43 ····var·i,·l,·o;
 44 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 45 ········o·=·arguments[i];
 46 ········if·(typeof·o·===·"function")·{
 47 ············o·=·o.prototype
 48 ········}
 49 ········OpenLayers.Util.extend(C.prototype,·o)
 50 ····}
 51 };
 52 OpenLayers.Util·=·OpenLayers.Util·||·{};
 53 OpenLayers.Util.extend·=·function(destination,·source)·{
 54 ····destination·=·destination·||·{};
 55 ····if·(source)·{
 56 ········for·(var·property·in·source)·{
 57 ············var·value·=·source[property];
 58 ············if·(value·!==·undefined)·{
 59 ················destination[property]·=·value
 60 ············}
 61 ········}
 62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
 63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
 64 ············destination.toString·=·source.toString
 65 ········}
 66 ····}
 67 ····return·destination
 68 };
 69 OpenLayers.Util·=·OpenLayers.Util·||·{};
 70 OpenLayers.Util.vendorPrefix·=·function()·{
 71 ····"use·strict";
 72 ····var·VENDOR_PREFIXES·=·["",·"O",·"ms",·"Moz",·"Webkit"],
 73 ········divStyle·=·document.createElement("div").style,
 74 ········cssCache·=·{},
 75 ········jsCache·=·{};
  
 76 ····function·domToCss(prefixedDom)·{
 77 ········if·(!prefixedDom)·{
 78 ············return·null
 79 ········}
 80 ········return·prefixedDom.replace(/([A-Z])/g,·function(c)·{
 81 ············return·"-"·+·c.toLowerCase()
 82 ········}).replace(/^ms-/,·"-ms-")
 83 ····}
  
 84 ····function·css(property)·{
 85 ········if·(cssCache[property]·===·undefined)·{
 86 ············var·domProperty·=·property.replace(/(-[\s\S])/g,·function(c)·{
 87 ················return·c.charAt(1).toUpperCase()
 88 ············});
 89 ············var·prefixedDom·=·style(domProperty);
 90 ············cssCache[property]·=·domToCss(prefixedDom)
 91 ········}
 92 ········return·cssCache[property]
 93 ····}
  
 94 ····function·js(obj,·property)·{
 95 ········if·(jsCache[property]·===·undefined)·{
 96 ············var·tmpProp,·i·=·0,
 97 ················l·=·VENDOR_PREFIXES.length,
 98 ················prefix,·isStyleObj·=·typeof·obj.cssText·!==·"undefined";
 99 ············jsCache[property]·=·null;
 100 ············for·(;·i·<·l;·i++)·{
 101 ················prefix·=·VENDOR_PREFIXES[i];
 102 ················if·(prefix)·{
 103 ····················if·(!isStyleObj)·{
 104 ························prefix·=·prefix.toLowerCase()
 105 ····················}
 106 ····················tmpProp·=·prefix·+·property.charAt(0).toUpperCase()·+·property.slice(1)
 107 ················}·else·{
 108 ····················tmpProp·=·property
 109 ················}
 110 ················if·(obj[tmpProp]·!==·undefined)·{
 111 ····················jsCache[property]·=·tmpProp;
 112 ····················break
 113 ················}
 114 ············}
 115 ········}
 116 ········return·jsCache[property]
 117 ····}
  
 118 ····function·style(property)·{
 119 ········return·js(divStyle,·property)
 120 ····}
 121 ····return·{
 122 ········css:·css,
 123 ········js:·js,
 124 ········style:·style,
 125 ········cssCache:·cssCache,
 126 ········jsCache:·jsCache
 127 ····}
 128 }();
 129 OpenLayers.Animation·=·function(window)·{
 130 ····var·requestAnimationFrame·=·OpenLayers.Util.vendorPrefix.js(window,·"requestAnimationFrame");
 131 ····var·isNative·=·!!requestAnimationFrame;
 132 ····var·requestFrame·=·function()·{
 133 ········var·request·=·window[requestAnimationFrame]·||·function(callback,·element)·{
 134 ············window.setTimeout(callback,·16)
 135 ········};
 136 ········return·function(callback,·element)·{
 137 ············request.apply(window,·[callback,·element])
 138 ········}
 139 ····}();
Max diff block lines reached; 460250/467878 bytes (98.37%) of diff not shown.
2.58 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
2.58 MB
js-beautify {}
    
Offset 33176, 564 lines modifiedOffset 33176, 968 lines modified
  
33176 /**33176 /**
33177 ·*·Constant:·CORNER_SIZE33177 ·*·Constant:·CORNER_SIZE
33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.33178 ·*·{Integer}·5.·Border·space·for·the·RICO·corners.
33179 ·*/33179 ·*/
33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;33180 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
33181 /*·======================================================================33181 /*·======================================================================
33182 ····OpenLayers/TileManager.js33182 ····OpenLayers/Symbolizer.js
33183 ···======================================================================·*/33183 ···======================================================================·*/
  
33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
33187 ·*·full·text·of·the·license.·*/33187 ·*·full·text·of·the·license.·*/
  
  
33188 /**33188 /**
33189 ·*·@requires·OpenLayers/Util.js 
33190 ·*·@requires·OpenLayers/BaseTypes.js33189 ·*·@requires·OpenLayers/BaseTypes/Class.js
33191 ·*·@requires·OpenLayers/BaseTypes/Element.js 
33192 ·*·@requires·OpenLayers/Layer/Grid.js 
33193 ·*·@requires·OpenLayers/Tile/Image.js 
33194 ·*/33190 ·*/
  
33195 /**33191 /**
33196 ·*·Class:·OpenLayers.TileManager33192 ·*·Class:·OpenLayers.Symbolizer
 33193 ·*·Base·class·representing·a·symbolizer·used·for·feature·rendering.
33197 ·*·Provides·queueing·of·image·requests·and·caching·of·image·elements. 
33198 ·* 
33199 ·*·Queueing·avoids·unnecessary·image·requests·while·changing·zoom·levels 
33200 ·*·quickly,·and·helps·improve·dragging·performance·on·mobile·devices·that·show 
33201 ·*·a·lag·in·dragging·when·loading·of·new·images·starts.·<zoomDelay>·and 
33202 ·*·<moveDelay>·are·the·configuration·options·to·control·this·behavior. 
33203 ·* 
33204 ·*·Caching·avoids·setting·the·src·on·image·elements·for·images·that·have·already 
33205 ·*·been·used.·Several·maps·can·share·a·TileManager·instance,·in·which·case·each 
33206 ·*·map·gets·its·own·tile·queue,·but·all·maps·share·the·same·tile·cache. 
33207 ·*/33194 ·*/
33208 OpenLayers.TileManager·=·OpenLayers.Class({33195 OpenLayers.Symbolizer·=·OpenLayers.Class({
  
  
33209 ····/**33196 ····/**
33210 ·····*·APIProperty:·cacheSize33197 ·····*·APIProperty:·zIndex
33211 ·····*·{Number}·Number·of·image·elements·to·keep·referenced·in·this·instance's 
33212 ·····*·cache·for·fast·reuse.·Default·is·256.33198 ·····*·{Number}·The·zIndex·determines·the·rendering·order·for·a·symbolizer.
 33199 ·····*·····Symbolizers·with·larger·zIndex·values·are·rendered·over·symbolizers
 33200 ·····*·····with·smaller·zIndex·values.··Default·is·0.
33213 ·····*/33201 ·····*/
33214 ····cacheSize:·256,33202 ····zIndex:·0,
  
33215 ····/**33203 ····/**
33216 ·····*·APIProperty:·tilesPerFrame 
33217 ·····*·{Number}·Number·of·queued·tiles·to·load·per·frame·(see·<frameDelay>). 
33218 ·····*·····Default·is·2.33204 ·····*·Constructor:·OpenLayers.Symbolizer
 33205 ·····*·Instances·of·this·class·are·not·useful.··See·one·of·the·subclasses.
 33206 ·····*
 33207 ·····*·Parameters:
 33208 ·····*·config·-·{Object}·An·object·containing·properties·to·be·set·on·the·
 33209 ·····*·····symbolizer.··Any·documented·symbolizer·property·can·be·set·at·
 33210 ·····*·····construction.
 33211 ·····*
 33212 ·····*·Returns:
 33213 ·····*·A·new·symbolizer.
33219 ·····*/33214 ·····*/
33220 ····tilesPerFrame:·2,33215 ····initialize:·function(config)·{
 33216 ········OpenLayers.Util.extend(this,·config);
 33217 ····},
  
33221 ····/**33218 ····/**·
33222 ·····*·APIProperty:·frameDelay 
33223 ·····*·{Number}·Delay·between·tile·loading·frames·(see·<tilesPerFrame>)·in 
33224 ·····*·····milliseconds.·Default·is·16.33219 ·····*·APIMethod:·clone
 33220 ·····*·Create·a·copy·of·this·symbolizer.
 33221 ·····*
 33222 ·····*·Returns·a·symbolizer·of·the·same·type·with·the·same·properties.
33225 ·····*/33223 ·····*/
33226 ····frameDelay:·16,33224 ····clone:·function()·{
 33225 ········var·Type·=·eval(this.CLASS_NAME);
 33226 ········return·new·Type(OpenLayers.Util.extend({},·this));
 33227 ····},
  
 33228 ····CLASS_NAME:·"OpenLayers.Symbolizer"
  
 33229 });
  
 33230 /*·======================================================================
 33231 ····OpenLayers/Strategy.js
 33232 ···======================================================================·*/
  
 33233 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 33234 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 33235 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 33236 ·*·full·text·of·the·license.·*/
  
 33237 /**
 33238 ·*·@requires·OpenLayers/BaseTypes/Class.js
 33239 ·*/
  
 33240 /**
 33241 ·*·Class:·OpenLayers.Strategy
 33242 ·*·Abstract·vector·layer·strategy·class.··Not·to·be·instantiated·directly.··Use
 33243 ·*·····one·of·the·strategy·subclasses·instead.
 33244 ·*/
 33245 OpenLayers.Strategy·=·OpenLayers.Class({
  
33227 ····/**33246 ····/**
33228 ·····*·APIProperty:·moveDelay33247 ·····*·Property:·layer
 33248 ·····*·{<OpenLayers.Layer.Vector>}·The·layer·this·strategy·belongs·to.
33229 ·····*·{Number}·Delay·in·milliseconds·after·a·map's·move·event·before·loading 
33230 ·····*·tiles.·Default·is·100. 
33231 ·····*/33249 ·····*/
33232 ····moveDelay:·100,33250 ····layer:·null,
  
33233 ····/**33251 ····/**
 33252 ·····*·Property:·options
 33253 ·····*·{Object}·Any·options·sent·to·the·constructor.
33234 ·····*·APIProperty:·zoomDelay 
33235 ·····*·{Number}·Delay·in·milliseconds·after·a·map's·zoomend·event·before·loading 
33236 ·····*·tiles.·Default·is·200. 
33237 ·····*/33254 ·····*/
33238 ····zoomDelay:·200,33255 ····options:·null,
  
33239 ····/**33256 ····/**·
33240 ·····*·Property:·maps33257 ·····*·Property:·active·
33241 ·····*·{Array(<OpenLayers.Map>)}·The·maps·to·manage·tiles·on.33258 ·····*·{Boolean}·The·control·is·active.
33242 ·····*/33259 ·····*/
33243 ····maps:·null,33260 ····active:·null,
Max diff block lines reached; 2698079/2702973 bytes (99.82%) of diff not shown.
1.35 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.35 MB
js-beautify {}
    
Offset 13318, 272 lines modifiedOffset 13318, 333 lines modified
13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);13318 ········var·corner·=·OpenLayers.Bounds.oppositeQuadrant(this.relativePosition);
13319 ········OpenLayers.Util.removeItem(corners,·corner);13319 ········OpenLayers.Util.removeItem(corners,·corner);
13320 ········return·corners.join("·")13320 ········return·corners.join("·")
13321 ····},13321 ····},
13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"13322 ····CLASS_NAME:·"OpenLayers.Popup.AnchoredBubble"
13323 });13323 });
13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;13324 OpenLayers.Popup.AnchoredBubble.CORNER_SIZE·=·5;
13325 OpenLayers.TileManager·=·OpenLayers.Class({13325 OpenLayers.Symbolizer·=·OpenLayers.Class({
13326 ····cacheSize:·256, 
13327 ····tilesPerFrame:·2, 
13328 ····frameDelay:·16, 
13329 ····moveDelay:·100, 
13330 ····zoomDelay:·200,13326 ····zIndex:·0,
 13327 ····initialize:·function(config)·{
 13328 ········OpenLayers.Util.extend(this,·config)
 13329 ····},
 13330 ····clone:·function()·{
 13331 ········var·Type·=·eval(this.CLASS_NAME);
 13332 ········return·new·Type(OpenLayers.Util.extend({},·this))
 13333 ····},
 13334 ····CLASS_NAME:·"OpenLayers.Symbolizer"
 13335 });
 13336 OpenLayers.Strategy·=·OpenLayers.Class({
 13337 ····layer:·null,
13331 ····maps:·null,13338 ····options:·null,
13332 ····tileQueueId:·null, 
13333 ····tileQueue:·null,13339 ····active:·null,
13334 ····tileCache:·null, 
13335 ····tileCacheIndex:·null,13340 ····autoActivate:·true,
 13341 ····autoDestroy:·true,
13336 ····initialize:·function(options)·{13342 ····initialize:·function(options)·{
13337 ········OpenLayers.Util.extend(this,·options);13343 ········OpenLayers.Util.extend(this,·options);
 13344 ········this.options·=·options;
 13345 ········this.active·=·false
13338 ········this.maps·=·[]; 
13339 ········this.tileQueueId·=·{}; 
13340 ········this.tileQueue·=·{}; 
13341 ········this.tileCache·=·{}; 
13342 ········this.tileCacheIndex·=·[] 
13343 ····},13346 ····},
 13347 ····destroy:·function()·{
 13348 ········this.deactivate();
 13349 ········this.layer·=·null;
 13350 ········this.options·=·null
13344 ····addMap:·function(map)·{ 
13345 ········if·(this._destroyed·||·!OpenLayers.Layer.Grid)·{ 
13346 ············return 
13347 ········} 
13348 ········this.maps.push(map); 
13349 ········this.tileQueue[map.id]·=·[]; 
13350 ········for·(var·i·=·0,·ii·=·map.layers.length;·i·<·ii;·++i)·{ 
13351 ············this.addLayer({ 
13352 ················layer:·map.layers[i] 
13353 ············}) 
13354 ········} 
13355 ········map.events.on({ 
13356 ············move:·this.move, 
13357 ············zoomend:·this.zoomEnd, 
13358 ············changelayer:·this.changeLayer, 
13359 ············addlayer:·this.addLayer, 
13360 ············preremovelayer:·this.removeLayer, 
13361 ············scope:·this 
13362 ········}) 
13363 ····},13351 ····},
13364 ····removeMap:·function(map)·{ 
13365 ········if·(this._destroyed·||·!OpenLayers.Layer.Grid)·{13352 ····setLayer:·function(layer)·{
 13353 ········this.layer·=·layer
 13354 ····},
 13355 ····activate:·function()·{
 13356 ········if·(!this.active)·{
 13357 ············this.active·=·true;
13366 ············return13358 ············return·true
13367 ········} 
13368 ········window.clearTimeout(this.tileQueueId[map.id]); 
13369 ········if·(map.layers)·{ 
13370 ············for·(var·i·=·0,·ii·=·map.layers.length;·i·<·ii;·++i)·{ 
13371 ················this.removeLayer({ 
13372 ····················layer:·map.layers[i] 
13373 ················}) 
13374 ············} 
13375 ········}13359 ········}
 13360 ········return·false
 13361 ····},
 13362 ····deactivate:·function()·{
 13363 ········if·(this.active)·{
 13364 ············this.active·=·false;
 13365 ············return·true
13376 ········if·(map.events)·{ 
13377 ············map.events.un({ 
13378 ················move:·this.move, 
13379 ················zoomend:·this.zoomEnd, 
13380 ················changelayer:·this.changeLayer, 
13381 ················addlayer:·this.addLayer, 
13382 ················preremovelayer:·this.removeLayer, 
13383 ················scope:·this 
13384 ············}) 
13385 ········}13366 ········}
 13367 ········return·false
13386 ········delete·this.tileQueue[map.id]; 
13387 ········delete·this.tileQueueId[map.id]; 
13388 ········OpenLayers.Util.removeItem(this.maps,·map) 
13389 ····},13368 ····},
13390 ····move:·function(evt)·{ 
13391 ········this.updateTimeout(evt.object,·this.moveDelay,·true)13369 ····CLASS_NAME:·"OpenLayers.Strategy"
 13370 });
 13371 OpenLayers.Kinetic·=·OpenLayers.Class({
 13372 ····threshold:·0,
 13373 ····deceleration:·.0035,
 13374 ····nbPoints:·100,
 13375 ····delay:·200,
 13376 ····points:·undefined,
 13377 ····timerId:·undefined,
 13378 ····initialize:·function(options)·{
 13379 ········OpenLayers.Util.extend(this,·options)
13392 ····},13380 ····},
13393 ····zoomEnd:·function(evt)·{ 
13394 ········this.updateTimeout(evt.object,·this.zoomDelay)13381 ····begin:·function()·{
 13382 ········OpenLayers.Animation.stop(this.timerId);
 13383 ········this.timerId·=·undefined;
 13384 ········this.points·=·[]
13395 ····},13385 ····},
13396 ····changeLayer:·function(evt)·{ 
13397 ········if·(evt.property·===·"visibility"·||·evt.property·===·"params")·{ 
13398 ············this.updateTimeout(evt.object,·0)13386 ····update:·function(xy)·{
 13387 ········this.points.unshift({
 13388 ············xy:·xy,
 13389 ············tick:·(new·Date).getTime()
Max diff block lines reached; 1411883/1416191 bytes (99.70%) of diff not shown.