13.7 MB
/srv/reproducible-results/rbuild-debian/r-b-build.QO7Iruup/b1/openlayers_2.13.1+ds2-10_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.QO7Iruup/b2/openlayers_2.13.1+ds2-10_armhf.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·9e3c6a14afbb7683194770a347211734·713124·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb1 ·cbb0f00fa1d37ad5edad1a9e6ffce0d1·704676·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb
13.7 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···709252·2023-01-14·13:27:41.000000·data.tar.xz3 -rw-r--r--···0········0········0···700804·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
13.7 MB
data.tar.xz
13.7 MB
data.tar
3.42 MB
./usr/share/javascript/openlayers/OpenLayers.js
3.42 MB
js-beautify {}
    
Offset 136, 14 lines modifiedOffset 136, 141 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; 3582954/3587309 bytes (99.88%) of diff not shown.
1.3 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.3 MB
js-beautify {}
    
Offset 4426, 1375 lines modifiedOffset 4426, 14 lines modified
4426 ····}·else·{4426 ····}·else·{
4427 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N");4427 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N");
4428 ····}4428 ····}
4429 ····return·str;4429 ····return·str;
4430 };4430 };
  
4431 /*·======================================================================4431 /*·======================================================================
4432 ····OpenLayers/Feature.js 
4433 ···======================================================================·*/ 
  
4434 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
4435 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
4436 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
4437 ·*·full·text·of·the·license.·*/ 
  
  
4438 /** 
4439 ·*·@requires·OpenLayers/BaseTypes/Class.js 
4440 ·*·@requires·OpenLayers/Util.js 
4441 ·*/ 
  
