13.0 MB
/srv/reproducible-results/rbuild-debian/r-b-build.WFi1oveG/b1/openlayers_2.13.1+ds2-11_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.WFi1oveG/b2/openlayers_2.13.1+ds2-11_armhf.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·89c9f630ac374cee7a597165edaad466·730180·javascript·optional·libjs-openlayers_2.13.1+ds2-11_all.deb1 ·900775a3f4c9cba8e59249a737338a58·717832·javascript·optional·libjs-openlayers_2.13.1+ds2-11_all.deb
13.0 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·····3684·2025-03-06·18:35:30.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3680·2025-03-06·18:35:30.000000·control.tar.xz
3 -rw-r--r--···0········0········0···726304·2025-03-06·18:35:30.000000·data.tar.xz3 -rw-r--r--···0········0········0···713960·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.0 MB
data.tar.xz
13.0 MB
data.tar
4.03 MB
./usr/share/javascript/openlayers/OpenLayers.js
4.03 MB
js-beautify {}
    
Offset 52, 37 lines modifiedOffset 52, 14 lines modified
52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS52 ·*·SUBSTITUTE·GOODS·OR·SERVICES;·LOSS·OF·USE,·DATA,·OR·PROFITS;·OR·BUSINESS
53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN53 ·*·INTERRUPTION)·HOWEVER·CAUSED·AND·ON·ANY·THEORY·OF·LIABILITY,·WHETHER·IN
54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)54 ·*·CONTRACT,·STRICT·LIABILITY,·OR·TORT·(INCLUDING·NEGLIGENCE·OR·OTHERWISE)
55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·55 ·*·ARISING·IN·ANY·WAY·OUT·OF·THE·USE·OF·THIS·SOFTWARE,·EVEN·IF·ADVISED·OF·THE·
56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.56 ·*·POSSIBILITY·OF·SUCH·DAMAGE.
57 ·*/57 ·*/
58 /*·======================================================================58 /*·======================================================================
59 ····Rico/license.js 
60 ···======================================================================·*/ 
  
61 /** 
62 ·*·@license·Apache·2· 
63 ·*·· 
64 ·*·Contains·portions·of·Rico·<http://openrico.org/> 
65 ·*· 
66 ·*·Copyright·2005·Sabre·Airline·Solutions·· 
67 ·* 
68 ·*·Licensed·under·the·Apache·License,·Version·2.0·(the·"License");·you 
69 ·*·may·not·use·this·file·except·in·compliance·with·the·License.·You 
70 ·*·may·obtain·a·copy·of·the·License·at 
71 ·* 
72 ·*·····http://www.apache.org/licenses/LICENSE-2.0·· 
73 ·* 
74 ·*·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software 
75 ·*·distributed·under·the·License·is·distributed·on·an·"AS·IS"·BASIS, 
76 ·*·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY·KIND,·either·express·or 
77 ·*·implied.·See·the·License·for·the·specific·language·governing 
78 ·*·permissions·and·limitations·under·the·License.· 
79 ·*/ 
80 /*·====================================================================== 
81 ····OpenLayers/SingleFile.js59 ····OpenLayers/SingleFile.js
82 ···======================================================================·*/60 ···======================================================================·*/
  
83 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for61 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
84 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.62 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
85 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the63 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
86 ·*·full·text·of·the·license.·*/64 ·*·full·text·of·the·license.·*/
Offset 159, 395 lines modifiedOffset 136, 14 lines modified
159 ·····*·(code)136 ·····*·(code)
160 ·····*···<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">
161 ·····*·(end·code)138 ·····*·(end·code)
162 ·····*/139 ·····*/
163 ····ImgPath:·''140 ····ImgPath:·''
164 };141 };
165 /*·======================================================================142 /*·======================================================================
166 ····OpenLayers/BaseTypes/Class.js 
167 ···======================================================================·*/ 
  
168 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
169 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
170 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
171 ·*·full·text·of·the·license.·*/ 
  
172 /** 
173 ·*·@requires·OpenLayers/SingleFile.js 
174 ·*/ 
  
175 /** 
176 ·*·Constructor:·OpenLayers.Class 
177 ·*·Base·class·used·to·construct·all·other·classes.·Includes·support·for· 
178 ·*·····multiple·inheritance.· 
179 ·*····· 
180 ·*·This·constructor·is·new·in·OpenLayers·2.5.··At·OpenLayers·3.0,·the·old· 
181 ·*·····syntax·for·creating·classes·and·dealing·with·inheritance· 
182 ·*·····will·be·removed. 
183 ·*· 
184 ·*·To·create·a·new·OpenLayers-style·class,·use·the·following·syntax: 
185 ·*·(code) 
186 ·*·····var·MyClass·=·OpenLayers.Class(prototype); 
187 ·*·(end) 
188 ·* 
189 ·*·To·create·a·new·OpenLayers-style·class·with·multiple·inheritance,·use·the 
190 ·*·····following·syntax: 
191 ·*·(code) 
192 ·*·····var·MyClass·=·OpenLayers.Class(Class1,·Class2,·prototype); 
193 ·*·(end) 
194 ·*· 
195 ·*·Note·that·instanceof·reflection·will·only·reveal·Class1·as·superclass. 
196 ·* 
197 ·*/ 
198 OpenLayers.Class·=·function()·{ 
199 ····var·len·=·arguments.length; 
200 ····var·P·=·arguments[0]; 
201 ····var·F·=·arguments[len·-·1]; 
  
202 ····var·C·=·typeof·F.initialize·==·"function"·? 
203 ········F.initialize·: 
204 ········function()·{ 
205 ············P.prototype.initialize.apply(this,·arguments); 
206 ········}; 
  
207 ····if·(len·>·1)·{ 
208 ········var·newArgs·=·[C,·P].concat( 
209 ············Array.prototype.slice.call(arguments).slice(1,·len·-·1),·F); 
210 ········OpenLayers.inherit.apply(null,·newArgs); 
211 ····}·else·{ 
212 ········C.prototype·=·F; 
213 ····} 
214 ····return·C; 
215 }; 
  
