13.5 MB
/srv/reproducible-results/rbuild-debian/r-b-build.xITWzTFq/b1/openlayers_2.13.1+ds2-11_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.xITWzTFq/b2/openlayers_2.13.1+ds2-11_amd64.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·54748ba5879b99c609994613d9d9d127·781320·javascript·optional·libjs-openlayers_2.13.1+ds2-11_all.deb1 ·29dfe7b960a8cccf3cd90c017b0f7895·708480·javascript·optional·libjs-openlayers_2.13.1+ds2-11_all.deb
13.5 MB
libjs-openlayers_2.13.1+ds2-11_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2025-03-06·18:35:30.000000·debian-binary1 -rw-r--r--···0········0········0········4·2025-03-06·18:35:30.000000·debian-binary
2 -rw-r--r--···0········0········0·····3688·2025-03-06·18:35:30.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3684·2025-03-06·18:35:30.000000·control.tar.xz
3 -rw-r--r--···0········0········0···777440·2025-03-06·18:35:30.000000·data.tar.xz3 -rw-r--r--···0········0········0···704604·2025-03-06·18:35:30.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.5 MB
data.tar.xz
13.5 MB
data.tar
3.71 MB
./usr/share/javascript/openlayers/OpenLayers.js
3.71 MB
js-beautify {}
    
Offset 136, 141 lines modifiedOffset 136, 14 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; 3885041/3889396 bytes (99.89%) of diff not shown.
1.7 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.7 MB
js-beautify {}
    
Offset 4426, 14 lines modifiedOffset 4426, 1375 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; 1737722/1785947 bytes (97.30%) of diff not shown.
449 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
449 KB
js-beautify {}
    
Offset 1605, 14 lines modifiedOffset 1605, 531 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; 440101/459654 bytes (95.75%) of diff not shown.
1.55 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.55 MB
js-beautify {}
    
Offset 17, 59 lines modifiedOffset 17, 14 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.String·=·{24 OpenLayers.String·=·{
70 ····startsWith:·function(str,·sub)·{25 ····startsWith:·function(str,·sub)·{
71 ········return·str.indexOf(sub)·==·026 ········return·str.indexOf(sub)·==·0
72 ····},27 ····},
73 ····contains:·function(str,·sub)·{28 ····contains:·function(str,·sub)·{
74 ········return·str.indexOf(sub)·!=·-129 ········return·str.indexOf(sub)·!=·-1
75 ····},30 ····},
Offset 212, 14 lines modifiedOffset 167, 59 lines modified
212 ····················}167 ····················}
213 ················}168 ················}
214 ············}169 ············}
215 ········}170 ········}
216 ········return·selected171 ········return·selected
217 ····}172 ····}
218 };173 };
 174 OpenLayers.Class·=·function()·{
 175 ····var·len·=·arguments.length;
 176 ····var·P·=·arguments[0];
 177 ····var·F·=·arguments[len·-·1];
 178 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 179 ········P.prototype.initialize.apply(this,·arguments)
 180 ····};
 181 ····if·(len·>·1)·{
 182 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 183 ········OpenLayers.inherit.apply(null,·newArgs)
 184 ····}·else·{
 185 ········C.prototype·=·F
 186 ····}
 187 ····return·C
 188 };
 189 OpenLayers.inherit·=·function(C,·P)·{
 190 ····var·F·=·function()·{};
 191 ····F.prototype·=·P.prototype;
 192 ····C.prototype·=·new·F;
 193 ····var·i,·l,·o;
 194 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 195 ········o·=·arguments[i];
 196 ········if·(typeof·o·===·"function")·{
 197 ············o·=·o.prototype
 198 ········}
 199 ········OpenLayers.Util.extend(C.prototype,·o)
 200 ····}
 201 };
 202 OpenLayers.Util·=·OpenLayers.Util·||·{};
 203 OpenLayers.Util.extend·=·function(destination,·source)·{
 204 ····destination·=·destination·||·{};
 205 ····if·(source)·{
 206 ········for·(var·property·in·source)·{
 207 ············var·value·=·source[property];
 208 ············if·(value·!==·undefined)·{
 209 ················destination[property]·=·value
 210 ············}
 211 ········}
 212 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
 213 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
 214 ············destination.toString·=·source.toString
 215 ········}
 216 ····}
 217 ····return·destination
 218 };