4442 /** 
4443 ·*·Class:·OpenLayers.Feature 
4444 ·*·Features·are·combinations·of·geography·and·attributes.·The·OpenLayers.Feature 
4445 ·*·····class·specifically·combines·a·marker·and·a·lonlat. 
4446 ·*/ 
4447 OpenLayers.Feature·=·OpenLayers.Class({ 
  
4448 ····/**· 
4449 ·····*·Property:·layer· 
4450 ·····*·{<OpenLayers.Layer>}· 
4451 ·····*/ 
4452 ····layer:·null, 
  
4453 ····/**· 
4454 ·····*·Property:·id· 
4455 ·····*·{String}· 
4456 ·····*/ 
4457 ····id:·null, 
  
4458 ····/**· 
4459 ·····*·Property:·lonlat· 
4460 ·····*·{<OpenLayers.LonLat>}· 
4461 ·····*/ 
4462 ····lonlat:·null, 
  
4463 ····/**· 
4464 ·····*·Property:·data· 
4465 ·····*·{Object}· 
4466 ·····*/ 
4467 ····data:·null, 
  
4468 ····/**· 
4469 ·····*·Property:·marker· 
4470 ·····*·{<OpenLayers.Marker>}· 
4471 ·····*/ 
4472 ····marker:·null, 
  
4473 ····/** 
4474 ·····*·APIProperty:·popupClass 
4475 ·····*·{<OpenLayers.Class>}·The·class·which·will·be·used·to·instantiate 
4476 ·····*·····a·new·Popup.·Default·is·<OpenLayers.Popup.Anchored>. 
4477 ·····*/ 
4478 ····popupClass:·null, 
  
4479 ····/**· 
4480 ·····*·Property:·popup· 
4481 ·····*·{<OpenLayers.Popup>}· 
4482 ·····*/ 
4483 ····popup:·null, 
  
4484 ····/**· 
4485 ·····*·Constructor:·OpenLayers.Feature 
4486 ·····*·Constructor·for·features. 
4487 ·····* 
4488 ·····*·Parameters: 
4489 ·····*·layer·-·{<OpenLayers.Layer>}· 
4490 ·····*·lonlat·-·{<OpenLayers.LonLat>}· 
4491 ·····*·data·-·{Object}· 
4492 ·····*· 
4493 ·····*·Returns: 
4494 ·····*·{<OpenLayers.Feature>} 
4495 ·····*/ 
4496 ····initialize:·function(layer,·lonlat,·data)·{ 
4497 ········this.layer·=·layer; 
4498 ········this.lonlat·=·lonlat; 
4499 ········this.data·=·(data·!=·null)·?·data·:·{}; 
4500 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_"); 
4501 ····}, 
  
4502 ····/**· 
4503 ·····*·Method:·destroy 
4504 ·····*·nullify·references·to·prevent·circular·references·and·memory·leaks 
4505 ·····*/ 
4506 ····destroy:·function()·{ 
  
4507 ········//remove·the·popup·from·the·map 
4508 ········if·((this.layer·!=·null)·&&·(this.layer.map·!=·null))·{ 
4509 ············if·(this.popup·!=·null)·{ 
4510 ················this.layer.map.removePopup(this.popup); 
4511 ············} 
4512 ········} 
4513 ········//·remove·the·marker·from·the·layer 
4514 ········if·(this.layer·!=·null·&&·this.marker·!=·null)·{ 
4515 ············this.layer.removeMarker(this.marker); 
4516 ········} 
  
4517 ········this.layer·=·null; 
4518 ········this.id·=·null; 
4519 ········this.lonlat·=·null; 
4520 ········this.data·=·null; 
4521 ········if·(this.marker·!=·null)·{ 
4522 ············this.destroyMarker(this.marker); 
4523 ············this.marker·=·null; 
4524 ········} 
4525 ········if·(this.popup·!=·null)·{ 
4526 ············this.destroyPopup(this.popup); 
4527 ············this.popup·=·null; 
4528 ········} 
4529 ····}, 
  
4530 ····/** 
4531 ·····*·Method:·onScreen 
4532 ·····*· 
4533 ·····*·Returns: 
4534 ·····*·{Boolean}·Whether·or·not·the·feature·is·currently·visible·on·screen 
4535 ·····*···········(based·on·its·'lonlat'·property) 
Max diff block lines reached; 1315603/1363828 bytes (96.46%) of diff not shown.
499 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
499 KB
js-beautify {}
    
Offset 1605, 531 lines modifiedOffset 1605, 14 lines modified
1605 ····if·(axis·==·"lon")·{1605 ····if·(axis·==·"lon")·{
1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")1606 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("W")·:·OpenLayers.i18n("E")
1607 ····}·else·{1607 ····}·else·{
1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")1608 ········str·+=·coordinate·<·0·?·OpenLayers.i18n("S")·:·OpenLayers.i18n("N")
1609 ····}1609 ····}
1610 ····return·str1610 ····return·str
1611 };1611 };
1612 OpenLayers.Feature·=·OpenLayers.Class({ 
1613 ····layer:·null, 
1614 ····id:·null, 
1615 ····lonlat:·null, 
1616 ····data:·null, 
1617 ····marker:·null, 
1618 ····popupClass:·null, 
1619 ····popup:·null, 
1620 ····initialize:·function(layer,·lonlat,·data)·{ 
1621 ········this.layer·=·layer; 
1622 ········this.lonlat·=·lonlat; 
1623 ········this.data·=·data·!=·null·?·data·:·{}; 
1624 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_") 
1625 ····}, 
1626 ····destroy:·function()·{ 
1627 ········if·(this.layer·!=·null·&&·this.layer.map·!=·null)·{ 
1628 ············if·(this.popup·!=·null)·{ 
1629 ················this.layer.map.removePopup(this.popup) 
1630 ············} 
1631 ········} 
1632 ········if·(this.layer·!=·null·&&·this.marker·!=·null)·{ 
1633 ············this.layer.removeMarker(this.marker) 
1634 ········} 
1635 ········this.layer·=·null; 
1636 ········this.id·=·null; 
1637 ········this.lonlat·=·null; 
1638 ········this.data·=·null; 
1639 ········if·(this.marker·!=·null)·{ 
1640 ············this.destroyMarker(this.marker); 
1641 ············this.marker·=·null 
1642 ········} 
1643 ········if·(this.popup·!=·null)·{ 
1644 ············this.destroyPopup(this.popup); 
1645 ············this.popup·=·null 
1646 ········} 
1647 ····}, 
1648 ····onScreen:·function()·{ 
1649 ········var·onScreen·=·false; 
1650 ········if·(this.layer·!=·null·&&·this.layer.map·!=·null)·{ 
1651 ············var·screenBounds·=·this.layer.map.getExtent(); 
1652 ············onScreen·=·screenBounds.containsLonLat(this.lonlat) 
1653 ········} 
1654 ········return·onScreen 
1655 ····}, 
1656 ····createMarker:·function()·{ 
1657 ········if·(this.lonlat·!=·null)·{ 
1658 ············this.marker·=·new·OpenLayers.Marker(this.lonlat,·this.data.icon) 
1659 ········} 
1660 ········return·this.marker 
1661 ····}, 
1662 ····destroyMarker:·function()·{ 
1663 ········this.marker.destroy() 
1664 ····}, 
1665 ····createPopup:·function(closeBox)·{ 
1666 ········if·(this.lonlat·!=·null)·{ 
1667 ············if·(!this.popup)·{ 
1668 ················var·anchor·=·this.marker·?·this.marker.icon·:·null; 
1669 ················var·popupClass·=·this.popupClass·?·this.popupClass·:·OpenLayers.Popup.Anchored; 
1670 ················this.popup·=·new·popupClass(this.id·+·"_popup",·this.lonlat,·this.data.popupSize,·this.data.popupContentHTML,·anchor,·closeBox) 
1671 ············} 
1672 ············if·(this.data.overflow·!=·null)·{ 
1673 ················this.popup.contentDiv.style.overflow·=·this.data.overflow 
1674 ············} 
1675 ············this.popup.feature·=·this 
1676 ········} 
1677 ········return·this.popup 
1678 ····}, 
1679 ····destroyPopup:·function()·{ 
1680 ········if·(this.popup)·{ 
1681 ············this.popup.feature·=·null; 
1682 ············this.popup.destroy(); 
1683 ············this.popup·=·null 
1684 ········} 
1685 ····}, 
1686 ····CLASS_NAME:·"OpenLayers.Feature" 
1687 }); 
1688 OpenLayers.State·=·{ 
1689 ····UNKNOWN:·"Unknown", 
1690 ····INSERT:·"Insert", 
1691 ····UPDATE:·"Update", 
1692 ····DELETE:·"Delete" 
1693 }; 
1694 OpenLayers.Feature.Vector·=·OpenLayers.Class(OpenLayers.Feature,·{ 
1695 ····fid:·null, 
1696 ····geometry:·null, 
1697 ····attributes:·null, 
1698 ····bounds:·null, 
1699 ····state:·null, 
1700 ····style:·null, 
1701 ····url:·null, 
1702 ····renderIntent:·"default", 
1703 ····modified:·null, 
1704 ····initialize:·function(geometry,·attributes,·style)·{ 
1705 ········OpenLayers.Feature.prototype.initialize.apply(this,·[null,·null,·attributes]); 
1706 ········this.lonlat·=·null; 
1707 ········this.geometry·=·geometry·?·geometry·:·null; 
1708 ········this.state·=·null; 
1709 ········this.attributes·=·{}; 
1710 ········if·(attributes)·{ 
1711 ············this.attributes·=·OpenLayers.Util.extend(this.attributes,·attributes) 
1712 ········} 
1713 ········this.style·=·style·?·style·:·null 
1714 ····}, 
1715 ····destroy:·function()·{ 
1716 ········if·(this.layer)·{ 
1717 ············this.layer.removeFeatures(this); 
1718 ············this.layer·=·null 
1719 ········} 
1720 ········this.geometry·=·null; 
1721 ········this.modified·=·null; 
1722 ········OpenLayers.Feature.prototype.destroy.apply(this,·arguments) 
1723 ····}, 
1724 ····clone:·function()·{ 
1725 ········return·new·OpenLayers.Feature.Vector(this.geometry·?·this.geometry.clone()·:·null,·this.attributes,·this.style) 
1726 ····}, 
1727 ····onScreen:·function(boundsOnly)·{ 
1728 ········var·onScreen·=·false; 
1729 ········if·(this.layer·&&·this.layer.map)·{ 
1730 ············var·screenBounds·=·this.layer.map.getExtent(); 
1731 ············if·(boundsOnly)·{ 
Max diff block lines reached; 490890/510443 bytes (96.17%) of diff not shown.
1.61 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.61 MB
js-beautify {}
    
Offset 17, 14 lines modifiedOffset 17, 59 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 };
24 OpenLayers.String·=·{69 OpenLayers.String·=·{
25 ····startsWith:·function(str,·sub)·{70 ····startsWith:·function(str,·sub)·{
26 ········return·str.indexOf(sub)·==·071 ········return·str.indexOf(sub)·==·0
27 ····},72 ····},
28 ····contains:·function(str,·sub)·{73 ····contains:·function(str,·sub)·{
29 ········return·str.indexOf(sub)·!=·-174 ········return·str.indexOf(sub)·!=·-1
30 ····},75 ····},
1.33 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.33 MB
js-beautify {}
    
Offset 14357, 3950 lines modifiedOffset 14357, 14 lines modified
14357 ········4,·014357 ········4,·0
14358 ····],14358 ····],
14359 ····"x":·[0,·0,·25,·0,·50,·35,·75,·0,·100,·0,·65,·50,·100,·100,·75,·100,·50,·65,·25,·100,·0,·100,·35,·50,·0,·0],14359 ····"x":·[0,·0,·25,·0,·50,·35,·75,·0,·100,·0,·65,·50,·100,·100,·75,·100,·50,·65,·25,·100,·0,·100,·35,·50,·0,·0],
14360 ····"square":·[0,·0,·0,·1,·1,·1,·1,·0,·0,·0],14360 ····"square":·[0,·0,·0,·1,·1,·1,·1,·0,·0,·0],
14361 ····"triangle":·[0,·10,·10,·10,·5,·0,·0,·10]14361 ····"triangle":·[0,·10,·10,·10,·5,·0,·0,·10]
14362 };14362 };
14363 /*·======================================================================14363 /*·======================================================================
14364 ····OpenLayers/Renderer/Canvas.js 
14365 ···======================================================================·*/ 
  
14366 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
14367 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
14368 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
14369 ·*·full·text·of·the·license.·*/ 
  
14370 /** 
14371 ·*·@requires·OpenLayers/Renderer.js 
14372 ·*/ 
  
14373 /** 
14374 ·*·Class:·OpenLayers.Renderer.Canvas· 
14375 ·*·A·renderer·based·on·the·2D·'canvas'·drawing·element. 
14376 ·*· 
14377 ·*·Inherits: 
14378 ·*··-·<OpenLayers.Renderer> 
14379 ·*/ 
14380 OpenLayers.Renderer.Canvas·=·OpenLayers.Class(OpenLayers.Renderer,·{ 
  
14381 ····/** 
14382 ·····*·APIProperty:·hitDetection 
14383 ·····*·{Boolean}·Allow·for·hit·detection·of·features.··Default·is·true. 
14384 ·····*/ 
14385 ····hitDetection:·true, 
  
14386 ····/** 
14387 ·····*·Property:·hitOverflow 
14388 ·····*·{Number}·The·method·for·converting·feature·identifiers·to·color·values 
14389 ·····*·····supports·16777215·sequential·values.··Two·features·cannot·be· 
14390 ·····*·····predictably·detected·if·their·identifiers·differ·by·more·than·this 
14391 ·····*·····value.··The·hitOverflow·allows·for·bigger·numbers·(but·the· 
14392 ·····*·····difference·in·values·is·still·limited). 
14393 ·····*/ 
14394 ····hitOverflow:·0, 
  
14395 ····/** 
14396 ·····*·Property:·canvas 
14397 ·····*·{Canvas}·The·canvas·context·object. 
14398 ·····*/ 
14399 ····canvas:·null, 
  
14400 ····/** 
14401 ·····*·Property:·features 
14402 ·····*·{Object}·Internal·object·of·feature/style·pairs·for·use·in·redrawing·the·layer. 
14403 ·····*/ 
14404 ····features:·null, 
  
14405 ····/** 
14406 ·····*·Property:·pendingRedraw 
14407 ·····*·{Boolean}·The·renderer·needs·a·redraw·call·to·render·features·added·while 
14408 ·····*·····the·renderer·was·locked. 
14409 ·····*/ 
14410 ····pendingRedraw:·false, 
  
14411 ····/** 
14412 ·····*·Property:·cachedSymbolBounds 
14413 ·····*·{Object}·Internal·cache·of·calculated·symbol·extents. 
14414 ·····*/ 
14415 ····cachedSymbolBounds:·{}, 
  
14416 ····/** 
14417 ·····*·Constructor:·OpenLayers.Renderer.Canvas 
14418 ·····* 
14419 ·····*·Parameters: 
14420 ·····*·containerID·-·{<String>} 
14421 ·····*·options·-·{Object}·Optional·properties·to·be·set·on·the·renderer. 
14422 ·····*/ 
14423 ····initialize:·function(containerID,·options)·{ 
14424 ········OpenLayers.Renderer.prototype.initialize.apply(this,·arguments); 
14425 ········this.root·=·document.createElement("canvas"); 
14426 ········this.container.appendChild(this.root); 
14427 ········this.canvas·=·this.root.getContext("2d"); 
14428 ········this.features·=·{}; 
14429 ········if·(this.hitDetection)·{ 
14430 ············this.hitCanvas·=·document.createElement("canvas"); 
14431 ············this.hitContext·=·this.hitCanvas.getContext("2d"); 
14432 ········} 
14433 ····}, 
  
14434 ····/** 
14435 ·····*·Method:·setExtent 
14436 ·····*·Set·the·visible·part·of·the·layer. 
14437 ·····* 
14438 ·····*·Parameters: 
14439 ·····*·extent·-·{<OpenLayers.Bounds>} 
14440 ·····*·resolutionChanged·-·{Boolean} 
14441 ·····* 
14442 ·····*·Returns: 
14443 ·····*·{Boolean}·true·to·notify·the·layer·that·the·new·extent·does·not·exceed 
14444 ·····*·····the·coordinate·range,·and·the·features·will·not·need·to·be·redrawn. 
14445 ·····*·····False·otherwise. 
14446 ·····*/ 
14447 ····setExtent:·function()·{ 
14448 ········OpenLayers.Renderer.prototype.setExtent.apply(this,·arguments); 
14449 ········//·always·redraw·features 
14450 ········return·false; 
14451 ····}, 
  
14452 ····/**· 
14453 ·····*·Method:·eraseGeometry 
14454 ·····*·Erase·a·geometry·from·the·renderer.·Because·the·Canvas·renderer·has 
14455 ·····*·····'memory'·of·the·features·that·it·has·drawn,·we·have·to·remove·the 
14456 ·····*·····feature·so·it·doesn't·redraw.··· 
14457 ·····*· 
14458 ·····*·Parameters: 
14459 ·····*·geometry·-·{<OpenLayers.Geometry>} 
14460 ·····*·featureId·-·{String} 
14461 ·····*/ 
14462 ····eraseGeometry:·function(geometry,·featureId)·{ 
14463 ········this.eraseFeatures(this.features[featureId][0]); 
14464 ····}, 
  
14465 ····/** 
14466 ·····*·APIMethod:·supported 
14467 ·····*· 
14468 ·····*·Returns: 
14469 ·····*·{Boolean}·Whether·or·not·the·browser·supports·the·renderer·class 
14470 ·····*/ 
Max diff block lines reached; 1252227/1390227 bytes (90.07%) of diff not shown.
603 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
603 KB
js-beautify {}
    
Offset 5592, 1753 lines modifiedOffset 5592, 14 lines modified
5592 OpenLayers.Renderer.symbol·=·{5592 OpenLayers.Renderer.symbol·=·{
5593 ····star:·[350,·75,·379,·161,·469,·161,·397,·215,·423,·301,·350,·250,·277,·301,·303,·215,·231,·161,·321,·161,·350,·75],5593 ····star:·[350,·75,·379,·161,·469,·161,·397,·215,·423,·301,·350,·250,·277,·301,·303,·215,·231,·161,·321,·161,·350,·75],
5594 ····cross:·[4,·0,·6,·0,·6,·4,·10,·4,·10,·6,·6,·6,·6,·10,·4,·10,·4,·6,·0,·6,·0,·4,·4,·4,·4,·0],5594 ····cross:·[4,·0,·6,·0,·6,·4,·10,·4,·10,·6,·6,·6,·6,·10,·4,·10,·4,·6,·0,·6,·0,·4,·4,·4,·4,·0],
5595 ····x:·[0,·0,·25,·0,·50,·35,·75,·0,·100,·0,·65,·50,·100,·100,·75,·100,·50,·65,·25,·100,·0,·100,·35,·50,·0,·0],5595 ····x:·[0,·0,·25,·0,·50,·35,·75,·0,·100,·0,·65,·50,·100,·100,·75,·100,·50,·65,·25,·100,·0,·100,·35,·50,·0,·0],
5596 ····square:·[0,·0,·0,·1,·1,·1,·1,·0,·0,·0],5596 ····square:·[0,·0,·0,·1,·1,·1,·1,·0,·0,·0],
5597 ····triangle:·[0,·10,·10,·10,·5,·0,·0,·10]5597 ····triangle:·[0,·10,·10,·10,·5,·0,·0,·10]
5598 };5598 };
5599 OpenLayers.Renderer.Canvas·=·OpenLayers.Class(OpenLayers.Renderer,·{ 
5600 ····hitDetection:·true, 
5601 ····hitOverflow:·0, 
5602 ····canvas:·null, 
5603 ····features:·null, 
5604 ····pendingRedraw:·false, 
5605 ····cachedSymbolBounds:·{}, 
5606 ····initialize:·function(containerID,·options)·{ 
5607 ········OpenLayers.Renderer.prototype.initialize.apply(this,·arguments); 
5608 ········this.root·=·document.createElement("canvas"); 
5609 ········this.container.appendChild(this.root); 
5610 ········this.canvas·=·this.root.getContext("2d"); 
5611 ········this.features·=·{}; 
5612 ········if·(this.hitDetection)·{ 
5613 ············this.hitCanvas·=·document.createElement("canvas"); 
5614 ············this.hitContext·=·this.hitCanvas.getContext("2d") 
5615 ········} 
5616 ····}, 
5617 ····setExtent:·function()·{ 
5618 ········OpenLayers.Renderer.prototype.setExtent.apply(this,·arguments); 
5619 ········return·false 
5620 ····}, 
5621 ····eraseGeometry:·function(geometry,·featureId)·{ 
5622 ········this.eraseFeatures(this.features[featureId][0]) 
5623 ····}, 
5624 ····supported:·function()·{ 
5625 ········return·OpenLayers.CANVAS_SUPPORTED 
5626 ····}, 
5627 ····setSize:·function(size)·{ 
5628 ········this.size·=·size.clone(); 
5629 ········var·root·=·this.root; 
5630 ········root.style.width·=·size.w·+·"px"; 
5631 ········root.style.height·=·size.h·+·"px"; 
5632 ········root.width·=·size.w; 
5633 ········root.height·=·size.h; 
5634 ········this.resolution·=·null; 
5635 ········if·(this.hitDetection)·{ 
5636 ············var·hitCanvas·=·this.hitCanvas; 
5637 ············hitCanvas.style.width·=·size.w·+·"px"; 
5638 ············hitCanvas.style.height·=·size.h·+·"px"; 
5639 ············hitCanvas.width·=·size.w; 
5640 ············hitCanvas.height·=·size.h 
5641 ········} 
5642 ····}, 
5643 ····drawFeature:·function(feature,·style)·{ 
5644 ········var·rendered; 
5645 ········if·(feature.geometry)·{ 
5646 ············style·=·this.applyDefaultSymbolizer(style·||·feature.style); 
5647 ············var·bounds·=·feature.geometry.getBounds(); 
5648 ············var·worldBounds; 
5649 ············if·(this.map.baseLayer·&&·this.map.baseLayer.wrapDateLine)·{ 
5650 ················worldBounds·=·this.map.getMaxExtent() 
5651 ············} 
5652 ············var·intersects·=·bounds·&&·bounds.intersectsBounds(this.extent,·{ 
5653 ················worldBounds:·worldBounds 
5654 ············}); 
5655 ············rendered·=·style.display·!==·"none"·&&·!!bounds·&&·intersects; 
5656 ············if·(rendered)·{ 
5657 ················this.features[feature.id]·=·[feature,·style] 
5658 ············}·else·{ 
5659 ················delete·this.features[feature.id] 
5660 ············} 
5661 ············this.pendingRedraw·=·true 
5662 ········} 
5663 ········if·(this.pendingRedraw·&&·!this.locked)·{ 
5664 ············this.redraw(); 
5665 ············this.pendingRedraw·=·false 
5666 ········} 
5667 ········return·rendered 
5668 ····}, 
5669 ····drawGeometry:·function(geometry,·style,·featureId)·{ 
5670 ········var·className·=·geometry.CLASS_NAME; 
5671 ········if·(className·==·"OpenLayers.Geometry.Collection"·||·className·==·"OpenLayers.Geometry.MultiPoint"·||·className·==·"OpenLayers.Geometry.MultiLineString"·||·className·==·"OpenLayers.Geometry.MultiPolygon")·{ 
5672 ············for·(var·i·=·0;·i·<·geometry.components.length;·i++)·{ 
5673 ················this.drawGeometry(geometry.components[i],·style,·featureId) 
5674 ············} 
5675 ············return 
5676 ········} 
5677 ········switch·(geometry.CLASS_NAME)·{ 
5678 ············case·"OpenLayers.Geometry.Point": 
5679 ················this.drawPoint(geometry,·style,·featureId); 
5680 ················break; 
5681 ············case·"OpenLayers.Geometry.LineString": 
5682 ················this.drawLineString(geometry,·style,·featureId); 
5683 ················break; 
5684 ············case·"OpenLayers.Geometry.LinearRing": 
5685 ················this.drawLinearRing(geometry,·style,·featureId); 
5686 ················break; 
5687 ············case·"OpenLayers.Geometry.Polygon": 
5688 ················this.drawPolygon(geometry,·style,·featureId); 
5689 ················break; 
5690 ············default: 
5691 ················break 
5692 ········} 
5693 ····}, 
5694 ····drawExternalGraphic:·function(geometry,·style,·featureId)·{ 
5695 ········var·img·=·new·Image; 
5696 ········var·title·=·style.title·||·style.graphicTitle; 
5697 ········if·(title)·{ 
5698 ············img.title·=·title 
5699 ········} 
5700 ········var·width·=·style.graphicWidth·||·style.graphicHeight; 
5701 ········var·height·=·style.graphicHeight·||·style.graphicWidth; 
5702 ········width·=·width·?·width·:·style.pointRadius·*·2; 
5703 ········height·=·height·?·height·:·style.pointRadius·*·2; 
5704 ········var·xOffset·=·style.graphicXOffset·!=·undefined·?·style.graphicXOffset·:·-(.5·*·width); 
5705 ········var·yOffset·=·style.graphicYOffset·!=·undefined·?·style.graphicYOffset·:·-(.5·*·height); 
5706 ········var·opacity·=·style.graphicOpacity·||·style.fillOpacity; 
5707 ········var·onLoad·=·function()·{ 
5708 ············if·(!this.features[featureId])·{ 
5709 ················return 
5710 ············} 
5711 ············var·pt·=·this.getLocalXY(geometry); 
5712 ············var·p0·=·pt[0]; 
5713 ············var·p1·=·pt[1]; 
5714 ············if·(!isNaN(p0)·&&·!isNaN(p1))·{ 
5715 ················var·x·=·p0·+·xOffset·|·0; 
5716 ················var·y·=·p1·+·yOffset·|·0; 
5717 ················var·canvas·=·this.canvas; 
5718 ················canvas.globalAlpha·=·opacity; 
Max diff block lines reached; 543903/617809 bytes (88.04%) of diff not shown.
3.32 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
3.32 MB
js-beautify {}
    
Offset 33176, 14 lines modifiedOffset 33176, 343 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/Handler.js
 33183 ···======================================================================·*/
  
 33184 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 33185 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 33186 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 33187 ·*·full·text·of·the·license.·*/
  
 33188 /**
 33189 ·*·@requires·OpenLayers/BaseTypes/Class.js
 33190 ·*·@requires·OpenLayers/Events.js
 33191 ·*/
  
 33192 /**
 33193 ·*·Class:·OpenLayers.Handler
 33194 ·*·Base·class·to·construct·a·higher-level·handler·for·event·sequences.··All
 33195 ·*·····handlers·have·activate·and·deactivate·methods.··In·addition,·they·have
 33196 ·*·····methods·named·like·browser·events.··When·a·handler·is·activated,·any
 33197 ·*·····additional·methods·named·like·a·browser·event·is·registered·as·a
 33198 ·*·····listener·for·the·corresponding·event.··When·a·handler·is·deactivated,
 33199 ·*·····those·same·methods·are·unregistered·as·event·listeners.
 33200 ·*
 33201 ·*·Handlers·also·typically·have·a·callbacks·object·with·keys·named·like
 33202 ·*·····the·abstracted·events·or·event·sequences·that·they·are·in·charge·of
 33203 ·*·····handling.··The·controls·that·wrap·handlers·define·the·methods·that
 33204 ·*·····correspond·to·these·abstract·events·-·so·instead·of·listening·for
 33205 ·*·····individual·browser·events,·they·only·listen·for·the·abstract·events
 33206 ·*·····defined·by·the·handler.
 33207 ·*·····
 33208 ·*·Handlers·are·created·by·controls,·which·ultimately·have·the·responsibility
 33209 ·*·····of·making·changes·to·the·the·state·of·the·application.··Handlers
 33210 ·*·····themselves·may·make·temporary·changes,·but·in·general·are·expected·to
 33211 ·*·····return·the·application·in·the·same·state·that·they·found·it.
 33212 ·*/
 33213 OpenLayers.Handler·=·OpenLayers.Class({
  
 33214 ····/**
 33215 ·····*·Property:·id
 33216 ·····*·{String}
 33217 ·····*/
 33218 ····id:·null,
  
 33219 ····/**
 33220 ·····*·APIProperty:·control
 33221 ·····*·{<OpenLayers.Control>}.·The·control·that·initialized·this·handler.··The
 33222 ·····*·····control·is·assumed·to·have·a·valid·map·property·-·that·map·is·used
 33223 ·····*·····in·the·handler's·own·setMap·method.
 33224 ·····*/
 33225 ····control:·null,
  
 33226 ····/**
 33227 ·····*·Property:·map
 33228 ·····*·{<OpenLayers.Map>}
 33229 ·····*/
 33230 ····map:·null,
  
 33231 ····/**
 33232 ·····*·APIProperty:·keyMask
 33233 ·····*·{Integer}·Use·bitwise·operators·and·one·or·more·of·the·OpenLayers.Handler
 33234 ·····*·····constants·to·construct·a·keyMask.··The·keyMask·is·used·by
 33235 ·····*·····<checkModifiers>.··If·the·keyMask·matches·the·combination·of·keys
 33236 ·····*·····down·on·an·event,·checkModifiers·returns·true.
 33237 ·····*
 33238 ·····*·Example:
 33239 ·····*·(code)
 33240 ·····*·····//·handler·only·responds·if·the·Shift·key·is·down
 33241 ·····*·····handler.keyMask·=·OpenLayers.Handler.MOD_SHIFT;
 33242 ·····*
 33243 ·····*·····//·handler·only·responds·if·Ctrl-Shift·is·down
 33244 ·····*·····handler.keyMask·=·OpenLayers.Handler.MOD_SHIFT·|
 33245 ·····*·······················OpenLayers.Handler.MOD_CTRL;
 33246 ·····*·(end)
 33247 ·····*/
 33248 ····keyMask:·null,
  
 33249 ····/**
 33250 ·····*·Property:·active
 33251 ·····*·{Boolean}
 33252 ·····*/
 33253 ····active:·false,
  
 33254 ····/**
 33255 ·····*·Property:·evt
 33256 ·····*·{Event}·This·property·references·the·last·event·handled·by·the·handler.
 33257 ·····*·····Note·that·this·property·is·not·part·of·the·stable·API.··Use·of·the
 33258 ·····*·····evt·property·should·be·restricted·to·controls·in·the·library
 33259 ·····*·····or·other·applications·that·are·willing·to·update·with·changes·to
 33260 ·····*·····the·OpenLayers·code.
 33261 ·····*/
 33262 ····evt:·null,
  
 33263 ····/**
 33264 ·····*·Property:·touch
 33265 ·····*·{Boolean}·Indicates·the·support·of·touch·events.·When·touch·events·are·
 33266 ·····*·····started·touch·will·be·true·and·all·mouse·related·listeners·will·do·
 33267 ·····*·····nothing.
 33268 ·····*/
 33269 ····touch:·false,
  
 33270 ····/**
 33271 ·····*·Constructor:·OpenLayers.Handler
 33272 ·····*·Construct·a·handler.
 33273 ·····*
 33274 ·····*·Parameters:
 33275 ·····*·control·-·{<OpenLayers.Control>}·The·control·that·initialized·this
 33276 ·····*·····handler.··The·control·is·assumed·to·have·a·valid·map·property;·that
 33277 ·····*·····map·is·used·in·the·handler's·own·setMap·method.··If·a·map·property
 33278 ·····*·····is·present·in·the·options·argument·it·will·be·used·instead.
 33279 ·····*·callbacks·-·{Object}·An·object·whose·properties·correspond·to·abstracted
 33280 ·····*·····events·or·sequences·of·browser·events.··The·values·for·these
 33281 ·····*·····properties·are·functions·defined·by·the·control·that·get·called·by
 33282 ·····*·····the·handler.
 33283 ·····*·options·-·{Object}·An·optional·object·whose·properties·will·be·set·on
 33284 ·····*·····the·handler.
 33285 ·····*/
 33286 ····initialize:·function(control,·callbacks,·options)·{
 33287 ········OpenLayers.Util.extend(this,·options);
 33288 ········this.control·=·control;
 33289 ········this.callbacks·=·callbacks;
  
Max diff block lines reached; 3467113/3478534 bytes (99.67%) of diff not shown.
1.61 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.61 MB
js-beautify {}
    
Offset 13318, 14 lines modifiedOffset 13318, 108 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.Handler·=·OpenLayers.Class({
 13326 ····id:·null,
 13327 ····control:·null,
 13328 ····map:·null,
 13329 ····keyMask:·null,
 13330 ····active:·false,
 13331 ····evt:·null,
 13332 ····touch:·false,
 13333 ····initialize:·function(control,·callbacks,·options)·{
 13334 ········OpenLayers.Util.extend(this,·options);
 13335 ········this.control·=·control;
 13336 ········this.callbacks·=·callbacks;
 13337 ········var·map·=·this.map·||·control.map;
 13338 ········if·(map)·{
 13339 ············this.setMap(map)
 13340 ········}
 13341 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_")
 13342 ····},
 13343 ····setMap:·function(map)·{
 13344 ········this.map·=·map
 13345 ····},
 13346 ····checkModifiers:·function(evt)·{
 13347 ········if·(this.keyMask·==·null)·{
 13348 ············return·true
 13349 ········}
 13350 ········var·keyModifiers·=·(evt.shiftKey·?·OpenLayers.Handler.MOD_SHIFT·:·0)·|·(evt.ctrlKey·?·OpenLayers.Handler.MOD_CTRL·:·0)·|·(evt.altKey·?·OpenLayers.Handler.MOD_ALT·:·0)·|·(evt.metaKey·?·OpenLayers.Handler.MOD_META·:·0);
 13351 ········return·keyModifiers·==·this.keyMask
 13352 ····},
 13353 ····activate:·function()·{
 13354 ········if·(this.active)·{
 13355 ············return·false
 13356 ········}
 13357 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS;
 13358 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{
 13359 ············if·(this[events[i]])·{
 13360 ················this.register(events[i],·this[events[i]])
 13361 ············}
 13362 ········}
 13363 ········this.active·=·true;
 13364 ········return·true
 13365 ····},
 13366 ····deactivate:·function()·{
 13367 ········if·(!this.active)·{
 13368 ············return·false
 13369 ········}
 13370 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS;
 13371 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{
 13372 ············if·(this[events[i]])·{
 13373 ················this.unregister(events[i],·this[events[i]])
 13374 ············}
 13375 ········}
 13376 ········this.touch·=·false;
 13377 ········this.active·=·false;
 13378 ········return·true
 13379 ····},
 13380 ····startTouch:·function()·{
 13381 ········if·(!this.touch)·{
 13382 ············this.touch·=·true;
 13383 ············var·events·=·["mousedown",·"mouseup",·"mousemove",·"click",·"dblclick",·"mouseout"];
 13384 ············for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{
 13385 ················if·(this[events[i]])·{
 13386 ····················this.unregister(events[i],·this[events[i]])
 13387 ················}
 13388 ············}
 13389 ········}
 13390 ····},
 13391 ····callback:·function(name,·args)·{
 13392 ········if·(name·&&·this.callbacks[name])·{
 13393 ············this.callbacks[name].apply(this.control,·args)
 13394 ········}
 13395 ····},
 13396 ····register:·function(name,·method)·{
 13397 ········this.map.events.registerPriority(name,·this,·method);
 13398 ········this.map.events.registerPriority(name,·this,·this.setEvent)
 13399 ····},
 13400 ····unregister:·function(name,·method)·{
 13401 ········this.map.events.unregister(name,·this,·method);
 13402 ········this.map.events.unregister(name,·this,·this.setEvent)
 13403 ····},
 13404 ····setEvent:·function(evt)·{
 13405 ········this.evt·=·evt;
 13406 ········return·true
 13407 ····},
 13408 ····destroy:·function()·{
 13409 ········this.deactivate();
 13410 ········this.control·=·this.map·=·null
 13411 ····},
 13412 ····CLASS_NAME:·"OpenLayers.Handler"
 13413 });
 13414 OpenLayers.Handler.MOD_NONE·=·0;
 13415 OpenLayers.Handler.MOD_SHIFT·=·1;
 13416 OpenLayers.Handler.MOD_CTRL·=·2;
 13417 OpenLayers.Handler.MOD_ALT·=·4;
 13418 OpenLayers.Handler.MOD_META·=·8;
13325 OpenLayers.TileManager·=·OpenLayers.Class({13419 OpenLayers.TileManager·=·OpenLayers.Class({
13326 ····cacheSize:·256,13420 ····cacheSize:·256,
13327 ····tilesPerFrame:·2,13421 ····tilesPerFrame:·2,
13328 ····frameDelay:·16,13422 ····frameDelay:·16,
13329 ····moveDelay:·100,13423 ····moveDelay:·100,
13330 ····zoomDelay:·200,13424 ····zoomDelay:·200,
13331 ····maps:·null,13425 ····maps:·null,