216 /** 
217 ·*·Function:·OpenLayers.inherit 
218 ·* 
219 ·*·Parameters: 
220 ·*·C·-·{Object}·the·class·that·inherits 
221 ·*·P·-·{Object}·the·superclass·to·inherit·from 
222 ·* 
223 ·*·In·addition·to·the·mandatory·C·and·P·parameters,·an·arbitrary·number·of 
224 ·*·objects·can·be·passed,·which·will·extend·C. 
225 ·*/ 
226 OpenLayers.inherit·=·function(C,·P)·{ 
227 ····var·F·=·function()·{}; 
228 ····F.prototype·=·P.prototype; 
229 ····C.prototype·=·new·F; 
230 ····var·i,·l,·o; 
231 ····for·(i·=·2,·l·=·arguments.length;·i·<·l;·i++)·{ 
232 ········o·=·arguments[i]; 
233 ········if·(typeof·o·===·"function")·{ 
234 ············o·=·o.prototype; 
235 ········} 
236 ········OpenLayers.Util.extend(C.prototype,·o); 
237 ····} 
238 }; 
  
239 /** 
240 ·*·APIFunction:·extend 
Max diff block lines reached; 4210723/4225089 bytes (99.66%) of diff not shown.
941 KB
./usr/share/javascript/openlayers/OpenLayers.light.js
941 KB
js-beautify {}
    
Offset 5622, 14 lines modifiedOffset 5622, 254 lines modified
5622 ·*·{Array}·prefixes·of·the·sld·symbolizers.·These·are·the5622 ·*·{Array}·prefixes·of·the·sld·symbolizers.·These·are·the
5623 ·*·same·as·the·main·geometry·types5623 ·*·same·as·the·main·geometry·types
5624 ·*/5624 ·*/
5625 OpenLayers.Style.SYMBOLIZER_PREFIXES·=·['Point',·'Line',·'Polygon',·'Text',5625 OpenLayers.Style.SYMBOLIZER_PREFIXES·=·['Point',·'Line',·'Polygon',·'Text',
5626 ····'Raster'5626 ····'Raster'
5627 ];5627 ];
5628 /*·======================================================================5628 /*·======================================================================
 5629 ····OpenLayers/Rule.js
 5630 ···======================================================================·*/
  
 5631 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 5632 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 5633 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 5634 ·*·full·text·of·the·license.·*/
  
  
 5635 /**
 5636 ·*·@requires·OpenLayers/BaseTypes/Class.js
 5637 ·*·@requires·OpenLayers/Util.js
 5638 ·*·@requires·OpenLayers/Style.js
 5639 ·*/
  
 5640 /**
 5641 ·*·Class:·OpenLayers.Rule
 5642 ·*·This·class·represents·an·SLD·Rule,·as·being·used·for·rule-based·SLD·styling.
 5643 ·*/
 5644 OpenLayers.Rule·=·OpenLayers.Class({
  
 5645 ····/**
 5646 ·····*·Property:·id
 5647 ·····*·{String}·A·unique·id·for·this·session.
 5648 ·····*/
 5649 ····id:·null,
  
 5650 ····/**
 5651 ·····*·APIProperty:·name
 5652 ·····*·{String}·name·of·this·rule
 5653 ·····*/
 5654 ····name:·null,
  
 5655 ····/**
 5656 ·····*·Property:·title
 5657 ·····*·{String}·Title·of·this·rule·(set·if·included·in·SLD)
 5658 ·····*/
 5659 ····title:·null,
  
 5660 ····/**
 5661 ·····*·Property:·description
 5662 ·····*·{String}·Description·of·this·rule·(set·if·abstract·is·included·in·SLD)
 5663 ·····*/
 5664 ····description:·null,
  
 5665 ····/**
 5666 ·····*·Property:·context
 5667 ·····*·{Object}·An·optional·object·with·properties·that·the·rule·should·be
 5668 ·····*·evaluated·against.·If·no·context·is·specified,·feature.attributes·will
 5669 ·····*·be·used.
 5670 ·····*/
 5671 ····context:·null,
  
 5672 ····/**
 5673 ·····*·Property:·filter
 5674 ·····*·{<OpenLayers.Filter>}·Optional·filter·for·the·rule.
 5675 ·····*/
 5676 ····filter:·null,
  
 5677 ····/**
 5678 ·····*·Property:·elseFilter
 5679 ·····*·{Boolean}·Determines·whether·this·rule·is·only·to·be·applied·only·if
 5680 ·····*·no·other·rules·match·(ElseFilter·according·to·the·SLD·specification).·
 5681 ·····*·Default·is·false.··For·instances·of·OpenLayers.Rule,·if·elseFilter·is
 5682 ·····*·false,·the·rule·will·always·apply.··For·subclasses,·the·else·property·is·
 5683 ·····*·ignored.
 5684 ·····*/
 5685 ····elseFilter:·false,
  
 5686 ····/**
 5687 ·····*·Property:·symbolizer
 5688 ·····*·{Object}·Symbolizer·or·hash·of·symbolizers·for·this·rule.·If·hash·of
 5689 ·····*·symbolizers,·keys·are·one·or·more·of·["Point",·"Line",·"Polygon"].·The
 5690 ·····*·latter·if·useful·if·it·is·required·to·style·e.g.·vertices·of·a·line
 5691 ·····*·with·a·point·symbolizer.·Note,·however,·that·this·is·not·implemented
 5692 ·····*·yet·in·OpenLayers,·but·it·is·the·way·how·symbolizers·are·defined·in
 5693 ·····*·SLD.
 5694 ·····*/
 5695 ····symbolizer:·null,
  
 5696 ····/**
 5697 ·····*·Property:·symbolizers
 5698 ·····*·{Array}·Collection·of·symbolizers·associated·with·this·rule.··If·
 5699 ·····*·····provided·at·construction,·the·symbolizers·array·has·precedence
 5700 ·····*·····over·the·deprecated·symbolizer·property.··Note·that·multiple·
 5701 ·····*·····symbolizers·are·not·currently·supported·by·the·vector·renderers.
 5702 ·····*·····Rules·with·multiple·symbolizers·are·currently·only·useful·for
 5703 ·····*·····maintaining·elements·in·an·SLD·document.
 5704 ·····*/
 5705 ····symbolizers:·null,
  
 5706 ····/**
 5707 ·····*·APIProperty:·minScaleDenominator
 5708 ·····*·{Number}·or·{String}·minimum·scale·at·which·to·draw·the·feature.
 5709 ·····*·In·the·case·of·a·String,·this·can·be·a·combination·of·text·and
 5710 ·····*·propertyNames·in·the·form·"literal·${propertyName}"
 5711 ·····*/
 5712 ····minScaleDenominator:·null,
  
 5713 ····/**
 5714 ·····*·APIProperty:·maxScaleDenominator
 5715 ·····*·{Number}·or·{String}·maximum·scale·at·which·to·draw·the·feature.
 5716 ·····*·In·the·case·of·a·String,·this·can·be·a·combination·of·text·and
 5717 ·····*·propertyNames·in·the·form·"literal·${propertyName}"
 5718 ·····*/
 5719 ····maxScaleDenominator:·null,
  
 5720 ····/**·
 5721 ·····*·Constructor:·OpenLayers.Rule
 5722 ·····*·Creates·a·Rule.
 5723 ·····*
 5724 ·····*·Parameters:
 5725 ·····*·options·-·{Object}·An·optional·object·with·properties·to·set·on·the
 5726 ·····*···········rule
 5727 ·····*·
 5728 ·····*·Returns:
 5729 ·····*·{<OpenLayers.Rule>}
 5730 ·····*/
 5731 ····initialize:·function(options)·{
 5732 ········this.symbolizer·=·{};
Max diff block lines reached; 955913/963957 bytes (99.17%) of diff not shown.
396 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
396 KB
js-beautify {}
    
Offset 2053, 14 lines modifiedOffset 2053, 99 lines modified
2053 ····if·(typeof·value·==·"string"·&&·value.indexOf("${")·!=·-1)·{2053 ····if·(typeof·value·==·"string"·&&·value.indexOf("${")·!=·-1)·{
2054 ········value·=·OpenLayers.String.format(value,·context,·[feature,·property]);2054 ········value·=·OpenLayers.String.format(value,·context,·[feature,·property]);
2055 ········value·=·isNaN(value)·||·!value·?·value·:·parseFloat(value)2055 ········value·=·isNaN(value)·||·!value·?·value·:·parseFloat(value)
2056 ····}2056 ····}
2057 ····return·value2057 ····return·value
2058 };2058 };
2059 OpenLayers.Style.SYMBOLIZER_PREFIXES·=·["Point",·"Line",·"Polygon",·"Text",·"Raster"];2059 OpenLayers.Style.SYMBOLIZER_PREFIXES·=·["Point",·"Line",·"Polygon",·"Text",·"Raster"];
 2060 OpenLayers.Rule·=·OpenLayers.Class({
 2061 ····id:·null,
 2062 ····name:·null,
 2063 ····title:·null,
 2064 ····description:·null,
 2065 ····context:·null,
 2066 ····filter:·null,
 2067 ····elseFilter:·false,
 2068 ····symbolizer:·null,
 2069 ····symbolizers:·null,
 2070 ····minScaleDenominator:·null,
 2071 ····maxScaleDenominator:·null,
 2072 ····initialize:·function(options)·{
 2073 ········this.symbolizer·=·{};
 2074 ········OpenLayers.Util.extend(this,·options);
 2075 ········if·(this.symbolizers)·{
 2076 ············delete·this.symbolizer
 2077 ········}
 2078 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_")
 2079 ····},
 2080 ····destroy:·function()·{
 2081 ········for·(var·i·in·this.symbolizer)·{
 2082 ············this.symbolizer[i]·=·null
 2083 ········}
 2084 ········this.symbolizer·=·null;
 2085 ········delete·this.symbolizers
 2086 ····},
 2087 ····evaluate:·function(feature)·{
 2088 ········var·context·=·this.getContext(feature);
 2089 ········var·applies·=·true;
 2090 ········if·(this.minScaleDenominator·||·this.maxScaleDenominator)·{
 2091 ············var·scale·=·feature.layer.map.getScale()
 2092 ········}
 2093 ········if·(this.minScaleDenominator)·{
 2094 ············applies·=·scale·>=·OpenLayers.Style.createLiteral(this.minScaleDenominator,·context)
 2095 ········}
 2096 ········if·(applies·&&·this.maxScaleDenominator)·{
 2097 ············applies·=·scale·<·OpenLayers.Style.createLiteral(this.maxScaleDenominator,·context)
 2098 ········}
 2099 ········if·(applies·&&·this.filter)·{
 2100 ············if·(this.filter.CLASS_NAME·==·"OpenLayers.Filter.FeatureId")·{
 2101 ················applies·=·this.filter.evaluate(feature)
 2102 ············}·else·{
 2103 ················applies·=·this.filter.evaluate(context)
 2104 ············}
 2105 ········}
 2106 ········return·applies
 2107 ····},
 2108 ····getContext:·function(feature)·{
 2109 ········var·context·=·this.context;
 2110 ········if·(!context)·{
 2111 ············context·=·feature.attributes·||·feature.data
 2112 ········}
 2113 ········if·(typeof·this.context·==·"function")·{
 2114 ············context·=·this.context(feature)
 2115 ········}
 2116 ········return·context
 2117 ····},
 2118 ····clone:·function()·{
 2119 ········var·options·=·OpenLayers.Util.extend({},·this);
 2120 ········if·(this.symbolizers)·{
 2121 ············var·len·=·this.symbolizers.length;
 2122 ············options.symbolizers·=·new·Array(len);
 2123 ············for·(var·i·=·0;·i·<·len;·++i)·{
 2124 ················options.symbolizers[i]·=·this.symbolizers[i].clone()
 2125 ············}
 2126 ········}·else·{
 2127 ············options.symbolizer·=·{};
 2128 ············var·value,·type;
 2129 ············for·(var·key·in·this.symbolizer)·{
 2130 ················value·=·this.symbolizer[key];
 2131 ················type·=·typeof·value;
 2132 ················if·(type·===·"object")·{
 2133 ····················options.symbolizer[key]·=·OpenLayers.Util.extend({},·value)
 2134 ················}·else·if·(type·===·"string")·{
 2135 ····················options.symbolizer[key]·=·value
 2136 ················}
 2137 ············}
 2138 ········}
 2139 ········options.filter·=·this.filter·&&·this.filter.clone();
 2140 ········options.context·=·this.context·&&·OpenLayers.Util.extend({},·this.context);
 2141 ········return·new·OpenLayers.Rule(options)
 2142 ····},
 2143 ····CLASS_NAME:·"OpenLayers.Rule"
 2144 });
2060 OpenLayers.StyleMap·=·OpenLayers.Class({2145 OpenLayers.StyleMap·=·OpenLayers.Class({
2061 ····styles:·null,2146 ····styles:·null,
2062 ····extendDefault:·true,2147 ····extendDefault:·true,
2063 ····initialize:·function(style,·options)·{2148 ····initialize:·function(style,·options)·{
2064 ········this.styles·=·{2149 ········this.styles·=·{
2065 ············default:·new·OpenLayers.Style(OpenLayers.Feature.Vector.style["default"]),2150 ············default:·new·OpenLayers.Style(OpenLayers.Feature.Vector.style["default"]),
2066 ············select:·new·OpenLayers.Style(OpenLayers.Feature.Vector.style["select"]),2151 ············select:·new·OpenLayers.Style(OpenLayers.Feature.Vector.style["select"]),
Offset 4114, 99 lines modifiedOffset 4199, 14 lines modified
4114 ············}4199 ············}
4115 ········}4200 ········}
4116 ····},4201 ····},
4117 ····CLASS_NAME:·"OpenLayers.Map"4202 ····CLASS_NAME:·"OpenLayers.Map"
4118 });4203 });
4119 OpenLayers.Map.TILE_WIDTH·=·256;4204 OpenLayers.Map.TILE_WIDTH·=·256;
4120 OpenLayers.Map.TILE_HEIGHT·=·256;4205 OpenLayers.Map.TILE_HEIGHT·=·256;
4121 OpenLayers.Rule·=·OpenLayers.Class({ 
4122 ····id:·null, 
4123 ····name:·null, 
4124 ····title:·null, 
4125 ····description:·null, 
4126 ····context:·null, 
4127 ····filter:·null, 
4128 ····elseFilter:·false, 
4129 ····symbolizer:·null, 
4130 ····symbolizers:·null, 
4131 ····minScaleDenominator:·null, 
4132 ····maxScaleDenominator:·null, 
4133 ····initialize:·function(options)·{ 
4134 ········this.symbolizer·=·{}; 
4135 ········OpenLayers.Util.extend(this,·options); 
4136 ········if·(this.symbolizers)·{ 
4137 ············delete·this.symbolizer 
4138 ········} 
4139 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_") 
4140 ····}, 
Max diff block lines reached; 398455/405349 bytes (98.30%) of diff not shown.
1.37 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.37 MB
js-beautify {}
    
Offset 17, 92 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.Console·=·{ 
70 ····log:·function()·{}, 
71 ····debug:·function()·{}, 
72 ····info:·function()·{}, 
73 ····warn:·function()·{}, 
74 ····error:·function()·{}, 
75 ····userError:·function(error)·{ 
76 ········alert(error) 
77 ····}, 
78 ····assert:·function()·{}, 
79 ····dir:·function()·{}, 
80 ····dirxml:·function()·{}, 
81 ····trace:·function()·{}, 
82 ····group:·function()·{}, 
83 ····groupEnd:·function()·{}, 
84 ····time:·function()·{}, 
85 ····timeEnd:·function()·{}, 
86 ····profile:·function()·{}, 
87 ····profileEnd:·function()·{}, 
88 ····count:·function()·{}, 
89 ····CLASS_NAME:·"OpenLayers.Console" 
90 }; 
91 (function()·{ 
92 ····var·scripts·=·document.getElementsByTagName("script"); 
93 ····for·(var·i·=·0,·len·=·scripts.length;·i·<·len;·++i)·{ 
94 ········if·(scripts[i].src.indexOf("firebug.js")·!=·-1)·{ 
95 ············if·(console)·{ 
96 ················OpenLayers.Util.extend(OpenLayers.Console,·console); 
97 ················break 
98 ············} 
99 ········} 
100 ····} 
101 })(); 
102 OpenLayers.String·=·{24 OpenLayers.String·=·{
103 ····startsWith:·function(str,·sub)·{25 ····startsWith:·function(str,·sub)·{
104 ········return·str.indexOf(sub)·==·026 ········return·str.indexOf(sub)·==·0
105 ····},27 ····},
106 ····contains:·function(str,·sub)·{28 ····contains:·function(str,·sub)·{
107 ········return·str.indexOf(sub)·!=·-129 ········return·str.indexOf(sub)·!=·-1
108 ····},30 ····},
Offset 245, 14 lines modifiedOffset 167, 59 lines modified
245 ····················}167 ····················}
246 ················}168 ················}
247 ············}169 ············}
248 ········}170 ········}
249 ········return·selected171 ········return·selected
250 ····}172 ····}
251 };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 ····}
Max diff block lines reached; 1433256/1437653 bytes (99.69%) of diff not shown.
1.39 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.39 MB
js-beautify {}
    
