15.3 MB
/srv/reproducible-results/rbuild-debian/r-b-build.4V0RyxUq/b1/openlayers_2.13.1+ds2-10_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.4V0RyxUq/b2/openlayers_2.13.1+ds2-10_i386.changes
230 B
Files
    
Offset 1, 2 lines modifiedOffset 1, 2 lines modified
  
1 ·472d3db46c8f4039832ed8547f1e9ab6·713116·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb1 ·ec828de33c4b7e274ee7b00372fbe76a·718712·javascript·optional·libjs-openlayers_2.13.1+ds2-10_all.deb
15.3 MB
libjs-openlayers_2.13.1+ds2-10_all.deb
452 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·····3676·2023-01-14·13:27:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0···709244·2023-01-14·13:27:41.000000·data.tar.xz3 -rw-r--r--···0········0········0···714844·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
15.3 MB
data.tar.xz
15.3 MB
data.tar
4.68 MB
./usr/share/javascript/openlayers/OpenLayers.js
4.68 MB
js-beautify {}
    
Offset 52, 14 lines modifiedOffset 52, 37 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 /*·======================================================================
59 ····OpenLayers/SingleFile.js81 ····OpenLayers/SingleFile.js
60 ···======================================================================·*/82 ···======================================================================·*/
  
61 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for83 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
62 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.84 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
63 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the85 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
64 ·*·full·text·of·the·license.·*/86 ·*·full·text·of·the·license.·*/
Offset 263, 14 lines modifiedOffset 286, 268 lines modified
263 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{286 ············source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
264 ············destination.toString·=·source.toString;287 ············destination.toString·=·source.toString;
265 ········}288 ········}
266 ····}289 ····}
267 ····return·destination;290 ····return·destination;
268 };291 };
269 /*·======================================================================292 /*·======================================================================
 293 ····OpenLayers/Console.js
 294 ···======================================================================·*/
  
 295 /*·Copyright·(c)·2006-2013·by·OpenLayers·Contributors·(see·authors.txt·for
 296 ·*·full·list·of·contributors).·Published·under·the·2-clause·BSD·license.
 297 ·*·See·license.txt·in·the·OpenLayers·distribution·or·repository·for·the
 298 ·*·full·text·of·the·license.·*/
  
 299 /**
 300 ·*·@requires·OpenLayers/BaseTypes/Class.js
 301 ·*/
  
 302 /**
 303 ·*·Namespace:·OpenLayers.Console
 304 ·*·The·OpenLayers.Console·namespace·is·used·for·debugging·and·error·logging.
 305 ·*·If·the·Firebug·Lite·(../Firebug/firebug.js)·is·included·before·this·script,
 306 ·*·calls·to·OpenLayers.Console·methods·will·get·redirected·to·window.console.
 307 ·*·This·makes·use·of·the·Firebug·extension·where·available·and·allows·for
 308 ·*·cross-browser·debugging·Firebug·style.
 309 ·*
 310 ·*·Note:
 311 ·*·Note·that·behavior·will·differ·with·the·Firebug·extention·and·Firebug·Lite.
 312 ·*·Most·notably,·the·Firebug·Lite·console·does·not·currently·allow·for
 313 ·*·hyperlinks·to·code·or·for·clicking·on·object·to·explore·their·properties.
 314 ·*·
 315 ·*/
 316 OpenLayers.Console·=·{
 317 ····/**
 318 ·····*·Create·empty·functions·for·all·console·methods.··The·real·value·of·these
 319 ·····*·properties·will·be·set·if·Firebug·Lite·(../Firebug/firebug.js·script)·is
 320 ·····*·included.··We·explicitly·require·the·Firebug·Lite·script·to·trigger
 321 ·····*·functionality·of·the·OpenLayers.Console·methods.
 322 ·····*/
  
 323 ····/**
 324 ·····*·APIFunction:·log
 325 ·····*·Log·an·object·in·the·console.··The·Firebug·Lite·console·logs·string
 326 ·····*·representation·of·objects.··Given·multiple·arguments,·they·will
 327 ·····*·be·cast·to·strings·and·logged·with·a·space·delimiter.··If·the·first
 328 ·····*·argument·is·a·string·with·printf-like·formatting,·subsequent·arguments
 329 ·····*·will·be·used·in·string·substitution.··Any·additional·arguments·(beyond
 330 ·····*·the·number·substituted·in·a·format·string)·will·be·appended·in·a·space-
 331 ·····*·delimited·line.
 332 ·····*·
 333 ·····*·Parameters:
 334 ·····*·object·-·{Object}
 335 ·····*/
 336 ····log:·function()·{},
  
 337 ····/**
 338 ·····*·APIFunction:·debug
 339 ·····*·Writes·a·message·to·the·console,·including·a·hyperlink·to·the·line
 340 ·····*·where·it·was·called.
 341 ·····*
 342 ·····*·May·be·called·with·multiple·arguments·as·with·OpenLayers.Console.log().
 343 ·····*·
 344 ·····*·Parameters:
 345 ·····*·object·-·{Object}
 346 ·····*/
 347 ····debug:·function()·{},
  
 348 ····/**
 349 ·····*·APIFunction:·info
 350 ·····*·Writes·a·message·to·the·console·with·the·visual·"info"·icon·and·color
 351 ·····*·coding·and·a·hyperlink·to·the·line·where·it·was·called.
 352 ·····*
 353 ·····*·May·be·called·with·multiple·arguments·as·with·OpenLayers.Console.log().
 354 ·····*·
 355 ·····*·Parameters:
 356 ·····*·object·-·{Object}
 357 ·····*/
 358 ····info:·function()·{},
  
 359 ····/**
 360 ·····*·APIFunction:·warn
 361 ·····*·Writes·a·message·to·the·console·with·the·visual·"warning"·icon·and
 362 ·····*·color·coding·and·a·hyperlink·to·the·line·where·it·was·called.
 363 ·····*
 364 ·····*·May·be·called·with·multiple·arguments·as·with·OpenLayers.Console.log().
 365 ·····*·
 366 ·····*·Parameters:
 367 ·····*·object·-·{Object}
Max diff block lines reached; 4895549/4905862 bytes (99.79%) of diff not shown.
1.39 MB
./usr/share/javascript/openlayers/OpenLayers.light.js
1.39 MB
js-beautify {}
    
Offset 4426, 1778 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/Projection.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 ·*·Namespace:·OpenLayers.Projection 
4444 ·*·Methods·for·coordinate·transforms·between·coordinate·systems.··By·default, 
4445 ·*·····OpenLayers·ships·with·the·ability·to·transform·coordinates·between 
4446 ·*·····geographic·(EPSG:4326)·and·web·or·spherical·mercator·(EPSG:900913·et·al.) 
4447 ·*·····coordinate·reference·systems.··See·the·<transform>·method·for·details 
4448 ·*·····on·usage. 
4449 ·* 
4450 ·*·Additional·transforms·may·be·added·by·using·the·<proj4js·at·http://proj4js.org/> 
4451 ·*·····library.··If·the·proj4js·library·is·included,·the·<transform>·method· 
4452 ·*·····will·work·between·any·two·coordinate·reference·systems·with·proj4js· 
4453 ·*·····definitions. 
4454 ·* 
4455 ·*·If·the·proj4js·library·is·not·included,·or·if·you·wish·to·allow·transforms 
4456 ·*·····between·arbitrary·coordinate·reference·systems,·use·the·<addTransform> 
4457 ·*·····method·to·register·a·custom·transform·method. 
4458 ·*/ 
4459 OpenLayers.Projection·=·OpenLayers.Class({ 
  
4460 ····/** 
4461 ·····*·Property:·proj 
4462 ·····*·{Object}·Proj4js.Proj·instance. 
4463 ·····*/ 
4464 ····proj:·null, 
  
4465 ····/** 
4466 ·····*·Property:·projCode 
4467 ·····*·{String} 
4468 ·····*/ 
4469 ····projCode:·null, 
  
4470 ····/** 
4471 ·····*·Property:·titleRegEx 
4472 ·····*·{RegExp}·regular·expression·to·strip·the·title·from·a·proj4js·definition 
4473 ·····*/ 
4474 ····titleRegEx:·/\+title=[^\+]*/, 
  
4475 ····/** 
4476 ·····*·Constructor:·OpenLayers.Projection 
4477 ·····*·This·class·offers·several·methods·for·interacting·with·a·wrapped· 
4478 ·····*·····pro4js·projection·object.· 
4479 ·····* 
4480 ·····*·Parameters: 
4481 ·····*·projCode·-·{String}·A·string·identifying·the·Well·Known·Identifier·for 
4482 ·····*····the·projection. 
4483 ·····*·options·-·{Object}·An·optional·object·to·set·additional·properties 
4484 ·····*·····on·the·projection. 
4485 ·····* 
4486 ·····*·Returns: 
4487 ·····*·{<OpenLayers.Projection>}·A·projection·object. 
4488 ·····*/ 
4489 ····initialize:·function(projCode,·options)·{ 
4490 ········OpenLayers.Util.extend(this,·options); 
4491 ········this.projCode·=·projCode; 
4492 ········if·(typeof·Proj4js·==·"object")·{ 
4493 ············this.proj·=·new·Proj4js.Proj(projCode); 
4494 ········} 
4495 ····}, 
  
4496 ····/** 
4497 ·····*·APIMethod:·getCode 
4498 ·····*·Get·the·string·SRS·code. 
4499 ·····* 
4500 ·····*·Returns: 
4501 ·····*·{String}·The·SRS·code. 
4502 ·····*/ 
4503 ····getCode:·function()·{ 
4504 ········return·this.proj·?·this.proj.srsCode·:·this.projCode; 
4505 ····}, 
  
4506 ····/** 
4507 ·····*·APIMethod:·getUnits 
4508 ·····*·Get·the·units·string·for·the·projection·--·returns·null·if· 
4509 ·····*·····proj4js·is·not·available. 
4510 ·····* 
4511 ·····*·Returns: 
4512 ·····*·{String}·The·units·abbreviation. 
4513 ·····*/ 
4514 ····getUnits:·function()·{ 
4515 ········return·this.proj·?·this.proj.units·:·null; 
4516 ····}, 
  
4517 ····/** 
4518 ·····*·Method:·toString 
4519 ·····*·Convert·projection·to·string·(getCode·wrapper). 
4520 ·····* 
4521 ·····*·Returns: 
4522 ·····*·{String}·The·projection·code. 
4523 ·····*/ 
4524 ····toString:·function()·{ 
4525 ········return·this.getCode(); 
4526 ····}, 
  
4527 ····/** 
4528 ·····*·Method:·equals 
4529 ·····*·Test·equality·of·two·projection·instances.··Determines·equality·based 
4530 ·····*·····soley·on·the·projection·code. 
4531 ·····* 
4532 ·····*·Returns: 
4533 ·····*·{Boolean}·The·two·projections·are·equivalent. 
4534 ·····*/ 
4535 ····equals:·function(projection)·{ 
4536 ········var·p·=·projection, 
4537 ············equals·=·false; 
4538 ········if·(p)·{ 
4539 ············if·(!(p·instanceof·OpenLayers.Projection))·{ 
4540 ················p·=·new·OpenLayers.Projection(p); 
Max diff block lines reached; 1398872/1459824 bytes (95.82%) of diff not shown.
387 KB
./usr/share/javascript/openlayers/OpenLayers.light.min.js
387 KB
js-beautify {}
    
Offset 1605, 683 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.Projection·=·OpenLayers.Class({ 
1613 ····proj:·null, 
1614 ····projCode:·null, 
1615 ····titleRegEx:·/\+title=[^\+]*/, 
1616 ····initialize:·function(projCode,·options)·{ 
1617 ········OpenLayers.Util.extend(this,·options); 
1618 ········this.projCode·=·projCode; 
1619 ········if·(typeof·Proj4js·==·"object")·{ 
1620 ············this.proj·=·new·Proj4js.Proj(projCode) 
1621 ········} 
1622 ····}, 
1623 ····getCode:·function()·{ 
1624 ········return·this.proj·?·this.proj.srsCode·:·this.projCode 
1625 ····}, 
1626 ····getUnits:·function()·{ 
1627 ········return·this.proj·?·this.proj.units·:·null 
1628 ····}, 
1629 ····toString:·function()·{ 
1630 ········return·this.getCode() 
1631 ····}, 
1632 ····equals:·function(projection)·{ 
1633 ········var·p·=·projection, 
1634 ············equals·=·false; 
1635 ········if·(p)·{ 
1636 ············if·(!(p·instanceof·OpenLayers.Projection))·{ 
1637 ················p·=·new·OpenLayers.Projection(p) 
1638 ············} 
1639 ············if·(typeof·Proj4js·==·"object"·&&·this.proj.defData·&&·p.proj.defData)·{ 
1640 ················equals·=·this.proj.defData.replace(this.titleRegEx,·"")·==·p.proj.defData.replace(this.titleRegEx,·"") 
1641 ············}·else·if·(p.getCode)·{ 
1642 ················var·source·=·this.getCode(), 
1643 ····················target·=·p.getCode(); 
1644 ················equals·=·source·==·target·||·!!OpenLayers.Projection.transforms[source]·&&·OpenLayers.Projection.transforms[source][target]·===·OpenLayers.Projection.nullTransform 
1645 ············} 
1646 ········} 
1647 ········return·equals 
1648 ····}, 
1649 ····destroy:·function()·{ 
1650 ········delete·this.proj; 
1651 ········delete·this.projCode 
1652 ····}, 
1653 ····CLASS_NAME:·"OpenLayers.Projection" 
1654 }); 
1655 OpenLayers.Projection.transforms·=·{}; 
1656 OpenLayers.Projection.defaults·=·{ 
1657 ····"EPSG:4326":·{ 
1658 ········units:·"degrees", 
1659 ········maxExtent:·[-180,·-90,·180,·90], 
1660 ········yx:·true 
1661 ····}, 
1662 ····"CRS:84":·{ 
1663 ········units:·"degrees", 
1664 ········maxExtent:·[-180,·-90,·180,·90] 
1665 ····}, 
1666 ····"EPSG:900913":·{ 
1667 ········units:·"m", 
1668 ········maxExtent:·[-20037508.34,·-20037508.34,·20037508.34,·20037508.34] 
1669 ····} 
1670 }; 
1671 OpenLayers.Projection.addTransform·=·function(from,·to,·method)·{ 
1672 ····if·(method·===·OpenLayers.Projection.nullTransform)·{ 
1673 ········var·defaults·=·OpenLayers.Projection.defaults[from]; 
1674 ········if·(defaults·&&·!OpenLayers.Projection.defaults[to])·{ 
1675 ············OpenLayers.Projection.defaults[to]·=·defaults 
1676 ········} 
1677 ····} 
1678 ····if·(!OpenLayers.Projection.transforms[from])·{ 
1679 ········OpenLayers.Projection.transforms[from]·=·{} 
1680 ····} 
1681 ····OpenLayers.Projection.transforms[from][to]·=·method 
1682 }; 
1683 OpenLayers.Projection.transform·=·function(point,·source,·dest)·{ 
1684 ····if·(source·&&·dest)·{ 
1685 ········if·(!(source·instanceof·OpenLayers.Projection))·{ 
1686 ············source·=·new·OpenLayers.Projection(source) 
1687 ········} 
1688 ········if·(!(dest·instanceof·OpenLayers.Projection))·{ 
1689 ············dest·=·new·OpenLayers.Projection(dest) 
1690 ········} 
1691 ········if·(source.proj·&&·dest.proj)·{ 
1692 ············point·=·Proj4js.transform(source.proj,·dest.proj,·point) 
1693 ········}·else·{ 
1694 ············var·sourceCode·=·source.getCode(); 
1695 ············var·destCode·=·dest.getCode(); 
1696 ············var·transforms·=·OpenLayers.Projection.transforms; 
1697 ············if·(transforms[sourceCode]·&&·transforms[sourceCode][destCode])·{ 
1698 ················transforms[sourceCode][destCode](point) 
1699 ············} 
1700 ········} 
1701 ····} 
1702 ····return·point 
1703 }; 
1704 OpenLayers.Projection.nullTransform·=·function(point)·{ 
1705 ····return·point 
1706 }; 
1707 (function()·{ 
1708 ····var·pole·=·20037508.34; 
  
1709 ····function·inverseMercator(xy)·{ 
1710 ········xy.x·=·180·*·xy.x·/·pole; 
1711 ········xy.y·=·180·/·Math.PI·*·(2·*·Math.atan(Math.exp(xy.y·/·pole·*·Math.PI))·-·Math.PI·/·2); 
1712 ········return·xy 
1713 ····} 
  
1714 ····function·forwardMercator(xy)·{ 
1715 ········xy.x·=·xy.x·*·pole·/·180; 
1716 ········var·y·=·Math.log(Math.tan((90·+·xy.y)·*·Math.PI·/·360))·/·Math.PI·*·pole; 
1717 ········xy.y·=·Math.max(-20037508.34,·Math.min(y,·20037508.34)); 
1718 ········return·xy 
1719 ····} 
  
1720 ····function·map(base,·codes)·{ 
1721 ········var·add·=·OpenLayers.Projection.addTransform; 
1722 ········var·same·=·OpenLayers.Projection.nullTransform; 
1723 ········var·i,·len,·code,·other,·j; 
1724 ········for·(i·=·0,·len·=·codes.length;·i·<·len;·++i)·{ 
1725 ············code·=·codes[i]; 
1726 ············add(base,·code,·forwardMercator); 
1727 ············add(code,·base,·inverseMercator); 
1728 ············for·(j·=·i·+·1;·j·<·len;·++j)·{ 
Max diff block lines reached; 371587/396041 bytes (93.83%) of diff not shown.
1.87 MB
./usr/share/javascript/openlayers/OpenLayers.min.js
1.87 MB
js-beautify {}
    
Offset 62, 14 lines modifiedOffset 62, 47 lines modified
62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;62 ········var·sourceIsEvt·=·typeof·window.Event·==·"function"·&&·source·instanceof·window.Event;
63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{63 ········if·(!sourceIsEvt·&&·source.hasOwnProperty·&&·source.hasOwnProperty("toString"))·{
64 ············destination.toString·=·source.toString64 ············destination.toString·=·source.toString
65 ········}65 ········}
66 ····}66 ····}
67 ····return·destination67 ····return·destination
68 };68 };
 69 OpenLayers.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 })();
69 OpenLayers.String·=·{102 OpenLayers.String·=·{
70 ····startsWith:·function(str,·sub)·{103 ····startsWith:·function(str,·sub)·{
71 ········return·str.indexOf(sub)·==·0104 ········return·str.indexOf(sub)·==·0
72 ····},105 ····},
73 ····contains:·function(str,·sub)·{106 ····contains:·function(str,·sub)·{
74 ········return·str.indexOf(sub)·!=·-1107 ········return·str.indexOf(sub)·!=·-1
75 ····},108 ····},
Offset 528, 79 lines modifiedOffset 561, 14 lines modified
528 };561 };
529 OpenLayers.Bounds.oppositeQuadrant·=·function(quadrant)·{562 OpenLayers.Bounds.oppositeQuadrant·=·function(quadrant)·{
530 ····var·opp·=·"";563 ····var·opp·=·"";
531 ····opp·+=·quadrant.charAt(0)·==·"t"·?·"b"·:·"t";564 ····opp·+=·quadrant.charAt(0)·==·"t"·?·"b"·:·"t";
532 ····opp·+=·quadrant.charAt(1)·==·"l"·?·"r"·:·"l";565 ····opp·+=·quadrant.charAt(1)·==·"l"·?·"r"·:·"l";
533 ····return·opp566 ····return·opp
534 };567 };
535 OpenLayers.Element·=·{ 
536 ····visible:·function(element)·{ 
537 ········return·OpenLayers.Util.getElement(element).style.display·!=·"none" 
538 ····}, 
539 ····toggle:·function()·{ 
540 ········for·(var·i·=·0,·len·=·arguments.length;·i·<·len;·i++)·{ 
541 ············var·element·=·OpenLayers.Util.getElement(arguments[i]); 
542 ············var·display·=·OpenLayers.Element.visible(element)·?·"none"·:·""; 
543 ············element.style.display·=·display 
544 ········} 
545 ····}, 
546 ····remove:·function(element)·{ 
547 ········element·=·OpenLayers.Util.getElement(element); 
548 ········element.parentNode.removeChild(element) 
549 ····}, 
550 ····getHeight:·function(element)·{ 
551 ········element·=·OpenLayers.Util.getElement(element); 
552 ········return·element.offsetHeight 
553 ····}, 
554 ····hasClass:·function(element,·name)·{ 
555 ········var·names·=·element.className; 
556 ········return·!!names·&&·new·RegExp("(^|\\s)"·+·name·+·"(\\s|$)").test(names) 
557 ····}, 
558 ····addClass:·function(element,·name)·{ 
559 ········if·(!OpenLayers.Element.hasClass(element,·name))·{ 
560 ············element.className·+=·(element.className·?·"·"·:·"")·+·name 
561 ········} 
562 ········return·element 
563 ····}, 
564 ····removeClass:·function(element,·name)·{ 
565 ········var·names·=·element.className; 
566 ········if·(names)·{ 
567 ············element.className·=·OpenLayers.String.trim(names.replace(new·RegExp("(^|\\s+)"·+·name·+·"(\\s+|$)"),·"·")) 
568 ········} 
569 ········return·element 
570 ····}, 
571 ····toggleClass:·function(element,·name)·{ 
572 ········if·(OpenLayers.Element.hasClass(element,·name))·{ 
573 ············OpenLayers.Element.removeClass(element,·name) 
574 ········}·else·{ 
575 ············OpenLayers.Element.addClass(element,·name) 
576 ········} 
577 ········return·element 
578 ····}, 
579 ····getStyle:·function(element,·style)·{ 
580 ········element·=·OpenLayers.Util.getElement(element); 
581 ········var·value·=·null; 
582 ········if·(element·&&·element.style)·{ 
583 ············value·=·element.style[OpenLayers.String.camelize(style)]; 
584 ············if·(!value)·{ 
585 ················if·(document.defaultView·&&·document.defaultView.getComputedStyle)·{ 
586 ····················var·css·=·document.defaultView.getComputedStyle(element,·null); 
587 ····················value·=·css·?·css.getPropertyValue(style)·:·null 
588 ················}·else·if·(element.currentStyle)·{ 
589 ····················value·=·element.currentStyle[OpenLayers.String.camelize(style)] 
590 ················} 
591 ············} 
592 ············var·positions·=·["left",·"top",·"right",·"bottom"]; 
593 ············if·(window.opera·&&·OpenLayers.Util.indexOf(positions,·style)·!=·-1·&&·OpenLayers.Element.getStyle(element,·"position")·==·"static")·{ 
594 ················value·=·"auto" 
595 ············} 
596 ········} 
597 ········return·value·==·"auto"·?·null·:·value 
598 ····} 
599 }; 
600 OpenLayers.LonLat·=·OpenLayers.Class({568 OpenLayers.LonLat·=·OpenLayers.Class({
601 ····lon:·0,569 ····lon:·0,
602 ····lat:·0,570 ····lat:·0,
603 ····initialize:·function(lon,·lat)·{571 ····initialize:·function(lon,·lat)·{
604 ········if·(OpenLayers.Util.isArray(lon))·{572 ········if·(OpenLayers.Util.isArray(lon))·{
605 ············lat·=·lon[1];573 ············lat·=·lon[1];
606 ············lon·=·lon[0]574 ············lon·=·lon[0]
Max diff block lines reached; 1955804/1960337 bytes (99.77%) of diff not shown.
1.66 MB
./usr/share/javascript/openlayers/OpenLayers.mobile.js
1.66 MB
js-beautify {}
    
Offset 4426, 342 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/Projection.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 ·*·Namespace:·OpenLayers.Projection 
4444 ·*·Methods·for·coordinate·transforms·between·coordinate·systems.··By·default, 
4445 ·*·····OpenLayers·ships·with·the·ability·to·transform·coordinates·between 
4446 ·*·····geographic·(EPSG:4326)·and·web·or·spherical·mercator·(EPSG:900913·et·al.) 
4447 ·*·····coordinate·reference·systems.··See·the·<transform>·method·for·details 
4448 ·*·····on·usage. 
4449 ·* 
4450 ·*·Additional·transforms·may·be·added·by·using·the·<proj4js·at·http://proj4js.org/> 
4451 ·*·····library.··If·the·proj4js·library·is·included,·the·<transform>·method· 
4452 ·*·····will·work·between·any·two·coordinate·reference·systems·with·proj4js· 
4453 ·*·····definitions. 
4454 ·* 
4455 ·*·If·the·proj4js·library·is·not·included,·or·if·you·wish·to·allow·transforms 
4456 ·*·····between·arbitrary·coordinate·reference·systems,·use·the·<addTransform> 
4457 ·*·····method·to·register·a·custom·transform·method. 
4458 ·*/ 
4459 OpenLayers.Projection·=·OpenLayers.Class({ 
  
4460 ····/** 
4461 ·····*·Property:·proj 
4462 ·····*·{Object}·Proj4js.Proj·instance. 
4463 ·····*/ 
4464 ····proj:·null, 
  
4465 ····/** 
4466 ·····*·Property:·projCode 
4467 ·····*·{String} 
4468 ·····*/ 
4469 ····projCode:·null, 
  
4470 ····/** 
4471 ·····*·Property:·titleRegEx 
4472 ·····*·{RegExp}·regular·expression·to·strip·the·title·from·a·proj4js·definition 
4473 ·····*/ 
4474 ····titleRegEx:·/\+title=[^\+]*/, 
  
4475 ····/** 
4476 ·····*·Constructor:·OpenLayers.Projection 
4477 ·····*·This·class·offers·several·methods·for·interacting·with·a·wrapped· 
4478 ·····*·····pro4js·projection·object.· 
4479 ·····* 
4480 ·····*·Parameters: 
4481 ·····*·projCode·-·{String}·A·string·identifying·the·Well·Known·Identifier·for 
4482 ·····*····the·projection. 
4483 ·····*·options·-·{Object}·An·optional·object·to·set·additional·properties 
4484 ·····*·····on·the·projection. 
4485 ·····* 
4486 ·····*·Returns: 
4487 ·····*·{<OpenLayers.Projection>}·A·projection·object. 
4488 ·····*/ 
4489 ····initialize:·function(projCode,·options)·{ 
4490 ········OpenLayers.Util.extend(this,·options); 
4491 ········this.projCode·=·projCode; 
4492 ········if·(typeof·Proj4js·==·"object")·{ 
4493 ············this.proj·=·new·Proj4js.Proj(projCode); 
4494 ········} 
4495 ····}, 
  
4496 ····/** 
4497 ·····*·APIMethod:·getCode 
4498 ·····*·Get·the·string·SRS·code. 
4499 ·····* 
4500 ·····*·Returns: 
4501 ·····*·{String}·The·SRS·code. 
4502 ·····*/ 
4503 ····getCode:·function()·{ 
4504 ········return·this.proj·?·this.proj.srsCode·:·this.projCode; 
4505 ····}, 
  
4506 ····/** 
4507 ·····*·APIMethod:·getUnits 
4508 ·····*·Get·the·units·string·for·the·projection·--·returns·null·if· 
4509 ·····*·····proj4js·is·not·available. 
4510 ·····* 
4511 ·····*·Returns: 
4512 ·····*·{String}·The·units·abbreviation. 
4513 ·····*/ 
4514 ····getUnits:·function()·{ 
4515 ········return·this.proj·?·this.proj.units·:·null; 
4516 ····}, 
  
4517 ····/** 
4518 ·····*·Method:·toString 
4519 ·····*·Convert·projection·to·string·(getCode·wrapper). 
4520 ·····* 
4521 ·····*·Returns: 
4522 ·····*·{String}·The·projection·code. 
4523 ·····*/ 
4524 ····toString:·function()·{ 
4525 ········return·this.getCode(); 
4526 ····}, 
  
4527 ····/** 
4528 ·····*·Method:·equals 
4529 ·····*·Test·equality·of·two·projection·instances.··Determines·equality·based 
4530 ·····*·····soley·on·the·projection·code. 
4531 ·····* 
4532 ·····*·Returns: 
4533 ·····*·{Boolean}·The·two·projections·are·equivalent. 
4534 ·····*/ 
4535 ····equals:·function(projection)·{ 
4536 ········var·p·=·projection, 
4537 ············equals·=·false; 
4538 ········if·(p)·{ 
4539 ············if·(!(p·instanceof·OpenLayers.Projection))·{ 
4540 ················p·=·new·OpenLayers.Projection(p); 
Max diff block lines reached; 1724203/1736053 bytes (99.32%) of diff not shown.
547 KB
./usr/share/javascript/openlayers/OpenLayers.mobile.min.js
547 KB
js-beautify {}
    
Offset 1605, 150 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.Projection·=·OpenLayers.Class({ 
1613 ····proj:·null, 
1614 ····projCode:·null, 
1615 ····titleRegEx:·/\+title=[^\+]*/, 
1616 ····initialize:·function(projCode,·options)·{ 
1617 ········OpenLayers.Util.extend(this,·options); 
1618 ········this.projCode·=·projCode; 
1619 ········if·(typeof·Proj4js·==·"object")·{ 
1620 ············this.proj·=·new·Proj4js.Proj(projCode) 
1621 ········} 
1622 ····}, 
1623 ····getCode:·function()·{ 
1624 ········return·this.proj·?·this.proj.srsCode·:·this.projCode 
1625 ····}, 
1626 ····getUnits:·function()·{ 
1627 ········return·this.proj·?·this.proj.units·:·null 
1628 ····}, 
1629 ····toString:·function()·{ 
1630 ········return·this.getCode() 
1631 ····}, 
1632 ····equals:·function(projection)·{ 
1633 ········var·p·=·projection, 
1634 ············equals·=·false; 
1635 ········if·(p)·{ 
1636 ············if·(!(p·instanceof·OpenLayers.Projection))·{ 
1637 ················p·=·new·OpenLayers.Projection(p) 
1638 ············} 
1639 ············if·(typeof·Proj4js·==·"object"·&&·this.proj.defData·&&·p.proj.defData)·{ 
1640 ················equals·=·this.proj.defData.replace(this.titleRegEx,·"")·==·p.proj.defData.replace(this.titleRegEx,·"") 
1641 ············}·else·if·(p.getCode)·{ 
1642 ················var·source·=·this.getCode(), 
1643 ····················target·=·p.getCode(); 
1644 ················equals·=·source·==·target·||·!!OpenLayers.Projection.transforms[source]·&&·OpenLayers.Projection.transforms[source][target]·===·OpenLayers.Projection.nullTransform 
1645 ············} 
1646 ········} 
1647 ········return·equals 
1648 ····}, 
1649 ····destroy:·function()·{ 
1650 ········delete·this.proj; 
1651 ········delete·this.projCode 
1652 ····}, 
1653 ····CLASS_NAME:·"OpenLayers.Projection" 
1654 }); 
1655 OpenLayers.Projection.transforms·=·{}; 
1656 OpenLayers.Projection.defaults·=·{ 
1657 ····"EPSG:4326":·{ 
1658 ········units:·"degrees", 
1659 ········maxExtent:·[-180,·-90,·180,·90], 
1660 ········yx:·true 
1661 ····}, 
1662 ····"CRS:84":·{ 
1663 ········units:·"degrees", 
1664 ········maxExtent:·[-180,·-90,·180,·90] 
1665 ····}, 
1666 ····"EPSG:900913":·{ 
1667 ········units:·"m", 
1668 ········maxExtent:·[-20037508.34,·-20037508.34,·20037508.34,·20037508.34] 
1669 ····} 
1670 }; 
1671 OpenLayers.Projection.addTransform·=·function(from,·to,·method)·{ 
1672 ····if·(method·===·OpenLayers.Projection.nullTransform)·{ 
1673 ········var·defaults·=·OpenLayers.Projection.defaults[from]; 
1674 ········if·(defaults·&&·!OpenLayers.Projection.defaults[to])·{ 
1675 ············OpenLayers.Projection.defaults[to]·=·defaults 
1676 ········} 
1677 ····} 
1678 ····if·(!OpenLayers.Projection.transforms[from])·{ 
1679 ········OpenLayers.Projection.transforms[from]·=·{} 
1680 ····} 
1681 ····OpenLayers.Projection.transforms[from][to]·=·method 
1682 }; 
1683 OpenLayers.Projection.transform·=·function(point,·source,·dest)·{ 
1684 ····if·(source·&&·dest)·{ 
1685 ········if·(!(source·instanceof·OpenLayers.Projection))·{ 
1686 ············source·=·new·OpenLayers.Projection(source) 
1687 ········} 
1688 ········if·(!(dest·instanceof·OpenLayers.Projection))·{ 
1689 ············dest·=·new·OpenLayers.Projection(dest) 
1690 ········} 
1691 ········if·(source.proj·&&·dest.proj)·{ 
1692 ············point·=·Proj4js.transform(source.proj,·dest.proj,·point) 
1693 ········}·else·{ 
1694 ············var·sourceCode·=·source.getCode(); 
1695 ············var·destCode·=·dest.getCode(); 
1696 ············var·transforms·=·OpenLayers.Projection.transforms; 
1697 ············if·(transforms[sourceCode]·&&·transforms[sourceCode][destCode])·{ 
1698 ················transforms[sourceCode][destCode](point) 
1699 ············} 
1700 ········} 
1701 ····} 
1702 ····return·point 
1703 }; 
1704 OpenLayers.Projection.nullTransform·=·function(point)·{ 
1705 ····return·point 
1706 }; 
1707 (function()·{ 
1708 ····var·pole·=·20037508.34; 
  
1709 ····function·inverseMercator(xy)·{ 
1710 ········xy.x·=·180·*·xy.x·/·pole; 
1711 ········xy.y·=·180·/·Math.PI·*·(2·*·Math.atan(Math.exp(xy.y·/·pole·*·Math.PI))·-·Math.PI·/·2); 
1712 ········return·xy 
1713 ····} 
  
1714 ····function·forwardMercator(xy)·{ 
1715 ········xy.x·=·xy.x·*·pole·/·180; 
1716 ········var·y·=·Math.log(Math.tan((90·+·xy.y)·*·Math.PI·/·360))·/·Math.PI·*·pole; 
1717 ········xy.y·=·Math.max(-20037508.34,·Math.min(y,·20037508.34)); 
1718 ········return·xy 
1719 ····} 
  
1720 ····function·map(base,·codes)·{ 
1721 ········var·add·=·OpenLayers.Projection.addTransform; 
1722 ········var·same·=·OpenLayers.Projection.nullTransform; 
1723 ········var·i,·len,·code,·other,·j; 
1724 ········for·(i·=·0,·len·=·codes.length;·i·<·len;·++i)·{ 
1725 ············code·=·codes[i]; 
1726 ············add(base,·code,·forwardMercator); 
1727 ············add(code,·base,·inverseMercator); 
1728 ············for·(j·=·i·+·1;·j·<·len;·++j)·{ 
Max diff block lines reached; 555229/560299 bytes (99.10%) of diff not shown.
3.14 MB
./usr/share/javascript/openlayers/OpenLayers.tests.js
3.14 MB
js-beautify {}
    
Offset 33176, 2274 lines modifiedOffset 33176, 14 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/Rule.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/Util.js 
33191 ·*·@requires·OpenLayers/Style.js 
33192 ·*/ 
  
33193 /** 
33194 ·*·Class:·OpenLayers.Rule 
33195 ·*·This·class·represents·an·SLD·Rule,·as·being·used·for·rule-based·SLD·styling. 
33196 ·*/ 
33197 OpenLayers.Rule·=·OpenLayers.Class({ 
  
33198 ····/** 
33199 ·····*·Property:·id 
33200 ·····*·{String}·A·unique·id·for·this·session. 
33201 ·····*/ 
33202 ····id:·null, 
  
33203 ····/** 
33204 ·····*·APIProperty:·name 
33205 ·····*·{String}·name·of·this·rule 
33206 ·····*/ 
33207 ····name:·null, 
  
33208 ····/** 
33209 ·····*·Property:·title 
33210 ·····*·{String}·Title·of·this·rule·(set·if·included·in·SLD) 
33211 ·····*/ 
33212 ····title:·null, 
  
33213 ····/** 
33214 ·····*·Property:·description 
33215 ·····*·{String}·Description·of·this·rule·(set·if·abstract·is·included·in·SLD) 
33216 ·····*/ 
33217 ····description:·null, 
  
33218 ····/** 
33219 ·····*·Property:·context 
33220 ·····*·{Object}·An·optional·object·with·properties·that·the·rule·should·be 
33221 ·····*·evaluated·against.·If·no·context·is·specified,·feature.attributes·will 
33222 ·····*·be·used. 
33223 ·····*/ 
33224 ····context:·null, 
  
33225 ····/** 
33226 ·····*·Property:·filter 
33227 ·····*·{<OpenLayers.Filter>}·Optional·filter·for·the·rule. 
33228 ·····*/ 
33229 ····filter:·null, 
  
33230 ····/** 
33231 ·····*·Property:·elseFilter 
33232 ·····*·{Boolean}·Determines·whether·this·rule·is·only·to·be·applied·only·if 
33233 ·····*·no·other·rules·match·(ElseFilter·according·to·the·SLD·specification).· 
33234 ·····*·Default·is·false.··For·instances·of·OpenLayers.Rule,·if·elseFilter·is 
33235 ·····*·false,·the·rule·will·always·apply.··For·subclasses,·the·else·property·is· 
33236 ·····*·ignored. 
33237 ·····*/ 
33238 ····elseFilter:·false, 
  
33239 ····/** 
33240 ·····*·Property:·symbolizer 
33241 ·····*·{Object}·Symbolizer·or·hash·of·symbolizers·for·this·rule.·If·hash·of 
33242 ·····*·symbolizers,·keys·are·one·or·more·of·["Point",·"Line",·"Polygon"].·The 
33243 ·····*·latter·if·useful·if·it·is·required·to·style·e.g.·vertices·of·a·line 
33244 ·····*·with·a·point·symbolizer.·Note,·however,·that·this·is·not·implemented 
33245 ·····*·yet·in·OpenLayers,·but·it·is·the·way·how·symbolizers·are·defined·in 
33246 ·····*·SLD. 
33247 ·····*/ 
33248 ····symbolizer:·null, 
  
33249 ····/** 
33250 ·····*·Property:·symbolizers 
33251 ·····*·{Array}·Collection·of·symbolizers·associated·with·this·rule.··If· 
33252 ·····*·····provided·at·construction,·the·symbolizers·array·has·precedence 
33253 ·····*·····over·the·deprecated·symbolizer·property.··Note·that·multiple· 
33254 ·····*·····symbolizers·are·not·currently·supported·by·the·vector·renderers. 
33255 ·····*·····Rules·with·multiple·symbolizers·are·currently·only·useful·for 
33256 ·····*·····maintaining·elements·in·an·SLD·document. 
33257 ·····*/ 
33258 ····symbolizers:·null, 
  
33259 ····/** 
33260 ·····*·APIProperty:·minScaleDenominator 
33261 ·····*·{Number}·or·{String}·minimum·scale·at·which·to·draw·the·feature. 
33262 ·····*·In·the·case·of·a·String,·this·can·be·a·combination·of·text·and 
33263 ·····*·propertyNames·in·the·form·"literal·${propertyName}" 
33264 ·····*/ 
33265 ····minScaleDenominator:·null, 
  
33266 ····/** 
33267 ·····*·APIProperty:·maxScaleDenominator 
33268 ·····*·{Number}·or·{String}·maximum·scale·at·which·to·draw·the·feature. 
33269 ·····*·In·the·case·of·a·String,·this·can·be·a·combination·of·text·and 
33270 ·····*·propertyNames·in·the·form·"literal·${propertyName}" 
33271 ·····*/ 
33272 ····maxScaleDenominator:·null, 
  
33273 ····/**· 
33274 ·····*·Constructor:·OpenLayers.Rule 
33275 ·····*·Creates·a·Rule. 
33276 ·····* 
33277 ·····*·Parameters: 
33278 ·····*·options·-·{Object}·An·optional·object·with·properties·to·set·on·the 
33279 ·····*···········rule 
33280 ·····*· 
33281 ·····*·Returns: 
33282 ·····*·{<OpenLayers.Rule>} 
33283 ·····*/ 
33284 ····initialize:·function(options)·{ 
33285 ········this.symbolizer·=·{}; 
Max diff block lines reached; 3220841/3290063 bytes (97.90%) of diff not shown.
1.68 MB
./usr/share/javascript/openlayers/OpenLayers.tests.min.js
1.68 MB
js-beautify {}
    
Offset 13318, 694 lines modifiedOffset 13318, 14 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.Rule·=·OpenLayers.Class({ 
13326 ····id:·null, 
13327 ····name:·null, 
13328 ····title:·null, 
13329 ····description:·null, 
13330 ····context:·null, 
13331 ····filter:·null, 
13332 ····elseFilter:·false, 
13333 ····symbolizer:·null, 
13334 ····symbolizers:·null, 
13335 ····minScaleDenominator:·null, 
13336 ····maxScaleDenominator:·null, 
13337 ····initialize:·function(options)·{ 
13338 ········this.symbolizer·=·{}; 
13339 ········OpenLayers.Util.extend(this,·options); 
13340 ········if·(this.symbolizers)·{ 
13341 ············delete·this.symbolizer 
13342 ········} 
13343 ········this.id·=·OpenLayers.Util.createUniqueID(this.CLASS_NAME·+·"_") 
13344 ····}, 
13345 ····destroy:·function()·{ 
13346 ········for·(var·i·in·this.symbolizer)·{ 
13347 ············this.symbolizer[i]·=·null 
13348 ········} 
13349 ········this.symbolizer·=·null; 
13350 ········delete·this.symbolizers 
13351 ····}, 
13352 ····evaluate:·function(feature)·{ 
13353 ········var·context·=·this.getContext(feature); 
13354 ········var·applies·=·true; 
13355 ········if·(this.minScaleDenominator·||·this.maxScaleDenominator)·{ 
13356 ············var·scale·=·feature.layer.map.getScale() 
13357 ········} 
13358 ········if·(this.minScaleDenominator)·{ 
13359 ············applies·=·scale·>=·OpenLayers.Style.createLiteral(this.minScaleDenominator,·context) 
13360 ········} 
13361 ········if·(applies·&&·this.maxScaleDenominator)·{ 
13362 ············applies·=·scale·<·OpenLayers.Style.createLiteral(this.maxScaleDenominator,·context) 
13363 ········} 
13364 ········if·(applies·&&·this.filter)·{ 
13365 ············if·(this.filter.CLASS_NAME·==·"OpenLayers.Filter.FeatureId")·{ 
13366 ················applies·=·this.filter.evaluate(feature) 
13367 ············}·else·{ 
13368 ················applies·=·this.filter.evaluate(context) 
13369 ············} 
13370 ········} 
13371 ········return·applies 
13372 ····}, 
13373 ····getContext:·function(feature)·{ 
13374 ········var·context·=·this.context; 
13375 ········if·(!context)·{ 
13376 ············context·=·feature.attributes·||·feature.data 
13377 ········} 
13378 ········if·(typeof·this.context·==·"function")·{ 
13379 ············context·=·this.context(feature) 
13380 ········} 
13381 ········return·context 
13382 ····}, 
13383 ····clone:·function()·{ 
13384 ········var·options·=·OpenLayers.Util.extend({},·this); 
13385 ········if·(this.symbolizers)·{ 
13386 ············var·len·=·this.symbolizers.length; 
13387 ············options.symbolizers·=·new·Array(len); 
13388 ············for·(var·i·=·0;·i·<·len;·++i)·{ 
13389 ················options.symbolizers[i]·=·this.symbolizers[i].clone() 
13390 ············} 
13391 ········}·else·{ 
13392 ············options.symbolizer·=·{}; 
13393 ············var·value,·type; 
13394 ············for·(var·key·in·this.symbolizer)·{ 
13395 ················value·=·this.symbolizer[key]; 
13396 ················type·=·typeof·value; 
13397 ················if·(type·===·"object")·{ 
13398 ····················options.symbolizer[key]·=·OpenLayers.Util.extend({},·value) 
13399 ················}·else·if·(type·===·"string")·{ 
13400 ····················options.symbolizer[key]·=·value 
13401 ················} 
13402 ············} 
13403 ········} 
13404 ········options.filter·=·this.filter·&&·this.filter.clone(); 
13405 ········options.context·=·this.context·&&·OpenLayers.Util.extend({},·this.context); 
13406 ········return·new·OpenLayers.Rule(options) 
13407 ····}, 
13408 ····CLASS_NAME:·"OpenLayers.Rule" 
13409 }); 
13410 OpenLayers.Symbolizer·=·OpenLayers.Class({ 
13411 ····zIndex:·0, 
13412 ····initialize:·function(config)·{ 
13413 ········OpenLayers.Util.extend(this,·config) 
13414 ····}, 
13415 ····clone:·function()·{ 
13416 ········var·Type·=·eval(this.CLASS_NAME); 
13417 ········return·new·Type(OpenLayers.Util.extend({},·this)) 
13418 ····}, 
13419 ····CLASS_NAME:·"OpenLayers.Symbolizer" 
13420 }); 
13421 OpenLayers.Symbolizer.Point·=·OpenLayers.Class(OpenLayers.Symbolizer,·{ 
13422 ····initialize:·function(config)·{ 
13423 ········OpenLayers.Symbolizer.prototype.initialize.apply(this,·arguments) 
13424 ····}, 
13425 ····CLASS_NAME:·"OpenLayers.Symbolizer.Point" 
13426 }); 
13427 OpenLayers.Symbolizer.Line·=·OpenLayers.Class(OpenLayers.Symbolizer,·{ 
13428 ····initialize:·function(config)·{ 
13429 ········OpenLayers.Symbolizer.prototype.initialize.apply(this,·arguments) 
13430 ····}, 
13431 ····CLASS_NAME:·"OpenLayers.Symbolizer.Line" 
13432 }); 
13433 OpenLayers.Symbolizer.Polygon·=·OpenLayers.Class(OpenLayers.Symbolizer,·{ 
13434 ····initialize:·function(config)·{ 
13435 ········OpenLayers.Symbolizer.prototype.initialize.apply(this,·arguments) 
13436 ····}, 
13437 ····CLASS_NAME:·"OpenLayers.Symbolizer.Polygon" 
13438 }); 
13439 OpenLayers.Symbolizer.Text·=·OpenLayers.Class(OpenLayers.Symbolizer,·{ 
13440 ····initialize:·function(config)·{ 
13441 ········OpenLayers.Symbolizer.prototype.initialize.apply(this,·arguments) 
13442 ····}, 
13443 ····CLASS_NAME:·"OpenLayers.Symbolizer.Text" 
13444 }); 
Max diff block lines reached; 1736260/1759113 bytes (98.70%) of diff not shown.