SYMBOL INDEX (798 symbols across 26 files) FILE: build.js function joinFiles (line 38) | function joinFiles (files) { function copy (line 45) | function copy (srcFile, distFile) { function buildEngine (line 52) | function buildEngine (name, customJS) { FILE: dist/OSMBuildings-Leaflet.debug.js class Qolor (line 22) | class Qolor { method constructor (line 31) | constructor (r, g, b, a = 1) { method parse (line 41) | static parse (str) { method fromHSL (line 69) | static fromHSL (h, s, l, a) { method _hue2rgb (line 77) | _hue2rgb(p, q, t) { method _clamp (line 86) | _clamp(v, max) { method isValid (line 95) | isValid () { method toHSL (line 99) | toHSL () { method fromHSL (line 133) | fromHSL (h, s, l) { method toString (line 156) | toString () { method toArray (line 167) | toArray () { method hue (line 174) | hue (h) { method saturation (line 179) | saturation (s) { method lightness (line 184) | lightness (l) { method clone (line 189) | clone () { function getSunPosition (line 352) | function getSunPosition () { function getMaterialColor (line 475) | function getMaterialColor (str) { function getWinding (line 487) | function getWinding (points) { function makeWinding (line 501) | function makeWinding (points, direction) { function alignProperties (line 513) | function alignProperties(prop) { function getGeometries (line 567) | function getGeometries (geometry) { function clone (line 623) | function clone (obj) { class GeoJSON (line 633) | class GeoJSON { method read (line 635) | static read (geojson) { function onEach (line 717) | function onEach () {} function onClick (line 719) | function onClick () {} function getDistance (line 722) | function getDistance (p1, p2) { function isRotational (line 729) | function isRotational (polygon) { function getSquareSegmentDistance (line 767) | function getSquareSegmentDistance (px, py, p1x, p1y, p2x, p2y) { function simplifyPolygon (line 787) | function simplifyPolygon (buffer) { function getCenter (line 840) | function getCenter (footprint) { function getLonDelta (line 853) | function getLonDelta (footprint) { function rad (line 863) | function rad (deg) { function deg (line 867) | function deg (rad) { function pixelToGeo (line 871) | function pixelToGeo (x, y) { function geoToPixel (line 880) | function geoToPixel (lat, lon) { function fromRange (line 890) | function fromRange (sVal, sMin, sMax, dMin, dMax) { function isVisible (line 897) | function isVisible (polygon) { function xhr (line 917) | function xhr (url, callback) { class Request (line 957) | class Request { method loadJSON (line 959) | static loadJSON (url, callback) { class Data (line 972) | class Data { method getPixelFootprint (line 974) | static getPixelFootprint (buffer) { method resetItems (line 992) | static resetItems () { method addRenderItems (line 998) | static addRenderItems (data, allAreNew) { method scalePolygon (line 1015) | static scalePolygon (buffer, factor) { method scale (line 1019) | static scale (factor) { method scaleItem (line 1046) | static scaleItem (item) { method set (line 1122) | static set (data) { method load (line 1128) | static load (src, key) { method update (line 1133) | static update () { method loadTile (line 1169) | static loadTile (x, y, zoom, callback) { class Extrusion (line 1179) | class Extrusion { method draw (line 1181) | static draw (context, polygon, innerPolygons, height, minHeight, color... method _extrude (line 1205) | static _extrude (context, polygon, height, minHeight, color, altColor) { method _ring (line 1255) | static _ring (context, polygon) { method simplified (line 1262) | static simplified (context, polygon, innerPolygons) { method _ringAbs (line 1274) | static _ringAbs (context, polygon) { method shadow (line 1281) | static shadow (context, polygon, innerPolygons, height, minHeight) { method hitArea (line 1331) | static hitArea (context, polygon, innerPolygons, height, minHeight, co... class Cylinder (line 1384) | class Cylinder { method draw (line 1386) | static draw (context, center, radius, topRadius, height, minHeight, co... method simplified (line 1431) | static simplified (context, center, radius) { method shadow (line 1435) | static shadow (context, center, radius, topRadius, height, minHeight) { method hitArea (line 1461) | static hitArea (context, center, radius, topRadius, height, minHeight,... method _circle (line 1498) | static _circle (context, center, radius) { method _tangents (line 1505) | static _tangents (c1, r1, c2, r2) { class Pyramid (line 1554) | class Pyramid { method draw (line 1556) | static draw (context, polygon, center, height, minHeight, color, altCo... method _triangle (line 1593) | static _triangle (context, a, b, c) { method _ring (line 1599) | static _ring (context, polygon) { method shadow (line 1606) | static shadow (context, polygon, center, height, minHeight) { method hitArea (line 1632) | static hitArea (context, polygon, center, height, minHeight, color) { function fadeIn (line 1668) | function fadeIn() { class Layers (line 1696) | class Layers { method init (line 1698) | static init () { method clear (line 1708) | static clear () { method setOpacity (line 1715) | static setOpacity (opacity) { method render (line 1722) | static render (quick) { method createContext (line 1744) | static createContext (container) { method appendTo (line 1762) | static appendTo (parentNode) { method remove (line 1766) | static remove () { method setSize (line 1770) | static setSize (width, height) { method setPosition (line 1778) | static setPosition (x, y) { class Buildings (line 1787) | class Buildings { method init (line 1789) | static init (context) { method clear (line 1793) | static clear () { method setOpacity (line 1797) | static setOpacity (opacity) { method project (line 1801) | static project (p, m) { method render (line 1808) | static render () { class Simplified (line 1868) | class Simplified { method init (line 1870) | static init (context) { method clear (line 1874) | static clear () { method setOpacity (line 1878) | static setOpacity (opacity) { method isSimple (line 1882) | static isSimple (item) { method render (line 1886) | static render () { class Shadows (line 1931) | class Shadows { method init (line 1933) | static init (context) { method clear (line 1937) | static clear () { method setOpacity (line 1941) | static setOpacity (opacity) { method project (line 1945) | static project (p, h) { method render (line 1952) | static render () { class Picking (line 2032) | class Picking { method init (line 2034) | static init (context) { method setOpacity (line 2038) | static setOpacity (opacity) {} method clear (line 2040) | static clear () {} method reset (line 2042) | static reset () { method render (line 2046) | static render () { method _render (line 2057) | static _render () { method getIdFromXY (line 2115) | static getIdFromXY (x, y) { method idToColor (line 2125) | static idToColor (id) { class Debug (line 2141) | class Debug { method point (line 2143) | static point (x, y, color, size) { method line (line 2152) | static line (ax, ay, bx, by, color) { function setOrigin (line 2164) | function setOrigin (origin) { function moveCam (line 2169) | function moveCam (offset) { function setSize (line 2175) | function setSize (size) { function setZoom (line 2188) | function setZoom (z) { function onResize (line 2204) | function onResize (e) { function onMoveEnd (line 2210) | function onMoveEnd (e) { function onZoomStart (line 2215) | function onZoomStart () { function onZoomEnd (line 2219) | function onZoomEnd (e) { class OSMBuildings (line 2242) | class OSMBuildings extends L.Layer { method constructor (line 2244) | constructor (map) { method addTo (line 2254) | addTo (map) { method onAdd (line 2259) | onAdd (map) { method onRemove (line 2293) | onRemove () { method onMove (line 2316) | onMove (e) { method onMoveEnd (line 2321) | onMoveEnd (e) { method onZoomStart (line 2341) | onZoomStart (e) { method onZoom (line 2345) | onZoom (e) { method onZoomEnd (line 2368) | onZoomEnd (e) { method onResize (line 2383) | onResize () { method onViewReset (line 2386) | onViewReset () { method onClick (line 2394) | onClick (e) { method getOffset (line 2401) | getOffset () { method style (line 2407) | style (style) { method date (line 2431) | date (date) { method load (line 2437) | load (url) { method set (line 2442) | set (data) { method each (line 2447) | each (handler) { method click (line 2454) | click (handler) { FILE: dist/OSMBuildings-Leaflet.js class u (line 1) | class u{constructor(e,t,i,r=1){this.r=this._clamp(e,1),this.g=this._clam... method constructor (line 1) | constructor(e,t,i,r=1){this.r=this._clamp(e,1),this.g=this._clamp(t,1)... method parse (line 1) | static parse(e){if("string"==typeof e){let t;if(e=e.toLowerCase(),t=(e... method fromHSL (line 1) | static fromHSL(e,t,i,r){const a=(new u).fromHSL(e,t,i);return a.a=void... method _hue2rgb (line 1) | _hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?... method _clamp (line 1) | _clamp(e,t){if(void 0!==e)return Math.min(t,Math.max(0,e||0))} method isValid (line 1) | isValid(){return void 0!==this.r&&void 0!==this.g&&void 0!==this.b} method toHSL (line 1) | toHSL(){if(!this.isValid())return;const e=Math.max(this.r,this.g,this.... method fromHSL (line 1) | fromHSL(e,t,i){if(0===t)return this.r=this.g=this.b=i,this;const r=i<.... method toString (line 1) | toString(){if(this.isValid())return 1===this.a?"#"+((1<<24)+(Math.roun... method toArray (line 1) | toArray(){if(this.isValid)return[this.r,this.g,this.b]} method hue (line 1) | hue(e){const t=this.toHSL();return this.fromHSL(t.h+e,t.s,t.l)} method saturation (line 1) | saturation(e){const t=this.toHSL();return this.fromHSL(t.h,t.s*e,t.l)} method lightness (line 1) | lightness(e){const t=this.toHSL();return this.fromHSL(t.h,t.s,t.l*e)} method clone (line 1) | clone(){return new u(this.r,this.g,this.b,this.a)} function g (line 1) | function g(){const e=Math,t=e.PI,i=e.sin,r=e.cos,a=e.tan,o=e.asin,s=e.at... function m (line 1) | function m(e){return"#"===(e=e.toLowerCase())[0]?e:p[y[e]||e]||null} function x (line 1) | function x(e,t){if(function(e){let t,i,r,a,o=0;for(let s=0,n=e.length-3;... function b (line 1) | function b(e){const t={};e=e||{},t.height=e.height||(e.levels?3*e.levels... function w (line 1) | function w(e){let t,i,r=[];switch(e.type){case"GeometryCollection":r=[];... function k (line 1) | function k(e){let t={};for(const i in e)e.hasOwnProperty(i)&&(t[i]=e[i])... function W (line 1) | function W(){} function J (line 1) | function J(){} function B (line 1) | function B(e,t){const i=e.x-t.x,r=e.y-t.y;return i*i+r*r} function U (line 1) | function U(e,t,i,r,a,o){let s,n=a-i,l=o-r;return 0===n&&0===l||(s=((e-i)... function Y (line 1) | function Y(e){let t=180,i=-180;for(let r=0,a=e.length;r=1?-90:... function Q (line 1) | function Q(e,t){const r=l(1,c(0,.5-i(o(I+z*e/180))/T/2));return{x:(t/360... function ee (line 1) | function ee(e){const t=O+E,i=A+D;for(let r=0,a=e.length-3;re*t)} method scale (line 1) | static scale(e){oe.items=oe.items.map(t=>{if(t.height*=e,t.minHeight*=... method scaleItem (line 1) | static scaleItem(e){let t,i={},r=6/d(2,_-15);if(e.id&&(i.id=e.id),i.he... method set (line 1) | static set(e){this.resetItems(),this._staticData=e,this.addRenderItems... method load (line 1) | static load(e,t){this.src=e||"https://{s}.data.osmbuildings.org/0.2/{k... method update (line 1) | static update(){if(this.resetItems(),!(_<15)&&(this._staticData&&this.... method loadTile (line 1) | static loadTile(e,t,i,r){let a="abcd"[(e+t)%4],o=this.src.replace("{s}... class se (line 1) | class se{static draw(e,t,i,r,a,o,s,n){let l=this._extrude(e,t,r,a,o,s),c... method draw (line 1) | static draw(e,t,i,r,a,o,s,n){let l=this._extrude(e,t,r,a,o,s),c=[];if(... method _extrude (line 1) | static _extrude(e,t,i,r,a,o){let s,n,l=450/(450-i),c=450/(450-r),h={x:... method _ring (line 1) | static _ring(e,t){e.moveTo(t[0],t[1]);for(let i=2,r=t.length-1;i{e||(de.r... method createContext (line 1) | static createContext(e){let t=document.createElement("CANVAS");t.class... method appendTo (line 1) | static appendTo(e){e.appendChild(ce.container)} method remove (line 1) | static remove(){ce.container.parentNode.removeChild(ce.container)} method setSize (line 1) | static setSize(e,t){ce.items.forEach(i=>{i.width=e,i.height=t})} method setPosition (line 1) | static setPosition(e,t){ce.container.style.left=e+"px",ce.container.st... class he (line 1) | class he{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,O,A)} method setOpacity (line 1) | static setOpacity(e){this.context.canvas.style.opacity=e} method project (line 1) | static project(e,t){return{x:(e.x-C)*t+C<<0,y:(e.y-S)*t+S<<0}} method render (line 1) | static render(){this.clear();let e,t,i,r,a,o,s,n=this.context,l={x:C+E... class fe (line 1) | class fe{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,O,A)} method setOpacity (line 1) | static setOpacity(e){this.context.canvas.style.opacity=e} method isSimple (line 1) | static isSimple(e){return _<=fe.MAX_ZOOM&&e.height+e.roofHeightfe.MAX_ZOOM)retur... class de (line 1) | class de{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,O,A)} method setOpacity (line 1) | static setOpacity(e){this.opacity=e} method project (line 1) | static project(e,t){return{x:e.x+this.direction.x*t,y:e.y+this.directi... method render (line 1) | static render(){this.clear();let e,t,i,s,n=this.context;if(e=K(j+E,R+D... class ue (line 1) | class ue{static init(e){this.context=e}static setOpacity(e){}static clea... method init (line 1) | static init(e){this.context=e} method setOpacity (line 1) | static setOpacity(e){} method clear (line 1) | static clear(){} method reset (line 1) | static reset(){this._idMapping=[null]} method render (line 1) | static render(){if(this._timer)return;let e=this;this._timer=setTimeou... method _render (line 1) | static _render(){this.clear();let e,t,i,r,a,o=this.context,s={x:C+E,y:... method getIdFromXY (line 1) | static getIdFromXY(e,t){let i=this._imageData;if(!i)return;let r=4*((0... method idToColor (line 1) | static idToColor(e){let t=this._idMapping.indexOf(e);return-1===t&&(th... function ge (line 1) | function ge(e){E=e.x,D=e.y} function pe (line 1) | function pe(e){C=j+e.x,S=A+e.y,ce.render(!0)} function ye (line 1) | function ye(e){O=e.width,A=e.height,j=O/2<<0,R=A/2<<0,C=j,S=A,ce.setSize... function me (line 1) | function me(e){_=e,v=256<<_;const t=K(E+j,D+R),i=Q(t.latitude,0),r=Q(t.l... class xe (line 1) | class xe extends L.Layer{constructor(e){super(e),this.offset={x:0,y:0},c... method constructor (line 1) | constructor(e){super(e),this.offset={x:0,y:0},ce.init(),e&&e.addLayer(... method addTo (line 1) | addTo(e){return e.addLayer(this),this} method onAdd (line 1) | onAdd(e){this.map=e,ce.appendTo(e._panes.overlayPane);let t=this.getOf... method onRemove (line 1) | onRemove(){let e=this.map;e.attributionControl&&e.attributionControl.r... method onMove (line 1) | onMove(e){let t=this.getOffset();pe({x:this.offset.x-t.x,y:this.offset... method onMoveEnd (line 1) | onMoveEnd(e){if(this.noMoveEnd)return void(this.noMoveEnd=!1);let t=th... method onZoomStart (line 1) | onZoomStart(e){M=!0} method onZoom (line 1) | onZoom(e){let t=this.map.latLngToContainerPoint(e.center),i=Math.pow(2... method onZoomEnd (line 1) | onZoomEnd(e){ce.clear(),ce.container.classList.remove("zoom-animation"... method onResize (line 1) | onResize(){} method onViewReset (line 1) | onViewReset(){let e=this.getOffset();this.offset=e,ce.setPosition(-e.x... method onClick (line 1) | onClick(e){let t=ue.getIdFromXY(e.containerPoint.x,e.containerPoint.y)... method getOffset (line 1) | getOffset(){return L.DomUtil.getPosition(this.map._mapPane)} method style (line 1) | style(e){let t;return(t=(e=e||{}).color||e.wallColor)&&(F=u.parse(t),Z... method date (line 1) | date(e){return de.date=e,de.render(),this} method load (line 1) | load(e){return oe.load(e),this} method set (line 1) | set(e){return oe.set(e),this} method each (line 1) | each(e){return W=function(t){return e(t)},this} method click (line 1) | click(e){return J=function(t){return e(t)},this} FILE: dist/OSMBuildings-OpenLayers.debug.js class Qolor (line 22) | class Qolor { method constructor (line 31) | constructor (r, g, b, a = 1) { method parse (line 41) | static parse (str) { method fromHSL (line 69) | static fromHSL (h, s, l, a) { method _hue2rgb (line 77) | _hue2rgb(p, q, t) { method _clamp (line 86) | _clamp(v, max) { method isValid (line 95) | isValid () { method toHSL (line 99) | toHSL () { method fromHSL (line 133) | fromHSL (h, s, l) { method toString (line 156) | toString () { method toArray (line 167) | toArray () { method hue (line 174) | hue (h) { method saturation (line 179) | saturation (s) { method lightness (line 184) | lightness (l) { method clone (line 189) | clone () { function getSunPosition (line 352) | function getSunPosition () { function getMaterialColor (line 475) | function getMaterialColor (str) { function getWinding (line 487) | function getWinding (points) { function makeWinding (line 501) | function makeWinding (points, direction) { function alignProperties (line 513) | function alignProperties(prop) { function getGeometries (line 567) | function getGeometries (geometry) { function clone (line 623) | function clone (obj) { class GeoJSON (line 633) | class GeoJSON { method read (line 635) | static read (geojson) { function onEach (line 717) | function onEach () {} function onClick (line 719) | function onClick () {} function getDistance (line 722) | function getDistance (p1, p2) { function isRotational (line 729) | function isRotational (polygon) { function getSquareSegmentDistance (line 767) | function getSquareSegmentDistance (px, py, p1x, p1y, p2x, p2y) { function simplifyPolygon (line 787) | function simplifyPolygon (buffer) { function getCenter (line 840) | function getCenter (footprint) { function getLonDelta (line 853) | function getLonDelta (footprint) { function rad (line 863) | function rad (deg) { function deg (line 867) | function deg (rad) { function pixelToGeo (line 871) | function pixelToGeo (x, y) { function geoToPixel (line 880) | function geoToPixel (lat, lon) { function fromRange (line 890) | function fromRange (sVal, sMin, sMax, dMin, dMax) { function isVisible (line 897) | function isVisible (polygon) { function xhr (line 917) | function xhr (url, callback) { class Request (line 957) | class Request { method loadJSON (line 959) | static loadJSON (url, callback) { class Data (line 972) | class Data { method getPixelFootprint (line 974) | static getPixelFootprint (buffer) { method resetItems (line 992) | static resetItems () { method addRenderItems (line 998) | static addRenderItems (data, allAreNew) { method scalePolygon (line 1015) | static scalePolygon (buffer, factor) { method scale (line 1019) | static scale (factor) { method scaleItem (line 1046) | static scaleItem (item) { method set (line 1122) | static set (data) { method load (line 1128) | static load (src, key) { method update (line 1133) | static update () { method loadTile (line 1169) | static loadTile (x, y, zoom, callback) { class Extrusion (line 1179) | class Extrusion { method draw (line 1181) | static draw (context, polygon, innerPolygons, height, minHeight, color... method _extrude (line 1205) | static _extrude (context, polygon, height, minHeight, color, altColor) { method _ring (line 1255) | static _ring (context, polygon) { method simplified (line 1262) | static simplified (context, polygon, innerPolygons) { method _ringAbs (line 1274) | static _ringAbs (context, polygon) { method shadow (line 1281) | static shadow (context, polygon, innerPolygons, height, minHeight) { method hitArea (line 1331) | static hitArea (context, polygon, innerPolygons, height, minHeight, co... class Cylinder (line 1384) | class Cylinder { method draw (line 1386) | static draw (context, center, radius, topRadius, height, minHeight, co... method simplified (line 1431) | static simplified (context, center, radius) { method shadow (line 1435) | static shadow (context, center, radius, topRadius, height, minHeight) { method hitArea (line 1461) | static hitArea (context, center, radius, topRadius, height, minHeight,... method _circle (line 1498) | static _circle (context, center, radius) { method _tangents (line 1505) | static _tangents (c1, r1, c2, r2) { class Pyramid (line 1554) | class Pyramid { method draw (line 1556) | static draw (context, polygon, center, height, minHeight, color, altCo... method _triangle (line 1593) | static _triangle (context, a, b, c) { method _ring (line 1599) | static _ring (context, polygon) { method shadow (line 1606) | static shadow (context, polygon, center, height, minHeight) { method hitArea (line 1632) | static hitArea (context, polygon, center, height, minHeight, color) { function fadeIn (line 1668) | function fadeIn() { class Layers (line 1696) | class Layers { method init (line 1698) | static init () { method clear (line 1708) | static clear () { method setOpacity (line 1715) | static setOpacity (opacity) { method render (line 1722) | static render (quick) { method createContext (line 1744) | static createContext (container) { method appendTo (line 1762) | static appendTo (parentNode) { method remove (line 1766) | static remove () { method setSize (line 1770) | static setSize (width, height) { method setPosition (line 1778) | static setPosition (x, y) { class Buildings (line 1787) | class Buildings { method init (line 1789) | static init (context) { method clear (line 1793) | static clear () { method setOpacity (line 1797) | static setOpacity (opacity) { method project (line 1801) | static project (p, m) { method render (line 1808) | static render () { class Simplified (line 1868) | class Simplified { method init (line 1870) | static init (context) { method clear (line 1874) | static clear () { method setOpacity (line 1878) | static setOpacity (opacity) { method isSimple (line 1882) | static isSimple (item) { method render (line 1886) | static render () { class Shadows (line 1931) | class Shadows { method init (line 1933) | static init (context) { method clear (line 1937) | static clear () { method setOpacity (line 1941) | static setOpacity (opacity) { method project (line 1945) | static project (p, h) { method render (line 1952) | static render () { class Picking (line 2032) | class Picking { method init (line 2034) | static init (context) { method setOpacity (line 2038) | static setOpacity (opacity) {} method clear (line 2040) | static clear () {} method reset (line 2042) | static reset () { method render (line 2046) | static render () { method _render (line 2057) | static _render () { method getIdFromXY (line 2115) | static getIdFromXY (x, y) { method idToColor (line 2125) | static idToColor (id) { class Debug (line 2141) | class Debug { method point (line 2143) | static point (x, y, color, size) { method line (line 2152) | static line (ax, ay, bx, by, color) { function setOrigin (line 2164) | function setOrigin (origin) { function moveCam (line 2169) | function moveCam (offset) { function setSize (line 2175) | function setSize (size) { function setZoom (line 2188) | function setZoom (z) { function onResize (line 2204) | function onResize (e) { function onMoveEnd (line 2210) | function onMoveEnd (e) { function onZoomStart (line 2215) | function onZoomStart () { function onZoomEnd (line 2219) | function onZoomEnd (e) { class OSMBuildings (line 2243) | class OSMBuildings extends ol.layer.Layer { method constructor (line 2245) | constructor (map) { method addTo (line 2256) | addTo (map) { method setOrigin (line 2261) | setOrigin () { method setMap (line 2271) | setMap (map) { method removeMap (line 2292) | removeMap (map) { method onMapResize (line 2298) | onMapResize () { method moveTo (line 2304) | moveTo (bounds, zoomChanged, isDragging) { method moveByPx (line 2332) | moveByPx (dx, dy) { FILE: dist/OSMBuildings-OpenLayers.js class u (line 1) | class u{constructor(e,t,i,r=1){this.r=this._clamp(e,1),this.g=this._clam... method constructor (line 1) | constructor(e,t,i,r=1){this.r=this._clamp(e,1),this.g=this._clamp(t,1)... method parse (line 1) | static parse(e){if("string"==typeof e){let t;if(e=e.toLowerCase(),t=(e... method fromHSL (line 1) | static fromHSL(e,t,i,r){const a=(new u).fromHSL(e,t,i);return a.a=void... method _hue2rgb (line 1) | _hue2rgb(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?... method _clamp (line 1) | _clamp(e,t){if(void 0!==e)return Math.min(t,Math.max(0,e||0))} method isValid (line 1) | isValid(){return void 0!==this.r&&void 0!==this.g&&void 0!==this.b} method toHSL (line 1) | toHSL(){if(!this.isValid())return;const e=Math.max(this.r,this.g,this.... method fromHSL (line 1) | fromHSL(e,t,i){if(0===t)return this.r=this.g=this.b=i,this;const r=i<.... method toString (line 1) | toString(){if(this.isValid())return 1===this.a?"#"+((1<<24)+(Math.roun... method toArray (line 1) | toArray(){if(this.isValid)return[this.r,this.g,this.b]} method hue (line 1) | hue(e){const t=this.toHSL();return this.fromHSL(t.h+e,t.s,t.l)} method saturation (line 1) | saturation(e){const t=this.toHSL();return this.fromHSL(t.h,t.s*e,t.l)} method lightness (line 1) | lightness(e){const t=this.toHSL();return this.fromHSL(t.h,t.s,t.l*e)} method clone (line 1) | clone(){return new u(this.r,this.g,this.b,this.a)} function p (line 1) | function p(){const e=Math,t=e.PI,i=e.sin,r=e.cos,a=e.tan,s=e.asin,o=e.at... function m (line 1) | function m(e){return"#"===(e=e.toLowerCase())[0]?e:g[y[e]||e]||null} function x (line 1) | function x(e,t){if(function(e){let t,i,r,a,s=0;for(let o=0,n=e.length-3;... function b (line 1) | function b(e){const t={};e=e||{},t.height=e.height||(e.levels?3*e.levels... function w (line 1) | function w(e){let t,i,r=[];switch(e.type){case"GeometryCollection":r=[];... function k (line 1) | function k(e){let t={};for(const i in e)e.hasOwnProperty(i)&&(t[i]=e[i])... function V (line 1) | function V(e,t){const i=e.x-t.x,r=e.y-t.y;return i*i+r*r} function $ (line 1) | function $(e,t,i,r,a,s){let o,n=a-i,l=s-r;return 0===n&&0===l||(o=((e-i)... function W (line 1) | function W(e){let t=180,i=-180;for(let r=0,a=e.length;r=1?-90:... function Z (line 1) | function Z(e,t){const r=l(1,c(0,.5-i(s(I+P*e/180))/T/2));return{x:(t/360... function Y (line 1) | function Y(e){const t=j+z,i=O+F;for(let r=0,a=e.length-3;re*t)} method scale (line 1) | static scale(e){te.items=te.items.map(t=>{if(t.height*=e,t.minHeight*=... method scaleItem (line 1) | static scaleItem(e){let t,i={},r=6/d(2,_-15);if(e.id&&(i.id=e.id),i.he... method set (line 1) | static set(e){this.resetItems(),this._staticData=e,this.addRenderItems... method load (line 1) | static load(e,t){this.src=e||"https://{s}.data.osmbuildings.org/0.2/{k... method update (line 1) | static update(){if(this.resetItems(),!(_<15)&&(this._staticData&&this.... method loadTile (line 1) | static loadTile(e,t,i,r){let a="abcd"[(e+t)%4],s=this.src.replace("{s}... class ie (line 1) | class ie{static draw(e,t,i,r,a,s,o,n){let l=this._extrude(e,t,r,a,s,o),c... method draw (line 1) | static draw(e,t,i,r,a,s,o,n){let l=this._extrude(e,t,r,a,s,o),c=[];if(... method _extrude (line 1) | static _extrude(e,t,i,r,a,s){let o,n,l=450/(450-i),c=450/(450-r),h={x:... method _ring (line 1) | static _ring(e,t){e.moveTo(t[0],t[1]);for(let i=2,r=t.length-1;i{e||(le.r... method createContext (line 1) | static createContext(e){let t=document.createElement("CANVAS");t.class... method appendTo (line 1) | static appendTo(e){e.appendChild(se.container)} method remove (line 1) | static remove(){se.container.parentNode.removeChild(se.container)} method setSize (line 1) | static setSize(e,t){se.items.forEach(i=>{i.width=e,i.height=t})} method setPosition (line 1) | static setPosition(e,t){se.container.style.left=e+"px",se.container.st... class oe (line 1) | class oe{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,j,O)} method setOpacity (line 1) | static setOpacity(e){this.context.canvas.style.opacity=e} method project (line 1) | static project(e,t){return{x:(e.x-S)*t+S<<0,y:(e.y-C)*t+C<<0}} method render (line 1) | static render(){this.clear();let e,t,i,r,a,s,o,n=this.context,l={x:S+z... class ne (line 1) | class ne{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,j,O)} method setOpacity (line 1) | static setOpacity(e){this.context.canvas.style.opacity=e} method isSimple (line 1) | static isSimple(e){return _<=ne.MAX_ZOOM&&e.height+e.roofHeightne.MAX_ZOOM)retur... class le (line 1) | class le{static init(e){this.context=e}static clear(){this.context.clear... method init (line 1) | static init(e){this.context=e} method clear (line 1) | static clear(){this.context.clearRect(0,0,j,O)} method setOpacity (line 1) | static setOpacity(e){this.opacity=e} method project (line 1) | static project(e,t){return{x:e.x+this.direction.x*t,y:e.y+this.directi... method render (line 1) | static render(){this.clear();let e,t,i,o,n=this.context;if(e=J(A+z,L+F... class ce (line 1) | class ce{static init(e){this.context=e}static setOpacity(e){}static clea... method init (line 1) | static init(e){this.context=e} method setOpacity (line 1) | static setOpacity(e){} method clear (line 1) | static clear(){} method reset (line 1) | static reset(){this._idMapping=[null]} method render (line 1) | static render(){if(this._timer)return;let e=this;this._timer=setTimeou... method _render (line 1) | static _render(){this.clear();let e,t,i,r,a,s=this.context,o={x:S+z,y:... method getIdFromXY (line 1) | static getIdFromXY(e,t){let i=this._imageData;if(!i)return;let r=4*((0... method idToColor (line 1) | static idToColor(e){let t=this._idMapping.indexOf(e);return-1===t&&(th... function he (line 1) | function he(e){S=A+e.x,C=O+e.y,se.render(!0)} function fe (line 1) | function fe(e){j=e.width,O=e.height,A=j/2<<0,L=O/2<<0,S=A,C=O,se.setSize... function de (line 1) | function de(e){_=e,v=256<<_;const t=J(z+A,F+L),i=Z(t.latitude,0),r=Z(t.l... class ue (line 1) | class ue extends ol.layer.Layer{constructor(e){super(ue.name,{projection... method constructor (line 1) | constructor(e){super(ue.name,{projection:"EPSG:900913"}),this.offset={... method addTo (line 1) | addTo(e){return this.setMap(e),this} method setOrigin (line 1) | setOrigin(){let e=this.map,t=e.getLonLatFromPixel(new OpenLayers.Pixel... method setMap (line 1) | setMap(e){this.map||super.setMap.call(this,e),se.appendTo(this.div),fe... method removeMap (line 1) | removeMap(e){se.remove(),super.removeMap.call(this,e),this.map=null} method onMapResize (line 1) | onMapResize(){let e=this.map;super.onMapResize.call(this),fe({width:e.... method moveTo (line 1) | moveTo(e,t,i){let r=this.map,a=super.moveTo.call(this,e,t,i);if(!i){le... method moveByPx (line 1) | moveByPx(e,t){this.offset.x+=e,this.offset.y+=t;let i=super.moveByPx.c... FILE: src/Data.js class Data (line 2) | class Data { method getPixelFootprint (line 4) | static getPixelFootprint (buffer) { method resetItems (line 22) | static resetItems () { method addRenderItems (line 28) | static addRenderItems (data, allAreNew) { method scalePolygon (line 45) | static scalePolygon (buffer, factor) { method scale (line 49) | static scale (factor) { method scaleItem (line 76) | static scaleItem (item) { method set (line 152) | static set (data) { method load (line 158) | static load (src, key) { method update (line 163) | static update () { method loadTile (line 199) | static loadTile (x, y, zoom, callback) { FILE: src/Debug.js class Debug (line 2) | class Debug { method point (line 4) | static point (x, y, color, size) { method line (line 13) | static line (ax, ay, bx, by, color) { FILE: src/GeoJSON.js constant METERS_PER_LEVEL (line 2) | const METERS_PER_LEVEL = 3; function getMaterialColor (line 57) | function getMaterialColor (str) { constant WINDING_CLOCKWISE (line 65) | const WINDING_CLOCKWISE = 'CW'; constant WINDING_COUNTER_CLOCKWISE (line 66) | const WINDING_COUNTER_CLOCKWISE = 'CCW'; function getWinding (line 69) | function getWinding (points) { function makeWinding (line 83) | function makeWinding (points, direction) { function alignProperties (line 95) | function alignProperties(prop) { function getGeometries (line 149) | function getGeometries (geometry) { function clone (line 205) | function clone (obj) { class GeoJSON (line 215) | class GeoJSON { method read (line 217) | static read (geojson) { FILE: src/Request.js function xhr (line 7) | function xhr (url, callback) { class Request (line 47) | class Request { method loadJSON (line 49) | static loadJSON (url, callback) { FILE: src/adapter.js function setOrigin (line 2) | function setOrigin (origin) { function moveCam (line 7) | function moveCam (offset) { function setSize (line 13) | function setSize (size) { function setZoom (line 26) | function setZoom (z) { function onResize (line 42) | function onResize (e) { function onMoveEnd (line 48) | function onMoveEnd (e) { function onZoomStart (line 53) | function onZoomStart () { function onZoomEnd (line 57) | function onZoomEnd (e) { FILE: src/engines/Leaflet.js class OSMBuildings (line 2) | class OSMBuildings extends L.Layer { method constructor (line 4) | constructor (map) { method addTo (line 14) | addTo (map) { method onAdd (line 19) | onAdd (map) { method onRemove (line 53) | onRemove () { method onMove (line 76) | onMove (e) { method onMoveEnd (line 81) | onMoveEnd (e) { method onZoomStart (line 101) | onZoomStart (e) { method onZoom (line 105) | onZoom (e) { method onZoomEnd (line 128) | onZoomEnd (e) { method onResize (line 143) | onResize () { method onViewReset (line 146) | onViewReset () { method onClick (line 154) | onClick (e) { method getOffset (line 161) | getOffset () { method style (line 167) | style (style) { method date (line 191) | date (date) { method load (line 197) | load (url) { method set (line 202) | set (data) { method each (line 207) | each (handler) { method click (line 214) | click (handler) { FILE: src/engines/OpenLayers.js class OSMBuildings (line 3) | class OSMBuildings extends ol.layer.Layer { method constructor (line 5) | constructor (map) { method addTo (line 16) | addTo (map) { method setOrigin (line 21) | setOrigin () { method setMap (line 31) | setMap (map) { method removeMap (line 52) | removeMap (map) { method onMapResize (line 58) | onMapResize () { method moveTo (line 64) | moveTo (bounds, zoomChanged, isDragging) { method moveByPx (line 92) | moveByPx (dx, dy) { FILE: src/functions.js function rad (line 2) | function rad (deg) { function deg (line 6) | function deg (rad) { function pixelToGeo (line 10) | function pixelToGeo (x, y) { function geoToPixel (line 19) | function geoToPixel (lat, lon) { function fromRange (line 29) | function fromRange (sVal, sMin, sMax, dMin, dMax) { function isVisible (line 36) | function isVisible (polygon) { FILE: src/geometry.js function getDistance (line 2) | function getDistance (p1, p2) { function isRotational (line 9) | function isRotational (polygon) { function getSquareSegmentDistance (line 47) | function getSquareSegmentDistance (px, py, p1x, p1y, p2x, p2y) { function simplifyPolygon (line 67) | function simplifyPolygon (buffer) { function getCenter (line 120) | function getCenter (footprint) { constant EARTH_RADIUS (line 131) | let EARTH_RADIUS = 6378137; function getLonDelta (line 133) | function getLonDelta (footprint) { FILE: src/geometry/Cylinder.js class Cylinder (line 1) | class Cylinder { method draw (line 3) | static draw (context, center, radius, topRadius, height, minHeight, co... method simplified (line 48) | static simplified (context, center, radius) { method shadow (line 52) | static shadow (context, center, radius, topRadius, height, minHeight) { method hitArea (line 78) | static hitArea (context, center, radius, topRadius, height, minHeight,... method _circle (line 115) | static _circle (context, center, radius) { method _tangents (line 122) | static _tangents (c1, r1, c2, r2) { FILE: src/geometry/Extrusion.js class Extrusion (line 1) | class Extrusion { method draw (line 3) | static draw (context, polygon, innerPolygons, height, minHeight, color... method _extrude (line 27) | static _extrude (context, polygon, height, minHeight, color, altColor) { method _ring (line 77) | static _ring (context, polygon) { method simplified (line 84) | static simplified (context, polygon, innerPolygons) { method _ringAbs (line 96) | static _ringAbs (context, polygon) { method shadow (line 103) | static shadow (context, polygon, innerPolygons, height, minHeight) { method hitArea (line 153) | static hitArea (context, polygon, innerPolygons, height, minHeight, co... FILE: src/geometry/Pyramid.js class Pyramid (line 1) | class Pyramid { method draw (line 3) | static draw (context, polygon, center, height, minHeight, color, altCo... method _triangle (line 40) | static _triangle (context, a, b, c) { method _ring (line 46) | static _ring (context, polygon) { method shadow (line 53) | static shadow (context, polygon, center, height, minHeight) { method hitArea (line 79) | static hitArea (context, polygon, center, height, minHeight, color) { FILE: src/geometry/__Dome.js function rotation (line 1) | function rotation (p, c, a) { constant KAPPA (line 11) | let KAPPA = 0.5522847498; function dome (line 12) | function dome (c, r, h, minHeight) { function drawMeridian (line 93) | function drawMeridian (c, r, _h, hfK, apex, angle) { function drawHalfMeridian (line 98) | function drawHalfMeridian (c, r, _h, hfK, apex, angle) { function getEllipseTangent (line 107) | function getEllipseTangent (a, b, x, y) { FILE: src/layers/Buildings.js class Buildings (line 1) | class Buildings { method init (line 3) | static init (context) { method clear (line 7) | static clear () { method setOpacity (line 11) | static setOpacity (opacity) { method project (line 15) | static project (p, m) { method render (line 22) | static render () { FILE: src/layers/Picking.js class Picking (line 2) | class Picking { method init (line 4) | static init (context) { method setOpacity (line 8) | static setOpacity (opacity) {} method clear (line 10) | static clear () {} method reset (line 12) | static reset () { method render (line 16) | static render () { method _render (line 27) | static _render () { method getIdFromXY (line 85) | static getIdFromXY (x, y) { method idToColor (line 95) | static idToColor (id) { FILE: src/layers/Shadows.js class Shadows (line 1) | class Shadows { method init (line 3) | static init (context) { method clear (line 7) | static clear () { method setOpacity (line 11) | static setOpacity (opacity) { method project (line 15) | static project (p, h) { method render (line 22) | static render () { FILE: src/layers/Simplified.js class Simplified (line 1) | class Simplified { method init (line 3) | static init (context) { method clear (line 7) | static clear () { method setOpacity (line 11) | static setOpacity (opacity) { method isSimple (line 15) | static isSimple (item) { method render (line 19) | static render () { FILE: src/layers/index.js function fadeIn (line 3) | function fadeIn() { class Layers (line 31) | class Layers { method init (line 33) | static init () { method clear (line 43) | static clear () { method setOpacity (line 50) | static setOpacity (opacity) { method render (line 57) | static render (quick) { method createContext (line 79) | static createContext (container) { method appendTo (line 97) | static appendTo (parentNode) { method remove (line 101) | static remove () { method setSize (line 105) | static setSize (width, height) { method setPosition (line 113) | static setPosition (x, y) { FILE: src/lib/getSunPosition.js function getSunPosition (line 4) | function getSunPosition () { FILE: src/variables.js function onEach (line 39) | function onEach () {} function onClick (line 41) | function onClick () {} FILE: tests/openlayers-5.3.0/OSMBuildings-OL5.js class Block (line 13) | class Block { method constructor (line 14) | constructor() {} method draw (line 16) | draw( method _extrude (line 65) | _extrude(context, polygon, height, minHeight, color, altColor) { method _ring (line 116) | _ring(context, polygon) { method simplified (line 123) | simplified(context, polygon, innerPolygons) { method _ringAbs (line 136) | _ringAbs(context, polygon) { method shadow (line 143) | shadow(context, polygon, innerPolygons, height, minHeight) { method shadowMask (line 199) | shadowMask(context, polygon, innerPolygons) { method hitArea (line 208) | hitArea(context, polygon, innerPolygons, height, minHeight, color) { class Buildings (line 270) | class Buildings { method constructor (line 271) | constructor() { method setData (line 274) | setData(data) { method project (line 278) | project(p, m) { method render (line 285) | render() { method setContext (line 458) | setContext(context) { class Color (line 464) | class Color { method constructor (line 465) | constructor(h, s, l, a) { method hue2rgb (line 472) | hue2rgb(p, q, t) { method clamp (line 481) | clamp(v, max) { method parse (line 489) | static parse(str) { method toRGBA (line 538) | toRGBA() { method fromRGBA (line 569) | static fromRGBA(r, g, b, a) { method toString (line 609) | toString() { method hue (line 625) | hue(h) { method saturation (line 629) | saturation(s) { method lightness (line 633) | lightness(l) { method alpha (line 637) | alpha(a) { class Cylinder (line 643) | class Cylinder { method constructor (line 644) | constructor() {} method draw (line 645) | draw( method simplified (line 703) | simplified(context, center, radius) { method shadow (line 713) | shadow(context, center, radius, topRadius, height, minHeight) { method shadowMask (line 742) | shadowMask(context, center, radius) { method hitArea (line 751) | hitArea(context, center, radius, topRadius, height, minHeight, color) { method _circle (line 791) | _circle(context, center, radius) { method _tangents (line 799) | _tangents(c1, r1, c2, r2) { class Data (line 850) | class Data { method constructor (line 851) | constructor() { method getPixelFootprint (line 867) | getPixelFootprint(buffer) { method getItems (line 886) | getItems() { method resetItems (line 890) | resetItems() { method fadeIn (line 896) | fadeIn() { method addRenderItems (line 930) | addRenderItems(data, allAreNew) { method scale (line 955) | scale(item) { method set (line 1036) | set(data) { method load (line 1052) | load(src, key) { method update (line 1057) | update() { method loadTile (line 1099) | loadTile(x, y, zoom, callback) { class Debug (line 1111) | class Debug { method constructor (line 1112) | constructor() {} method point (line 1114) | point(x, y, color, size) { method line (line 1123) | line(ax, ay, bx, by, color) { class Functions (line 1135) | class Functions { method rad (line 1136) | static rad(deg) { method deg (line 1140) | static deg(rad) { method pixelToGeo (line 1144) | static pixelToGeo(x, y) { method geoToPixel (line 1158) | static geoToPixel(lat, lon) { method fromRange (line 1170) | static fromRange(sVal, sMin, sMax, dMin, dMax) { method isVisible (line 1177) | static isVisible(polygon) { class GeoJSON (line 1197) | class GeoJSON { method constructor (line 1198) | constructor() { method getMaterialColor (line 1258) | getMaterialColor(str) { method getWinding (line 1267) | getWinding(points) { method makeWinding (line 1286) | makeWinding(points, direction) { method alignProperties (line 1298) | alignProperties(prop) { method getGeometries (line 1359) | getGeometries(geometry) { method clone (line 1427) | clone(obj) { method read (line 1437) | read(geojson) { class Geometry (line 1491) | class Geometry { method getDistance (line 1492) | static getDistance(p1, p2) { method isRotational (line 1498) | static isRotational(polygon) { method getSquareSegmentDistance (line 1545) | static getSquareSegmentDistance(px, py, p1x, p1y, p2x, p2y) { method simplifyPolygon (line 1564) | static simplifyPolygon(buffer) { method getCenter (line 1620) | static getCenter(footprint) { method getLonDelta (line 1637) | static getLonDelta(footprint) { class HitAreas (line 1649) | class HitAreas { method constructor (line 1651) | constructor() { method setData (line 1657) | setData(data) { method reset (line 1661) | reset() { method render (line 1665) | render() { method _render (line 1676) | _render() { method getIdFromXY (line 1814) | getIdFromXY(x, y) { method idToColor (line 1825) | idToColor(id) { method setContext (line 1837) | setContext(context) { class Layers (line 1843) | class Layers { method constructor (line 1844) | constructor() { method render (line 1862) | render(quick) { method createContext (line 1874) | createContext(container) { method appendTo (line 1896) | appendTo(parentNode) { method remove (line 1900) | remove() { method setSize (line 1904) | setSize(width, height) { method setPosition (line 1912) | setPosition(x, y) { class Pyramid (line 1919) | class Pyramid { method constructor (line 1920) | constructor() {} method draw (line 1922) | draw(context, polygon, center, height, minHeight, color, altColor) { method _triangle (line 1967) | _triangle(context, a, b, c) { method _ring (line 1973) | _ring(context, polygon) { method shadow (line 1980) | shadow(context, polygon, center, height, minHeight) { method shadowMask (line 2014) | shadowMask(context, polygon) { method hitArea (line 2018) | hitArea(context, polygon, center, height, minHeight, color) { class Request (line 2061) | class Request { method constructor (line 2062) | constructor() { method xhr (line 2069) | xhr(url, callback) { method loadJSON (line 2113) | loadJSON(url, callback) { class Shadows (line 2125) | class Shadows { method constructor (line 2126) | constructor() { method project (line 2141) | project(p, h) { method setData (line 2148) | setData(data) { method render (line 2152) | render() { method setContext (line 2334) | setContext(context) { class Simplified (line 2340) | class Simplified { method constructor (line 2341) | constructor() { method setData (line 2346) | setData(data) { method init (line 2350) | init() { method isSimple (line 2355) | isSimple(item) { method render (line 2361) | render() { method setContext (line 2405) | setContext(context) { class SunPosition (line 2414) | class SunPosition { method constructor (line 2415) | constructor() { method init (line 2419) | init() { method toJulian (line 2434) | toJulian(date) { method toDays (line 2437) | toDays(date) { method getRightAscension (line 2440) | getRightAscension(l, b) { method getDeclination (line 2446) | getDeclination(l, b) { method getAzimuth (line 2452) | getAzimuth(H, phi, dec) { method getAltitude (line 2458) | getAltitude(H, phi, dec) { method getSiderealTime (line 2464) | getSiderealTime(d, lw) { method getSolarMeanAnomaly (line 2467) | getSolarMeanAnomaly(d) { method getEquationOfCenter (line 2470) | getEquationOfCenter(M) { method getEclipticLongitude (line 2476) | getEclipticLongitude(M, C) { method getSunPosition (line 2481) | getSunPosition(date, lat, lon) { class OSMBuildings (line 2501) | class OSMBuildings extends VectorLayer { method constructor (line 2502) | constructor(map) { method setGlobalOrigin (line 2524) | setGlobalOrigin(origin) { method moveCam (line 2529) | moveCam(offset) { method setSize (line 2535) | setSize(size) { method setZoom (line 2548) | setZoom(z) { method onResize (line 2564) | onResize(e) { method onMoveEnd (line 2570) | onMoveEnd(e) { method onZoomStart (line 2575) | onZoomStart() { method onZoomEnd (line 2582) | onZoomEnd(e) { method setOrigin (line 2589) | setOrigin() { method setMap (line 2607) | setMap(map) { method set (line 2690) | set(dataToSet) { method getDataItems (line 2695) | getDataItems(){