Offset 13915, 282 lines modifiedOffset 13915, 14 lines modified
13915 ········this.tileCache·=·null;13915 ········this.tileCache·=·null;
13916 ········this.tileCacheIndex·=·null;13916 ········this.tileCacheIndex·=·null;
13917 ········this._destroyed·=·true;13917 ········this._destroyed·=·true;
13918 ····}13918 ····}
  
13919 });13919 });
13920 /*·======================================================================13920 /*·======================================================================
13921 ····OpenLayers/Strategy.js 
13922 ···======================================================================·*/ 
  
13923 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
13924 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
13925 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
13926 ·*·full·text·of·the·license.·*/ 
  
13927 /** 
13928 ·*·@requires·OpenLayers/BaseTypes/Class.js 
13929 ·*/ 
  
13930 /** 
13931 ·*·Class:·OpenLayers.Strategy 
13932 ·*·Abstract·vector·layer·strategy·class.··Not·to·be·instantiated·directly.··Use 
13933 ·*·····one·of·the·strategy·subclasses·instead. 
13934 ·*/ 
13935 OpenLayers.Strategy·=·OpenLayers.Class({ 
  
13936 ····/** 
13937 ·····*·Property:·layer 
13938 ·····*·{<OpenLayers.Layer.Vector>}·The·layer·this·strategy·belongs·to. 
13939 ·····*/ 
13940 ····layer:·null, 
  
13941 ····/** 
13942 ·····*·Property:·options 
13943 ·····*·{Object}·Any·options·sent·to·the·constructor. 
13944 ·····*/ 
13945 ····options:·null, 
  
13946 ····/**· 
13947 ·····*·Property:·active· 
13948 ·····*·{Boolean}·The·control·is·active. 
13949 ·····*/ 
13950 ····active:·null, 
  
13951 ····/** 
13952 ·····*·Property:·autoActivate 
13953 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoActivate·to·false 
13954 ·····*······to·fully·control·when·the·protocol·is·activated·and·deactivated. 
13955 ·····*······Defaults·to·true. 
13956 ·····*/ 
13957 ····autoActivate:·true, 
  
13958 ····/** 
13959 ·····*·Property:·autoDestroy 
13960 ·····*·{Boolean}·The·creator·of·the·strategy·can·set·autoDestroy·to·false 
13961 ·····*······to·fully·control·when·the·strategy·is·destroyed.·Defaults·to 
13962 ·····*······true. 
13963 ·····*/ 
13964 ····autoDestroy:·true, 
  
13965 ····/** 
13966 ·····*·Constructor:·OpenLayers.Strategy 
13967 ·····*·Abstract·class·for·vector·strategies.··Create·instances·of·a·subclass. 
13968 ·····* 
13969 ·····*·Parameters: 
13970 ·····*·options·-·{Object}·Optional·object·whose·properties·will·be·set·on·the 
13971 ·····*·····instance. 
13972 ·····*/ 
13973 ····initialize:·function(options)·{ 
13974 ········OpenLayers.Util.extend(this,·options); 
13975 ········this.options·=·options; 
13976 ········//·set·the·active·property·here,·so·that·user·cannot·override·it 
13977 ········this.active·=·false; 
13978 ····}, 
  
13979 ····/** 
13980 ·····*·APIMethod:·destroy 
13981 ·····*·Clean·up·the·strategy. 
13982 ·····*/ 
13983 ····destroy:·function()·{ 
13984 ········this.deactivate(); 
13985 ········this.layer·=·null; 
13986 ········this.options·=·null; 
13987 ····}, 
  
13988 ····/** 
13989 ·····*·Method:·setLayer 
13990 ·····*·Called·to·set·the·<layer>·property. 
13991 ·····* 
13992 ·····*·Parameters: 
13993 ·····*·layer·-·{<OpenLayers.Layer.Vector>} 
13994 ·····*/ 
13995 ····setLayer:·function(layer)·{ 
13996 ········this.layer·=·layer; 
13997 ····}, 
  
13998 ····/** 
13999 ·····*·Method:·activate 
14000 ·····*·Activate·the·strategy.··Register·any·listeners,·do·appropriate·setup. 
14001 ·····* 
14002 ·····*·Returns: 
14003 ·····*·{Boolean}·True·if·the·strategy·was·successfully·activated·or·false·if 
14004 ·····*······the·strategy·was·already·active. 
14005 ·····*/ 
14006 ····activate:·function()·{ 
14007 ········if·(!this.active)·{ 
14008 ············this.active·=·true; 
14009 ············return·true; 
14010 ········} 
14011 ········return·false; 
14012 ····}, 
  
14013 ····/** 
14014 ·····*·Method:·deactivate 
14015 ·····*·Deactivate·the·strategy.··Unregister·any·listeners,·do·appropriate 
14016 ·····*·····tear-down. 
14017 ·····* 
14018 ·····*·Returns: 
14019 ·····*·{Boolean}·True·if·the·strategy·was·successfully·deactivated·or·false·if 
14020 ·····*······the·strategy·was·already·inactive. 
14021 ·····*/ 
14022 ····deactivate:·function()·{ 
14023 ········if·(this.active)·{ 
14024 ············this.active·=·false; 
14025 ············return·true; 
14026 ········} 
14027 ········return·false; 
Max diff block lines reached; 1451156/1459381 bytes (99.44%) of diff not shown.
537 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
537 KB
js-beautify {}
    
Offset 5452, 119 lines modifiedOffset 5452, 14 lines modified
5452 ········this.tileQueue·=·null;5452 ········this.tileQueue·=·null;
5453 ········this.tileQueueId·=·null;5453 ········this.tileQueueId·=·null;
5454 ········this.tileCache·=·null;5454 ········this.tileCache·=·null;
5455 ········this.tileCacheIndex·=·null;5455 ········this.tileCacheIndex·=·null;
5456 ········this._destroyed·=·true5456 ········this._destroyed·=·true
5457 ····}5457 ····}
5458 });5458 });
5459 OpenLayers.Strategy·=·OpenLayers.Class({ 
5460 ····layer:·null, 
5461 ····options:·null, 
5462 ····active:·null, 
5463 ····autoActivate:·true, 
5464 ····autoDestroy:·true, 
5465 ····initialize:·function(options)·{ 
5466 ········OpenLayers.Util.extend(this,·options); 
5467 ········this.options·=·options; 
5468 ········this.active·=·false 
5469 ····}, 
5470 ····destroy:·function()·{ 
5471 ········this.deactivate(); 
5472 ········this.layer·=·null; 
5473 ········this.options·=·null 
5474 ····}, 
5475 ····setLayer:·function(layer)·{ 
5476 ········this.layer·=·layer 
5477 ····}, 
5478 ····activate:·function()·{ 
5479 ········if·(!this.active)·{ 
5480 ············this.active·=·true; 
5481 ············return·true 
5482 ········} 
5483 ········return·false 
5484 ····}, 
5485 ····deactivate:·function()·{ 
5486 ········if·(this.active)·{ 
5487 ············this.active·=·false; 
5488 ············return·true 
5489 ········} 
5490 ········return·false 
5491 ····}, 
5492 ····CLASS_NAME:·"OpenLayers.Strategy" 
5493 }); 
5494 OpenLayers.Strategy.Fixed·=·OpenLayers.Class(OpenLayers.Strategy,·{ 
5495 ····preload:·false, 
5496 ····activate:·function()·{ 
5497 ········var·activated·=·OpenLayers.Strategy.prototype.activate.apply(this,·arguments); 
5498 ········if·(activated)·{ 
5499 ············this.layer.events.on({ 
5500 ················refresh:·this.load, 
5501 ················scope:·this 
5502 ············}); 
5503 ············if·(this.layer.visibility·==·true·||·this.preload)·{ 
5504 ················this.load() 
5505 ············}·else·{ 
5506 ················this.layer.events.on({ 
5507 ····················visibilitychanged:·this.load, 
5508 ····················scope:·this 
5509 ················}) 
5510 ············} 
5511 ········} 
5512 ········return·activated 
5513 ····}, 
5514 ····deactivate:·function()·{ 
5515 ········var·deactivated·=·OpenLayers.Strategy.prototype.deactivate.call(this); 
5516 ········if·(deactivated)·{ 
5517 ············this.layer.events.un({ 
5518 ················refresh:·this.load, 
5519 ················visibilitychanged:·this.load, 
5520 ················scope:·this 
5521 ············}) 
5522 ········} 
5523 ········return·deactivated 
5524 ····}, 
5525 ····load:·function(options)·{ 
5526 ········var·layer·=·this.layer; 
5527 ········layer.events.triggerEvent("loadstart",·{ 
5528 ············filter:·layer.filter 
5529 ········}); 
5530 ········layer.protocol.read(OpenLayers.Util.applyDefaults({ 
5531 ············callback:·this.merge, 
5532 ············filter:·layer.filter, 
5533 ············scope:·this 
5534 ········},·options)); 
5535 ········layer.events.un({ 
5536 ············visibilitychanged:·this.load, 
5537 ············scope:·this 
5538 ········}) 
5539 ····}, 
5540 ····merge:·function(resp)·{ 
5541 ········var·layer·=·this.layer; 
5542 ········layer.destroyFeatures(); 
5543 ········var·features·=·resp.features; 
5544 ········if·(features·&&·features.length·>·0)·{ 
5545 ············var·remote·=·layer.projection; 
5546 ············var·local·=·layer.map.getProjectionObject(); 
5547 ············if·(!local.equals(remote))·{ 
5548 ················var·geom; 
5549 ················for·(var·i·=·0,·len·=·features.length;·i·<·len;·++i)·{ 
5550 ····················geom·=·features[i].geometry; 
5551 ····················if·(geom)·{ 
5552 ························geom.transform(remote,·local) 
5553 ····················} 
5554 ················} 
5555 ············} 
5556 ············layer.addFeatures(features) 
5557 ········} 
5558 ········layer.events.triggerEvent("loadend",·{ 
5559 ············response:·resp 
5560 ········}) 
5561 ····}, 
5562 ····CLASS_NAME:·"OpenLayers.Strategy.Fixed" 
5563 }); 
5564 OpenLayers.Control·=·OpenLayers.Class({5459 OpenLayers.Control·=·OpenLayers.Class({
5565 ····id:·null,5460 ····id:·null,
5566 ····map:·null,5461 ····map:·null,
5567 ····div:·null,5462 ····div:·null,
5568 ····type:·null,5463 ····type:·null,
5569 ····allowSelection:·false,5464 ····allowSelection:·false,
5570 ····displayClass:·"",5465 ····displayClass:·"",
Offset 5673, 215 lines modifiedOffset 5568, 14 lines modified
5673 ········return·false5568 ········return·false
5674 ····},5569 ····},
5675 ····CLASS_NAME:·"OpenLayers.Control"5570 ····CLASS_NAME:·"OpenLayers.Control"
5676 });5571 });
5677 OpenLayers.Control.TYPE_BUTTON·=·1;5572 OpenLayers.Control.TYPE_BUTTON·=·1;
5678 OpenLayers.Control.TYPE_TOGGLE·=·2;5573 OpenLayers.Control.TYPE_TOGGLE·=·2;
5679 OpenLayers.Control.TYPE_TOOL·=·3;5574 OpenLayers.Control.TYPE_TOOL·=·3;
Max diff block lines reached; 538075/549680 bytes (97.89%) of diff not shown.
3.05 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
3.05 MB
js-beautify {}
    
