-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- Source: +
- projection.js, line 36
+
+
+
+
+
+
+
+
diff --git a/master/apidoc/44f1750883.html b/master/apidoc/44f1750883.html
index dd07e81c31..f136f3b183 100644
--- a/master/apidoc/44f1750883.html
+++ b/master/apidoc/44f1750883.html
@@ -137,13 +137,13 @@ items from the cache is the responsibility of the user.
diff --git a/master/apidoc/global.html b/master/apidoc/global.html
index 41f5fdb696..8196c49eb3 100644
--- a/master/apidoc/global.html
+++ b/master/apidoc/global.html
@@ -93,6 +93,85 @@
+
+
+
+
+
+
+
+
+
+
+ Meters per unit lookup table.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/master/apidoc/index.html b/master/apidoc/index.html
index 2fed7f5071..7e5503627e 100644
--- a/master/apidoc/index.html
+++ b/master/apidoc/index.html
@@ -50,13 +50,13 @@
diff --git a/master/apidoc/ol.AnchoredElement.html b/master/apidoc/ol.AnchoredElement.html
index 55f7394a29..0235b1d394 100644
--- a/master/apidoc/ol.AnchoredElement.html
+++ b/master/apidoc/ol.AnchoredElement.html
@@ -2337,13 +2337,13 @@
diff --git a/master/apidoc/ol.Attribution.html b/master/apidoc/ol.Attribution.html
index eaf1ea9431..a1cb9b2954 100644
--- a/master/apidoc/ol.Attribution.html
+++ b/master/apidoc/ol.Attribution.html
@@ -428,13 +428,13 @@
diff --git a/master/apidoc/ol.Collection.html b/master/apidoc/ol.Collection.html
index 00f08c1cb1..0346db1b66 100644
--- a/master/apidoc/ol.Collection.html
+++ b/master/apidoc/ol.Collection.html
@@ -133,7 +133,7 @@
| Name | + + +Type | + + + + + +Description | +
|---|---|---|
arr |
+
+
+ + + +Array + + + + | + + + + + +Array. | +
| Name | + + +Type | + + + + + +Description | +
|---|---|---|
elem |
+
+
+ + + +* + + + + | + + + + + +Element. | +
indexprevtargetattributionOptionsoptionsmousePositionOptionsoptionszoomOptionsoptionsq[2]?1:0)}while(0==b)}b=xb[a]=0<=b}return b}var zb={};function Ab(a){return zb[a]||(zb[a]=F&&!!document.documentMode&&document.documentMode>=a)};var Bb,Cb=!F||Ab(9);!mb&&!F||F&&Ab(9)||mb&&yb("1.9.1");F&&yb("9");function Db(a,b){var c;c=a.className;c=ga(c)&&c.match(/\S+/g)||[];for(var d=Ha(arguments,1),e=c.length+d.length,f=c,g=0;gc*b?c+b:c};function Gb(a,b){this.x=x(a)?a:0;this.y=x(b)?b:0}Gb.prototype.S=function(){return new Gb(this.x,this.y)};function Hb(a,b){this.width=a;this.height=b}p=Hb.prototype;p.S=function(){return new Hb(this.width,this.height)};p.Ia=function(){return!(this.width*this.height)};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Ib(a){return a?new Jb(Kb(a)):Bb||(Bb=new Jb)}function Lb(a,b){Ka(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Mb?a.setAttribute(Mb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var Mb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; -function Nb(a){a=a.document.documentElement;return new Hb(a.clientWidth,a.clientHeight)}function Ob(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Cb&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',ra(g.name),'"');if(g.type){f.push(' type="',ra(g.type),'"');var j={};Ua(j,g);delete j.type;g=j}f.push(">");f=f.join("")}f=e.createElement(f);g&&(ga(g)?f.className=g:ea(g)?Db.apply(k,[f].concat(g)):Lb(f,g));2 =a.keyCode)a.keyCode=-1}catch(b){}};p.dd=m("K");function lc(){}var mc=0;lc.prototype.key=0;lc.prototype.za=l;lc.prototype.a=l;lc.prototype.handleEvent=function(a){return this.b?this.Ja.call(this.Ob||this.src,a):this.Ja.handleEvent.call(this.Ja,a)};var nc={},oc={},pc={},qc={}; -function H(a,b,c,d,e){if(b){if(ea(b)){for(var f=0;f =arguments.length?ya.slice.call(a,b):ya.slice.call(a,b,c)}function Ja(a){ya.sort.call(a,Ka)} +function Ka(a,b){return a>b?1:a2*this.n&&Za(this),j):l};function Za(a){if(a.n!=a.a.length){for(var b=0,c=0;b parseFloat(sb)){rb=String(wb);break a}}rb=sb}var yb={}; +function zb(a){var b;if(!(b=yb[a])){b=0;for(var c=String(rb).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=Math.max(c.length,d.length),f=0;0==b&&f (0==q[1].length?0:parseInt(q[1],10))?1:0)||((0==s[2].length)<(0==q[2].length)?-1:(0==s[2].length)>(0==q[2].length)?1:0)||(s[2] q[2]?1:0)}while(0==b)}b=yb[a]=0<=b}return b}var Ab={};function Bb(a){return Ab[a]||(Ab[a]=F&&!!document.documentMode&&document.documentMode>=a)};var Cb,Db=!F||Bb(9);!nb&&!F||F&&Bb(9)||nb&&zb("1.9.1");F&&zb("9");function Eb(a,b){var c;c=a.className;c=ga(c)&&c.match(/\S+/g)||[];for(var d=Ia(arguments,1),e=c.length+d.length,f=c,g=0;gc*b?c+b:c};function Hb(a,b){this.x=x(a)?a:0;this.y=x(b)?b:0}Hb.prototype.S=function(){return new Hb(this.x,this.y)};function Ib(a,b){this.width=a;this.height=b}p=Ib.prototype;p.S=function(){return new Ib(this.width,this.height)};p.Ia=function(){return!(this.width*this.height)};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Jb(a){return a?new Kb(Lb(a)):Cb||(Cb=new Kb)}function Mb(a,b){La(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Nb?a.setAttribute(Nb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var Nb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; +function Ob(a){a=a.document.documentElement;return new Ib(a.clientWidth,a.clientHeight)}function Pb(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Db&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',ra(g.name),'"');if(g.type){f.push(' type="',ra(g.type),'"');var i={};Va(i,g);delete i.type;g=i}f.push(">");f=f.join("")}f=e.createElement(f);g&&(ga(g)?f.className=g:ea(g)?Eb.apply(k,[f].concat(g)):Mb(f,g));2 =a.keyCode)a.keyCode=-1}catch(b){}};p.cd=m("K");function mc(){}var nc=0;mc.prototype.key=0;mc.prototype.za=l;mc.prototype.a=l;mc.prototype.handleEvent=function(a){return this.b?this.Ja.call(this.Ob||this.src,a):this.Ja.handleEvent.call(this.Ja,a)};var oc={},pc={},qc={},rc={}; +function H(a,b,c,d,e){if(b){if(ea(b)){for(var f=0;f f.keyCode||f.returnValue!=h)return i;a:{var r=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(s){r=i}if(r||f.returnValue==h)f.returnValue=i}}r=new hc;ic(r,f,this);f=i;try{if(j){for(var q=[],v=r.c;v;v=v.parentNode)q.push(v);g=e[i];g.Q=g.n;for(var u=q.length- -1;!r.qa&&0<=u&&g.Q;u--)r.c=q[u],f&=wc(g,q[u],d,i,r);if(n){g=e[l];g.Q=g.n;for(u=0;!r.qa&&u =this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom};function zc(a,b){var c=Kb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b)||"":""}function Ac(a,b){return a.currentStyle?a.currentStyle[b]:k}function Bc(a,b){return zc(a,b)||Ac(a,b)||a.style&&a.style[b]}function Cc(a,b){var c,d,e=mb&&(eb||pb)&&yb("1.9");b instanceof Gb?(c=b.x,d=b.y):(c=b,d=h);a.style.left=Dc(c,e);a.style.top=Dc(d,e)} -function Ec(a){var b=a.getBoundingClientRect();F&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} -function Fc(a){if(F&&!Ab(8))return a.offsetParent;for(var b=Kb(a),c=Bc(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Bc(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return k}function Gc(a,b){var c=Hc(a),d=Hc(b);return new Gb(c.x-d.x,c.y-d.y)} -function Hc(a){var b=new Gb;if(1==a.nodeType){if(a.getBoundingClientRect){var c=Ec(a);b.x=c.left;b.y=c.top}else{c=Vb(Ib(a));var d,e=Kb(a),f=Bc(a,"position"),g=mb&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),j=new Gb(0,0),n;d=e?Kb(e):document;if(n=F)if(n=!Ab(9))Ib(d),n=l;n=n?d.body:d.documentElement;if(a!=n)if(a.getBoundingClientRect)d=Ec(a),e=Vb(Ib(e)),j.x=d.left+e.x,j.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a), -e=e.getBoxObjectFor(n),j.x=d.screenX-e.screenX,j.y=d.screenY-e.screenY;else{g=a;do{j.x+=g.offsetLeft;j.y+=g.offsetTop;g!=a&&(j.x+=g.clientLeft||0,j.y+=g.clientTop||0);if(G&&"fixed"==Bc(g,"position")){j.x+=e.body.scrollLeft;j.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(lb||G&&"absolute"==f)j.y-=e.body.offsetTop;for(g=a;(g=Fc(g))&&g!=e.body&&g!=n;)if(j.x-=g.scrollLeft,!lb||"TR"!=g.tagName)j.y-=g.scrollTop}b.x=j.x-c.x;b.y=j.y-c.y}if(mb&&!yb(12)){var r;F?r="-ms-transform":G?r="-webkit-transform": -lb?r="-o-transform":mb&&(r="-moz-transform");var s;r&&(s=Bc(a,r));s||(s=Bc(a,"transform"));s?(a=s.match(Ic),a=!a?new Gb(0,0):new Gb(parseFloat(a[1]),parseFloat(a[2]))):a=new Gb(0,0);b=new Gb(b.x+a.x,b.y+a.y)}}else r=ha(a.dd),s=a,a.targetTouches?s=a.targetTouches[0]:r&&a.K.targetTouches&&(s=a.K.targetTouches[0]),b.x=s.clientX,b.y=s.clientY;return b}function Dc(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Jc(a,b){a.style.display=b?"":"none"} -function Kc(a,b){Ib(Kb(a));if(F&&!yb("8")){var c=a.style,d;if(F){d=Lc(a,Ac(a,"paddingLeft"));var e=Lc(a,Ac(a,"paddingRight")),f=Lc(a,Ac(a,"paddingTop")),g=Lc(a,Ac(a,"paddingBottom"));d=new yc(f,e,g,d)}else d=zc(a,"paddingLeft"),e=zc(a,"paddingRight"),f=zc(a,"paddingTop"),g=zc(a,"paddingBottom"),d=new yc(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d));if(F)var e=Mc(a,"borderLeft"),f=Mc(a,"borderRight"),g=Mc(a,"borderTop"),j=Mc(a,"borderBottom"),e=new yc(g,f,j,e);else e=zc(a,"borderLeftWidth"), -f=zc(a,"borderRightWidth"),g=zc(a,"borderTopWidth"),j=zc(a,"borderBottomWidth"),e=new yc(parseFloat(g),parseFloat(f),parseFloat(j),parseFloat(e));c.pixelWidth=b.width-e.left-d.left-d.right-e.right;c.pixelHeight=b.height-e.top-d.top-d.bottom-e.bottom}else c=a.style,mb?c.MozBoxSizing="border-box":G?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(b.width,0)+"px",c.height=Math.max(b.height,0)+"px"} -function Lc(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e}var Nc={thin:2,medium:4,thick:6};function Mc(a,b){if("none"==Ac(a,b+"Style"))return 0;var c=Ac(a,b+"Width");return c in Nc?Nc[c]:Lc(a,c)}var Ic=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Oc(a,b){this.x=a;this.y=b}B(Oc,Gb);Oc.prototype.S=function(){return new Oc(this.x,this.y)};Oc.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};Oc.prototype.rotate=function(a){var b=Math.cos(a),a=Math.sin(a),c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function L(a,b){Oc.call(this,a,b)}B(L,Oc);function Pc(a,b){var c=Fb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)};var Qc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Rc(a,b,c){if(ea(b))for(var d=0;d b)throw Error("Bad port number "+b);a.rb=b}else a.rb=k} -function Wc(a,b,c){Uc(a);if(b instanceof Xc){a.a=b;b=a.a;if((a=a.la)&&!b.b){cd(b);b.a=k;var d=b.D,c=function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),dd(this,c,a))};if("function"==typeof d.forEach)d.forEach(c,b);else if(fa(d)||ga(d))C(d,c,b);else{var e;if("function"==typeof d.W)e=d.W();else if("function"!=typeof d.N)if(fa(d)||ga(d)){e=[];for(var f=d.length,g=0;g >4&15).toString(16)+(a&15).toString(16)}var Zc=/[#\/\?@]/g,ad=/[\#\?:]/g,$c=/[\#\?]/g,ed=/[\#\?@]/g,bd=/#/g;function Xc(a,b,c){this.a=a||k;this.b=!!c} -function cd(a){if(!a.D&&(a.D=new Wa,a.n=0,a.a))for(var b=a.a.split("&"),c=0;c =a||96<=a&&106>=a||65<=a&&90>=a||G&&0==a)return i;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return i;default:return l}} -function Ad(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Bd(a,b){Zb.call(this);a&&(this.hb&&Cd(this),this.Da=a,this.gb=H(this.Da,"keypress",this,b),this.Pb=H(this.Da,"keydown",this.a,b,this),this.hb=H(this.Da,"keyup",this.b,b,this))}B(Bd,kd);p=Bd.prototype;p.Da=k;p.gb=k;p.Pb=k;p.hb=k;p.ga=-1;p.fa=-1;p.Bb=l; -var Dd={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Ed={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Fd=F||G&&yb("525"),Gd=eb&&mb; -Bd.prototype.a=function(a){if(G&&(17==this.ga&&!a.ab||18==this.ga&&!a.ca))this.fa=this.ga=-1;Fd&&!yd(a.wa,this.ga,a.ma,a.ab,a.ca)?this.handleEvent(a):(this.fa=mb?Ad(a.wa):a.wa,Gd&&(this.Bb=a.ca))};Bd.prototype.b=function(a){this.fa=this.ga=-1;this.Bb=a.ca}; -Bd.prototype.handleEvent=function(a){var b=a.K,c,d,e=b.altKey;F&&"keypress"==a.type?(c=this.fa,d=13!=c&&27!=c?b.keyCode:0):G&&"keypress"==a.type?(c=this.fa,d=0<=b.charCode&&63232>b.charCode&&zd(c)?b.charCode:0):lb?(c=this.fa,d=zd(c)?b.keyCode:0):(c=b.keyCode||this.fa,d=b.charCode||0,Gd&&(e=this.Bb),eb&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Dd?f=Dd[c]:25==c&&a.ma&&(f=9):g&&g in Ed&&(f=Ed[g]);a=f==this.ga;this.ga=f;b=new Hd(f,d,a,b);b.ca=e;K(this,b)}; -function Cd(a){a.gb&&(J(a.gb),J(a.Pb),J(a.hb),a.gb=k,a.Pb=k,a.hb=k);a.Da=k;a.ga=-1;a.fa=-1}Bd.prototype.r=function(){Bd.v.r.call(this);Cd(this)};function Hd(a,b,c,d){d&&ic(this,d,h);this.type="key";this.wa=a;this.$a=b;this.b=c}B(Hd,hc);function Id(a){Zb.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:k;this.e=!!a&&"rtl"==Bc(a,"direction");this.b=H(this.a,mb?"DOMMouseScroll":"mousewheel",this)}B(Id,kd); -Id.prototype.handleEvent=function(a){var b=0,c=0,d=0,a=a.K;if("mousewheel"==a.type){c=1;if(F||G&&(fb||yb("532.0")))c=40;d=Jd(-a.wheelDelta,c);x(a.wheelDeltaX)?(b=Jd(-a.wheelDeltaX,c),c=Jd(-a.wheelDeltaY,c)):c=d}else d=a.detail,100 d&&(d=-3),x(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;"number"==typeof this.c&&(b=Eb(b,-this.c,this.c));"number"==typeof this.d&&(c=Eb(c,-this.d,this.d));this.e&&(b=-b);b=new Kd(d,a,b,c);K(this,b)};function Jd(a,b){return G&&(eb||gb)&&0!=a%b?a:a/b} -Id.prototype.r=function(){Id.v.r.call(this);J(this.b);delete this.b};function Kd(a,b,c,d){b&&ic(this,b,h);this.type="mousewheel";this.e=a;this.d=c;this.b=d}B(Kd,hc);var Ld=document&&"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled;function M(a){Zb.call(this);this.o={};x(a)&&this.nb(a)}B(M,kd);var Md={},Nd={},Od={};function Pd(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function Qd(a){return a.ol_accessors_||(a.ol_accessors_={})}function Rd(a){return Md.hasOwnProperty(a)?Md[a]:Md[a]=a.toLowerCase()+"_changed"}function Sd(a){return a.ol_bindings_||(a.ol_bindings_={})}p=M.prototype; -p.Uc=function(a,b,c,d){c=c||a;this.Vb(a);var e=Rd(c);Sd(this)[a]=H(b,e,function(){Td(this,a)},h,this);Qd(this)[a]={target:b,key:c};d||Td(this,a)};p.Xc=ba;p.s=function(a){var b,c=Qd(this);c.hasOwnProperty(a)?(b=c[a],a=b.target,b=b.key,c=Nd.hasOwnProperty(b)?Nd[b]:Nd[b]="get"+Pd(b),b=a[c]?a[c]():a.s(b)):this.o.hasOwnProperty(a)&&(b=this.o[a]);return b}; -p.W=function(){for(var a=Ma(Qd(this)).concat(Ma(this.o)),b={},c=0,d=0;d =b.i&&a.j<=b.k&&a.k>=b.j}Yd.prototype.toString=function(){return"("+[this.i,this.j,this.l,this.k].join(", ")+")"};function $d(a,b,c,d){Yd.call(this,a,b,c,d)}B($d,Yd);function ae(a){var b=arguments[0],b=new $d(b.x,b.y,b.x,b.y),c;for(c=1;c >=1;return b.join("")}pe.prototype.toString=function(){return[this.m,this.x,this.y].join("/")};function re(a,b,c,d){this.i=a;this.j=b;this.l=c;this.k=d}B(re,Yd);re.prototype.contains=function(a){return this.i<=a.x&&a.x<=this.l&&this.j<=a.y&&a.y<=this.k};re.prototype.aa=function(){return this.k-this.j+1};re.prototype.ea=function(){return this.l-this.i+1};function se(a,b){this.b=a;this.a=b||k};function te(a){Zb.call(this);this.e=0;this.V=a;this.a=0}B(te,kd);te.prototype.b=function(){return y(this).toString()};function ue(a){this.d=a;this.f=8;this.c=0;this.a=[];this.b={}}function ve(a,b,c,d){if(0==b.a){var e=b.b();if(!(e in a.b)){var f=a.d(b,c,d);Infinity!=f&&(a.a.push([f,b,c,d]),a.b[e]=i,we(a,0,a.a.length-1),b.e++)}}}ue.prototype.e=function(){--this.c};function xe(a,b){for(var c=a.a,d=c.length,e=c[b],f=b;b >1;){var g=2*b+1,j=2*b+2,g=j b;){var e=c-1>>1;if(a[e][0]>d[0])a[c]=a[e],c=e;else break}a[c]=d};/* +function sc(a,b){if(!oc[a])return j;var c=oc[a],d=c.type,e=pc;if(!(d in e))return j;var e=e[d],f,g;if(!Yb){var i;if(!(i=b))a:{i=["window","event"];for(var n=w;f=i.shift();)if(n[f]!=k)n=n[f];else{i=k;break a}i=n}f=i;i=j in e;n=l in e;if(i){if(0>f.keyCode||f.returnValue!=h)return j;a:{var r=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(s){r=j}if(r||f.returnValue==h)f.returnValue=j}}r=new ic;jc(r,f,this);f=j;try{if(i){for(var q=[],v=r.c;v;v=v.parentNode)q.push(v);g=e[j];g.Q=g.n;for(var u=q.length- +1;!r.qa&&0<=u&&g.Q;u--)r.c=q[u],f&=xc(g,q[u],d,j,r);if(n){g=e[l];g.Q=g.n;for(u=0;!r.qa&&u =this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom};function Ac(a,b){var c=Lb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b)||"":""}function Bc(a,b){return a.currentStyle?a.currentStyle[b]:k}function Cc(a,b){return Ac(a,b)||Bc(a,b)||a.style&&a.style[b]}function Dc(a,b){var c,d,e=nb&&(fb||qb)&&zb("1.9");b instanceof Hb?(c=b.x,d=b.y):(c=b,d=h);a.style.left=Ec(c,e);a.style.top=Ec(d,e)} +function Fc(a){var b=a.getBoundingClientRect();F&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} +function Gc(a){if(F&&!Bb(8))return a.offsetParent;for(var b=Lb(a),c=Cc(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Cc(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return k}function Hc(a,b){var c=Ic(a),d=Ic(b);return new Hb(c.x-d.x,c.y-d.y)} +function Ic(a){var b=new Hb;if(1==a.nodeType){if(a.getBoundingClientRect){var c=Fc(a);b.x=c.left;b.y=c.top}else{c=Wb(Jb(a));var d,e=Lb(a),f=Cc(a,"position"),g=nb&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),i=new Hb(0,0),n;d=e?Lb(e):document;if(n=F)if(n=!Bb(9))Jb(d),n=l;n=n?d.body:d.documentElement;if(a!=n)if(a.getBoundingClientRect)d=Fc(a),e=Wb(Jb(e)),i.x=d.left+e.x,i.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a), +e=e.getBoxObjectFor(n),i.x=d.screenX-e.screenX,i.y=d.screenY-e.screenY;else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offsetTop;g!=a&&(i.x+=g.clientLeft||0,i.y+=g.clientTop||0);if(G&&"fixed"==Cc(g,"position")){i.x+=e.body.scrollLeft;i.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(mb||G&&"absolute"==f)i.y-=e.body.offsetTop;for(g=a;(g=Gc(g))&&g!=e.body&&g!=n;)if(i.x-=g.scrollLeft,!mb||"TR"!=g.tagName)i.y-=g.scrollTop}b.x=i.x-c.x;b.y=i.y-c.y}if(nb&&!zb(12)){var r;F?r="-ms-transform":G?r="-webkit-transform": +mb?r="-o-transform":nb&&(r="-moz-transform");var s;r&&(s=Cc(a,r));s||(s=Cc(a,"transform"));s?(a=s.match(Jc),a=!a?new Hb(0,0):new Hb(parseFloat(a[1]),parseFloat(a[2]))):a=new Hb(0,0);b=new Hb(b.x+a.x,b.y+a.y)}}else r=ha(a.cd),s=a,a.targetTouches?s=a.targetTouches[0]:r&&a.K.targetTouches&&(s=a.K.targetTouches[0]),b.x=s.clientX,b.y=s.clientY;return b}function Ec(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a} +function Kc(a){var b=a.offsetWidth,c=a.offsetHeight,d=G&&!b&&!c;return(!x(b)||d)&&a.getBoundingClientRect?(a=Fc(a),new Ib(a.right-a.left,a.bottom-a.top)):new Ib(b,c)}function Lc(a,b){a.style.display=b?"":"none"} +function Mc(a,b){Jb(Lb(a));if(F&&!zb("8")){var c=a.style,d;if(F){d=Nc(a,Bc(a,"paddingLeft"));var e=Nc(a,Bc(a,"paddingRight")),f=Nc(a,Bc(a,"paddingTop")),g=Nc(a,Bc(a,"paddingBottom"));d=new zc(f,e,g,d)}else d=Ac(a,"paddingLeft"),e=Ac(a,"paddingRight"),f=Ac(a,"paddingTop"),g=Ac(a,"paddingBottom"),d=new zc(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d));if(F)var e=Oc(a,"borderLeft"),f=Oc(a,"borderRight"),g=Oc(a,"borderTop"),i=Oc(a,"borderBottom"),e=new zc(g,f,i,e);else e=Ac(a,"borderLeftWidth"), +f=Ac(a,"borderRightWidth"),g=Ac(a,"borderTopWidth"),i=Ac(a,"borderBottomWidth"),e=new zc(parseFloat(g),parseFloat(f),parseFloat(i),parseFloat(e));c.pixelWidth=b.width-e.left-d.left-d.right-e.right;c.pixelHeight=b.height-e.top-d.top-d.bottom-e.bottom}else c=a.style,nb?c.MozBoxSizing="border-box":G?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(b.width,0)+"px",c.height=Math.max(b.height,0)+"px"} +function Nc(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e}var Pc={thin:2,medium:4,thick:6};function Oc(a,b){if("none"==Bc(a,b+"Style"))return 0;var c=Bc(a,b+"Width");return c in Pc?Pc[c]:Nc(a,c)}var Jc=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Qc(a,b){this.x=a;this.y=b}B(Qc,Hb);Qc.prototype.S=function(){return new Qc(this.x,this.y)};Qc.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};Qc.prototype.rotate=function(a){var b=Math.cos(a),a=Math.sin(a),c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function L(a,b){Qc.call(this,a,b)}B(L,Qc);function Rc(a,b){var c=Gb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)};var Sc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Tc(a,b,c){if(ea(b))for(var d=0;d b)throw Error("Bad port number "+b);a.rb=b}else a.rb=k} +function Yc(a,b,c){Wc(a);if(b instanceof Zc){a.a=b;b=a.a;if((a=a.la)&&!b.b){ed(b);b.a=k;var d=b.D,c=function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),fd(this,c,a))};if("function"==typeof d.forEach)d.forEach(c,b);else if(fa(d)||ga(d))C(d,c,b);else{var e;if("function"==typeof d.W)e=d.W();else if("function"!=typeof d.N)if(fa(d)||ga(d)){e=[];for(var f=d.length,g=0;g >4&15).toString(16)+(a&15).toString(16)}var ad=/[#\/\?@]/g,cd=/[\#\?:]/g,bd=/[\#\?]/g,gd=/[\#\?@]/g,dd=/#/g;function Zc(a,b,c){this.a=a||k;this.b=!!c} +function ed(a){if(!a.D&&(a.D=new Xa,a.n=0,a.a))for(var b=a.a.split("&"),c=0;c =a||96<=a&&106>=a||65<=a&&90>=a||G&&0==a)return j;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return j;default:return l}} +function Cd(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Dd(a,b){$b.call(this);a&&(this.hb&&Ed(this),this.Da=a,this.gb=H(this.Da,"keypress",this,b),this.Pb=H(this.Da,"keydown",this.a,b,this),this.hb=H(this.Da,"keyup",this.b,b,this))}B(Dd,md);p=Dd.prototype;p.Da=k;p.gb=k;p.Pb=k;p.hb=k;p.ga=-1;p.fa=-1;p.Bb=l; +var Fd={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Gd={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Hd=F||G&&zb("525"),Id=fb&&nb; +Dd.prototype.a=function(a){if(G&&(17==this.ga&&!a.ab||18==this.ga&&!a.ca))this.fa=this.ga=-1;Hd&&!Ad(a.va,this.ga,a.ma,a.ab,a.ca)?this.handleEvent(a):(this.fa=nb?Cd(a.va):a.va,Id&&(this.Bb=a.ca))};Dd.prototype.b=function(a){this.fa=this.ga=-1;this.Bb=a.ca}; +Dd.prototype.handleEvent=function(a){var b=a.K,c,d,e=b.altKey;F&&"keypress"==a.type?(c=this.fa,d=13!=c&&27!=c?b.keyCode:0):G&&"keypress"==a.type?(c=this.fa,d=0<=b.charCode&&63232>b.charCode&&Bd(c)?b.charCode:0):mb?(c=this.fa,d=Bd(c)?b.keyCode:0):(c=b.keyCode||this.fa,d=b.charCode||0,Id&&(e=this.Bb),fb&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Fd?f=Fd[c]:25==c&&a.ma&&(f=9):g&&g in Gd&&(f=Gd[g]);a=f==this.ga;this.ga=f;b=new Jd(f,d,a,b);b.ca=e;K(this,b)}; +function Ed(a){a.gb&&(I(a.gb),I(a.Pb),I(a.hb),a.gb=k,a.Pb=k,a.hb=k);a.Da=k;a.ga=-1;a.fa=-1}Dd.prototype.r=function(){Dd.v.r.call(this);Ed(this)};function Jd(a,b,c,d){d&&jc(this,d,h);this.type="key";this.va=a;this.$a=b;this.b=c}B(Jd,ic);function Kd(a){$b.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:k;this.e=!!a&&"rtl"==Cc(a,"direction");this.b=H(this.a,nb?"DOMMouseScroll":"mousewheel",this)}B(Kd,md); +Kd.prototype.handleEvent=function(a){var b=0,c=0,d=0,a=a.K;if("mousewheel"==a.type){c=1;if(F||G&&(gb||zb("532.0")))c=40;d=Ld(-a.wheelDelta,c);x(a.wheelDeltaX)?(b=Ld(-a.wheelDeltaX,c),c=Ld(-a.wheelDeltaY,c)):c=d}else d=a.detail,100 d&&(d=-3),x(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;"number"==typeof this.c&&(b=Fb(b,-this.c,this.c));"number"==typeof this.d&&(c=Fb(c,-this.d,this.d));this.e&&(b=-b);b=new Md(d,a,b,c);K(this,b)};function Ld(a,b){return G&&(fb||hb)&&0!=a%b?a:a/b} +Kd.prototype.r=function(){Kd.v.r.call(this);I(this.b);delete this.b};function Md(a,b,c,d){b&&jc(this,b,h);this.type="mousewheel";this.e=a;this.d=c;this.b=d}B(Md,ic);var Nd=document&&"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled;function M(a){$b.call(this);this.o={};x(a)&&this.nb(a)}B(M,md);var Od={},Pd={},Qd={};function Rd(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function Sd(a){return a.ol_accessors_||(a.ol_accessors_={})}function Td(a){return Od.hasOwnProperty(a)?Od[a]:Od[a]=a.toLowerCase()+"_changed"}function Ud(a){return a.ol_bindings_||(a.ol_bindings_={})}p=M.prototype; +p.Uc=function(a,b,c,d){c=c||a;this.Wb(a);var e=Td(c);Ud(this)[a]=H(b,e,function(){Vd(this,a)},h,this);Sd(this)[a]={target:b,key:c};d||Vd(this,a)};p.Xc=ba;p.s=function(a){var b,c=Sd(this);c.hasOwnProperty(a)?(b=c[a],a=b.target,b=b.key,c=Pd.hasOwnProperty(b)?Pd[b]:Pd[b]="get"+Rd(b),b=a[c]?a[c]():a.s(b)):this.o.hasOwnProperty(a)&&(b=this.o[a]);return b}; +p.W=function(){for(var a=Sa(Sd(this)).concat(Sa(this.o)),b={},c=0,d=0;d =b.i&&a.j<=b.k&&a.k>=b.j}$d.prototype.toString=function(){return"("+[this.i,this.j,this.l,this.k].join(", ")+")"};function be(a,b,c,d){$d.call(this,a,b,c,d)}B(be,$d);function ce(a){var b=arguments[0],b=new be(b.x,b.y,b.x,b.y),c;for(c=1;c >=1;return b.join("")}re.prototype.toString=function(){return[this.m,this.x,this.y].join("/")};function te(a,b,c,d){this.i=a;this.j=b;this.l=c;this.k=d}B(te,$d);te.prototype.contains=function(a){return this.i<=a.x&&a.x<=this.l&&this.j<=a.y&&a.y<=this.k};te.prototype.aa=function(){return this.k-this.j+1};te.prototype.ea=function(){return this.l-this.i+1};function ue(a,b){this.b=a;this.a=b||k};function ve(a){$b.call(this);this.e=0;this.V=a;this.a=0}B(ve,md);ve.prototype.b=function(){return y(this).toString()};function we(a){this.d=a;this.f=8;this.c=0;this.a=[];this.b={}}function xe(a,b,c,d){if(0==b.a){var e=b.b();if(!(e in a.b)){var f=a.d(b,c,d);Infinity!=f&&(a.a.push([f,b,c,d]),a.b[e]=j,ye(a,0,a.a.length-1),b.e++)}}}we.prototype.e=function(){--this.c};function ze(a,b){for(var c=a.a,d=c.length,e=c[b],f=b;b >1;){var g=2*b+1,i=2*b+2,g=i b;){var e=c-1>>1;if(a[e][0]>d[0])a[c]=a[e],c=e;else break}a[c]=d};/* Latitude/longitude spherical geodesy formulae taken from http://www.movable-type.co.uk/scripts/latlong.html Licenced under CC-BY-3.0. */ -function ye(a,b){var c=a.y*Math.PI/180,d=b.y*Math.PI/180,e=(d-c)/2,f=(b.x-a.x)*Math.PI/180/2,c=Math.sin(e)*Math.sin(e)+Math.sin(f)*Math.sin(f)*Math.cos(c)*Math.cos(d);return 2*ze.a*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))};var ze=new function(){this.a=6370997};var Ae="object"==typeof Proj4js,Be={Nc:"degrees",le:"ft",pe:"m"};function O(a,b,c,d){this.a=a;this.c=b;this.na=c;this.d=x(d)?d:"enu";this.f=k}O.prototype.h=m("a");O.prototype.H=m("na");O.prototype.o=m("c");O.prototype.g=m("d");function Ce(a,b){O.call(this,a,b.units,k,b.axis);this.zc=b;this.e=k}B(Ce,O); -Ce.prototype.b=function(a,b){if("degrees"==this.c)return a;this.e===k&&(this.e=De(this,Ee("EPSG:4326")));var c=[b.x-a/2,b.y,b.x+a/2,b.y,b.x,b.y-a/2,b.x,b.y+a/2],c=this.e(c,c,2),c=(ye(new L(c[0],c[1]),new L(c[2],c[3]))+ye(new L(c[4],c[5]),new L(c[6],c[7])))/2;"ft"==this.c&&(c/=0.3048);return c};var Fe={},Ge={},He={};function Ie(a){C(a,function(a){Je(a)});C(a,function(b){C(a,function(a){b!==a&&Ke(b,a,Le)})})}function Je(a){Ge[a.a]=a;Ke(a,a,Le)} -function Me(a){return a!=k?ga(a)?Ne(a):a:Ne("EPSG:3857")}function Ke(a,b,c){a=a.a;b=b.a;a in He||(He[a]={});He[a][b]=c}function Ne(a){var b=Ge[a];Ae&&!x(b)&&(b=Ee(a));x(b)||(b=k);return b}function Ee(a){var b=Fe[a];x(b)||(b=new Proj4js.Proj(a),b=new Ce(a,b),Fe[a]=b);return b} -function De(a,b){var c=a.a,d=b.a,e;c in He&&d in He[c]&&(e=He[c][d]);if(Ae&&!x(e)){var f;f=(a instanceof Ce?a:Ee(a.a)).zc;var g;g=(b instanceof Ce?b:Ee(b.a)).zc;e=function(a,b,c){var d=a.length,c=1 a?Se(2*a):1-Se(2*(a-0.5))},$c:function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1},Cb:function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}};var We={Cb:function(a){var b=a.resolution,c=x(a.start)?a.start:pa(),d=x(a.duration)?a.duration:1E3,e=x(a.easing)?a.easing:Ve.Jc;return function(a,g){if(g.time b-a.f;)d--;if(0<=d){var b=a.a[d],c=a.a[c],d=c.x-b.x,e=c.y-b.y;a.c=Math.atan2(e,d);a.b=Math.sqrt(d*d+e*e)/(c.Na-b.Na);return a.b>a.d}return l}Xe.prototype.pa=function(a){var b=this.e,c=this.b,d=this.d,e=Math.log(this.d/this.b)/this.e;return We.pa({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};function Ze(a,b,c){ec.call(this,a);this.map=b;this.bb=l;this.b=x(c)?c:k}B(Ze,ec);Ze.prototype.C=function(){Ze.v.C.call(this);this.bb=i};function $e(a,b){Gb.call(this,a,b)}B($e,Gb);function af(a,b,c,d){Ze.call(this,a,b,d);this.a=c;this.f=this.e=k}B(af,Ze);af.prototype.d=function(){this.e===k&&(this.e=bf(this.map,cf(this)));return this.e};function cf(a){if(a.f===k){var b=Gc(a.a,a.map.b);a.f=new $e(b.x,b.y)}return a.f} -function df(a){this.a=a;this.e=k;this.b=l;this.c=this.g=this.d=this.o=this.h=this.f=k;a=this.a.b;this.h=H(a,["click","dblclick"],this.dc,l,this);this.o=H(a,"mousedown",this.xd,l,this);this.g=[H(a,["touchstart","MSPointerDown"],this.Id,l,this),H(a,["touchmove","MSPointerMove"],this.Hd,l,this),H(a,["touchend","MSPointerUp"],this.Gd,l,this)]}B(df,kd);p=df.prototype;p.dc=function(a){if(!this.b){var b=a.type;K(this,0==this.f||"dblclick"==b?new af(ef,this.a,a):new af(ff,this.a,a))}}; -p.zd=function(a){this.e&&(this.c=k,C(this.d,J),this.e=this.d=k,this.b&&K(this,new af(gf,this.a,a)))};p.xd=function(a){K(this,new af(hf,this.a,a));this.e||(this.c=a,this.e={clientX:a.clientX,clientY:a.clientY},this.b=l,this.d=[H(document,"mousemove",this.yd,l,this),H(document,"mouseup",this.zd,l,this)],a.C())};p.yd=function(a){var b;this.b||(this.b=i,b=new af(jf,this.a,this.c),K(this,b));this.e={clientX:a.clientX,clientY:a.clientY};b=new af(kf,this.a,a);K(this,b)}; -p.Id=function(a){a.C();this.c=a;this.b=l;K(this,new af(lf,this.a,a))};p.Hd=function(a){this.b=i;K(this,new af(mf,this.a,a))};p.Gd=function(a){K(this,new af(nf,this.a,a));this.b||(a=pa(),this.f=!this.f||250 =Math.abs(a+c)?0:a+c}};function Q(a){Te.call(this);var a=a||{},b={};b.center=x(a.center)?a.center:k;b.projection=Me(a.projection);if(x(a.resolution))b.resolution=a.resolution;else if(x(a.zoom)){var c=b.projection.H(),c=Math.max(c.l-c.i,c.k-c.j);b.resolution=c/(256*Math.pow(2,a.zoom))}b.rotation=a.rotation;this.nb(b);if(x(a.resolutions))var d=a.resolutions,a=function(a,b){if(x(a)){var c=pf(d,a),c=Eb(c+b,0,d.length-1);return d[c]}};else{x(a.maxResolution)&&x(a.numZoomLevels)&&x(a.zoomFactor)?(b=a.maxResolution,c=a.numZoomLevels, -a=a.zoomFactor):(a=Me(a.projection).H(),b=Math.max(a.l-a.i,a.k-a.j)/256,c=29,a=2);var e=a,f=b,g=c-1,a=function(a,b){if(x(a)){var c=Math.floor(Math.log(f/a)/Math.log(e)+0.5),c=Math.max(c+b,0);x(g)&&(c=Math.min(c,g));return f/Math.pow(e,c)}}}this.b=new qf(a)}B(Q,Te);Q.prototype.M=function(){return this.s("center")};Q.prototype.getCenter=Q.prototype.M;Q.prototype.H=function(a){var b=this.M(),c=this.P();return new $d(b.x-c*a.width/2,b.y-c*a.height/2,b.x+c*a.width/2,b.y+c*a.height/2)};Q.prototype.wc=function(){return this.s("projection")}; -Q.prototype.getProjection=Q.prototype.wc;Q.prototype.P=function(){return this.s("resolution")};Q.prototype.getResolution=Q.prototype.P;Q.prototype.X=function(){return this.s("rotation")||0};Q.prototype.getRotation=Q.prototype.X;Q.prototype.Ha=function(){return this.M()!=k&&x(this.P())};Q.prototype.a=function(a){this.q("center",a)};Q.prototype.setCenter=Q.prototype.a;Q.prototype.f=function(a){this.q("projection",a)};Q.prototype.setProjection=Q.prototype.f; -Q.prototype.c=function(a){this.q("resolution",a)};Q.prototype.setResolution=Q.prototype.c;Q.prototype.d=function(a){this.q("rotation",a)};Q.prototype.setRotation=Q.prototype.d;Q.prototype.rotate=function(a,b,c,d){b=this.b.rotation(b,0);rf(this,a,b,c,d)}; -function rf(a,b,c,d,e){if(c!=k){var f=a.X(),g=a.M();x(f)&&(x(g)&&x(e))&&(sf(b),b.c(We.rotate({rotation:f,duration:e,easing:Re})),x(d)&&b.c(We.pa({source:g,duration:e,easing:Re})));if(d!=k){var e=a.M(),j=new L(e.x-d.x,e.y-d.y);j.rotate(c-a.X());j.x+=d.x;j.y+=d.y;tf(b,function(){this.a(j);this.d(c)},a)}else a.d(c)}}Q.prototype.zoom=function(a,b,c,d){b=this.b.resolution(b,0);uf(this,a,b,c,d)};function vf(a,b,c,d,e){var f=a.P(),c=a.b.resolution(f,c);uf(a,b,c,d,e)} -function uf(a,b,c,d,e){if(c!=k){var f=a.P(),g=a.M();x(f)&&(x(g)&&x(e))&&(sf(b),b.c(We.zoom({resolution:f,duration:e,easing:Re})),x(d)&&b.c(We.pa({source:g,duration:e,easing:Re})));if(d!=k){var e=a.M(),f=a.P(),j=new L(d.x-c*(d.x-e.x)/f,d.y-c*(d.y-e.y)/f);tf(b,function(){this.a(j);this.c(c)},a)}else a.c(c)}};function wf(a){Zb.call(this);this.element=x(a.element)?a.element:k;this.p=a.target;this.b=k;x(a.map)&&this.a(a.map)}B(wf,Zb);wf.prototype.r=function(){Ub(this.element);wf.v.r.call(this)};wf.prototype.a=function(a){this.b===k||Ub(this.element);this.b=a;this.b!==k&&(x(this.p)?this.p:a.w).appendChild(this.element)};function xf(a){this.g=Qb("UL");var b=Ob("DIV",{"class":"ol-attribution ol-unselectable"},this.g);wf.call(this,{element:b,map:a.map,target:a.target});this.f=i;this.c={};this.d={};this.e=k}B(xf,wf); -xf.prototype.h=function(a){var b=a.b;if(b===k)this.f&&(Jc(this.element,l),this.f=l);else{var c={},d={},a=this.b.t();x(a)&&a.forEach(function(a){a=a.Y();d[y(a).toString()]=a;a=a.ka();if(a!==k){var b,e;for(e=0;e =Math.abs(a+c)?0:a+c}};var pf={rc:aa(),Jc:function(a){return 0.5>a?mf(2*a):1-mf(2*(a-0.5))},$c:function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1},Cb:function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}};var qf={Cb:function(a){var b=a.resolution,c=x(a.start)?a.start:pa(),d=x(a.duration)?a.duration:1E3,e=x(a.easing)?a.easing:pf.Jc;return function(a,g){if(g.time b?(d="\u2032",a*=60):d="\u00b0":"imperial"==this.c?0.9144>b?(d="in",a/=0.0254):1609.344>b?(d="ft",a/=0.3048):(d="mi",a/=1609.344):"nautical"==this.c?(a/=1852,d="nm"):"metric"==this.c?1>b?(d="mm",a*=1E3):1E3>b?d="m":(d="km",a/=1E3):"us"==this.c&&(0.9144>b?(d="in",a*=39.37):1609.344>b?(d="ft",a/=0.30480061):(d="mi",a/=1609.3472));for(var b=3*Math.floor(Math.log(this.h*a)/Math.log(10)),e,f;;){e=Af[b%3]*Math.pow(10,Math.floor(b/3));f=Math.round(e/a);if(f>=this.h)break;++b}e=e+d;this.t!=e&& -(this.t=this.g.innerHTML=e);this.F!=f&&(this.g.style.width=f+"px",this.F=f);this.f||(Jc(this.o,i),this.f=i)}};zf.prototype.a=function(a){this.e!==k&&(C(this.e,J),this.e=k);zf.v.a.call(this,a);a!==k&&(this.e=[H(a,"postrender",this.w,l,this)])};function Bf(a){var b=Ob("A",{href:"#zoomIn","class":"ol-zoom-in"});H(b,["touchend","click"],this.d,l,this);var c=Ob("A",{href:"#zoomOut","class":"ol-zoom-out"});H(c,["touchend","click"],this.e,l,this);b=Ob("DIV","ol-zoom ol-unselectable",b,c);wf.call(this,{element:b,map:a.map,target:a.target});this.c=x(a.delta)?a.delta:1}B(Bf,wf);Bf.prototype.d=function(a){a.C();a=this.b;sf(a);vf(a.a(),a,this.c,h,250)};Bf.prototype.e=function(a){a.C();a=this.b;sf(a);vf(a.a(),a,-this.c,h,250)};function Cf(){};function Df(a){this.a=a}B(Df,Cf);Df.prototype.oa=function(a){var b=a.a;if(a.type==ef&&(Ld||kc(a.a))){var c=a.map,d=a.d(),e=a.a.ma?-this.a:this.a;vf(c.a(),c,e,d,250);a.C();b.C()}};function Ef(a){return a.ca&&!a.qb&&a.ma}function Ff(a){return!a.ca&&!a.qb&&!a.ma}function Gf(a){return!a.ca&&!a.qb&&a.ma};function Hf(){this.e=l;this.p=this.na=this.h=this.g=0;this.Ma=this.f=k}B(Hf,Cf);p=Hf.prototype;p.Ib=ba;p.cb=ba;p.eb=md;p.oc=ba;p.oa=function(a){var b=a.map;if(b.Ha()){var b=b.a(),c=a.a;a.type==hf&&this.oc(a);this.e?a.type==kf?(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.Ib(a)):a.type==gf&&(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.cb(a),this.e=l):a.type==jf&&(this.g=c.clientX,this.h=c.clientY,this.b=this.d=0,this.f=b.M(),this.Ma=a.d(),this.eb(a)&&(this.e=i,a.C()))}};function If(a,b){Hf.call(this);this.o=a;this.a=b;this.c=k}B(If,Hf);If.prototype.Ib=function(a){this.a&&this.a.a.push({x:a.a.clientX,y:a.a.clientY,Na:pa()});var a=a.map,b=a.a(),c=b.P(),d=b.X(),c=new L(-c*this.d,c*this.b);c.rotate(d);d=new L(this.f.x+c.x,this.f.y+c.y);sf(a);b.a(d)}; -If.prototype.cb=function(a){var b=a.map,a=b.a();Ue(a,-1);if(this.a&&Ye(this.a)){var c=(this.a.d-this.a.b)/this.a.e,d=this.a.c,e=a.M();this.c=this.a.pa(e);b.c(this.c);e=Jf(b,e);b=bf(b,new $e(e.x-c*Math.cos(d),e.y-c*Math.sin(d)));a.a(b)}};If.prototype.eb=function(a){var b=a.a;if(this.o(b)){if(this.a){var c=this.a;c.a.length=0;c.c=0;c.b=0;this.a.a.push({x:b.clientX,y:b.clientY,Na:pa()})}a=a.map;sf(a);Ue(a.a(),1);return i}return l}; -If.prototype.oc=function(a){var b=a.map,c=b.a();this.c!==k&&Da(b.h,this.c)&&(sf(b),c.a(a.b.u.center),this.c=k)};function Kf(a){Hf.call(this);this.c=a}B(Kf,Hf);Kf.prototype.Ib=function(a){var b=a.map,c=b.f(),a=cf(a),c=Math.atan2(c.height/2-a.y,a.x-c.width/2);if(x(this.a)){var a=c-this.a,d=b.a();sf(b);rf(d,b,d.X()-a)}this.a=c};Kf.prototype.cb=function(a){var a=a.map,b=a.a();b.rotate(a,b.X(),h,250);Ue(b,-1)};Kf.prototype.eb=function(a){var b=a.a;return kc(b)&&this.c(b)?(a=a.map,b=a.a(),sf(a),this.a=h,Ue(b,1),i):l};function Lf(a){var b=Ob("DIV","ol-dragbox");this.c=k;this.e=a.Ma;this.d=k;wf.call(this,{element:b,map:a.map})}B(Lf,wf);Lf.prototype.a=function(a){this.d!==k&&(J(this.d),this.d=k);a!==k&&(this.c=Jf(a,this.e),Cc(this.element,this.c),Kc(this.element,new Xd(0,0)),this.d=H(a,kf,this.f,l,this));Lf.v.a.call(this,a)};Lf.prototype.f=function(a){var b=this.b,a=a.d(),b=Jf(b,a);Cc(this.element,new $e(Math.min(b.x,this.c.x),Math.min(b.y,this.c.y)));Kc(this.element,new Xd(Math.abs(b.x-this.c.x),Math.abs(b.y-this.c.y)))};function Mf(a){Hf.call(this);this.c=a;this.a=k}B(Mf,Hf);Mf.prototype.cb=function(a){this.a.a(k);this.a=k;if(64<=this.d*this.d+this.b*this.b){var b=a.map,c=ae(this.Ma,a.d());tf(b,function(){var a=b.a(),e=b.f();a.a(new L((c.i+c.l)/2,(c.j+c.k)/2));e=Math.max((c.l-c.i)/e.width,(c.k-c.j)/e.height);e=a.b.resolution(e,0);a.c(e);a.d(0)})}};Mf.prototype.eb=function(a){var b=a.a;return kc(b)&&this.c(b)?(this.a=new Lf({map:a.map,Ma:this.Ma}),i):l};function Nf(a){this.a=a}B(Nf,Cf);Nf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.wa;if(40==c||37==c||39==c||38==c){var d=a.map.a(),e=d.P()*this.a,c=40==c?new L(0,-e):37==c?new L(-e,0):39==c?new L(e,0):new L(0,e),e=d.M();d.a(new L(e.x+c.x,e.y+c.y));b.C();a.C()}}};function Of(){}B(Of,Cf);Of.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.$a;if(43==c||45==c){var d=a.map,c=43==c?4:-4;sf(d);vf(d.a(),d,c,h,100);b.C();a.C()}}};function Pf(){this.a=0;this.c=k;this.d=this.b=h}B(Pf,Cf);Pf.prototype.oa=function(a){if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.d();this.a+=c.b/3;x(this.b)||(this.b=pa());var d=Math.max(80-(pa()-this.b),0);w.clearTimeout(this.d);this.d=w.setTimeout(na(this.e,this,b),d);a.C();c.C()}};Pf.prototype.e=function(a){var b=Eb(this.a,-1,1),c=a.a();sf(a);vf(c,a,-b,this.c,250);this.a=0;this.c=k;this.d=this.b=h};function Qf(){this.g=l;this.h={};this.targetTouches=[]}B(Qf,Cf);function Rf(a){for(var b=a.length,c=0,d=0,e=0;ethis.o&&(this.a=i));this.c=c;var a=a.map,c=a.a(),d=Hc(a.b),e=Rf(this.targetTouches);e.x-=d.x;e.y-=d.y;d=bf(a,e);this.a&&rf(c,a,c.X()+b,d)}; -Tf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();this.a&&b.rotate(a,b.X(),h,250);Ue(b,-1);return l}return i};Tf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.c=h,this.a=l,this.b=0,Ue(a,1),i):l};function Uf(){Qf.call(this)}B(Uf,Qf);Uf.prototype.e=function(a){var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);x(this.a)&&(b=this.a/e);this.a=e;a=a.map;e=a.a();c=Hc(a.b);d=Rf(this.targetTouches);d.x-=c.x;d.y-=c.y;c=bf(a,d);uf(e,a,e.P()*b,c)};Uf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();b.zoom(a,b.P(),h,250);Ue(b,-1);return l}return i}; -Uf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.a=h,Ue(a,1),i):l};function Vf(a){O.call(this,a,"m",Wf)}B(Vf,O);var Xf=6378137*Math.PI,Wf=new $d(-Xf,-Xf,Xf,Xf),Yf=Aa(["EPSG:3857","EPSG:102100","EPSG:102113","EPSG:900913"],function(a){return new Vf(a)});Vf.prototype.b=function(a,b){return a/((Math.exp(b.y/6378137)+Math.exp(-(b.y/6378137)))/2)};function Zf(a,b){O.call(this,a,"degrees",$f,b)}B(Zf,O);var $f=new $d(-180,-90,180,90),ag=[new Zf("CRS:84"),new Zf("EPSG:4326","neu"),new Zf("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Zf("urn:ogc:def:crs:OGC:1.3:CRS84")];Zf.prototype.b=aa();function bg(a,b,c,d,e){this.f=e;this.g=a;this.h=c;this.e=b;this.b=new Image;d!==k&&(this.b.crossOrigin=d);this.d={};this.c=k;this.a=0}B(bg,kd);bg.prototype.ka=m("f");bg.prototype.H=m("g");function cg(a,b){if(x(b)){var c,d=y(b);if(d in a.d)return a.d[d];c=Sa(a.d)?a.b:a.b.cloneNode(l);return a.d[d]=c}return a.b}bg.prototype.o=function(){this.a=3;C(this.c,J);this.c=k;K(this,"change")};bg.prototype.p=function(){this.a=2;C(this.c,J);this.c=k;K(this,"change")}; -function dg(a){0==a.a&&(a.a=1,a.c=[sc(a.b,"error",a.o,l,a),sc(a.b,"load",a.p,l,a)],a.b.src=a.h)};function eg(a){this.a=a.resolutions;this.g=this.a.length;this.d=x(a.origin)?a.origin:k;this.f=k;x(a.origins)&&(this.f=a.origins);this.c=k;x(a.tileSizes)&&(this.c=a.tileSizes);this.e=x(a.tileSize)?a.tileSize:this.c===k?new Xd(256,256):k}eg.prototype.b=function(a,b,c){for(var d=fg(this,a),a=a.m-1;0<=a&&!b.call(c,a,gg(this,d,this.a[a]));)--a};function hg(a,b){return a.d===k?a.f[b]:a.d}eg.prototype.Fb=m("a"); -function gg(a,b,c){var d=ig(a,new L(b.i,b.j),c),a=ig(a,new L(b.l,b.k),c,i);return new re(d.x,d.y,a.x,a.y)}function jg(a,b){var c=hg(a,b.m),d=a.a[b.m],e=kg(a,b.m);return new L(c.x+(b.x+0.5)*e.width*d,c.y+(b.y+0.5)*e.height*d)}function fg(a,b){var c=hg(a,b.m),d=a.a[b.m],e=kg(a,b.m),f=c.x+b.x*e.width*d,c=c.y+b.y*e.height*d;return new $d(f,c,f+e.width*d,c+e.height*d)} -function ig(a,b,c,d){var e=pf(a.a,c),f=c/a.a[e],g=hg(a,e),j=kg(a,e),a=f*(b.x-g.x)/(c*j.width),b=f*(b.y-g.y)/(c*j.height);d?(a=Math.ceil(a)-1,b=Math.ceil(b)-1):(a=Math.floor(a),b=Math.floor(b));return new pe(e,a,b)}function kg(a,b){return a.e===k?a.c[b]:a.e} -function lg(a){var b=a.f;if(b===k){for(var b=a.H(),c=Math.max(b.l-b.i,b.k-b.j),d=x(h)?h:new Xd(256,256),e=Array((x(h)?NaN:42)+1),c=c/d.width,f=0,g=e.length;f c?a[1]="?":c==f.length-1&&(a[1]=h));return a.join("")};function Cg(a,b){return function(c,d,e){return Bg(a,b,c,d,e)}}function Dg(){};function Eg(a){Qe.call(this,{attributions:a.attributions,extent:a.extent,projection:a.projection});this.Ga=x(a.Ga)?a.Ga:Dg;this.d=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=x(a.resolutions)?a.resolutions:k}B(Eg,Qe);function Fg(a,b,c,d,e){var f=k,d=a.Ga(b,d,e);x(d)&&(f=new bg(b,c,d,a.d,a.ka()));return f};function Gg(a){P.call(this,a)}B(Gg,P);function Hg(a){P.call(this,a)}B(Hg,P);function Ig(a,b){og.call(this,a,b)}B(Ig,og);function Jg(a,b){og.call(this,a,b);this.b=k;this.c=ee()}B(Jg,Ig);Jg.prototype.I=function(){return this.b===k?k:cg(this.b,this)};Jg.prototype.ra=m("c"); -Jg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.a.Y(),g=a.B;!g[0]&&!g[1]&&(b=f.I(a.extent,d,b.projection),b!==k&&(f=b.a,0==f?(sc(b,"change",this.Jb,l,this),dg(b)):2==f&&(this.b=b)));if(this.b!==k){var b=this.b,f=b.H(),g=b.e,j=this.c;ie(j);me(j,a.size.width/2,a.size.height/2);oe(j,e);ne(j,g/d,g/d);me(j,(f.i-c.x)/g,(c.y-f.k)/g);sg(a.attributions,b.ka())}};function Kg(a,b){og.call(this,a,b);this.e=this.c=this.d=k;this.f=ee();this.b=k}B(Kg,Ig);Kg.prototype.I=m("d");Kg.prototype.ra=m("f"); -Kg.prototype.ha=function(a){var b=a.u,c=b.projection,d=this.a.Y(),e=y(d).toString(),f=d.tileGrid;f===k&&(f=lg(c));var g=pf(f.a,b.resolution),j=kg(f,g),n=f.a[g],r=gg(f,a.extent,n),s=r.ea(),q=r.aa(),j=new Xd(j.width*s,j.height*q),v,u;this.d===k?(v=Qb("CANVAS"),v.width=j.width,v.height=j.height,u=v.getContext("2d"),this.d=v,this.c=j,this.e=u,this.b=Array(s*q)):(v=this.d,u=this.e,this.c.width==j.width&&this.c.height==j.height||(v.width=j.width,v.height=j.height,this.c=j,this.b=Array(s*q)));q={};q[g]= -{};var j=na(d.d,d,q,vg(function(a){return a!==k&&2==a.a},d,f,c)),t,z,E,D;for(E=r.i;E<=r.l;++E)for(D=r.j;D<=r.k;++D)if(z=new pe(g,E,D),t=d.b(z,f,c),t!==k){v=t.a;if(0==v)qg(this,t),ug(a.Qa,d,z),v=jg(f,z),ve(a.Ub,t,e,v);else if(2==v){q[g][z.toString()]=t;continue}else if(3==v)continue;f.b(z,j)}e=Aa(Ma(q),Number);Ia(e);v=d.G;var c=be(fg(f,new pe(g,r.i,r.k))),U,R,I,Y,V,sa;for(U=0;U c;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");c="matrix3d("+c+")";d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.transform=c};function Og(a,b,c){og.call(this,a,b);this.target=c}B(Og,og);Og.prototype.r=function(){Ub(this.target);Og.v.r.call(this)};function Pg(a,b){var c=Qb("DIV");c.className="ol-layer-image";c.style.position="absolute";Og.call(this,a,b,c);this.b=k;this.c=ge()}B(Pg,Og); -Pg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.b,g=this.a.Y(),j=a.B;!j[0]&&!j[1]&&(b=g.I(a.extent,d,b.projection),b!==k&&(g=b.a,0==g?(sc(b,"change",this.Jb,l,this),dg(b)):2==g&&(f=b)));f!==k&&(g=f.H(),j=f.e,b=ee(),ie(b),me(b,a.size.width/2,a.size.height/2),oe(b,e),ne(b,j/d,j/d),me(b,(g.i-c.x)/j,(c.y-g.k)/j),f!=this.b&&(c=cg(f,this),c.style.position="absolute",Sb(this.target),this.target.appendChild(c),this.b=f),ke(b,this.c)||(Ng(this.target,b),he(this.c,b)),sg(a.attributions, -f.ka()))};function Qg(a,b){var c=Qb("DIV");c.className="ol-layer-tile";c.style.position="absolute";Og.call(this,a,b,c);this.c=i;this.d=1;this.b={}}B(Qg,Og); -Qg.prototype.ha=function(a,b){if(b.visible){var c=a.u,d=c.projection,e=this.a.Y(),f=y(e).toString(),g=e.tileGrid;g===k&&(g=lg(d));var j=pf(g.a,c.resolution),n=gg(g,a.extent,g.a[j]),r={};r[j]={};var s=na(e.d,e,r,vg(function(a){return a!==k&&2==a.a},e,g,d)),q,v,u,t,z;for(t=n.i;t<=n.l;++t)for(z=n.j;z<=n.k;++z)if(u=new pe(j,t,z),q=e.b(u,g,d),q!==k){v=q.a;if(0==v)qg(this,q),ug(a.Qa,e,u),v=jg(g,u),ve(a.Ub,q,f,v);else if(2==v){r[j][u.toString()]=q;continue}else if(3==v)continue;g.b(u,s)}s=Aa(Ma(r),Number); -Ia(s);var d={},E;for(q=0;q u&&Tb(this.target,f.target)}else{if(!a.B[0]&&!a.B[1]){v=gg(f.d,a.extent,f.d.a[f.c.m]);u=[];z=t=h;for(z in f.b)t=f.b[z],v.contains(t.V)||u.push(t); -v=h;for(v=0;v =a.$()){for(var a=this.a,d=0;d >1,a[d].L>c.L)a[b]=a[d],b=d;else break;a[b]=c}p=$g.prototype; -p.remove=function(){var a=this.a,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Ca(a);else{a[0]=a.pop();for(var a=0,b=this.a,d=b.length,e=b[a];a >1;){var f=2*a+1,g=2*a+2,f=g e.L)break;b[a]=b[f];a=f}b[a]=e}return c.Z}};p.N=function(){for(var a=this.a,b=[],c=a.length,d=0;d c;++c)d=b.remove(),hh(a,d)},b,u));R?(this.b=q,this.w=v):(this.w=this.b=k,a.R=i)}tg(a.Pa,g,r,q);ng(g,r,a.extent,n);rg(a,g);ie(this.d); -me(this.d,(d.center.x-v.i)/(v.l-v.i),(d.center.y-v.j)/(v.k-v.j));oe(this.d,d.rotation);ne(this.d,a.size.width*d.resolution/(v.l-v.i),a.size.height*d.resolution/(v.k-v.j));me(this.d,-0.5,-0.5)};function ih(){this.n=0;this.c={};this.b=this.a=k}p=ih.prototype;p.clear=function(){this.n=0;this.c={};this.b=this.a=k};function gh(a,b){return a.c.hasOwnProperty(b)}p.forEach=function(a,b){for(var c=this.a;c!==k;)a.call(b,c.Z,c.L,this),c=c.U};function jh(a,b){var c=a.c[b];if(c===a.b)return c.Z;c===a.a?(a.a=a.a.U,a.a.ia=k):(c.U.ia=c.ia,c.ia.U=c.U);c.U=k;c.ia=a.b;a.b.U=c;a.b=c;return c.Z}p.$=m("n");p.W=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.L;return a}; -p.N=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.Z;return a};function kh(a){var b=a.a;delete a.c[b.L];b.U!==k&&(b.U.ia=k);a.a=b.U;a.a===k&&(a.b=k);--a.n}function lh(a,b,c){c={L:b,U:k,ia:a.b,Z:c};a.b===k?a.a=c:a.b.U=c;a.b=c;a.c[b]=c;++a.n};var mh=["webgl","webgl-experimental","webkit-3d","moz-webgl"];function nh(a,b){var c,d,e=mh.length;for(d=0;d >1)-1;0<=b;b--)xe(a,b);for(a=this.ra;0 b;++b)e=c[b],e.rotate(d),e.add(a);f.extent=ae.apply(k,c)}this.e=f;this.J.ob(f);this.p=l;f!==k&&(f.R&&sf(this),Array.prototype.push.apply(this.yb, -f.xa));K(this,new Ze("postrender",this,f));w.setTimeout(this.Pc,0)}};p.Qd=function(a){this.q("backgroundColor",a)};S.prototype.setBackgroundColor=S.prototype.Qd;S.prototype.Rc=function(a){this.q(xg,a)};S.prototype.setLayers=S.prototype.Rc;S.prototype.Ra=function(a){this.q("size",a)};S.prototype.setSize=S.prototype.Ra;S.prototype.Sc=function(a){this.q("view",a)};S.prototype.setView=S.prototype.Sc;function tf(a,b,c){++a.g;try{b.call(c)}finally{0===--a.g&&a.p&&(a=a.d,qd(a),a.Gb())}} -uh.Yc=function(a){var b=w.location.search.substring(1),a=x(a)?a:new Xc(b);return id(a,"renderers")?jd(a,"renderers").split(","):id(a,"renderer")?[jd(a,"renderer")]:wh};Ie(Yf);Ie(ag);function xh(a,b,c){var d=a.length,c=1 b-a.f;)d--;if(0<=d){var b=a.a[d],c=a.a[c],d=c.x-b.x,e=c.y-b.y;a.c=Math.atan2(e,d);a.b=Math.sqrt(d*d+e*e)/(c.Na-b.Na);return a.b>a.d}return l}Df.prototype.pa=function(a){var b=this.e,c=this.b,d=this.d,e=Math.log(this.d/this.b)/this.e;return qf.pa({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};function Ff(){};function Gf(a){this.a=a}B(Gf,Ff);Gf.prototype.oa=function(a){var b=a.a;if(a.type==Ze&&(Nd||lc(a.a))){var c=a.map,d=a.d(),e=a.a.ma?-this.a:this.a;vf(c.a(),c,e,d,250);a.C();b.C()}};function Hf(a){return a.ca&&!a.qb&&a.ma}function If(a){return!a.ca&&!a.qb&&!a.ma}function Jf(a){return!a.ca&&!a.qb&&a.ma};function Kf(){this.e=l;this.p=this.na=this.h=this.g=0;this.Ma=this.f=k}B(Kf,Ff);p=Kf.prototype;p.Ib=ba;p.cb=ba;p.eb=od;p.pc=ba;p.oa=function(a){var b=a.map;if(b.Ha()){var b=b.a(),c=a.a;a.type==bf&&this.pc(a);this.e?a.type==df?(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.Ib(a)):a.type==af&&(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.cb(a),this.e=l):a.type==cf&&(this.g=c.clientX,this.h=c.clientY,this.b=this.d=0,this.f=b.M(),this.Ma=a.d(),this.eb(a)&&(this.e=j,a.C()))}};function Lf(a,b){Kf.call(this);this.o=a;this.a=b;this.c=k}B(Lf,Kf);Lf.prototype.Ib=function(a){this.a&&this.a.a.push({x:a.a.clientX,y:a.a.clientY,Na:pa()});var a=a.map,b=a.a(),c=b.P(),d=b.X(),c=new L(-c*this.d,c*this.b);c.rotate(d);d=new L(this.f.x+c.x,this.f.y+c.y);sf(a);b.a(d)}; +Lf.prototype.cb=function(a){var b=a.map,a=b.a();kf(a,-1);if(this.a&&Ef(this.a)){var c=(this.a.d-this.a.b)/this.a.e,d=this.a.c,e=a.M();this.c=this.a.pa(e);b.c(this.c);e=Mf(b,e);b=We(b,new Ue(e.x-c*Math.cos(d),e.y-c*Math.sin(d)));a.a(b)}};Lf.prototype.eb=function(a){var b=a.a;if(this.o(b)){if(this.a){var c=this.a;c.a.length=0;c.c=0;c.b=0;this.a.a.push({x:b.clientX,y:b.clientY,Na:pa()})}a=a.map;sf(a);kf(a.a(),1);return j}return l}; +Lf.prototype.pc=function(a){var b=a.map,c=b.a();this.c!==k&&Da(b.h,this.c)&&(sf(b),c.a(a.b.u.center),this.c=k)};function Nf(a){Kf.call(this);this.c=a}B(Nf,Kf);Nf.prototype.Ib=function(a){var b=a.map,c=b.f(),a=Xe(a),c=Math.atan2(c.height/2-a.y,a.x-c.width/2);if(x(this.a)){var a=c-this.a,d=b.a();sf(b);rf(d,b,d.X()-a)}this.a=c};Nf.prototype.cb=function(a){var a=a.map,b=a.a();b.rotate(a,b.X(),h,250);kf(b,-1)};Nf.prototype.eb=function(a){var b=a.a;return lc(b)&&this.c(b)?(a=a.map,b=a.a(),sf(a),this.a=h,kf(b,1),j):l};function Of(a){var b=Pb("DIV","ol-dragbox");this.c=k;this.e=a.Ma;this.d=k;wf.call(this,{element:b,map:a.map})}B(Of,wf);Of.prototype.a=function(a){this.d!==k&&(I(this.d),this.d=k);a!==k&&(this.c=Mf(a,this.e),Dc(this.element,this.c),Mc(this.element,new Zd(0,0)),this.d=H(a,df,this.f,l,this));Of.v.a.call(this,a)};Of.prototype.f=function(a){var b=this.b,a=a.d(),b=Mf(b,a);Dc(this.element,new Ue(Math.min(b.x,this.c.x),Math.min(b.y,this.c.y)));Mc(this.element,new Zd(Math.abs(b.x-this.c.x),Math.abs(b.y-this.c.y)))};function Pf(a){Kf.call(this);this.c=a;this.a=k}B(Pf,Kf);Pf.prototype.cb=function(a){this.a.a(k);this.a=k;if(64<=this.d*this.d+this.b*this.b){var b=a.map,c=ce(this.Ma,a.d());tf(b,function(){var a=b.a(),e=b.f();a.f(c,e);a.d(0)})}};Pf.prototype.eb=function(a){var b=a.a;return lc(b)&&this.c(b)?(this.a=new Of({map:a.map,Ma:this.Ma}),j):l};function Qf(a){this.a=a}B(Qf,Ff);Qf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.va;if(40==c||37==c||39==c||38==c){var d=a.map.a(),e=d.P()*this.a,c=40==c?new L(0,-e):37==c?new L(-e,0):39==c?new L(e,0):new L(0,e),e=d.M();d.a(new L(e.x+c.x,e.y+c.y));b.C();a.C()}}};function Rf(){}B(Rf,Ff);Rf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.$a;if(43==c||45==c){var d=a.map,c=43==c?4:-4;sf(d);vf(d.a(),d,c,h,100);b.C();a.C()}}};function Sf(){this.a=0;this.c=k;this.d=this.b=h}B(Sf,Ff);Sf.prototype.oa=function(a){if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.d();this.a+=c.b/3;x(this.b)||(this.b=pa());var d=Math.max(80-(pa()-this.b),0);w.clearTimeout(this.d);this.d=w.setTimeout(na(this.e,this,b),d);a.C();c.C()}};Sf.prototype.e=function(a){var b=Fb(this.a,-1,1),c=a.a();sf(a);vf(c,a,-b,this.c,250);this.a=0;this.c=k;this.d=this.b=h};function Tf(){this.g=l;this.h={};this.targetTouches=[]}B(Tf,Ff);function Uf(a){for(var b=a.length,c=0,d=0,e=0;ethis.o&&(this.a=j));this.c=c;var a=a.map,c=a.a(),d=Ic(a.b),e=Uf(this.targetTouches);e.x-=d.x;e.y-=d.y;d=We(a,e);this.a&&rf(c,a,c.X()+b,d)}; +Wf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();this.a&&b.rotate(a,b.X(),h,250);kf(b,-1);return l}return j};Wf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.c=h,this.a=l,this.b=0,kf(a,1),j):l};function Xf(){Tf.call(this)}B(Xf,Tf);Xf.prototype.e=function(a){var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);x(this.a)&&(b=this.a/e);this.a=e;a=a.map;e=a.a();c=Ic(a.b);d=Uf(this.targetTouches);d.x-=c.x;d.y-=c.y;c=We(a,d);uf(e,a,e.P()*b,c)};Xf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();b.zoom(a,b.P(),h,250);kf(b,-1);return l}return j}; +Xf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.a=h,kf(a,1),j):l};function Yf(a,b){var c=x(a)?a:{},d=new N;(x(c.rotate)?c.rotate:1)&&d.push(new Nf(Hf));if(x(c.Qd)?c.Qd:1)d.push(new Gf(x(c.le)?c.le:1));(x(c.Wd)?c.Wd:1)&&d.push(new Vf(new Df(-0.005,0.05,100)));(x(c.Xd)?c.Xd:1)&&d.push(new Wf);(x(c.Yd)?c.Yd:1)&&d.push(new Xf);(x(c.Rd)?c.Rd:1)&&d.push(new Lf(If,new Df(-0.005,0.05,100)));var e=x(c.Td)?c.Td:80;if(x(c.Sd)?c.Sd:1)d.push(new Qf(e)),d.push(new Rf);(x(c.Ud)?c.Ud:1)&&d.push(new Sf);(x(c.Vd)?c.Vd:1)&&d.push(new Pf(Jf));if(x(b))for(c=0;c c?a[1]="?":c==f.length-1&&(a[1]=h));return a.join("")};function Gg(a,b){return function(c,d,e){return Fg(a,b,c,d,e)}}function Hg(){};function Ig(a){Se.call(this,{attributions:a.attributions,extent:a.extent,projection:a.projection});this.Ga=x(a.Ga)?a.Ga:Hg;this.d=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=x(a.resolutions)?a.resolutions:k}B(Ig,Se);function Jg(a,b,c,d,e){var f=k,d=a.Ga(b,d,e);x(d)&&(f=new fg(b,c,d,a.d,a.ka()));return f};function Kg(a){P.call(this,a)}B(Kg,P);function Lg(a){P.call(this,a)}B(Lg,P);function Mg(a,b){sg.call(this,a,b)}B(Mg,sg);function Ng(a,b){sg.call(this,a,b);this.b=k;this.c=ge()}B(Ng,Mg);Ng.prototype.I=function(){return this.b===k?k:gg(this.b,this)};Ng.prototype.xa=m("c"); +Ng.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.a.Y(),g=a.B;!g[0]&&!g[1]&&(b=f.I(a.extent,d,b.projection),b!==k&&(f=b.a,0==f?(tc(b,"change",this.Jb,l,this),hg(b)):2==f&&(this.b=b)));if(this.b!==k){var b=this.b,f=b.H(),g=b.e,i=this.c;ke(i);oe(i,a.size.width/2,a.size.height/2);qe(i,e);pe(i,g/d,g/d);oe(i,(f.i-c.x)/g,(c.y-f.k)/g);wg(a.attributions,b.ka())}};function Og(a,b){sg.call(this,a,b);this.e=this.c=this.d=k;this.f=ge();this.b=k}B(Og,Mg);Og.prototype.I=m("d");Og.prototype.xa=m("f"); +Og.prototype.ha=function(a){var b=a.u,c=b.projection,d=this.a.Y(),e=y(d).toString(),f=d.tileGrid;f===k&&(f=pg(c));var g=nf(f.a,b.resolution),i=og(f,g),n=f.a[g],r=kg(f,a.extent,n),s=r.ea(),q=r.aa(),i=new Zd(i.width*s,i.height*q),v,u;this.d===k?(v=Rb("CANVAS"),v.width=i.width,v.height=i.height,u=v.getContext("2d"),this.d=v,this.c=i,this.e=u,this.b=Array(s*q)):(v=this.d,u=this.e,this.c.width==i.width&&this.c.height==i.height||(v.width=i.width,v.height=i.height,this.c=i,this.b=Array(s*q)));q={};q[g]= +{};var i=na(d.d,d,q,zg(function(a){return a!==k&&2==a.a},d,f,c)),t,z,E,D;for(E=r.i;E<=r.l;++E)for(D=r.j;D<=r.k;++D)if(z=new re(g,E,D),t=d.b(z,f,c),t!==k){v=t.a;if(0==v)ug(this,t),yg(a.Qa,d,z),v=ng(f,z),xe(a.Vb,t,e,v);else if(2==v){q[g][z.toString()]=t;continue}else if(3==v)continue;f.b(z,i)}e=Aa(Sa(q),Number);Ja(e);v=d.G;var c=de(jg(f,new re(g,r.i,r.k))),U,R,J,Z,V,sa;for(U=0;U c;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");c="matrix3d("+c+")";d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.transform=c};function Sg(a,b,c){sg.call(this,a,b);this.target=c}B(Sg,sg);Sg.prototype.r=function(){Vb(this.target);Sg.v.r.call(this)};function Tg(a,b){var c=Rb("DIV");c.className="ol-layer-image";c.style.position="absolute";Sg.call(this,a,b,c);this.b=k;this.c=ie()}B(Tg,Sg); +Tg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.b,g=this.a.Y(),i=a.B;!i[0]&&!i[1]&&(b=g.I(a.extent,d,b.projection),b!==k&&(g=b.a,0==g?(tc(b,"change",this.Jb,l,this),hg(b)):2==g&&(f=b)));f!==k&&(g=f.H(),i=f.e,b=ge(),ke(b),oe(b,a.size.width/2,a.size.height/2),qe(b,e),pe(b,i/d,i/d),oe(b,(g.i-c.x)/i,(c.y-g.k)/i),f!=this.b&&(c=gg(f,this),c.style.position="absolute",Tb(this.target),this.target.appendChild(c),this.b=f),me(b,this.c)||(Rg(this.target,b),je(this.c,b)),wg(a.attributions, +f.ka()))};function Ug(a,b){var c=Rb("DIV");c.className="ol-layer-tile";c.style.position="absolute";Sg.call(this,a,b,c);this.c=j;this.d=1;this.b={}}B(Ug,Sg); +Ug.prototype.ha=function(a,b){if(b.visible){var c=a.u,d=c.projection,e=this.a.Y(),f=y(e).toString(),g=e.tileGrid;g===k&&(g=pg(d));var i=nf(g.a,c.resolution),n=kg(g,a.extent,g.a[i]),r={};r[i]={};var s=na(e.d,e,r,zg(function(a){return a!==k&&2==a.a},e,g,d)),q,v,u,t,z;for(t=n.i;t<=n.l;++t)for(z=n.j;z<=n.k;++z)if(u=new re(i,t,z),q=e.b(u,g,d),q!==k){v=q.a;if(0==v)ug(this,q),yg(a.Qa,e,u),v=ng(g,u),xe(a.Vb,q,f,v);else if(2==v){r[i][u.toString()]=q;continue}else if(3==v)continue;g.b(u,s)}s=Aa(Sa(r),Number); +Ja(s);var d={},E;for(q=0;q u&&Ub(this.target,f.target)}else{if(!a.B[0]&&!a.B[1]){v=kg(f.d,a.extent,f.d.a[f.c.m]);u=[];z=t=h;for(z in f.b)t=f.b[z],v.contains(t.V)||u.push(t); +v=h;for(v=0;v =a.$()){for(var a=this.a,d=0;d >1,a[d].L>c.L)a[b]=a[d],b=d;else break;a[b]=c}p=dh.prototype; +p.remove=function(){var a=this.a,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Ca(a);else{a[0]=a.pop();for(var a=0,b=this.a,d=b.length,e=b[a];a >1;){var f=2*a+1,g=2*a+2,f=g e.L)break;b[a]=b[f];a=f}b[a]=e}return c.Z}};p.N=function(){for(var a=this.a,b=[],c=a.length,d=0;d c;++c)d=b.remove(),lh(a,d)},b,u));R?(this.b=q,this.w=v):(this.w=this.b=k,a.R=j)}xg(a.Pa,g,r,q);rg(g,r,a.extent,n);vg(a,g);ke(this.d); +oe(this.d,(d.center.x-v.i)/(v.l-v.i),(d.center.y-v.j)/(v.k-v.j));qe(this.d,d.rotation);pe(this.d,a.size.width*d.resolution/(v.l-v.i),a.size.height*d.resolution/(v.k-v.j));oe(this.d,-0.5,-0.5)};function mh(){this.n=0;this.c={};this.b=this.a=k}p=mh.prototype;p.clear=function(){this.n=0;this.c={};this.b=this.a=k};function kh(a,b){return a.c.hasOwnProperty(b)}p.forEach=function(a,b){for(var c=this.a;c!==k;)a.call(b,c.Z,c.L,this),c=c.U};function nh(a,b){var c=a.c[b];if(c===a.b)return c.Z;c===a.a?(a.a=a.a.U,a.a.ia=k):(c.U.ia=c.ia,c.ia.U=c.U);c.U=k;c.ia=a.b;a.b.U=c;a.b=c;return c.Z}p.$=m("n");p.W=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.L;return a}; +p.N=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.Z;return a};function oh(a){var b=a.a;delete a.c[b.L];b.U!==k&&(b.U.ia=k);a.a=b.U;a.a===k&&(a.b=k);--a.n}function ph(a,b,c){c={L:b,U:k,ia:a.b,Z:c};a.b===k?a.a=c:a.b.U=c;a.b=c;a.c[b]=c;++a.n};var qh=["webgl","webgl-experimental","webkit-3d","moz-webgl"];function rh(a,b){var c,d,e=qh.length;for(d=0;d >1)-1;0<=b;b--)ze(a,b);for(a=this.J;0 b;++b)e=c[b],e.rotate(d),e.add(a);f.extent=ce.apply(k,c)}this.e=f;this.G.ob(f);this.p=l;f!==k&&(f.R&&sf(this),Array.prototype.push.apply(this.yb, +f.wa));K(this,new Te("postrender",this,f));w.setTimeout(this.Pc,0)}};p.ae=function(a){this.q("backgroundColor",a)};S.prototype.setBackgroundColor=S.prototype.ae;S.prototype.Rc=function(a){this.q(Bg,a)};S.prototype.setLayers=S.prototype.Rc;S.prototype.Ra=function(a){this.q("size",a)};S.prototype.setSize=S.prototype.Ra;S.prototype.Sc=function(a){this.q("view",a)};S.prototype.setView=S.prototype.Sc;function tf(a,b,c){++a.g;try{b.call(c)}finally{0===--a.g&&a.p&&(a=a.d,sd(a),a.Gb())}} +yh.Yc=function(a){var b=w.location.search.substring(1),a=x(a)?a:new Zc(b);return kd(a,"renderers")?ld(a,"renderers").split(","):kd(a,"renderer")?[ld(a,"renderer")]:Ah};Ke(bg);Ke(eg);function Bh(a,b,c){var d=a.length,c=1 this.d&&!(b=this.a.Z,c=b.V.m.toString(),c in a&&a[c].contains(b.V));)kh(this)};function qi(a){mg.call(this,{attributions:a.attributions,extent:a.extent,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.da=x(a.da)?a.da:mi;this.F=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=new pi}B(qi,mg);qi.prototype.f=function(){return this.a.$()>this.a.d};qi.prototype.Ca=function(a){this.a.Ca(a)};qi.prototype.b=function(a,b,c){var d=a.toString();if(gh(this.a,d))return jh(this.a,d);b=this.da(a,b,c);x(b)?(a=new oi(a,b,this.F),lh(this.a,d,a)):a=k;return a}; -qi.prototype.p=function(a){a=a.toString();gh(this.a,a)&&jh(this.a,a)};function ri(a){var b=Array(a.maxZoom+1),c,d=2*Xf/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);eg.call(this,{origin:new L(-Xf,Xf),resolutions:b,tileSize:new Xd(256,256)})}B(ri,eg);ri.prototype.b=function(a,b,c){for(var d=a.x,e=a.y,a=a.m,f;;){a-=1;if(0>a)break;d>>=1;e>>=1;f=new re(d,e,d,e);if(b.call(c,a,f))break}};function si(a){qi.call(this,{opaque:i,projection:Ne("EPSG:3857")});this.Zc=x(a.culture)?a.culture:"en-us";this.g=l;var b=new Sc("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new gi(b),a={include:"ImageryProviders",key:a.key},c=na(this.t,this),a=a||k,d="_"+(hi++).toString(36)+pa().toString(36);w._callbacks_||(w._callbacks_={});var e=b.b.S();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&fd(e,f,a[f]);c&&(w._callbacks_[d]=function(a){ii(d,i);c.apply(h,arguments)},fd(e, -b.a,"_callbacks_."+d));f=ai(e.toString(),{timeout:b.vb,cc:i});f.a.push([k,function(){ii(d,l)},h]);f.ja&&Xh(f)}B(si,qi); -si.prototype.t=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new ri({maxZoom:d,tileSize:new Xd(b.imageWidth,b.imageHeight)});this.tileGrid=e;this.da=ni(function(a){if(a.m e||b<=e?k:new pe(a.m,Fb(a.x,b),e)},ki(Aa(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.Zc);return function(a){return a===k?h:c.replace("{quadkey}",qe(a))}})));var f=De(Ne("EPSG:4326"),this.o);this.e= -Aa(b.imageryProviders,function(a){var b=a.attribution,c={};C(a.coverageAreas,function(a){var b=a.zoomMin,d=a.zoomMax,a=a.bbox,a=(new $d(a[1],a[0],a[3],a[2])).transform(f),g,j;for(g=b;g<=d;++g)j=g.toString(),b=gg(e,a,e.a[g]),j in c?c[j].push(b):c[j]=[b]});return new se(b,c)});this.g=i;K(this,"load")};si.prototype.c=m("g");function ti(a,b){te.call(this,a);this.a=2;this.f=a;this.d=kg(b,a.m);this.c={}}B(ti,te);ti.prototype.I=function(a){a=x(a)?y(a):-1;if(a in this.c)return this.c[a];var b=this.d,c=Qb("CANVAS");c.width=b.width;c.height=b.height;var d=c.getContext("2d");d.strokeStyle="black";d.strokeRect(0.5,0.5,b.width+0.5,b.height+0.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.f.toString(),b.width/2,b.height/2);return this.c[a]=c}; -function ui(a){mg.call(this,{extent:a.extent,opaque:l,projection:a.projection,tileGrid:a.tileGrid});this.a=new pi}B(ui,mg);ui.prototype.f=function(){return this.a.$()>this.a.d};ui.prototype.Ca=function(a){this.a.Ca(a)};ui.prototype.b=function(a){var b=a.toString();if(gh(this.a,b))return jh(this.a,b);a=new ti(a,this.tileGrid);lh(this.a,b,a);return a};function vi(a){var b=a.projection||Ne("EPSG:3857"),c=mi;x(a.da)?c=a.da:x(a.urls)?c=ki(Aa(a.urls,ji)):x(a.url)&&(c=ji(a.url));var d=new ri({maxZoom:a.maxZoom}),e=a.extent,c=e!=k?ni(function(b){if(a.maxZoom j||c<=j)return k;c=Fb(b.x,c);return!Zd(fg(d,new pe(b.m,c,b.y)),e)?k:new pe(b.m,c,j)},c):ni(function(b){if(a.maxZoom d||c<=d?k:new pe(b.m,Fb(b.x,c),d)},c);qi.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin, -extent:a.extent,projection:b,tileGrid:d,da:c})}B(vi,qi);function wi(){vi.call(this,{attributions:[new se('Tiles Courtesy of MapQuest '),new se('Data © OpenStreetMap contributors, CC BY-SA')],opaque:i,maxZoom:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}B(wi,vi); -function xi(){vi.call(this,{attributions:[new se('Tiles Courtesy of MapQuest
'),new se("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],maxZoom:18,opaque:i,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}B(xi,vi);function yi(){vi.call(this,{attributions:[new se('© OpenStreetMap contributors, CC BY-SA')],opaque:i,maxZoom:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}B(yi,vi);function zi(a){Eg.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,resolutions:a.resolutions,Ga:x(a.url)?Cg(a.url,a.params):Dg});this.b=k;this.f=1.5}B(zi,Eg); -zi.prototype.I=function(a,b,c){this.a===k||(b=this.a[pf(this.a,b)]);var d=this.b,e;if(e=d!==k)if(e=d.e==b)e=d.H(),e=e.i<=a.i&&a.l<=e.l&&e.j<=a.j&&a.k<=e.k;if(e)return d;var d=a=new $d(a.i,a.j,a.l,a.k),f=this.f;e=d.ea()/2*(f-1);f=d.aa()/2*(f-1);d.i-=e;d.j-=f;d.l+=e;d.k+=f;return this.b=Fg(this,a,b,new Xd(a.ea()/b,a.aa()/b),c)};var Ai={terrain:{T:"jpg",opaque:i},"terrain-background":{T:"jpg",opaque:i},"terrain-labels":{T:"png",opaque:l},"terrain-lines":{T:"png",opaque:l},"toner-background":{T:"png",opaque:i},toner:{T:"png",opaque:i},"toner-hybrid":{T:"png",opaque:l},"toner-labels":{T:"png",opaque:l},"toner-lines":{T:"png",opaque:l},"toner-lite":{T:"png",opaque:i},watercolor:{T:"jpg",opaque:i}},Bi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}}; -function Ci(a){var b=new se('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),d=Ai[a.layer];vi.call(this,{attributions:[b],maxZoom:Bi[c].maxZoom,opaque:d.opaque,url:x(a.url)?a.url:"http://{a-d}.tile.stamen.com/"+a.layer+ -"/{z}/{x}/{y}."+d.T})}B(Ci,vi);function Di(a){var b=a.imageExtent,c=a.imageSize,d=b.aa()/c.height,e=x(a.projection)?a.projection:k,f=a.url;Eg.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,Ga:function(){return f},resolutions:[d]});this.b=Fg(this,b,d,c,e)}B(Di,Eg);Di.prototype.I=function(a){return Zd(a,this.b.H())?this.b:k};var Ei=[];A("grid",function(a){Ei.push(a)});function Fi(a){qi.call(this,{projection:Ne("EPSG:3857")});this.g=l;a=this.t=ai(a.uri,{cc:i});a.a.push([this.w,k,this]);a.ja&&Xh(a)}B(Fi,qi); -Fi.prototype.w=function(){var a=Ei.pop(),b=Ne("EPSG:4326"),c,d;x(a.bounds)?(c=a.bounds,c=new $d(c[0],c[1],c[2],c[3]),this.h=d=c.transform(De(b,this.o))):d=c=k;var e=a.minzoom||0,f=a.maxzoom||22,g=new ri({maxZoom:f});this.tileGrid=g;this.da=ni(function(a){if(a.m
c||b<=c)return k;b=Fb(a.x,b);return d!==k&&!Zd(fg(g,new pe(a.m,b,a.y)),d)?k:new pe(a.m,b,c)},ki(Aa(a.tiles,ji)));if(x(a.attribution)){b=d===k?b.H():d;c={};var j,n;for(j=e;j<=f;++j)n=j.toString(), -c[n]=[gg(g,b,g.a[j])];this.e=[new se(a.attribution,c)]}this.g=i;K(this,"load")};Fi.prototype.c=m("g");function Gi(a){var b;a.urls?(b=Aa(a.urls,function(b){return li(b,a.params)}),b=ki(b)):b=a.url?li(a.url,a.params):mi;var c=a.extent;qi.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:c,tileGrid:a.tileGrid,opaque:!(x(a.params.TRANSPARENT)?a.params.TRANSPARENT:1),projection:a.projection,da:ni(function(a,b,f){if(b.Fb().length<=a.m)return k;var g=a.x,j=fg(b,a),f=f.H();c=x(c)?c:f;c.i===f.i&&c.l===f.l&&(j=Math.ceil((c.l-c.i)/(j.l-j.i)),g=Fb(g,j),j=fg(b,new pe(a.m,g,a.y)));return!Zd(j, -c)?k:new pe(a.m,g,a.y)},b)})}B(Gi,qi);A("goog.require",ba);function Hi(a){T.call(this,{element:a.element,map:a.map,position:a.position,positioning:a.positioning})}B(Hi,T);A("ol.AnchoredElement",Hi);A("ol.AnchoredElementPositioning",zh);zh.BOTTOM_LEFT="bottom-left";zh.BOTTOM_RIGHT="bottom-right";zh.TOP_LEFT="top-left";zh.TOP_RIGHT="top-right";A("ol.Attribution",se);A("ol.Collection",N);N.prototype.clear=N.prototype.clear;N.prototype.forEach=N.prototype.forEach;N.prototype.getArray=N.prototype.bd;N.prototype.getAt=N.prototype.cd; -N.prototype.getLength=N.prototype.Za;N.prototype.insertAt=N.prototype.fb;N.prototype.pop=N.prototype.vc;N.prototype.push=N.prototype.push;N.prototype.removeAt=N.prototype.Bc;N.prototype.setAt=N.prototype.Pd;A("ol.Coordinate",L);L.toStringHDMS=function(a){return x(a)?Pc(a.y,"NS")+" "+Pc(a.x,"EW"):""};A("ol.Extent",$d);$d.prototype.getHeight=$d.prototype.aa;$d.prototype.getWidth=$d.prototype.ea;A("ol.Geolocation",X); -function Ii(a){S.call(this,{attributionControl:a.attributionControl,doubleClickZoom:a.doubleClickZoom,dragPan:a.dragPan,interactions:a.interactions,keyboard:a.keyboard,keyboardPanOffset:a.keyboardPanOffset,layers:a.layers,mouseWheelZoom:a.mouseWheelZoom,renderer:a.renderer,renderers:a.renderers,scaleLineControl:a.scaleLineControl,scaleLineUnits:a.scaleLineUnits,shiftDragZoom:a.shiftDragZoom,target:a.target,touchPan:a.touchPan,touchRotate:a.touchRotate,touchZoom:a.touchZoom,view:a.view,zoomControl:a.zoomControl, -zoomDelta:a.zoomDelta})}B(Ii,S);A("ol.Map",Ii);S.prototype.addPreRenderFunction=S.prototype.c;S.prototype.addPreRenderFunctions=S.prototype.Ab;S.prototype.getInteractions=S.prototype.Mc;S.prototype.getRenderer=S.prototype.Oc;af.prototype.getCoordinate=af.prototype.d;A("ol.Object",M);M.prototype.bindTo=M.prototype.Uc;M.prototype.changed=M.prototype.Xc;M.prototype.get=M.prototype.s;M.prototype.notify=M.prototype.uc;M.prototype.set=M.prototype.q;M.prototype.setOptions=M.prototype.Ec; -M.prototype.setValues=M.prototype.nb;M.prototype.unbind=M.prototype.Vb;M.prototype.unbindAll=M.prototype.Zd;A("ol.Projection",O);O.prototype.getAxisOrientation=O.prototype.g;O.prototype.getCode=O.prototype.h;O.prototype.getExtent=O.prototype.H;O.prototype.getPointResolution=O.prototype.b;O.prototype.getUnits=O.prototype.o;A("ol.ProjectionUnits",Be);Be.DEGREES="degrees";Be.METERS="m";A("ol.RendererHint",vh);vh.CANVAS="canvas";vh.DOM="dom";vh.WEBGL="webgl";A("ol.RendererHints",uh); -uh.createFromQueryData=uh.Yc;function Ji(a){Q.call(this,{center:a.center,maxResolution:a.maxResolution,numZoomLevels:a.numZoomLevels,projection:a.projection,resolution:a.resolution,resolutions:a.resolutions,rotation:a.rotation,zoom:a.zoom,zoomFactor:a.zoomFactor})}B(Ji,Q);A("ol.View2D",Ji);A("ol.animation",We);We.bounce=We.Cb;We.pan=We.pa;We.rotate=We.rotate;We.zoom=We.zoom;function Ki(a){xf.call(this,{map:a.map,target:a.target})}B(Ki,xf);A("ol.control.Attribution",Ki);xf.prototype.setMap=xf.prototype.a; -function Li(a){Ch.call(this,{coordinateFormat:a.coordinateFormat,map:a.map,projection:a.projection,target:a.target,undefinedHTML:a.undefinedHTML})}B(Li,Ch);A("ol.control.MousePosition",Li);Ch.prototype.setMap=Ch.prototype.a;function Mi(a){zf.call(this,{map:a.map,minWidth:a.minWidth,target:a.target,units:a.units})}B(Mi,zf);A("ol.control.ScaleLine",Mi);zf.prototype.setMap=zf.prototype.a;A("ol.control.ScaleLineUnits",yf);yf.DEGREES="degrees";yf.IMPERIAL="imperial";yf.METRIC="metric";yf.NAUTICAL="nautical"; -yf.US="us";function Ni(a){Bf.call(this,{delta:a.delta,map:a.map,target:a.target})}B(Ni,Bf);A("ol.control.Zoom",Ni);Bf.prototype.setMap=Bf.prototype.a;A("ol.easing",Ve);Ve.bounce=Ve.Cb;Ve.elastic=Ve.$c;Ve.linear=Ve.qc;Ve.upAndDown=Ve.Jc;A("ol.interaction.Keyboard",Eh);Eh.prototype.addCallback=Eh.prototype.b;function Oi(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Oi,Gg); -A("ol.layer.ImageLayer",Oi);function Pi(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Pi,Hg);A("ol.layer.TileLayer",Pi);A("ol.parser.ogc.WMSCapabilities",Qh);Qh.prototype.read=Qh.prototype.sa;A("ol.parser.ogc.WMTSCapabilities",Uh);Uh.prototype.read=Uh.prototype.sa;A("ol.projection.addProjection",Je);A("ol.projection.getFromCode",Ne);A("ol.projection.getTransform",De); -A("ol.projection.getTransformFromCodes",Pe);A("ol.projection.transform",function(a,b,c){b=De(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});A("ol.projection.transformWithCodes",function(a,b,c){b=Pe(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});Lg.prototype.getCanvas=Lg.prototype.Xa;A("ol.source.BingMaps",si);function Qi(a){ui.call(this,{extent:a.extent,projection:a.projection,tileGrid:a.tileGrid})}B(Qi,ui);A("ol.source.DebugTileSource",Qi);A("ol.source.MapQuestOSM",wi); -A("ol.source.MapQuestOpenAerial",xi);A("ol.source.OpenStreetMap",yi);A("ol.source.SingleImageWMS",zi);A("ol.source.Stamen",Ci);A("ol.source.StaticImage",Di);A("ol.source.TileJSON",Fi);A("ol.source.TiledWMS",Gi);function Ri(a){eg.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}B(Ri,eg);A("ol.tilegrid.TileGrid",Ri);function Si(a){ri.call(this,{maxZoom:a.maxZoom})}B(Si,ri);A("ol.tilegrid.XYZ",Si);We.be={};We.se={};We.te={};We.Ce={};})(); +function Zh(a,b){this.a=[];this.f=a;this.e=b||k}p=Zh.prototype;p.ja=l;p.Ea=l;p.Ka=0;p.Fc=l;p.Wc=l;p.Vc=0;p.fc=function(a,b){$h(this,a,b);this.Ka--;0==this.Ka&&this.ja&&ai(this)};function $h(a,b,c){a.ja=j;a.b=c;a.Ea=!b;ai(a)}function bi(a){if(a.ja){if(!a.Fc)throw new ci(a);a.Fc=l}}function di(a){return Ba(a.a,function(a){return ha(a[1])})} +function ai(a){a.c&&(a.ja&&di(a))&&(w.clearTimeout(a.c),delete a.c);a.d&&(a.d.Vc--,delete a.d);for(var b=a.b,c=l,d=l;a.a.length&&0==a.Ka;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.Ea?g:f)try{var i=f.call(e||a.e,b);x(i)&&(a.Ea=a.Ea&&(i==b||i instanceof Error),a.b=b=i);b instanceof Zh&&(d=j,a.Ka++)}catch(n){b=n,a.Ea=j,di(a)||(c=j)}}a.b=b;d&&a.Ka&&(d=b,i=na(a.fc,a,j),f=na(a.fc,a,l),d.a.push([i,f,h]),d.ja&&ai(d),b.Wc=j);c&&(a.c=w.setTimeout(function(){throw b;},0))} +function ci(a){qa.call(this);this.a=a}B(ci,qa);ci.prototype.message="Deferred has already fired";ci.prototype.name="AlreadyCalledError";function ei(a,b){var c=b||{},d=c.document||document,e=Rb("SCRIPT"),f={Cc:e,vb:h},g=new Zh(fi,f),i=k,n=c.timeout!=k?c.timeout:5E3;0 this.d&&!(b=this.a.Z,c=b.V.m.toString(),c in a&&a[c].contains(b.V));)oh(this)};function ui(a){qg.call(this,{attributions:a.attributions,extent:a.extent,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.da=x(a.da)?a.da:qi;this.F=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=new ti}B(ui,qg);ui.prototype.f=function(){return this.a.$()>this.a.d};ui.prototype.Ca=function(a){this.a.Ca(a)};ui.prototype.b=function(a,b,c){var d=a.toString();if(kh(this.a,d))return nh(this.a,d);b=this.da(a,b,c);x(b)?(a=new si(a,b,this.F),ph(this.a,d,a)):a=k;return a}; +ui.prototype.p=function(a){a=a.toString();kh(this.a,a)&&nh(this.a,a)};function vi(a){var b=Array(a.maxZoom+1),c,d=2*ag/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);ig.call(this,{origin:new L(-ag,ag),resolutions:b,tileSize:new Zd(256,256)})}B(vi,ig);vi.prototype.b=function(a,b,c){for(var d=a.x,e=a.y,a=a.m,f;;){a-=1;if(0>a)break;d>>=1;e>>=1;f=new te(d,e,d,e);if(b.call(c,a,f))break}};function wi(a){ui.call(this,{opaque:j,projection:Pe("EPSG:3857")});this.Zc=x(a.culture)?a.culture:"en-us";this.g=l;var b=new Uc("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new ki(b),a={include:"ImageryProviders",key:a.key},c=na(this.t,this),a=a||k,d="_"+(li++).toString(36)+pa().toString(36);w._callbacks_||(w._callbacks_={});var e=b.b.S();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&hd(e,f,a[f]);c&&(w._callbacks_[d]=function(a){mi(d,j);c.apply(h,arguments)},hd(e, +b.a,"_callbacks_."+d));f=ei(e.toString(),{timeout:b.vb,dc:j});f.a.push([k,function(){mi(d,l)},h]);f.ja&&ai(f)}B(wi,ui); +wi.prototype.t=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new vi({maxZoom:d,tileSize:new Zd(b.imageWidth,b.imageHeight)});this.tileGrid=e;this.da=ri(function(a){if(a.m e||b<=e?k:new re(a.m,Gb(a.x,b),e)},oi(Aa(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.Zc);return function(a){return a===k?h:c.replace("{quadkey}",se(a))}})));var f=Fe(Pe("EPSG:4326"),this.o);this.e= +Aa(b.imageryProviders,function(a){var b=a.attribution,c={};C(a.coverageAreas,function(a){var b=a.zoomMin,d=a.zoomMax,a=a.bbox,a=(new be(a[1],a[0],a[3],a[2])).transform(f),g,i;for(g=b;g<=d;++g)i=g.toString(),b=kg(e,a,e.a[g]),i in c?c[i].push(b):c[i]=[b]});return new ue(b,c)});this.g=j;K(this,"load")};wi.prototype.c=m("g");function xi(a,b){ve.call(this,a);this.a=2;this.f=a;this.d=og(b,a.m);this.c={}}B(xi,ve);xi.prototype.I=function(a){a=x(a)?y(a):-1;if(a in this.c)return this.c[a];var b=this.d,c=Rb("CANVAS");c.width=b.width;c.height=b.height;var d=c.getContext("2d");d.strokeStyle="black";d.strokeRect(0.5,0.5,b.width+0.5,b.height+0.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.f.toString(),b.width/2,b.height/2);return this.c[a]=c}; +function yi(a){qg.call(this,{extent:a.extent,opaque:l,projection:a.projection,tileGrid:a.tileGrid});this.a=new ti}B(yi,qg);yi.prototype.f=function(){return this.a.$()>this.a.d};yi.prototype.Ca=function(a){this.a.Ca(a)};yi.prototype.b=function(a){var b=a.toString();if(kh(this.a,b))return nh(this.a,b);a=new xi(a,this.tileGrid);ph(this.a,b,a);return a};function zi(a){var b=a.projection||Pe("EPSG:3857"),c=qi;x(a.da)?c=a.da:x(a.urls)?c=oi(Aa(a.urls,ni)):x(a.url)&&(c=ni(a.url));var d=new vi({maxZoom:a.maxZoom}),e=a.extent,c=e!=k?ri(function(b){if(a.maxZoom i||c<=i)return k;c=Gb(b.x,c);return!ae(jg(d,new re(b.m,c,b.y)),e)?k:new re(b.m,c,i)},c):ri(function(b){if(a.maxZoom d||c<=d?k:new re(b.m,Gb(b.x,c),d)},c);ui.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin, +extent:a.extent,projection:b,tileGrid:d,da:c})}B(zi,ui);function Ai(){zi.call(this,{attributions:[new ue('Tiles Courtesy of MapQuest '),new ue('Data © OpenStreetMap contributors, CC BY-SA')],opaque:j,maxZoom:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}B(Ai,zi); +function Bi(){zi.call(this,{attributions:[new ue('Tiles Courtesy of MapQuest
'),new ue("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],maxZoom:18,opaque:j,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}B(Bi,zi);function Ci(){zi.call(this,{attributions:[new ue('© OpenStreetMap contributors, CC BY-SA')],opaque:j,maxZoom:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}B(Ci,zi);function Di(a){Ig.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,resolutions:a.resolutions,Ga:x(a.url)?Gg(a.url,a.params):Hg});this.b=k;this.f=1.5}B(Di,Ig); +Di.prototype.I=function(a,b,c){this.a===k||(b=this.a[nf(this.a,b)]);var d=this.b,e;if(e=d!==k)if(e=d.e==b)e=d.H(),e=e.i<=a.i&&a.l<=e.l&&e.j<=a.j&&a.k<=e.k;if(e)return d;var d=a=new be(a.i,a.j,a.l,a.k),f=this.f;e=d.ea()/2*(f-1);f=d.aa()/2*(f-1);d.i-=e;d.j-=f;d.l+=e;d.k+=f;return this.b=Jg(this,a,b,new Zd(a.ea()/b,a.aa()/b),c)};var Ei={terrain:{T:"jpg",opaque:j},"terrain-background":{T:"jpg",opaque:j},"terrain-labels":{T:"png",opaque:l},"terrain-lines":{T:"png",opaque:l},"toner-background":{T:"png",opaque:j},toner:{T:"png",opaque:j},"toner-hybrid":{T:"png",opaque:l},"toner-labels":{T:"png",opaque:l},"toner-lines":{T:"png",opaque:l},"toner-lite":{T:"png",opaque:j},watercolor:{T:"jpg",opaque:j}},Fi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}}; +function Gi(a){var b=new ue('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),d=Ei[a.layer];zi.call(this,{attributions:[b],maxZoom:Fi[c].maxZoom,opaque:d.opaque,url:x(a.url)?a.url:"http://{a-d}.tile.stamen.com/"+a.layer+ +"/{z}/{x}/{y}."+d.T})}B(Gi,zi);function Hi(a){var b=a.imageExtent,c=a.imageSize,d=b.aa()/c.height,e=x(a.projection)?a.projection:k,f=a.url;Ig.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,Ga:function(){return f},resolutions:[d]});this.b=Jg(this,b,d,c,e)}B(Hi,Ig);Hi.prototype.I=function(a){return ae(a,this.b.H())?this.b:k};var Ii=[];A("grid",function(a){Ii.push(a)});function Ji(a){ui.call(this,{projection:Pe("EPSG:3857")});this.g=l;a=this.t=ei(a.uri,{dc:j});a.a.push([this.w,k,this]);a.ja&&ai(a)}B(Ji,ui); +Ji.prototype.w=function(){var a=Ii.pop(),b=Pe("EPSG:4326"),c,d;x(a.bounds)?(c=a.bounds,c=new be(c[0],c[1],c[2],c[3]),this.h=d=c.transform(Fe(b,this.o))):d=c=k;var e=a.minzoom||0,f=a.maxzoom||22,g=new vi({maxZoom:f});this.tileGrid=g;this.da=ri(function(a){if(a.m
c||b<=c)return k;b=Gb(a.x,b);return d!==k&&!ae(jg(g,new re(a.m,b,a.y)),d)?k:new re(a.m,b,c)},oi(Aa(a.tiles,ni)));if(x(a.attribution)){b=d===k?b.H():d;c={};var i,n;for(i=e;i<=f;++i)n=i.toString(), +c[n]=[kg(g,b,g.a[i])];this.e=[new ue(a.attribution,c)]}this.g=j;K(this,"load")};Ji.prototype.c=m("g");function Ki(a){var b;a.urls?(b=Aa(a.urls,function(b){return pi(b,a.params)}),b=oi(b)):b=a.url?pi(a.url,a.params):qi;var c=a.extent;ui.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:c,tileGrid:a.tileGrid,opaque:!(x(a.params.TRANSPARENT)?a.params.TRANSPARENT:1),projection:a.projection,da:ri(function(a,b,f){if(b.Fb().length<=a.m)return k;var g=a.x,i=jg(b,a),f=f.H();c=x(c)?c:f;c.i===f.i&&c.l===f.l&&(i=Math.ceil((c.l-c.i)/(i.l-i.i)),g=Gb(g,i),i=jg(b,new re(a.m,g,a.y)));return!ae(i, +c)?k:new re(a.m,g,a.y)},b)})}B(Ki,ui);A("goog.require",ba);function Li(a){T.call(this,{element:a.element,map:a.map,position:a.position,positioning:a.positioning})}B(Li,T);A("ol.AnchoredElement",Li);A("ol.AnchoredElementPositioning",Dh);Dh.BOTTOM_LEFT="bottom-left";Dh.BOTTOM_RIGHT="bottom-right";Dh.TOP_LEFT="top-left";Dh.TOP_RIGHT="top-right";A("ol.Attribution",ue);A("ol.Collection",N);N.prototype.clear=N.prototype.clear;N.prototype.forEach=N.prototype.forEach;N.prototype.getAt=N.prototype.bd;N.prototype.getLength=N.prototype.Za; +N.prototype.insertAt=N.prototype.fb;N.prototype.pop=N.prototype.wc;N.prototype.push=N.prototype.push;N.prototype.remove=N.prototype.remove;N.prototype.removeAt=N.prototype.Rb;N.prototype.setAt=N.prototype.$d;A("ol.Coordinate",L);L.toStringHDMS=function(a){return x(a)?Rc(a.y,"NS")+" "+Rc(a.x,"EW"):""};A("ol.Extent",be);be.prototype.getHeight=be.prototype.aa;be.prototype.getWidth=be.prototype.ea;A("ol.Geolocation",X); +function Mi(a){S.call(this,{controls:a.controls,interactions:a.interactions,layers:a.layers,renderer:a.renderer,renderers:a.renderers,target:a.target,view:a.view})}B(Mi,S);A("ol.Map",Mi);S.prototype.addPreRenderFunction=S.prototype.c;S.prototype.addPreRenderFunctions=S.prototype.Ab;S.prototype.getInteractions=S.prototype.Mc;S.prototype.getRenderer=S.prototype.Oc;Ve.prototype.getCoordinate=Ve.prototype.d;A("ol.Object",M);M.prototype.bindTo=M.prototype.Uc;M.prototype.changed=M.prototype.Xc; +M.prototype.get=M.prototype.s;M.prototype.notify=M.prototype.vc;M.prototype.set=M.prototype.q;M.prototype.setOptions=M.prototype.Ec;M.prototype.setValues=M.prototype.nb;M.prototype.unbind=M.prototype.Wb;M.prototype.unbindAll=M.prototype.je;A("ol.Projection",O);O.prototype.getAxisOrientation=O.prototype.g;O.prototype.getCode=O.prototype.h;O.prototype.getExtent=O.prototype.H;O.prototype.getPointResolution=O.prototype.b;O.prototype.getUnits=O.prototype.o;A("ol.ProjectionUnits",De);De.DEGREES="degrees"; +De.METERS="m";A("ol.RendererHint",zh);zh.CANVAS="canvas";zh.DOM="dom";zh.WEBGL="webgl";A("ol.RendererHints",yh);yh.createFromQueryData=yh.Yc;function Ni(a){Q.call(this,{center:a.center,maxResolution:a.maxResolution,numZoomLevels:a.numZoomLevels,projection:a.projection,resolution:a.resolution,resolutions:a.resolutions,rotation:a.rotation,zoom:a.zoom,zoomFactor:a.zoomFactor})}B(Ni,Q);A("ol.View2D",Ni);Q.prototype.fitExtent=Q.prototype.f;Q.prototype.getView2D=Q.prototype.g;A("ol.animation",qf); +qf.bounce=qf.Cb;qf.pan=qf.pa;qf.rotate=qf.rotate;qf.zoom=qf.zoom;function Oi(a){xf.call(this,{map:a.map,target:a.target})}B(Oi,xf);A("ol.control.Attribution",Oi);xf.prototype.setMap=xf.prototype.a;function Pi(a){Gh.call(this,{coordinateFormat:a.coordinateFormat,map:a.map,projection:a.projection,target:a.target,undefinedHTML:a.undefinedHTML})}B(Pi,Gh);A("ol.control.MousePosition",Pi);Gh.prototype.setMap=Gh.prototype.a; +function Qi(a){zf.call(this,{map:a.map,minWidth:a.minWidth,target:a.target,units:a.units})}B(Qi,zf);A("ol.control.ScaleLine",Qi);zf.prototype.setMap=zf.prototype.a;A("ol.control.ScaleLineUnits",yf);yf.DEGREES="degrees";yf.IMPERIAL="imperial";yf.METRIC="metric";yf.NAUTICAL="nautical";yf.US="us";function Ri(a){Bf.call(this,{delta:a.delta,map:a.map,target:a.target})}B(Ri,Bf);A("ol.control.Zoom",Ri);Bf.prototype.setMap=Bf.prototype.a;A("ol.control.defaults",Cf);A("ol.easing",pf);pf.bounce=pf.Cb; +pf.elastic=pf.$c;pf.linear=pf.rc;pf.upAndDown=pf.Jc;A("ol.interaction.Keyboard",Ih);Ih.prototype.addCallback=Ih.prototype.b;A("ol.interaction.defaults",Yf);function Si(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Si,Kg);A("ol.layer.ImageLayer",Si); +function Ti(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Ti,Lg);A("ol.layer.TileLayer",Ti);A("ol.parser.ogc.WMSCapabilities",Uh);Uh.prototype.read=Uh.prototype.ra;A("ol.parser.ogc.WMTSCapabilities",Yh);Yh.prototype.read=Yh.prototype.ra;A("ol.projection.addProjection",Le);A("ol.projection.getFromCode",Pe);A("ol.projection.getTransform",Fe);A("ol.projection.getTransformFromCodes",Re); +A("ol.projection.transform",function(a,b,c){b=Fe(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});A("ol.projection.transformWithCodes",function(a,b,c){b=Re(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});Pg.prototype.getCanvas=Pg.prototype.Xa;A("ol.source.BingMaps",wi);function Ui(a){yi.call(this,{extent:a.extent,projection:a.projection,tileGrid:a.tileGrid})}B(Ui,yi);A("ol.source.DebugTileSource",Ui);A("ol.source.MapQuestOSM",Ai);A("ol.source.MapQuestOpenAerial",Bi); +A("ol.source.OpenStreetMap",Ci);A("ol.source.SingleImageWMS",Di);A("ol.source.Stamen",Gi);A("ol.source.StaticImage",Hi);A("ol.source.TileJSON",Ji);A("ol.source.TiledWMS",Ki);function Vi(a){ig.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}B(Vi,ig);A("ol.tilegrid.TileGrid",Vi);function Wi(a){vi.call(this,{maxZoom:a.maxZoom})}B(Wi,vi);A("ol.tilegrid.XYZ",Wi);qf.oe={};qf.Fe={};qf.Ge={};qf.Pe={};})(); diff --git a/master/examples/anchored-elements.html b/master/examples/anchored-elements.html index 5d7b25b747..2f7cbc57f2 100644 --- a/master/examples/anchored-elements.html +++ b/master/examples/anchored-elements.html @@ -1,31 +1,13 @@ - - + + - + - + + + - ol3 canvas tiles demo + + + + +Canvas tiles example -Canvas tiles example
-The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).--
-- -DOM -WebGL -Canvas -- -- - - -See the - canvas-tiles.js source - to see how this is done.
+ + - + ++ +++ +++Canvas
+ +++WebGL
+ +++DOM
+ ++ ++ + diff --git a/master/examples/epsg-4326.html b/master/examples/epsg-4326.html index ea7e3e1691..a845d8f468 100644 --- a/master/examples/epsg-4326.html +++ b/master/examples/epsg-4326.html @@ -1,47 +1,52 @@ - - + + - + - - + + +++ +Canvas tiles example
+The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).
+++ +See the canvas-tiles.js source to see how this is done.
+EPSG:4326 example ---EPSG:4326 example
-Example of a epsg-4326 map.--See the - epsg-4326.js source - to see how this is done.
+ + - + ++ ++ + diff --git a/master/examples/epsg-4326.js b/master/examples/epsg-4326.js index 303da4c23e..5219ed456a 100644 --- a/master/examples/epsg-4326.js +++ b/master/examples/epsg-4326.js @@ -4,6 +4,7 @@ goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.control.ScaleLineUnits'); +goog.require('ol.control.defaults'); goog.require('ol.layer.TileLayer'); goog.require('ol.projection'); goog.require('ol.source.TiledWMS'); @@ -24,11 +25,16 @@ var layers = new ol.Collection([ ]); var map = new ol.Map({ + controls: ol.control.defaults({ + scaleLine: true, + // FIXME The typecast here is only needed if the example is compiled + scaleLineOptions: /** @type {ol.control.ScaleLineOptions} */ ({ + units: ol.control.ScaleLineUnits.DEGREES + }) + }), layers: layers, // The OSgeo server does not set cross origin headers, so we cannot use WebGL renderers: [ol.RendererHint.CANVAS, ol.RendererHint.DOM], - scaleLineControl: true, - scaleLineUnits: ol.control.ScaleLineUnits.DEGREES, target: 'map', view: new ol.View2D({ projection: ol.projection.getFromCode('EPSG:4326'), diff --git a/master/examples/example-list.js b/master/examples/example-list.js index c0a14c1819..4f046a24a5 100644 --- a/master/examples/example-list.js +++ b/master/examples/example-list.js @@ -1 +1 @@ -var info={"index": {"origin": {"1": 2}, "and": {"8": 1, "4": 1, "6": 1}, "layer": {"9": 1, "6": 1}, "projection": {"8": 3}, "capabilities": {"7": 1}, "ed": {"4": 1, "6": 1}, "national": {"8": 1}, "4326": {"2": 2}, "sync": {"4": 2, "6": 1}, "21781": {"8": 1}, "an": {"1": 1}, "openaerial": {"0": 1, "3": 1}, "tilelayer": {"8": 1, "9": 1, "3": 1, "5": 1}, "popup": {"0": 1}, "osm": {"1": 1}, "are": {"1": 2}, "mapquest": {"0": 1, "3": 1}, "1": {"8": 2}, "getcapabilities": {"7": 3}, "tilejson": {"6": 1}, "tiled": {"8": 2, "9": 2}, "webgl": {"4": 2, "6": 1}, "layers": {"8": 1, "1": 1, "6": 2}, "fullscreen": {"3": 1, "5": 1}, "canvas": {"1": 3, "4": 1, "6": 1}, "overlay": {"0": 1}, "wms": {"8": 3, "9": 3, "7": 3}, "demonstrates": {"0": 1}, "top": {"1": 1}, "custom": {"8": 1}, "two": {"8": 1, "6": 2}, "coordinates": {"1": 3}, "response": {"7": 1}, "note": {"1": 1}, "maps": {"4": 1, "6": 1}, "pixelmap": {"8": 1}, "black": {"1": 1}, "tile": {"8": 1, "1": 3, "3": 1, "5": 1, "9": 1}, "parks": {"8": 1}, "stamen": {"1": 1, "5": 3}, "map": {"2": 1, "3": 1}, "tiles": {"1": 2}, "elements": {"0": 3}, "that": {"1": 1}, "screen": {"3": 2}, "object": {"4": 1}, "generated": {"1": 1}, "ol3": {"1": 1}, "grid": {"1": 1}, "html5": {"1": 1}, "not": {"1": 1}, "using": {"8": 1}, "epsg4326": {"2": 1}, "on": {"1": 1}, "with": {"8": 1, "1": 1, "6": 1}, "by": {"4": 3}, "bingmaps": {"6": 1}, "a": {"9": 1, "2": 1, "3": 1, "5": 1, "7": 1}, "anchored": {"0": 3}, "full": {"3": 2}, "dom": {"4": 2, "6": 1}, "of": {"2": 1, "3": 1, "5": 1, "7": 1, "8": 1, "9": 1}, "bing": {"6": 1}, "bottom": {"1": 1}, "000": {"8": 2}, "side": {"4": 6}, "parsing": {"7": 2}, "client": {"1": 1}, "source": {"5": 1}, "epsg": {"8": 1, "2": 2}, "the": {"8": 1, "1": 3}, "left": {"1": 2}, "example": {"0": 1, "1": 1, "2": 2, "3": 2, "4": 1, "5": 2, "6": 1, "7": 2, "8": 2, "9": 2}, "normalized": {"1": 1}}, "examples": [{"author": "Tom Payne", "tags": "anchored elements, overlay, popup, mapquest, openaerial", "modified": "2013-01-22T14:37:13+0100", "classes": [], "link": "anchored-elements.html", "shortdesc": "Demonstrates anchored elements.", "title": "Anchored elements example", "example": "anchored-elements.html"}, {"author": "Tom Payne", "tags": "layers, stamen, canvas", "modified": "2013-02-06T18:06:16+0100", "classes": [], "link": "canvas-tiles.html", "shortdesc": "The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).", "title": "Canvas tiles example", "example": "canvas-tiles.html"}, {"author": "Tom Payne", "tags": "epsg4326", "modified": "2013-02-21T20:22:46+0100", "classes": [], "link": "epsg-4326.html", "shortdesc": "Example of a epsg-4326 map.", "title": "EPSG:4326 example", "example": "epsg-4326.html"}, {"author": "Frederic Junod", "tags": "fullscreen, mapquest, openaerial, tile, tilelayer", "modified": "2013-02-04T10:52:29+0100", "classes": [], "link": "full-screen.html", "shortdesc": "Example of a full-screen map.", "title": "Full-screen example", "example": "full-screen.html"}, {"author": "Tom Payne", "tags": "side-by-side, webgl, dom, sync, object", "modified": "2013-01-18T14:04:33+0100", "classes": [], "link": "side-by-side.html", "shortdesc": "Side-by-side DOM, WebGL and Canvas sync'ed maps.", "title": "Side-by-side example", "example": "side-by-side.html"}, {"author": "Tom Payne", "tags": "fullscreen, stamen, tilelayer", "modified": "2013-03-05T00:41:46+0100", "classes": [], "link": "stamen.html", "shortdesc": "Example of a Stamen tile source.", "title": "Stamen example", "example": "stamen.html"}, {"author": "Frederic Junod", "tags": "layers, tilejson, bing, bingmaps", "modified": "2013-01-21T16:13:19+0100", "classes": [], "link": "two-layers.html", "shortdesc": "Sync'ed DOM, WebGL and Canvas maps with two layers.", "title": "Two-layer example", "example": "two-layers.html"}, {"author": "Bruno Binet", "tags": "wms, capabilities, getcapabilities", "modified": "2013-03-03T17:37:15+0100", "classes": [], "link": "wms-capabilities.html", "shortdesc": "Example of parsing a WMS GetCapabilities response.", "title": "WMS GetCapabilities parsing example", "example": "wms-capabilities.html"}, {"author": "ahocevar", "tags": "wms, tile, tilelayer, projection", "modified": "2012-10-29T09:33:00+0100", "classes": [], "link": "wms-custom-proj.html", "shortdesc": "Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.", "title": "Tiled WMS with custom projection example", "example": "wms-custom-proj.html"}, {"author": "ahocevar", "tags": "wms, tile, tilelayer", "modified": "2012-10-26T21:36:30+0200", "classes": [], "link": "wms.html", "shortdesc": "Example of a tiled WMS layer.", "title": "Tiled WMS example", "example": "wms.html"}]}; \ No newline at end of file +var info={"index": {"openaerial": {"0": 1, "3": 1}, "osm": {"1": 1}, "same": {"4": 1}, "layers": {"1": 1, "4": 1, "9": 1, "7": 2}, "note": {"1": 1}, "wms": {"8": 3, "9": 3, "10": 3}, "capabilities": {"8": 1}, "source": {"6": 1}, "black": {"1": 1}, "tiles": {"1": 2}, "watercolor": {"6": 1}, "grid": {"1": 1}, "tiled": {"9": 2, "10": 2}, "not": {"1": 1}, "using": {"9": 1}, "rotation": {"4": 1}, "transparent": {"7": 1}, "semi": {"7": 1}, "side": {"4": 4}, "ed": {"7": 1}, "national": {"9": 1}, "sync": {"4": 1, "7": 1}, "4326": {"2": 2}, "anchored": {"0": 3}, "full": {"3": 2}, "are": {"1": 2}, "fullscreen": {"3": 1}, "canvas": {"1": 3, "4": 1, "7": 1}, "overlay": {"0": 1}, "demonstrates": {"0": 1}, "popup": {"0": 1}, "screen": {"3": 2}, "ol3": {"1": 1}, "html5": {"1": 1}, "tilejson": {"7": 2}, "by": {"4": 2}, "bingmaps": {"7": 1}, "getcapabilities": {"8": 3}, "of": {"2": 1, "3": 1, "5": 1, "6": 1, "8": 1, "9": 1, "10": 1}, "base": {"7": 1}, "origin": {"1": 2}, "and": {"9": 1, "4": 1, "7": 2}, "projection": {"9": 3}, "simple": {"5": 3}, "parsing": {"8": 2}, "tilelayer": {"9": 1, "10": 1, "3": 1}, "coordinates": {"1": 3}, "mapquest": {"0": 1, "3": 1}, "epsg4326": {"2": 1}, "epsg": {"9": 1, "2": 2}, "top": {"1": 1}, "two": {"9": 1, "4": 1, "7": 1}, "custom": {"9": 1}, "pixelmap": {"9": 1}, "that": {"1": 1}, "normalized": {"1": 1}, "with": {"1": 1, "9": 1, "7": 1}, "example": {"0": 1, "1": 1, "2": 2, "3": 2, "4": 1, "5": 2, "6": 2, "7": 1, "8": 2, "9": 2, "10": 2}, "openstreetmap": {"1": 1, "5": 1}, "layer": {"10": 1, "7": 2}, "share": {"4": 1}, "21781": {"9": 1}, "an": {"1": 1}, "in": {"2": 1}, "webgl": {"4": 1, "7": 1}, "parks": {"9": 1}, "1": {"9": 2}, "maps": {"4": 1, "7": 2}, "tile": {"1": 3, "10": 1, "3": 1, "6": 1, "9": 1}, "stamen": {"6": 3}, "map": {"2": 1, "3": 1, "5": 1}, "elements": {"0": 3}, "object": {"4": 1}, "generated": {"1": 1}, "000": {"9": 2}, "on": {"1": 1}, "response": {"8": 1}, "a": {"2": 1, "3": 1, "5": 1, "6": 1, "7": 2, "8": 1, "10": 1}, "center": {"4": 1}, "dom": {"4": 1, "7": 1}, "bing": {"7": 2}, "bottom": {"1": 1}, "client": {"1": 1}, "the": {"1": 3, "4": 2, "9": 1}, "resolution": {"4": 1}, "left": {"1": 2}}, "examples": [{"author": "Frederic Junod", "tags": "anchored elements, overlay, popup, mapquest, openaerial", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "anchored-elements.html", "shortdesc": "Demonstrates anchored elements.", "title": "Anchored elements example", "example": "anchored-elements.html"}, {"author": "Frederic Junod", "tags": "layers, openstreetmap, canvas", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "canvas-tiles.html", "shortdesc": "The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).", "title": "Canvas tiles example", "example": "canvas-tiles.html"}, {"author": "Frederic Junod", "tags": "epsg4326", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "epsg-4326.html", "shortdesc": "Example of a map in EPSG:4326.", "title": "EPSG:4326 example", "example": "epsg-4326.html"}, {"author": "Frederic Junod", "tags": "fullscreen, mapquest, openaerial, tile, tilelayer", "modified": "2013-03-06T17:31:46+0100", "classes": [], "link": "full-screen.html", "shortdesc": "Example of a full-screen map.", "title": "Full-screen example", "example": "full-screen.html"}, {"author": "Frederic Junod", "tags": "side-by-side, canvas, webgl, dom, sync, object", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "side-by-side.html", "shortdesc": "The two maps share the same center, resolution, rotation and layers.", "title": "Side-by-side example", "example": "side-by-side.html"}, {"author": "Frederic Junod", "tags": "simple, openstreetmap", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "simple.html", "shortdesc": "Example of a simple map.", "title": "Simple example", "example": "simple.html"}, {"author": "Frederic Junod", "tags": "stamen, watercolor", "modified": "2013-03-06T17:07:47+0100", "classes": [], "link": "stamen.html", "shortdesc": "Example of a Stamen tile source.", "title": "Stamen example", "example": "stamen.html"}, {"author": "Frederic Junod", "tags": "layers, tilejson, bing, bingmaps", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "two-layers.html", "shortdesc": "Sync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer.", "title": "Two layers example", "example": "two-layers.html"}, {"author": "Frederic Junod", "tags": "wms, capabilities, getcapabilities", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms-capabilities.html", "shortdesc": "Example of parsing a WMS GetCapabilities response.", "title": "WMS GetCapabilities parsing example", "example": "wms-capabilities.html"}, {"author": "Frederic Junod", "tags": "wms, tile, tilelayer, projection", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms-custom-proj.html", "shortdesc": "Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.", "title": "Tiled WMS with custom projection example", "example": "wms-custom-proj.html"}, {"author": "Frederic Junod", "tags": "wms, tile, tilelayer", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms.html", "shortdesc": "Example of a tiled WMS layer.", "title": "Tiled WMS example", "example": "wms.html"}]}; \ No newline at end of file diff --git a/master/examples/example-list.xml b/master/examples/example-list.xml index 7bc2593d84..49b65ebbf0 100644 --- a/master/examples/example-list.xml +++ b/master/examples/example-list.xml @@ -1 +1 @@ -++ ++ +++ ++ +++ +EPSG:4326 example
+Example of a map in EPSG:4326.
+++ +See the epsg-4326.js source to see how this is done.
+\ No newline at end of file + OpenLayers Examples http://openlayers.github.com/ol3/master/examples/example-list.xml#2013-03-05T05:10:35Z 2013-03-05T05:10:35Z Stamen example fullscreen, stamen, tilelayer Example of a Stamen tile source. 2013-03-05T00:41:46+0100 Tom Payne http://openlayers.github.com/ol3/master/examples/stamen.html#2013-03-05T00:41:46+0100 WMS GetCapabilities parsing example wms, capabilities, getcapabilities Example of parsing a WMS GetCapabilities response. 2013-03-03T17:37:15+0100 Bruno Binet http://openlayers.github.com/ol3/master/examples/wms-capabilities.html#2013-03-03T17:37:15+0100 EPSG:4326 example epsg4326 Example of a epsg-4326 map. 2013-02-21T20:22:46+0100 Tom Payne http://openlayers.github.com/ol3/master/examples/epsg-4326.html#2013-02-21T20:22:46+0100 Canvas tiles example layers, stamen, canvas The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left). 2013-02-06T18:06:16+0100 Tom Payne http://openlayers.github.com/ol3/master/examples/canvas-tiles.html#2013-02-06T18:06:16+0100 Full-screen example fullscreen, mapquest, openaerial, tile, tilelayer Example of a full-screen map. 2013-02-04T10:52:29+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/full-screen.html#2013-02-04T10:52:29+0100 Anchored elements example anchored elements, overlay, popup, mapquest, openaerial Demonstrates anchored elements. 2013-01-22T14:37:13+0100 Tom Payne http://openlayers.github.com/ol3/master/examples/anchored-elements.html#2013-01-22T14:37:13+0100 Two-layer example layers, tilejson, bing, bingmaps Sync'ed DOM, WebGL and Canvas maps with two layers. 2013-01-21T16:13:19+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/two-layers.html#2013-01-21T16:13:19+0100 Side-by-side example side-by-side, webgl, dom, sync, object Side-by-side DOM, WebGL and Canvas sync'ed maps. 2013-01-18T14:04:33+0100 Tom Payne http://openlayers.github.com/ol3/master/examples/side-by-side.html#2013-01-18T14:04:33+0100 Tiled WMS with custom projection example wms, tile, tilelayer, projection Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781. 2012-10-29T09:33:00+0100 ahocevar http://openlayers.github.com/ol3/master/examples/wms-custom-proj.html#2012-10-29T09:33:00+0100 Tiled WMS example wms, tile, tilelayer Example of a tiled WMS layer. 2012-10-26T21:36:30+0200 ahocevar http://openlayers.github.com/ol3/master/examples/wms.html#2012-10-26T21:36:30+0200 \ No newline at end of file diff --git a/master/examples/examples.css b/master/examples/examples.css new file mode 100644 index 0000000000..23514a529a --- /dev/null +++ b/master/examples/examples.css @@ -0,0 +1,15 @@ +@import url(font-awesome/css/font-awesome.min.css); + +body { + padding-top: 60px; +} +.map { + height: 400px; + width: 100%; +} +.ol-attribution { + max-width: 50%; +} +#tags { + display: none; +} diff --git a/master/examples/font-awesome/README.md b/master/examples/font-awesome/README.md new file mode 100644 index 0000000000..cd1de275bc --- /dev/null +++ b/master/examples/font-awesome/README.md @@ -0,0 +1,22 @@ +#Font Awesome 3.0.2 +##the iconic font designed for use with Twitter Bootstrap + +The full suite of pictographic icons, examples, and documentation can be found at: +http://fortawesome.github.com/Font-Awesome/ + + +##License +- The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL +- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - http://opensource.org/licenses/mit-license.html +- The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ +- Attribution is no longer required in Font Awesome 3.0, but much appreciated: "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + +##Contact +- Email: dave@davegandy.com +- Twitter: http://twitter.com/fortaweso_me +- Work: Lead Product Designer @ http://kyru.us + +##Changelog +- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default +- v3.0.1 - much improved rendering in webkit, various bugfixes +- v3.0.2 - much improved rendering and alignment in IE7 diff --git a/master/examples/font-awesome/css/font-awesome-ie7.min.css b/master/examples/font-awesome/css/font-awesome-ie7.min.css new file mode 100644 index 0000000000..ae301609e0 --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome-ie7.min.css @@ -0,0 +1,22 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle}.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%}.nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px}.btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit}.btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em}a [class^="icon-"],a [class*=" icon-"]{cursor:pointer}ul.icons{text-indent:-1.5em;margin-left:3em}.icon-glass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-music{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-search{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-envelope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-user{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-film{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-large{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-in{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-out{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cog{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-home{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-file{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-time{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-road{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-inbox{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-repeat{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-refresh{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-flag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-headphones{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-qrcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-barcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tags{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-book{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-print{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-font{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-italic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-height{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-width{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-center{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-justify{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facetime-video{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-picture{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pencil{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-map-marker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-adjust{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tint{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-edit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-move{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pause{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-stop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eject{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-question-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-info-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-screenshot{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ban-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-full{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-asterisk{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-exclamation-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-gift{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-leaf{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fire{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-warning-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plane{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-calendar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-random{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comment{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-magnet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-retweet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-shopping-cart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-vertical{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-horizontal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bar-chart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera-retro{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-key{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cogs{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comments{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-half{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signout{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-linkedin-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pushpin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-external-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trophy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lemon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-unlock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-credit-card{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-rss{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hdd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bullhorn{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bell{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-certificate{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-globe{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-wrench{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tasks{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-filter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-briefcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fullscreen{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-group{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-beaker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cut{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-copy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-paper-clip{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-save{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sign-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-reorder{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ul{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ol{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-strikethrough{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-underline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-table{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-magic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-truck{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pinterest{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pinterest-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-google-plus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-google-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-money{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-columns{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-envelope-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-linkedin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-undo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-legal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-dashboard{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comment-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comments-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bolt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sitemap{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-umbrella{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-paste{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lightbulb{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-exchange{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-user-md{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-stethoscope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-suitcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bell-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-coffee{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-food{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-file-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-building{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hospital{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ambulance{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-medkit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fighter-jet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-beer{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-h-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus-sign-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-desktop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-laptop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tablet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-mobile-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-quote-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-quote-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-spinner{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-reply{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-close-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-open-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')} \ No newline at end of file diff --git a/master/examples/font-awesome/css/font-awesome.css b/master/examples/font-awesome/css/font-awesome.css new file mode 100644 index 0000000000..887509896f --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome.css @@ -0,0 +1,540 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ +@font-face { + font-family: 'FontAwesome'; + src: url('../font/fontawesome-webfont.eot?v=3.0.1'); + src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), + url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'), + url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); + font-weight: normal; + font-style: normal; +} +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"], +[class*=" icon-"] { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + text-decoration: inherit; + -webkit-font-smoothing: antialiased; + + /* sprites.less reset */ + display: inline; + width: auto; + height: auto; + line-height: normal; + vertical-align: baseline; + background-image: none; + background-position: 0% 0%; + background-repeat: repeat; + margin-top: 0; +} +/* more sprites.less reset */ +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"] { + background-image: none; +} +[class^="icon-"]:before, +[class*=" icon-"]:before { + text-decoration: inherit; + display: inline-block; + speak: none; +} +/* makes sure icons active on rollover in links */ +a [class^="icon-"], +a [class*=" icon-"] { + display: inline-block; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: -10%; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], +.nav [class^="icon-"], +.btn [class*=" icon-"], +.nav [class*=" icon-"] { + display: inline; + /* keeps button heights with and without icons the same */ + +} +.btn [class^="icon-"].icon-large, +.nav [class^="icon-"].icon-large, +.btn [class*=" icon-"].icon-large, +.nav [class*=" icon-"].icon-large { + line-height: .9em; +} +.btn [class^="icon-"].icon-spin, +.nav [class^="icon-"].icon-spin, +.btn [class*=" icon-"].icon-spin, +.nav [class*=" icon-"].icon-spin { + display: inline-block; +} +.nav-tabs [class^="icon-"], +.nav-pills [class^="icon-"], +.nav-tabs [class*=" icon-"], +.nav-pills [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + +} +.nav-tabs [class^="icon-"], +.nav-pills [class^="icon-"], +.nav-tabs [class*=" icon-"], +.nav-pills [class*=" icon-"], +.nav-tabs [class^="icon-"].icon-large, +.nav-pills [class^="icon-"].icon-large, +.nav-tabs [class*=" icon-"].icon-large, +.nav-pills [class*=" icon-"].icon-large { + line-height: .9em; +} +li [class^="icon-"], +.nav li [class^="icon-"], +li [class*=" icon-"], +.nav li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li [class^="icon-"].icon-large, +.nav li [class^="icon-"].icon-large, +li [class*=" icon-"].icon-large, +.nav li [class*=" icon-"].icon-large { + /* increased font size for icon-large */ + + width: 1.5625em; +} +ul.icons { + list-style-type: none; + text-indent: -0.75em; +} +ul.icons li [class^="icon-"], +ul.icons li [class*=" icon-"] { + width: .75em; +} +.icon-muted { + color: #eeeeee; +} +.icon-border { + border: solid 1px #eeeeee; + padding: .2em .25em .15em; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.icon-2x { + font-size: 2em; +} +.icon-2x.icon-border { + border-width: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.icon-3x { + font-size: 3em; +} +.icon-3x.icon-border { + border-width: 3px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.icon-4x { + font-size: 4em; +} +.icon-4x.icon-border { + border-width: 4px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +[class^="icon-"].pull-left, +[class*=" icon-"].pull-left { + margin-right: .3em; +} +[class^="icon-"].pull-right, +[class*=" icon-"].pull-right { + margin-left: .3em; +} +.btn [class^="icon-"].pull-left.icon-2x, +.btn [class*=" icon-"].pull-left.icon-2x, +.btn [class^="icon-"].pull-right.icon-2x, +.btn [class*=" icon-"].pull-right.icon-2x { + margin-top: .18em; +} +.btn [class^="icon-"].icon-spin.icon-large, +.btn [class*=" icon-"].icon-spin.icon-large { + line-height: .8em; +} +.btn.btn-small [class^="icon-"].pull-left.icon-2x, +.btn.btn-small [class*=" icon-"].pull-left.icon-2x, +.btn.btn-small [class^="icon-"].pull-right.icon-2x, +.btn.btn-small [class*=" icon-"].pull-right.icon-2x { + margin-top: .25em; +} +.btn.btn-large [class^="icon-"], +.btn.btn-large [class*=" icon-"] { + margin-top: 0; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x, +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-top: .05em; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x { + margin-right: .2em; +} +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-left: .2em; +} +.icon-spin { + display: inline-block; + -moz-animation: spin 2s infinite linear; + -o-animation: spin 2s infinite linear; + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} +@-moz-keyframes spin { + 0% { -moz-transform: rotate(0deg); } + 100% { -moz-transform: rotate(359deg); } +} +@-webkit-keyframes spin { + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(359deg); } +} +@-o-keyframes spin { + 0% { -o-transform: rotate(0deg); } + 100% { -o-transform: rotate(359deg); } +} +@-ms-keyframes spin { + 0% { -ms-transform: rotate(0deg); } + 100% { -ms-transform: rotate(359deg); } +} +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(359deg); } +} +@-moz-document url-prefix() { + .icon-spin { + height: .9em; + } + .btn .icon-spin { + height: auto; + } + .icon-spin.icon-large { + height: 1.25em; + } + .btn .icon-spin.icon-large { + height: .75em; + } +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } +.icon-phone:before { content: "\f095"; } +.icon-check-empty:before { content: "\f096"; } +.icon-bookmark-empty:before { content: "\f097"; } +.icon-phone-sign:before { content: "\f098"; } +.icon-twitter:before { content: "\f099"; } +.icon-facebook:before { content: "\f09a"; } +.icon-github:before { content: "\f09b"; } +.icon-unlock:before { content: "\f09c"; } +.icon-credit-card:before { content: "\f09d"; } +.icon-rss:before { content: "\f09e"; } + +.icon-hdd:before { content: "\f0a0"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-bell:before { content: "\f0a2"; } +.icon-certificate:before { content: "\f0a3"; } +.icon-hand-right:before { content: "\f0a4"; } +.icon-hand-left:before { content: "\f0a5"; } +.icon-hand-up:before { content: "\f0a6"; } +.icon-hand-down:before { content: "\f0a7"; } +.icon-circle-arrow-left:before { content: "\f0a8"; } +.icon-circle-arrow-right:before { content: "\f0a9"; } +.icon-circle-arrow-up:before { content: "\f0aa"; } +.icon-circle-arrow-down:before { content: "\f0ab"; } +.icon-globe:before { content: "\f0ac"; } +.icon-wrench:before { content: "\f0ad"; } +.icon-tasks:before { content: "\f0ae"; } + +.icon-filter:before { content: "\f0b0"; } +.icon-briefcase:before { content: "\f0b1"; } +.icon-fullscreen:before { content: "\f0b2"; } + +.icon-group:before { content: "\f0c0"; } +.icon-link:before { content: "\f0c1"; } +.icon-cloud:before { content: "\f0c2"; } +.icon-beaker:before { content: "\f0c3"; } +.icon-cut:before { content: "\f0c4"; } +.icon-copy:before { content: "\f0c5"; } +.icon-paper-clip:before { content: "\f0c6"; } +.icon-save:before { content: "\f0c7"; } +.icon-sign-blank:before { content: "\f0c8"; } +.icon-reorder:before { content: "\f0c9"; } +.icon-list-ul:before { content: "\f0ca"; } +.icon-list-ol:before { content: "\f0cb"; } +.icon-strikethrough:before { content: "\f0cc"; } +.icon-underline:before { content: "\f0cd"; } +.icon-table:before { content: "\f0ce"; } + +.icon-magic:before { content: "\f0d0"; } +.icon-truck:before { content: "\f0d1"; } +.icon-pinterest:before { content: "\f0d2"; } +.icon-pinterest-sign:before { content: "\f0d3"; } +.icon-google-plus-sign:before { content: "\f0d4"; } +.icon-google-plus:before { content: "\f0d5"; } +.icon-money:before { content: "\f0d6"; } +.icon-caret-down:before { content: "\f0d7"; } +.icon-caret-up:before { content: "\f0d8"; } +.icon-caret-left:before { content: "\f0d9"; } +.icon-caret-right:before { content: "\f0da"; } +.icon-columns:before { content: "\f0db"; } +.icon-sort:before { content: "\f0dc"; } +.icon-sort-down:before { content: "\f0dd"; } +.icon-sort-up:before { content: "\f0de"; } + +.icon-envelope-alt:before { content: "\f0e0"; } +.icon-linkedin:before { content: "\f0e1"; } +.icon-undo:before { content: "\f0e2"; } +.icon-legal:before { content: "\f0e3"; } +.icon-dashboard:before { content: "\f0e4"; } +.icon-comment-alt:before { content: "\f0e5"; } +.icon-comments-alt:before { content: "\f0e6"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-sitemap:before { content: "\f0e8"; } +.icon-umbrella:before { content: "\f0e9"; } +.icon-paste:before { content: "\f0ea"; } +.icon-lightbulb:before { content: "\f0eb"; } +.icon-exchange:before { content: "\f0ec"; } +.icon-cloud-download:before { content: "\f0ed"; } +.icon-cloud-upload:before { content: "\f0ee"; } + +.icon-user-md:before { content: "\f0f0"; } +.icon-stethoscope:before { content: "\f0f1"; } +.icon-suitcase:before { content: "\f0f2"; } +.icon-bell-alt:before { content: "\f0f3"; } +.icon-coffee:before { content: "\f0f4"; } +.icon-food:before { content: "\f0f5"; } +.icon-file-alt:before { content: "\f0f6"; } +.icon-building:before { content: "\f0f7"; } +.icon-hospital:before { content: "\f0f8"; } +.icon-ambulance:before { content: "\f0f9"; } +.icon-medkit:before { content: "\f0fa"; } +.icon-fighter-jet:before { content: "\f0fb"; } +.icon-beer:before { content: "\f0fc"; } +.icon-h-sign:before { content: "\f0fd"; } +.icon-plus-sign-alt:before { content: "\f0fe"; } + +.icon-double-angle-left:before { content: "\f100"; } +.icon-double-angle-right:before { content: "\f101"; } +.icon-double-angle-up:before { content: "\f102"; } +.icon-double-angle-down:before { content: "\f103"; } +.icon-angle-left:before { content: "\f104"; } +.icon-angle-right:before { content: "\f105"; } +.icon-angle-up:before { content: "\f106"; } +.icon-angle-down:before { content: "\f107"; } +.icon-desktop:before { content: "\f108"; } +.icon-laptop:before { content: "\f109"; } +.icon-tablet:before { content: "\f10a"; } +.icon-mobile-phone:before { content: "\f10b"; } +.icon-circle-blank:before { content: "\f10c"; } +.icon-quote-left:before { content: "\f10d"; } +.icon-quote-right:before { content: "\f10e"; } + +.icon-spinner:before { content: "\f110"; } +.icon-circle:before { content: "\f111"; } +.icon-reply:before { content: "\f112"; } +.icon-github-alt:before { content: "\f113"; } +.icon-folder-close-alt:before { content: "\f114"; } +.icon-folder-open-alt:before { content: "\f115"; } diff --git a/master/examples/font-awesome/css/font-awesome.min.css b/master/examples/font-awesome/css/font-awesome.min.css new file mode 100644 index 0000000000..d4e45b3c91 --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome.min.css @@ -0,0 +1,33 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ + +@font-face{ + font-family:'FontAwesome'; + src:url('../font/fontawesome-webfont.eot?v=3.0.1'); + src:url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), + url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'), + url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); + font-weight:normal; + font-style:normal } + +[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none}[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}a [class^="icon-"],a [class*=" icon-"]{display:inline-block}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav [class^="icon-"],.btn [class*=" icon-"],.nav [class*=" icon-"]{display:inline}.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em}.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block}.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em}li [class^="icon-"],.nav li [class^="icon-"],li [class*=" icon-"],.nav li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li [class^="icon-"].icon-large,.nav li [class^="icon-"].icon-large,li [class*=" icon-"].icon-large,.nav li [class*=" icon-"].icon-large{width:1.5625em}ul.icons{list-style-type:none;text-indent:-0.75em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.75em}.icon-muted{color:#eee}.icon-border{border:solid 1px #eee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.pull-right{float:right}.pull-left{float:left}[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em}[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em}.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em}.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em}.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em}.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em}.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em}.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@-moz-document url-prefix(){.icon-spin{height:.9em}.btn .icon-spin{height:auto}.icon-spin.icon-large{height:1.25em}.btn .icon-spin.icon-large{height:.75em}}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"} \ No newline at end of file diff --git a/master/examples/font-awesome/font/FontAwesome.otf b/master/examples/font-awesome/font/FontAwesome.otf new file mode 100644 index 0000000000..64049bf2e7 Binary files /dev/null and b/master/examples/font-awesome/font/FontAwesome.otf differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.eot b/master/examples/font-awesome/font/fontawesome-webfont.eot new file mode 100755 index 0000000000..7d81019e4f Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.eot differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.svg b/master/examples/font-awesome/font/fontawesome-webfont.svg new file mode 100755 index 0000000000..ba0afe5ef6 --- /dev/null +++ b/master/examples/font-awesome/font/fontawesome-webfont.svg @@ -0,0 +1,284 @@ + + + \ No newline at end of file diff --git a/master/examples/font-awesome/font/fontawesome-webfont.ttf b/master/examples/font-awesome/font/fontawesome-webfont.ttf new file mode 100755 index 0000000000..d46172476a Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.ttf differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.woff b/master/examples/font-awesome/font/fontawesome-webfont.woff new file mode 100755 index 0000000000..3c89ae09b8 Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.woff differ diff --git a/master/examples/full-screen.html b/master/examples/full-screen.html index 11a3d5d560..6526bc2d6b 100644 --- a/master/examples/full-screen.html +++ b/master/examples/full-screen.html @@ -1,54 +1,27 @@ - - + + - + - + OpenLayers Examples http://openlayers.github.com/ol3/master/examples/example-list.xml#2013-03-06T05:04:11Z 2013-03-06T05:04:11Z Full-screen example fullscreen, mapquest, openaerial, tile, tilelayer Example of a full-screen map. 2013-03-06T17:31:46+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/full-screen.html#2013-03-06T17:31:46+0100 Stamen example stamen, watercolor Example of a Stamen tile source. 2013-03-06T17:07:47+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/stamen.html#2013-03-06T17:07:47+0100 Anchored elements example anchored elements, overlay, popup, mapquest, openaerial Demonstrates anchored elements. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/anchored-elements.html#2013-03-06T15:12:01+0100 Canvas tiles example layers, openstreetmap, canvas The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left). 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/canvas-tiles.html#2013-03-06T15:12:01+0100 EPSG:4326 example epsg4326 Example of a map in EPSG:4326. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/epsg-4326.html#2013-03-06T15:12:01+0100 Side-by-side example side-by-side, canvas, webgl, dom, sync, object The two maps share the same center, resolution, rotation and layers. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/side-by-side.html#2013-03-06T15:12:01+0100 Simple example simple, openstreetmap Example of a simple map. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/simple.html#2013-03-06T15:12:01+0100 Two layers example layers, tilejson, bing, bingmaps Sync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/two-layers.html#2013-03-06T15:12:01+0100 WMS GetCapabilities parsing example wms, capabilities, getcapabilities Example of parsing a WMS GetCapabilities response. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/wms-capabilities.html#2013-03-06T15:12:01+0100 Tiled WMS with custom projection example wms, tile, tilelayer, projection Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/wms-custom-proj.html#2013-03-06T15:12:01+0100 Tiled WMS example wms, tile, tilelayer Example of a tiled WMS layer. 2013-03-06T15:12:01+0100 Frederic Junod http://openlayers.github.com/ol3/master/examples/wms.html#2013-03-06T15:12:01+0100 Full-Screen example -Full-screen example -- -- + + + diff --git a/master/examples/full-screen.js b/master/examples/full-screen.js index 8ab4ca96ea..df668a44e4 100644 --- a/master/examples/full-screen.js +++ b/master/examples/full-screen.js @@ -1,10 +1,9 @@ -goog.require('ol.AnchoredElement'); goog.require('ol.Collection'); goog.require('ol.Coordinate'); -goog.require('ol.Geolocation'); goog.require('ol.Map'); goog.require('ol.RendererHints'); goog.require('ol.View2D'); +goog.require('ol.control.defaults'); goog.require('ol.layer.TileLayer'); goog.require('ol.source.MapQuestOpenAerial'); @@ -13,28 +12,16 @@ var layer = new ol.layer.TileLayer({ source: new ol.source.MapQuestOpenAerial() }); var map = new ol.Map({ + controls: ol.control.defaults({ + scaleLine: true + }), layers: new ol.Collection([layer]), renderers: ol.RendererHints.createFromQueryData(), - scaleLineControl: true, target: 'map', view: new ol.View2D({ center: new ol.Coordinate(0, 0), zoom: 0 }) }); - -var geolocation = new ol.Geolocation(); -geolocation.bindTo('projection', map.getView()); - -var element = document.getElementById('geolocation'); -var marker = new ol.AnchoredElement({ - map: map, - element: element -}); -marker.bindTo('position', geolocation); - -// This is silly: gjslint generates a "No docs found for member -// 'element.style.display'" without the auto-executing function. -(function() { - element.style.display = 'block'; -})(); +var view2d = map.getView().getView2D(); +view2d.fitExtent(view2d.getProjection().getExtent(), map.getSize()); diff --git a/master/examples/index.html b/master/examples/index.html index f914d16616..a466bec866 100644 --- a/master/examples/index.html +++ b/master/examples/index.html @@ -1,299 +1,211 @@ - - - - - - - ---Full-screen example
-Example of a full-screen map.---See the - full-screen.js source - to see how this is done.
-OpenLayers Examples - - - - - - + + - - ---- + if (dict) { + updateScores(); + } else { + var r; + for (idx in info.index) { + r = new RegExp(word); + if (r.test(idx)) { + dict = info.index[idx]; + updateScores(); + } + } + } + } + examples = []; + for (var j in scores) { + var ex = info.examples[j]; + ex.score = scores[j]; + examples.push(ex); + } + // sort examples by first by number of words matched, then + // by word frequency + examples.sort(function(a, b) { + var cmp; + var aWords = 0, bWords = 0; + var aScore = 0, bScore = 0; + for (var i in a.score) { + aScore += a.score[i]; + aWords += 1; + } + for (var j in b.score) { + bScore += b.score[j]; + bWords += 1; + } + if (aWords == bWords) { + cmp = bScore - aScore; + } else { + cmp = bWords - aWords; + } + return cmp; + }); + } + listExamples(examples); + } + + function parseQuery() { + var params = {}; + var list = window.location.search.substring(1).split("&"); + for (var i = 0; i < list.length; ++i) { + var pair = list[i].split("="); + if (pair.length == 2) { + params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); + } + } + if (params["q"]) { + var input = document.getElementById("keywords"); + input.value = params["q"]; + inputChange.call(input); + } + } + + window.onload = function() { + for (var i = 0; i < info.examples.length; ++i) { + info.examples[i].link += window.location.search; + } + // document.getElementById('keywords').focus(); + template = new jugl.Template("template"); + target = document.getElementById("examples"); + listExamples(info.examples); + document.getElementById("keywords").onkeyup = inputChange; + parseQuery(); + }; + + +-- - - show all -- OpenLayers 3 -
Simple example + + + +