219 OpenLayers.Bounds·=·OpenLayers.Class({219 OpenLayers.Bounds·=·OpenLayers.Class({
220 ····left:·null,220 ····left:·null,
221 ····bottom:·null,221 ····bottom:·null,
222 ····right:·null,222 ····right:·null,
223 ····top:·null,223 ····top:·null,
224 ····centerLonLat:·null,224 ····centerLonLat:·null,
225 ····initialize:·function(left,·bottom,·right,·top)·{225 ····initialize:·function(left,·bottom,·right,·top)·{
Offset 1605, 78 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 };
Max diff block lines reached; 1618418/1624332 bytes (99.64%) of diff not shown.
1.3 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.3 MB
js-beautify {}
    
Offset 136, 141 lines modifiedOffset 136, 14 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; 1360039/1364394 bytes (99.68%) of diff not shown.
482 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
482 KB
js-beautify {}
    
Offset 17, 59 lines modifiedOffset 17, 14 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.String·=·{24 OpenLayers.String·=·{
70 ····startsWith:·function(str,·sub)·{25 ····startsWith:·function(str,·sub)·{
71 ········return·str.indexOf(sub)·==·026 ········return·str.indexOf(sub)·==·0
72 ····},27 ····},
73 ····contains:·function(str,·sub)·{28 ····contains:·function(str,·sub)·{
74 ········return·str.indexOf(sub)·!=·-129 ········return·str.indexOf(sub)·!=·-1
75 ····},30 ····},
Offset 212, 14 lines modifiedOffset 167, 59 lines modified
212 ····················}167 ····················}
213 ················}168 ················}
214 ············}169 ············}
215 ········}170 ········}
216 ········return·selected171 ········return·selected
217 ····}172 ····}
218 };173 };
 174 OpenLayers.Class·=·function()·{
 175 ····var·len·=·arguments.length;
 176 ····var·P·=·arguments[0];
 177 ····var·F·=·arguments[len·-·1];
 178 ····var·C·=·typeof·F.initialize·==·"function"·?·F.initialize·:·function()·{
 179 ········P.prototype.initialize.apply(this,·arguments)
 180 ····};
 181 ····if·(len·>·1)·{
 182 ········var·newArgs·=·[C,·P].concat(Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F);
 183 ········OpenLayers.inherit.apply(null,·newArgs)
 184 ····}·else·{
 185 ········C.prototype·=·F
 186 ····}
 187 ····return·C
 188 };
 189 OpenLayers.inherit·=·function(C,·P)·{
 190 ····var·F·=·function()·{};
 191 ····F.prototype·=·P.prototype;
 192 ····C.prototype·=·new·F;
 193 ····var·i,·l,·o;
 194 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{
 195 ········o·=·arguments[i];
 196 ········if·(typeof·o·===·"function")·{
 197 ············o·=·o.prototype
 198 ········}
 199 ········OpenLayers.Util.extend(C.prototype,·o)
 200 ····}
 201 };
 202 OpenLayers.Util·=·OpenLayers.Util·||·{};
 203 OpenLayers.Util.extend·=·function(destination,·source)·{
 204 ····destination·=·destination·||·{};
 205 ····if·(source)·{
 206 ········for·(var·property·in·source)·{
 207 ············var·value·=·source[property];
 208 ············if·(value·!==·undefined)·{
 209 ················destination[property]·=·value
 210 ············}
 211 ········}
 212 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
 213 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
 214 ············destination.toString·=·source.toString
 215 ········}
 216 ····}
 217 ····return·destination
 218 };
219 OpenLayers.Bounds·=·OpenLayers.Class({219 OpenLayers.Bounds·=·OpenLayers.Class({
220 ····left:·null,220 ····left:·null,
221 ····bottom:·null,221 ····bottom:·null,
222 ····right:·null,222 ····right:·null,
223 ····top:·null,223 ····top:·null,
224 ····centerLonLat:·null,224 ····centerLonLat:·null,
225 ····initialize:·function(left,·bottom,·right,·top)·{225 ····initialize:·function(left,·bottom,·right,·top)·{
Offset 3597, 98 lines modifiedOffset 3597, 14 lines modified
3597 ············}3597 ············}
3598 ········}3598 ········}
3599 ····},3599 ····},
3600 ····CLASS_NAME:·"OpenLayers.Map"3600 ····CLASS_NAME:·"OpenLayers.Map"
3601 });3601 });
3602 OpenLayers.Map.TILE_WIDTH·=·256;3602 OpenLayers.Map.TILE_WIDTH·=·256;
3603 OpenLayers.Map.TILE_HEIGHT·=·256;3603 OpenLayers.Map.TILE_HEIGHT·=·256;
Max diff block lines reached; 487112/493593 bytes (98.69%) of diff not shown.
2.96 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
2.96 MB
js-beautify {}
    
Offset 33176, 104 lines modifiedOffset 33176, 2380 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/Filter.js33182 ····OpenLayers/Handler.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 /**
 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; 3095697/3107481 bytes (99.62%) of diff not shown.
1.35 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.35 MB
js-beautify {}
    
Offset 13318, 36 lines modifiedOffset 13318, 721 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.Filter·=·OpenLayers.Class({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,
13326 ····initialize:·function(options)·{13333 ····initialize:·function(control,·callbacks,·options)·{
13327 ········OpenLayers.Util.extend(this,·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·+·"_")
13328 ····},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 ····},
13329 ····destroy:·function()·{},13380 ····startTouch:·function()·{
13330 ····evaluate:·function(context)·{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;
13331 ········return·true13406 ········return·true
13332 ····},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;
 13419 OpenLayers.Strategy·=·OpenLayers.Class({
 13420 ····layer:·null,
 13421 ····options:·null,
 13422 ····active:·null,
 13423 ····autoActivate:·true,
 13424 ····autoDestroy:·true,
 13425 ····initialize:·function(options)·{
 13426 ········OpenLayers.Util.extend(this,·options);
 13427 ········this.options·=·options;
 13428 ········this.active·=·false
 13429 ····},
 13430 ····destroy:·function()·{
 13431 ········this.deactivate();
 13432 ········this.layer·=·null;
 13433 ········this.options·=·null
 13434 ····},
 13435 ····setLayer:·function(layer)·{
 13436 ········this.layer·=·layer
 13437 ····},
 13438 ····activate:·function()·{
 13439 ········if·(!this.active)·{
 13440 ············this.active·=·true;
 13441 ············return·true
 13442 ········}
 13443 ········return·false
 13444 ····},
Max diff block lines reached; 1409849/1415189 bytes (99.62%) of diff not shown.