Offset 33301, 343 lines modifiedOffset 33301, 14 lines modified
33301 ········}33301 ········}
33302 ········return·false;33302 ········return·false;
33303 ····},33303 ····},
  
33304 ····CLASS_NAME:·"OpenLayers.Strategy"33304 ····CLASS_NAME:·"OpenLayers.Strategy"
33305 });33305 });
33306 /*·======================================================================33306 /*·======================================================================
33307 ····OpenLayers/Handler.js 
33308 ···======================================================================·*/ 
  
33309 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for 
33310 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license. 
33311 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the 
33312 ·*·full·text·of·the·license.·*/ 
  
33313 /** 
33314 ·*·@requires·OpenLayers/BaseTypes/Class.js 
33315 ·*·@requires·OpenLayers/Events.js 
33316 ·*/ 
  
33317 /** 
33318 ·*·Class:·OpenLayers.Handler 
33319 ·*·Base·class·to·construct·a·higher-level·handler·for·event·sequences.··All 
33320 ·*·····handlers·have·activate·and·deactivate·methods.··In·addition,·they·have 
33321 ·*·····methods·named·like·browser·events.··When·a·handler·is·activated,·any 
33322 ·*·····additional·methods·named·like·a·browser·event·is·registered·as·a 
33323 ·*·····listener·for·the·corresponding·event.··When·a·handler·is·deactivated, 
33324 ·*·····those·same·methods·are·unregistered·as·event·listeners. 
33325 ·* 
33326 ·*·Handlers·also·typically·have·a·callbacks·object·with·keys·named·like 
33327 ·*·····the·abstracted·events·or·event·sequences·that·they·are·in·charge·of 
33328 ·*·····handling.··The·controls·that·wrap·handlers·define·the·methods·that 
33329 ·*·····correspond·to·these·abstract·events·-·so·instead·of·listening·for 
33330 ·*·····individual·browser·events,·they·only·listen·for·the·abstract·events 
33331 ·*·····defined·by·the·handler. 
33332 ·*····· 
33333 ·*·Handlers·are·created·by·controls,·which·ultimately·have·the·responsibility 
33334 ·*·····of·making·changes·to·the·the·state·of·the·application.··Handlers 
33335 ·*·····themselves·may·make·temporary·changes,·but·in·general·are·expected·to 
33336 ·*·····return·the·application·in·the·same·state·that·they·found·it. 
33337 ·*/ 
33338 OpenLayers.Handler·=·OpenLayers.Class({ 
  
33339 ····/** 
33340 ·····*·Property:·id 
33341 ·····*·{String} 
33342 ·····*/ 
33343 ····id:·null, 
  
33344 ····/** 
33345 ·····*·APIProperty:·control 
33346 ·····*·{<OpenLayers.Control>}.·The·control·that·initialized·this·handler.··The 
33347 ·····*·····control·is·assumed·to·have·a·valid·map·property·-·that·map·is·used 
33348 ·····*·····in·the·handler's·own·setMap·method. 
33349 ·····*/ 
33350 ····control:·null, 
  
33351 ····/** 
33352 ·····*·Property:·map 
33353 ·····*·{<OpenLayers.Map>} 
33354 ·····*/ 
33355 ····map:·null, 
  
33356 ····/** 
33357 ·····*·APIProperty:·keyMask 
33358 ·····*·{Integer}·Use·bitwise·operators·and·one·or·more·of·the·OpenLayers.Handler 
33359 ·····*·····constants·to·construct·a·keyMask.··The·keyMask·is·used·by 
33360 ·····*·····<checkModifiers>.··If·the·keyMask·matches·the·combination·of·keys 
33361 ·····*·····down·on·an·event,·checkModifiers·returns·true. 
33362 ·····* 
33363 ·····*·Example: 
33364 ·····*·(code) 
33365 ·····*·····//·handler·only·responds·if·the·Shift·key·is·down 
33366 ·····*·····handler.keyMask·=·OpenLayers.Handler.MOD_SHIFT; 
33367 ·····* 
33368 ·····*·····//·handler·only·responds·if·Ctrl-Shift·is·down 
33369 ·····*·····handler.keyMask·=·OpenLayers.Handler.MOD_SHIFT·| 
33370 ·····*·······················OpenLayers.Handler.MOD_CTRL; 
33371 ·····*·(end) 
33372 ·····*/ 
33373 ····keyMask:·null, 
  
33374 ····/** 
33375 ·····*·Property:·active 
33376 ·····*·{Boolean} 
33377 ·····*/ 
33378 ····active:·false, 
  
33379 ····/** 
33380 ·····*·Property:·evt 
33381 ·····*·{Event}·This·property·references·the·last·event·handled·by·the·handler. 
33382 ·····*·····Note·that·this·property·is·not·part·of·the·stable·API.··Use·of·the 
33383 ·····*·····evt·property·should·be·restricted·to·controls·in·the·library 
33384 ·····*·····or·other·applications·that·are·willing·to·update·with·changes·to 
33385 ·····*·····the·OpenLayers·code. 
33386 ·····*/ 
33387 ····evt:·null, 
  
33388 ····/** 
33389 ·····*·Property:·touch 
33390 ·····*·{Boolean}·Indicates·the·support·of·touch·events.·When·touch·events·are· 
33391 ·····*·····started·touch·will·be·true·and·all·mouse·related·listeners·will·do· 
33392 ·····*·····nothing. 
33393 ·····*/ 
33394 ····touch:·false, 
  
33395 ····/** 
33396 ·····*·Constructor:·OpenLayers.Handler 
33397 ·····*·Construct·a·handler. 
33398 ·····* 
33399 ·····*·Parameters: 
33400 ·····*·control·-·{<OpenLayers.Control>}·The·control·that·initialized·this 
33401 ·····*·····handler.··The·control·is·assumed·to·have·a·valid·map·property;·that 
33402 ·····*·····map·is·used·in·the·handler's·own·setMap·method.··If·a·map·property 
33403 ·····*·····is·present·in·the·options·argument·it·will·be·used·instead. 
33404 ·····*·callbacks·-·{Object}·An·object·whose·properties·correspond·to·abstracted 
33405 ·····*·····events·or·sequences·of·browser·events.··The·values·for·these 
33406 ·····*·····properties·are·functions·defined·by·the·control·that·get·called·by 
33407 ·····*·····the·handler. 
33408 ·····*·options·-·{Object}·An·optional·object·whose·properties·will·be·set·on 
33409 ·····*·····the·handler. 
33410 ·····*/ 
33411 ····initialize:·function(control,·callbacks,·options)·{ 
33412 ········OpenLayers.Util.extend(this,·options); 
33413 ········this.control·=·control; 
33414 ········this.callbacks·=·callbacks; 
  
Max diff block lines reached; 3182489/3193856 bytes (99.64%) of diff not shown.
1.34 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.34 MB
js-beautify {}
    
Offset 13353, 143 lines modifiedOffset 13353, 112 lines modified
13353 ············this.active·=·false;13353 ············this.active·=·false;
13354 ············return·true13354 ············return·true
13355 ········}13355 ········}
13356 ········return·false13356 ········return·false
13357 ····},13357 ····},
13358 ····CLASS_NAME:·"OpenLayers.Strategy"13358 ····CLASS_NAME:·"OpenLayers.Strategy"
13359 });13359 });
13360 OpenLayers.Handler·=·OpenLayers.Class({ 
13361 ····id:·null, 
13362 ····control:·null, 
13363 ····map:·null, 
13364 ····keyMask:·null, 
13365 ····active:·false, 
13366 ····evt:·null, 
13367 ····touch:·false, 
13368 ····initialize:·function(control,·callbacks,·options)·{ 
13369 ········OpenLayers.Util.extend(this,·options); 
13370 ········this.control·=·control; 
13371 ········this.callbacks·=·callbacks; 
13372 ········var·map·=·this.map·||·control.map; 
13373 ········if·(map)·{ 
13374 ············this.setMap(map) 
13375 ········} 
13376 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_") 
13377 ····}, 
13378 ····setMap:·function(map)·{ 
13379 ········this.map·=·map 
13380 ····}, 
13381 ····checkModifiers:·function(evt)·{ 
13382 ········if·(this.keyMask·==·null)·{ 
13383 ············return·true 
13384 ········} 
13385 ········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); 
13386 ········return·keyModifiers·==·this.keyMask 
13387 ····}, 
13388 ····activate:·function()·{ 
13389 ········if·(this.active)·{ 
13390 ············return·false 
13391 ········} 
13392 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS; 
13393 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{ 
13394 ············if·(this[events[i]])·{ 
13395 ················this.register(events[i],·this[events[i]]) 
13396 ············} 
13397 ········} 
13398 ········this.active·=·true; 
13399 ········return·true 
13400 ····}, 
13401 ····deactivate:·function()·{ 
13402 ········if·(!this.active)·{ 
13403 ············return·false 
13404 ········} 
13405 ········var·events·=·OpenLayers.Events.prototype.BROWSER_EVENTS; 
13406 ········for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{ 
13407 ············if·(this[events[i]])·{ 
13408 ················this.unregister(events[i],·this[events[i]]) 
13409 ············} 
13410 ········} 
13411 ········this.touch·=·false; 
13412 ········this.active·=·false; 
13413 ········return·true 
13414 ····}, 
13415 ····startTouch:·function()·{ 
13416 ········if·(!this.touch)·{ 
13417 ············this.touch·=·true; 
13418 ············var·events·=·["mousedown",·"mouseup",·"mousemove",·"click",·"dblclick",·"mouseout"]; 
13419 ············for·(var·i·=·0,·len·=·events.length;·i·<·len;·i++)·{ 
13420 ················if·(this[events[i]])·{ 
13421 ····················this.unregister(events[i],·this[events[i]]) 
13422 ················} 
13423 ············} 
13424 ········} 
13425 ····}, 
13426 ····callback:·function(name,·args)·{ 
13427 ········if·(name·&&·this.callbacks[name])·{ 
13428 ············this.callbacks[name].apply(this.control,·args) 
13429 ········} 
13430 ····}, 
13431 ····register:·function(name,·method)·{ 
13432 ········this.map.events.registerPriority(name,·this,·method); 
13433 ········this.map.events.registerPriority(name,·this,·this.setEvent) 
13434 ····}, 
13435 ····unregister:·function(name,·method)·{ 
13436 ········this.map.events.unregister(name,·this,·method); 
13437 ········this.map.events.unregister(name,·this,·this.setEvent) 
13438 ····}, 
13439 ····setEvent:·function(evt)·{ 
13440 ········this.evt·=·evt; 
13441 ········return·true 
13442 ····}, 
13443 ····destroy:·function()·{ 
13444 ········this.deactivate(); 
13445 ········this.control·=·this.map·=·null 
13446 ····}, 
13447 ····CLASS_NAME:·"OpenLayers.Handler" 
13448 }); 
13449 OpenLayers.Handler.MOD_NONE·=·0; 
13450 OpenLayers.Handler.MOD_SHIFT·=·1; 
13451 OpenLayers.Handler.MOD_CTRL·=·2; 
13452 OpenLayers.Handler.MOD_ALT·=·4; 
13453 OpenLayers.Handler.MOD_META·=·8; 
13454 OpenLayers.Spherical·=·OpenLayers.Spherical·||·{};13360 OpenLayers.Spherical·=·OpenLayers.Spherical·||·{};
13455 OpenLayers.Spherical.DEFAULT_RADIUS·=·6378137;13361 OpenLayers.Spherical.DEFAULT_RADIUS·=·6378137;
13456 OpenLayers.Spherical.computeDistanceBetween·=·function(from,·to,·radius)·{13362 OpenLayers.Spherical.computeDistanceBetween·=·function(from,·to,·radius)·{
13457 ····var·R·=·radius·||·OpenLayers.Spherical.DEFAULT_RADIUS;13363 ····var·R·=·radius·||·OpenLayers.Spherical.DEFAULT_RADIUS;
13458 ····var·sinHalfDeltaLon·=·Math.sin(Math.PI·*·(to.lon·-·from.lon)·/·360);13364 ····var·sinHalfDeltaLon·=·Math.sin(Math.PI·*·(to.lon·-·from.lon)·/·360);
13459 ····var·sinHalfDeltaLat·=·Math.sin(Math.PI·*·(to.lat·-·from.lat)·/·360);13365 ····var·sinHalfDeltaLat·=·Math.sin(Math.PI·*·(to.lat·-·from.lat)·/·360);
13460 ····var·a·=·sinHalfDeltaLat·*·sinHalfDeltaLat·+·sinHalfDeltaLon·*·sinHalfDeltaLon·*·Math.cos(Math.PI·*·from.lat·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180);13366 ····var·a·=·sinHalfDeltaLat·*·sinHalfDeltaLat·+·sinHalfDeltaLon·*·sinHalfDeltaLon·*·Math.cos(Math.PI·*·from.lat·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180);
13461 ····return·2·*·R·*·Math.atan2(Math.sqrt(a),·Math.sqrt(1·-·a))13367 ····return·2·*·R·*·Math.atan2(Math.sqrt(a),·Math.sqrt(1·-·a))
13462 };13368 };
13463 OpenLayers.Spherical.computeHeading·=·function(from,·to)·{13369 OpenLayers.Spherical.computeHeading·=·function(from,·to)·{
13464 ····var·y·=·Math.sin(Math.PI·*·(from.lon·-·to.lon)·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180);13370 ····var·y·=·Math.sin(Math.PI·*·(from.lon·-·to.lon)·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180);
13465 ····var·x·=·Math.cos(Math.PI·*·from.lat·/·180)·*·Math.sin(Math.PI·*·to.lat·/·180)·-·Math.sin(Math.PI·*·from.lat·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180)·*·Math.cos(Math.PI·*·(from.lon·-·to.lon)·/·180);13371 ····var·x·=·Math.cos(Math.PI·*·from.lat·/·180)·*·Math.sin(Math.PI·*·to.lat·/·180)·-·Math.sin(Math.PI·*·from.lat·/·180)·*·Math.cos(Math.PI·*·to.lat·/·180)·*·Math.cos(Math.PI·*·(from.lon·-·to.lon)·/·180);
13466 ····return·180·*·Math.atan2(y,·x)·/·Math.PI13372 ····return·180·*·Math.atan2(y,·x)·/·Math.PI
13467 };13373 };
13468 OpenLayers.Filter·=·OpenLayers.Class({13374 OpenLayers.Rule·=·OpenLayers.Class({
 13375 ····id:·null,
 13376 ····name:·null,
 13377 ····title:·null,
 13378 ····description:·null,
 13379 ····context:·null,
 13380 ····filter:·null,
 13381 ····elseFilter:·false,
 13382 ····symbolizer:·null,
 13383 ····symbolizers:·null,
 13384 ····minScaleDenominator:·null,
 13385 ····maxScaleDenominator:·null,
Max diff block lines reached; 1400240/1404929 bytes (99.67%) of diff not shown.