diff --git a/dist/collections/ItsLayerCollection.js b/dist/collections/ItsLayerCollection.js index 8f664664f108b619905eeecb6f692c0838601d28..798e86890d43ae3344d385583366ee13555f0508 100644 --- a/dist/collections/ItsLayerCollection.js +++ b/dist/collections/ItsLayerCollection.js @@ -76,7 +76,7 @@ var itsConfig = [ legendCollapse: true, itsLineConfig: { prop: 'owner', - //defaultName: 'Other', + defaultName: 'Other', //defaultWidth: 7, defaultColor: colors.hexAlphaToRgbOrRgba('#747474', 0.8), lineArray: [ diff --git a/dist/collections/ItsLayerCollection.js.map b/dist/collections/ItsLayerCollection.js.map index ddd39a6a9b195ff0eaf61b77636fd06a22e32c70..739f898ed7a58f93fe9f5b80143b4ff6fbfd4d12 100644 --- a/dist/collections/ItsLayerCollection.js.map +++ b/dist/collections/ItsLayerCollection.js.map @@ -1 +1 @@ -{"version":3,"file":"ItsLayerCollection.js","sourceRoot":"","sources":["../../src/collections/ItsLayerCollection.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,uCAAyC;AACzC,2CAAsC;AAEtC,iEAA4D;AAC5D,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAGhC,IAAI,SAAS,GAAG;IACZ;QACI,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,EAAE;QACX,aAAa,EAAE;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE;gBACP,CAAC,iBAAiB,EAAE,SAAS,EAAE,cAAc,CAAC;aACjD;SACJ;KACJ;IACD;QACI,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,EAAE;QACX,aAAa,EAAE;YACX,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,SAAS;YACtB,SAAS,EAAE;gBACP,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC;aAC/B;SACJ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import ol = require('custom-ol');\r\nimport LayerItsInventory from \"../layers/LayerItsInventory\";\r\nlet nm = provide('collections');\r\n\r\n\r\nlet itsConfig = [\r\n {\r\n name: 'Camera',\r\n itsType: 'cctv',\r\n minZoom: 11,\r\n itsIconConfig: {\r\n prop: 'owner',\r\n defaultName: 'WisDOT',\r\n defaultIcon: 'cctv.png',\r\n iconArray: [\r\n ['City of Madison', 'Madison', 'cctv-mad.png']\r\n ]\r\n }\r\n },\r\n {\r\n name: 'Message Signs',\r\n itsType: 'DMS',\r\n minZoom: 11,\r\n itsIconConfig: {\r\n prop: 'dmsType',\r\n defaultName: 'DMS',\r\n defaultIcon: 'dms.png',\r\n iconArray: [\r\n ['pcms', 'PCMS', 'pcms.png']\r\n ]\r\n }\r\n },\r\n {name: 'ATR', itsType: 'atr', minZoom: 8, itsIcon: 'atr.png', visible: false},\r\n {name: 'Lighting', itsType: 'light', minZoom: 16, itsIcon: 'streetlight.png', visible: false, onDemand: true},\r\n {name: 'Bluetooth', itsType: 'blue', minZoom: 10, itsIcon: 'bluetooth.png', visible: false},\r\n {name: 'Cabinets', itsType: 'cabinet', minZoom: 10, itsIcon: 'cabinet.png', visible: false},\r\n {name: 'Hut', itsType: 'hut', minZoom: 10, itsIcon: 'hut.png', visible: false},\r\n {name: 'Vault', itsType: 'vault', minZoom: 13, itsIcon: 'vault.png', visible: false},\r\n {name: 'Advisory Radio', itsType: 'har', minZoom: 10, itsIcon: 'har.png', visible: false},\r\n {\r\n name: 'Loop Detectors',\r\n itsType: 'loop',\r\n legendCollapse: true,\r\n minZoom: 14,\r\n visible: false,\r\n itsIconConfig: {\r\n prop: 'dtctrType',\r\n defaultName: 'Other',\r\n defaultIcon: 'loopdetectorother.png',\r\n iconArray: [\r\n ['detector', 'Detector', 'loopdetector.png'],\r\n ['long', 'Long', 'loopdetectorlong.png'],\r\n ['zone', 'Zone', 'loopdetectorzone.png']\r\n ]\r\n },\r\n onDemand: true\r\n },\r\n {name: 'Microwave', itsType: 'microwave', minZoom: 14, itsIcon: 'microwave.png', visible: false},\r\n {name: 'Pull Box', itsType: 'pull', minZoom: 14, itsIcon: 'pullbox.png', visible: false, onDemand: true},\r\n {name: 'RWIS', itsType: 'rwis', minZoom: 7, itsIcon: 'rwis.png', visible: false},\r\n {name: 'Ramp Gates', itsType: 'gate', minZoom: 10, itsIcon: 'rampgate.png', visible: false},\r\n {name: 'Ramp Meter', itsType: 'meter', minZoom: 10, itsIcon: 'rampmeter.png', visible: false},\r\n {name: 'Signal', itsType: 'signal', minZoom: 13, itsIcon: 'signal.png', visible: false, onDemand: true},\r\n {name: 'Tower', itsType: 'tower', minZoom: 10, itsIcon: 'tower.png', visible: false},\r\n {\r\n name: 'Trench',\r\n itsType: 'trench',\r\n onDemand: true,\r\n visible: false,\r\n onDemandDelay: 500,\r\n minZoom: 15,\r\n legendCollapse: true,\r\n itsLineConfig: {\r\n prop: 'owner',\r\n //defaultName: 'Other',\r\n //defaultWidth: 7,\r\n defaultColor: colors.hexAlphaToRgbOrRgba('#747474', 0.8),\r\n lineArray: [\r\n ['WisDOT', 'WisDOT', colors.hexAlphaToRgbOrRgba('#FF032F', 0.7)],\r\n ['WIN', 'WIN', colors.hexAlphaToRgbOrRgba('#FFC632', 0.7)],\r\n ['USXchange', 'USXchange', colors.hexAlphaToRgbOrRgba('#2DFF46', 0.7)],\r\n ['AT&T', 'AT&T', colors.hexAlphaToRgbOrRgba('#ff2be5', 0.7)],\r\n ['Touch America', 'Touch America', colors.hexAlphaToRgbOrRgba('#52f3ff', 0.7)],\r\n ['Qwest', 'Qwest', colors.hexAlphaToRgbOrRgba('#9278ff', 0.7)],\r\n ['McLeodUSA', 'McLeodUSA', colors.hexAlphaToRgbOrRgba('#2926FF', 0.7)],\r\n ['CINC', 'CINC', colors.hexAlphaToRgbOrRgba('#CB00FF', 0.7)],\r\n ['City of Madison', 'Madison', colors.hexAlphaToRgbOrRgba('#000380', 0.7)]\r\n ]\r\n }\r\n }\r\n\r\n\r\n];\r\n\r\n\r\nexport class ItsLayerCollection {\r\n _map: ol.Map;\r\n _layers: Array<LayerItsInventory>;\r\n\r\n\r\n /**\r\n * Create a collection of all ITS layers\r\n * @param {ol.Map} theMap the openlayers map\r\n * @param {Array} [exclude=[]] array of Its layer identifiers to exclude\r\n *\r\n * BLUE Bluetooth Detector - Bluetooth Detector\r\n * CABINET Cabinets - The cabinets\r\n * CCTV Camera - Traffic Cameras\r\n * HUT Communication Hut - Communication Hut\r\n * VAULT Communication Vault - The communication vaults\r\n * HAR Highway Advisory Radio - Advisory Radios\r\n * LIGHT Lighting - Lighting\r\n * LOOP Loop Detectors - Loop Detectors\r\n * DMS Message Board - Message Boards and Signs\r\n * MICROWAVE Microwave Detector - Microwave Detectors\r\n * PULL Pull Box - A pull box\r\n * RWIS RWIS - Road weather information system\r\n * GATE Ramp Gate - The ramp Gates\r\n * METER Ramp Meter - The ramp meters\r\n * SIGNAL Signal - Traffic Signal\r\n * TOWER Tower - The towers\r\n * TRENCH\r\n */\r\n constructor(theMap: ol.Map, exclude?: Array<string>) {\r\n\r\n this._map = theMap;\r\n this._layers = [];\r\n\r\n exclude = typeof exclude == 'object' ? exclude : [];\r\n\r\n for (let i = 0; i < itsConfig.length; i++) {\r\n let lyrConfig = itsConfig[i];\r\n let addLayer = true;\r\n\r\n for (let j = 0; j < exclude.length; j++) {\r\n if (exclude[j] == lyrConfig.itsType) {\r\n addLayer = false;\r\n break;\r\n }\r\n }\r\n\r\n if (addLayer) {\r\n let inventLyr = new LayerItsInventory(lyrConfig);\r\n this._map.addLayer(inventLyr.olLayer);\r\n this._layers.push(inventLyr);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Return the array of layers in this collection\r\n * @returns {Array<LayerItsInventory>} an array of layers\r\n */\r\n get layers() {\r\n return this._layers;\r\n }\r\n}\r\n\r\nnm.ItsLayerCollection = ItsLayerCollection;\r\nexport default ItsLayerCollection;\r\n"]} \ No newline at end of file +{"version":3,"file":"ItsLayerCollection.js","sourceRo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CAAC;oBAClC,QAAQ,GAAG,KAAK,CAAC;oBACjB,KAAK,CAAC;gBACV,CAAC;YACL,CAAC;YAED,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACX,IAAI,SAAS,GAAG,IAAI,2BAAiB,CAAC,SAAS,CAAC,CAAC;gBACjD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;gBACtC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACjC,CAAC;QACL,CAAC;IACL,CAAC;IAMD,sBAAI,sCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IACL,yBAAC;AAAD,CAAC,AA7DD,IA6DC;AA7DY,gDAAkB;AA+D/B,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C,kBAAe,kBAAkB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/14/2015.\r\n */\r\n\r\nimport * as colors from '../util/colors';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport LayerItsInventory from \"../layers/LayerItsInventory\";\r\nlet nm = provide('collections');\r\n\r\n\r\nlet itsConfig = [\r\n {\r\n name: 'Camera',\r\n itsType: 'cctv',\r\n minZoom: 11,\r\n itsIconConfig: {\r\n prop: 'owner',\r\n defaultName: 'WisDOT',\r\n defaultIcon: 'cctv.png',\r\n iconArray: [\r\n ['City of Madison', 'Madison', 'cctv-mad.png']\r\n ]\r\n }\r\n },\r\n {\r\n name: 'Message Signs',\r\n itsType: 'DMS',\r\n minZoom: 11,\r\n itsIconConfig: {\r\n prop: 'dmsType',\r\n defaultName: 'DMS',\r\n defaultIcon: 'dms.png',\r\n iconArray: [\r\n ['pcms', 'PCMS', 'pcms.png']\r\n ]\r\n }\r\n },\r\n {name: 'ATR', itsType: 'atr', minZoom: 8, itsIcon: 'atr.png', visible: false},\r\n {name: 'Lighting', itsType: 'light', minZoom: 16, itsIcon: 'streetlight.png', visible: false, onDemand: true},\r\n {name: 'Bluetooth', itsType: 'blue', minZoom: 10, itsIcon: 'bluetooth.png', visible: false},\r\n {name: 'Cabinets', itsType: 'cabinet', minZoom: 10, itsIcon: 'cabinet.png', visible: false},\r\n {name: 'Hut', itsType: 'hut', minZoom: 10, itsIcon: 'hut.png', visible: false},\r\n {name: 'Vault', itsType: 'vault', minZoom: 13, itsIcon: 'vault.png', visible: false},\r\n {name: 'Advisory Radio', itsType: 'har', minZoom: 10, itsIcon: 'har.png', visible: false},\r\n {\r\n name: 'Loop Detectors',\r\n itsType: 'loop',\r\n legendCollapse: true,\r\n minZoom: 14,\r\n visible: false,\r\n itsIconConfig: {\r\n prop: 'dtctrType',\r\n defaultName: 'Other',\r\n defaultIcon: 'loopdetectorother.png',\r\n iconArray: [\r\n ['detector', 'Detector', 'loopdetector.png'],\r\n ['long', 'Long', 'loopdetectorlong.png'],\r\n ['zone', 'Zone', 'loopdetectorzone.png']\r\n ]\r\n },\r\n onDemand: true\r\n },\r\n {name: 'Microwave', itsType: 'microwave', minZoom: 14, itsIcon: 'microwave.png', visible: false},\r\n {name: 'Pull Box', itsType: 'pull', minZoom: 14, itsIcon: 'pullbox.png', visible: false, onDemand: true},\r\n {name: 'RWIS', itsType: 'rwis', minZoom: 7, itsIcon: 'rwis.png', visible: false},\r\n {name: 'Ramp Gates', itsType: 'gate', minZoom: 10, itsIcon: 'rampgate.png', visible: false},\r\n {name: 'Ramp Meter', itsType: 'meter', minZoom: 10, itsIcon: 'rampmeter.png', visible: false},\r\n {name: 'Signal', itsType: 'signal', minZoom: 13, itsIcon: 'signal.png', visible: false, onDemand: true},\r\n {name: 'Tower', itsType: 'tower', minZoom: 10, itsIcon: 'tower.png', visible: false},\r\n {\r\n name: 'Trench',\r\n itsType: 'trench',\r\n onDemand: true,\r\n visible: false,\r\n onDemandDelay: 500,\r\n minZoom: 15,\r\n legendCollapse: true,\r\n itsLineConfig: {\r\n prop: 'owner',\r\n defaultName: 'Other',\r\n //defaultWidth: 7,\r\n defaultColor: colors.hexAlphaToRgbOrRgba('#747474', 0.8),\r\n lineArray: [\r\n ['WisDOT', 'WisDOT', colors.hexAlphaToRgbOrRgba('#FF032F', 0.7)],\r\n ['WIN', 'WIN', colors.hexAlphaToRgbOrRgba('#FFC632', 0.7)],\r\n ['USXchange', 'USXchange', colors.hexAlphaToRgbOrRgba('#2DFF46', 0.7)],\r\n ['AT&T', 'AT&T', colors.hexAlphaToRgbOrRgba('#ff2be5', 0.7)],\r\n ['Touch America', 'Touch America', colors.hexAlphaToRgbOrRgba('#52f3ff', 0.7)],\r\n ['Qwest', 'Qwest', colors.hexAlphaToRgbOrRgba('#9278ff', 0.7)],\r\n ['McLeodUSA', 'McLeodUSA', colors.hexAlphaToRgbOrRgba('#2926FF', 0.7)],\r\n ['CINC', 'CINC', colors.hexAlphaToRgbOrRgba('#CB00FF', 0.7)],\r\n ['City of Madison', 'Madison', colors.hexAlphaToRgbOrRgba('#000380', 0.7)]\r\n ]\r\n }\r\n }\r\n\r\n\r\n];\r\n\r\n\r\nexport class ItsLayerCollection {\r\n _map: ol.Map;\r\n _layers: Array<LayerItsInventory>;\r\n\r\n\r\n /**\r\n * Create a collection of all ITS layers\r\n * @param {ol.Map} theMap the openlayers map\r\n * @param {Array} [exclude=[]] array of Its layer identifiers to exclude\r\n *\r\n * BLUE Bluetooth Detector - Bluetooth Detector\r\n * CABINET Cabinets - The cabinets\r\n * CCTV Camera - Traffic Cameras\r\n * HUT Communication Hut - Communication Hut\r\n * VAULT Communication Vault - The communication vaults\r\n * HAR Highway Advisory Radio - Advisory Radios\r\n * LIGHT Lighting - Lighting\r\n * LOOP Loop Detectors - Loop Detectors\r\n * DMS Message Board - Message Boards and Signs\r\n * MICROWAVE Microwave Detector - Microwave Detectors\r\n * PULL Pull Box - A pull box\r\n * RWIS RWIS - Road weather information system\r\n * GATE Ramp Gate - The ramp Gates\r\n * METER Ramp Meter - The ramp meters\r\n * SIGNAL Signal - Traffic Signal\r\n * TOWER Tower - The towers\r\n * TRENCH\r\n */\r\n constructor(theMap: ol.Map, exclude?: Array<string>) {\r\n\r\n this._map = theMap;\r\n this._layers = [];\r\n\r\n exclude = typeof exclude == 'object' ? exclude : [];\r\n\r\n for (let i = 0; i < itsConfig.length; i++) {\r\n let lyrConfig = itsConfig[i];\r\n let addLayer = true;\r\n\r\n for (let j = 0; j < exclude.length; j++) {\r\n if (exclude[j] == lyrConfig.itsType) {\r\n addLayer = false;\r\n break;\r\n }\r\n }\r\n\r\n if (addLayer) {\r\n let inventLyr = new LayerItsInventory(lyrConfig);\r\n this._map.addLayer(inventLyr.olLayer);\r\n this._layers.push(inventLyr);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Return the array of layers in this collection\r\n * @returns {Array<LayerItsInventory>} an array of layers\r\n */\r\n get layers() {\r\n return this._layers;\r\n }\r\n}\r\n\r\nnm.ItsLayerCollection = ItsLayerCollection;\r\nexport default ItsLayerCollection;\r\n"]} \ No newline at end of file diff --git a/dist/collections/LayerLegend.d.ts b/dist/collections/LayerLegend.d.ts index e6997b7a3272403fc28206cbd14a2aed21e754f6..cd1ac2cdbd0364337e5bf2df55115c69ce376dd0 100644 --- a/dist/collections/LayerLegend.d.ts +++ b/dist/collections/LayerLegend.d.ts @@ -1,3 +1,14 @@ +export interface iLegendItem { + groupName: string; + collapse: boolean; + addCheck: boolean; + items: iLegendItem[]; +} +export interface iLegendOptions { + layerDivClasses?: string[]; + legendTitle?: string; + scaleDependent?: boolean; +} /** * a wrapper to make a legend */ @@ -15,12 +26,12 @@ declare class LayerLegend { * @param {string} [options.legendTitle=Legend] the legend title * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent */ - constructor(legendItems: any, divId: any, options: any); + constructor(legendItems: iLegendItem[], divId: string, options?: iLegendOptions); /** * @param {Array} [legendItems=this._layerConfig] the legend items * @param {Array} [parents=[]] the ordered list of groups in which this item is a member * @private */ - _buildTree(legendItems: any, parents?: any): void; + _buildTree(legendItems: iLegendItem[], parents?: string[]): void; } export default LayerLegend; diff --git a/dist/collections/LayerLegend.js b/dist/collections/LayerLegend.js index ff4cebfcaa8583ec8734809c67a1770b2d0e17a9..b0536bba1bbfe9245b0f9b4220ab0c52f9dba94f 100644 --- a/dist/collections/LayerLegend.js +++ b/dist/collections/LayerLegend.js @@ -175,13 +175,13 @@ var LayerLegend = (function () { * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent */ function LayerLegend(legendItems, divId, options) { + if (options === void 0) { options = {}; } for (var _i = 0, legendItems_1 = legendItems; _i < legendItems_1.length; _i++) { var i = legendItems_1[_i]; if (typeof i == 'undefined') { throw 'undefined item passed in array to legend constructor'; } } - options = options || {}; options.legendTitle = typeof options.legendTitle == 'string' ? options.legendTitle : 'Legend'; options.scaleDependent = typeof options.scaleDependent == 'boolean' ? options.scaleDependent : true; options.layerDivClasses = options.layerDivClasses || []; diff --git a/dist/collections/LayerLegend.js.map b/dist/collections/LayerLegend.js.map index 9f5e16fa9635d157154434d53e35f20a6be625da..805339336b7a5cf09e348b76e4e29820978b5fb9 100644 --- a/dist/collections/LayerLegend.js.map +++ b/dist/collections/LayerLegend.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerLegend.js","sourceRoot":"","sources":["../../src/collections/LayerLegend.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,6CAAwC;AACxC,gDAA2C;AAE3C,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAChC,0BAA6B;AAE7B;IAiBI;;;;;;;OAOG;IACH,oBAAY,WAAY,EAAE,MAAO;QAC7B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,IAAI,CAAC,WAAW,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CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;YAC/B,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC9C,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ;;eAEG;YACH,IAAI,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACvD,CAAC;QAED,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAEL,kBAAC;AAAD,CAAC,AAlJD,IAkJC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B,kBAAe,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/16/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport makeGuid from '../util/makeGuid';\r\nimport mapMove from '../olHelpers/mapMove';\r\n\r\nlet nm = provide('collections');\r\nimport $ = require('jquery');\r\n\r\nclass LayerGroup {\r\n groupLayers: any;\r\n groupLayersLookup: any;\r\n groupGroupsLookup: any;\r\n groupGroups: any;\r\n itemIdArray: any;\r\n groupId: any;\r\n groupName: any;\r\n allLayerArray: any;\r\n parent: any;\r\n allGroupArray: any;\r\n allGroupLookup: any;\r\n allLayerLookup: any;\r\n collapse: any;\r\n addCheck: any;\r\n layerParentLookup: any;\r\n\r\n /**\r\n *\r\n * @param {object} [groupConfig={}] - group configuration object\r\n * @param {string} groupConfig.groupName - the group name\r\n * @param {boolean} [groupConfig.collapse=false] - if the group should be collapsed initially\r\n * @param {boolean} [groupConfig.addCheck=true] - if the group should have a checkbox controlling visibility of all layers\r\n * @param {LayerGroup} [parent=undefined] - the parent group\r\n */\r\n constructor(groupConfig?, parent?) {\r\n this.groupLayers = [];\r\n this.groupLayersLookup = {};\r\n this.groupGroups = [];\r\n this.groupGroupsLookup = {};\r\n this.itemIdArray = [];\r\n\r\n if (typeof groupConfig == 'undefined') {\r\n this.parent = null;\r\n this.groupId = 'root';\r\n this.groupName = 'root';\r\n this.allGroupLookup = {root: this};\r\n this.allGroupArray = [this];\r\n this.allLayerArray = [];\r\n this.allLayerLookup = {};\r\n this.layerParentLookup = {};\r\n this.collapse = false;\r\n this.addCheck = false;\r\n } else {\r\n this.groupId = makeGuid();\r\n this.parent = parent;\r\n this.groupName = groupConfig.groupName;\r\n this.collapse = typeof groupConfig.collapse == 'boolean' ? groupConfig.collapse : false;\r\n this.addCheck = typeof groupConfig.addCheck == 'boolean' ? groupConfig.addCheck : true;\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {object} groupConfig - configuration object\r\n * @param {string} groupConfig.groupName - the group name\r\n * @param {boolean} groupConfig.collapse if the group should be collapsed initially\r\n * @param {boolean} groupConfig.addCheck if the group should have a checkbox controlling visibility of all layers\r\n * @param {Array<LayerGroup>} parents parent groups\r\n * @returns {LayerGroup} the layer group just added\r\n */\r\n addGroup(groupConfig, parents) {\r\n let parent;\r\n if (parents.length > 0) {\r\n parent = parents[parents.length - 1];\r\n } else {\r\n parent = 'root';\r\n }\r\n\r\n\r\n /**\r\n * @type {LayerGroup}\r\n */\r\n let parentGroup = this.allGroupLookup[parent];\r\n let newGroup = new LayerGroup(groupConfig, parentGroup);\r\n this.allGroupLookup[newGroup.groupId] = newGroup;\r\n this.allGroupArray.push(newGroup);\r\n\r\n parentGroup.groupGroups.push(newGroup);\r\n parentGroup.groupGroupsLookup[newGroup.groupId] = newGroup;\r\n\r\n if (parentGroup.itemIdArray.indexOf(newGroup.groupId) > 0) {\r\n console.log(newGroup.groupId);\r\n throw 'layer and group ids must be unique';\r\n }\r\n parentGroup.itemIdArray.push(newGroup.groupId);\r\n\r\n return newGroup;\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase} newLayer the layer to be added\r\n * @param {Array} parents array\r\n */\r\n addLegendLayer(newLayer, parents) {\r\n let parent;\r\n if (parents.length > 0) {\r\n parent = parents[parents.length - 1];\r\n } else {\r\n parent = 'root';\r\n }\r\n\r\n this.allLayerLookup[newLayer.id] = newLayer;\r\n this.allLayerArray.push(newLayer);\r\n\r\n /**\r\n * @type {LayerGroup}\r\n */\r\n let parentGroup = this.allGroupLookup[parent];\r\n\r\n parentGroup.groupLayers.push(newLayer);\r\n parentGroup.groupLayersLookup[newLayer.id] = newLayer;\r\n if (parentGroup.itemIdArray.indexOf(newLayer.id) > 0) {\r\n console.log(newLayer.id);\r\n throw 'layer and group ids must be unique';\r\n }\r\n parentGroup.itemIdArray.push(newLayer.id);\r\n\r\n this.layerParentLookup[newLayer.id] = parentGroup;\r\n\r\n }\r\n\r\n getLegendHtml(legendId, options) {\r\n\r\n\r\n let legendHtml = `<ul id=\"${legendId}\" class=\"legend-container\">`;\r\n\r\n legendHtml += `<li>${options.legendTitle}<input type=\"checkbox\" checked id=\"suppress-by-extent-${legendId}\" class=\"suppress-by-extent\">` +\r\n `<label title=\"Suppress layers not visible at this zoom level\" for=\"suppress-by-extent-${legendId}\">` +\r\n `<span></span>` +\r\n `</label></li>`;\r\n\r\n legendHtml += this._buildLegend(this.itemIdArray, this, options.layerDivClasses) + '</ul>';\r\n\r\n return legendHtml;\r\n }\r\n\r\n /**\r\n * @param {Array} itemIds the items to process\r\n * @param {LayerGroup} theGroup new group\r\n * @param {Array} [layerDivClasses=[]] optional classes to apply to the layer divs\r\n * @static\r\n * @returns {string} html string\r\n */\r\n _buildLegend(itemIds, theGroup, layerDivClasses) {\r\n\r\n if (itemIds.length == 0) {\r\n return '';\r\n }\r\n\r\n let theHml = '';\r\n\r\n let itemId = itemIds[0];\r\n\r\n if (theGroup.groupLayersLookup[itemId]) {\r\n\r\n /**\r\n * @type {LayerBase}\r\n */\r\n let lyr = theGroup.groupLayersLookup[itemId];\r\n theHml += `<li id=\"${lyr.id}-layer-li\" class=\"legend-layer-li ${layerDivClasses.join(' ')}\">` + lyr.getLegendDiv() + '</li>';\r\n\r\n\r\n } else if (theGroup.groupGroupsLookup[itemId]) {\r\n /**\r\n * type {LayerGroup}\r\n */\r\n let otherGroup = theGroup.groupGroupsLookup[itemId];\r\n\r\n theHml += `<li>`;\r\n theHml += `<div id=\"${otherGroup.groupId}-legend-layer-div\" ` +\r\n `class=\"legend-layer-group ${layerDivClasses.join(' ')}\">`;\r\n\r\n if (otherGroup.addCheck) {\r\n theHml += `<input type=\"checkbox\" checked id=\"${otherGroup.groupId}-group-chck\">` +\r\n `<label for=\"${otherGroup.groupId}-group-chck\" title=\"Click arrow to expand or collapse\">${otherGroup.groupName}</label>`;\r\n } else {\r\n theHml += `<label title=\"Click arrow to expand or collapse\">${otherGroup.groupName}</label>`;\r\n }\r\n\r\n theHml += `<span title=\"Expand/Collapse\" class=\"layer-group-expander`;\r\n theHml += `${otherGroup.collapse ? ' legend-layer-group-initial-collapse' : ''}\">`;\r\n theHml += otherGroup.collapse ? '▶' : '▼';\r\n theHml += '</span>';\r\n\r\n //parents.push(groupId);\r\n theHml += '<ul>' + this._buildLegend(otherGroup.itemIdArray, otherGroup, layerDivClasses) + '</ul>';\r\n theHml += '</div>';\r\n theHml += '</li>';\r\n }\r\n\r\n return theHml + this._buildLegend(itemIds.slice(1), theGroup, layerDivClasses);\r\n }\r\n}\r\n\r\n/**\r\n * a wrapper to make a legend\r\n */\r\nclass LayerLegend {\r\n\r\n $divElement: any;\r\n _legendItems: any;\r\n layerGroup: any;\r\n legendId: any;\r\n\r\n /**\r\n *\r\n * @param {Array} legendItems array of layers or objects with {groupName: {string}, collapse: {boolean}, addCheck: {boolean}, items: {Array}}\r\n * @param {string} divId the div where the legend should be added\r\n * @param {object} options for legend\r\n * @param {Array} [options.layerDivClasses=[]] optional array of classes to be applied to the layer legend divs for custom styling\r\n * @param {string} [options.legendTitle=Legend] the legend title\r\n * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent\r\n */\r\n constructor(legendItems, divId, options) {\r\n for (let i of legendItems) {\r\n if (typeof i == 'undefined') {\r\n throw 'undefined item passed in array to legend constructor';\r\n }\r\n }\r\n\r\n options = options || {};\r\n\r\n options.legendTitle = typeof options.legendTitle == 'string' ? options.legendTitle : 'Legend';\r\n options.scaleDependent = typeof options.scaleDependent == 'boolean' ? options.scaleDependent : true;\r\n options.layerDivClasses = options.layerDivClasses || [];\r\n\r\n // if legend display is scale dependent, make sure the mapMove object is initialized first\r\n if (options.scaleDependent) {\r\n mapMove.checkInit();\r\n }\r\n\r\n this.$divElement = $('#' + divId);\r\n\r\n this._legendItems = legendItems;\r\n\r\n this.layerGroup = new LayerGroup();\r\n\r\n this._buildTree(legendItems);\r\n\r\n this.legendId = makeGuid();\r\n\r\n this.$divElement.append(this.layerGroup.getLegendHtml(this.legendId, options));\r\n\r\n for (let l of this.layerGroup.allLayerArray){\r\n l.applyCollapse();\r\n }\r\n\r\n let _this = this;\r\n //// if legend display is scale dependent, make sure the mapMove object is initialized first\r\n if (options.scaleDependent) {\r\n mapMove.checkInit();\r\n\r\n mapMove.addCallback(function (ext, zoom, evt) {\r\n\r\n if (typeof evt == 'undefined' || evt == 'change:resolution') {\r\n for (let lyr of this.layerGroup.allLayerArray) {\r\n let $lyrLi = $('#' + lyr.id + '-layer-li');\r\n if (zoom > lyr.maxZoom || zoom < lyr.minZoom) {\r\n $lyrLi.addClass('layer-not-visible');\r\n } else {\r\n $lyrLi.removeClass('layer-not-visible');\r\n }\r\n }\r\n }\r\n }, this, 100, true, 'legend1');\r\n }\r\n\r\n // <editor-fold desc=\"add event listeners\">\r\n\r\n this.$divElement.find(\".suppress-by-extent\").change(function () {\r\n let legendLayerLis = $('.legend-layer-li');\r\n if (this.checked) {\r\n legendLayerLis.removeClass('layer-force-show');\r\n } else {\r\n legendLayerLis.addClass('layer-force-show');\r\n }\r\n });\r\n\r\n\r\n this.$divElement.find('.legend-check').change(function () {\r\n let lyrId = this.id.replace('-legend-layer-check', '');\r\n _this.layerGroup.allLayerLookup[lyrId].visible = this.checked;\r\n });\r\n\r\n this.$divElement.find('.legend-layer-group > input[type=checkbox]').change(function () {\r\n $(this).siblings('ul').find('input[type=checkbox]').prop('checked', this.checked).trigger('change');\r\n });\r\n\r\n this.$divElement.find('.layer-group-expander').click(function () {\r\n let $this = $(this);\r\n $this.removeClass('legend-layer-group-initial-collapse');\r\n\r\n $this.siblings('ul').slideToggle();\r\n\r\n if ($this.hasClass('legend-layer-group-collapsed')){\r\n $this.removeClass('legend-layer-group-collapsed');\r\n $this.html('▼');\r\n } else {\r\n $this.addClass('legend-layer-group-collapsed');\r\n $this.html('▶');\r\n }\r\n });\r\n\r\n this.$divElement.find('.legend-layer-group-initial-collapse').trigger('click');\r\n // </editor-fold>\r\n }\r\n\r\n\r\n /**\r\n * @param {Array} [legendItems=this._layerConfig] the legend items\r\n * @param {Array} [parents=[]] the ordered list of groups in which this item is a member\r\n * @private\r\n */\r\n _buildTree(legendItems, parents?) {\r\n\r\n if (legendItems.length == 0) {\r\n return;\r\n }\r\n\r\n let oneItem = legendItems[0];\r\n\r\n //reset the parent if the item is in the base array\r\n if (this._legendItems.indexOf(oneItem) > -1 || typeof parents == 'undefined') {\r\n parents = [];\r\n }\r\n\r\n if (typeof oneItem['groupName'] !== 'undefined') {\r\n let groupItem = legendItems[0];\r\n let newGroup = this.layerGroup.addGroup(groupItem, parents);\r\n parents.push(newGroup.groupId);\r\n this._buildTree(groupItem.items, parents);\r\n } else {\r\n /**\r\n * @type {LayerBase}\r\n */\r\n let layerItem = legendItems[0];\r\n\r\n this.layerGroup.addLegendLayer(layerItem, parents);\r\n }\r\n\r\n this._buildTree(legendItems.slice(1), parents);\r\n }\r\n\r\n}\r\n\r\nnm.LayerLegend = LayerLegend;\r\nexport default LayerLegend;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerLegend.js","sourceRoot":"","sources":["../../src/collections/LayerLegend.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,6CAAwC;AACxC,gDAA2C;AAE3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O,IAAI,WAAW,CAAC,CAAC,CAAC;YAC3E,OAAO,GAAG,EAAE,CAAC;QACjB,CAAC;QAED,EAAE,CAAC,CAAC,OAAO,OAAO,CAAC,WAAW,CAAC,KAAK,WAAW,CAAC,CAAC,CAAC;YAC9C,IAAI,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAC/B,IAAI,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;YAC5D,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;YAC/B,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC9C,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ;;eAEG;YACH,IAAI,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;YAE/B,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QACvD,CAAC;QAED,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAEL,kBAAC;AAAD,CAAC,AAhJD,IAgJC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B,kBAAe,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/16/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport makeGuid from '../util/makeGuid';\r\nimport mapMove from '../olHelpers/mapMove';\r\n\r\nlet nm = provide('collections');\r\nimport $ = require('jquery');\r\nimport {LayerBase} from \"../layers\";\r\n\r\n\r\n\r\nexport interface iLegendItem{\r\n groupName: string;\r\n collapse: boolean;\r\n addCheck: boolean;\r\n items: iLegendItem[]\r\n}\r\n\r\nexport interface iLegendOptions{\r\n layerDivClasses?: string[]\r\n legendTitle?: string\r\n scaleDependent?: boolean\r\n}\r\n\r\nclass LayerGroup {\r\n groupLayers: any;\r\n groupLayersLookup: any;\r\n groupGroupsLookup: any;\r\n groupGroups: any;\r\n itemIdArray: any;\r\n groupId: any;\r\n groupName: any;\r\n allLayerArray: any;\r\n parent: any;\r\n allGroupArray: any;\r\n allGroupLookup: any;\r\n allLayerLookup: any;\r\n collapse: boolean;\r\n addCheck: boolean;\r\n layerParentLookup: any;\r\n\r\n /**\r\n *\r\n * @param {object} [groupConfig={}] - group configuration object\r\n * @param {string} groupConfig.groupName - the group name\r\n * @param {boolean} [groupConfig.collapse=false] - if the group should be collapsed initially\r\n * @param {boolean} [groupConfig.addCheck=true] - if the group should have a checkbox controlling visibility of all layers\r\n * @param {LayerGroup} [parent=undefined] - the parent group\r\n */\r\n constructor(groupConfig?: iLegendItem, parent?: LayerGroup) {\r\n this.groupLayers = [];\r\n this.groupLayersLookup = {};\r\n this.groupGroups = [];\r\n this.groupGroupsLookup = {};\r\n this.itemIdArray = [];\r\n\r\n if (typeof groupConfig == 'undefined') {\r\n this.parent = null;\r\n this.groupId = 'root';\r\n this.groupName = 'root';\r\n this.allGroupLookup = {root: this};\r\n this.allGroupArray = [this];\r\n this.allLayerArray = [];\r\n this.allLayerLookup = {};\r\n this.layerParentLookup = {};\r\n this.collapse = false;\r\n this.addCheck = false;\r\n } else {\r\n this.groupId = makeGuid();\r\n this.parent = parent;\r\n this.groupName = groupConfig.groupName;\r\n this.collapse = typeof groupConfig.collapse == 'boolean' ? groupConfig.collapse : false;\r\n this.addCheck = typeof groupConfig.addCheck == 'boolean' ? groupConfig.addCheck : true;\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {object} groupConfig - configuration object\r\n * @param {string} groupConfig.groupName - the group name\r\n * @param {boolean} groupConfig.collapse if the group should be collapsed initially\r\n * @param {boolean} groupConfig.addCheck if the group should have a checkbox controlling visibility of all layers\r\n * @param {Array<LayerGroup>} parents parent groups\r\n * @returns {LayerGroup} the layer group just added\r\n */\r\n addGroup(groupConfig: iLegendItem, parents: string[]) {\r\n let parent;\r\n if (parents.length > 0) {\r\n parent = parents[parents.length - 1];\r\n } else {\r\n parent = 'root';\r\n }\r\n\r\n\r\n /**\r\n * @type {LayerGroup}\r\n */\r\n let parentGroup = this.allGroupLookup[parent];\r\n let newGroup = new LayerGroup(groupConfig, parentGroup);\r\n this.allGroupLookup[newGroup.groupId] = newGroup;\r\n this.allGroupArray.push(newGroup);\r\n\r\n parentGroup.groupGroups.push(newGroup);\r\n parentGroup.groupGroupsLookup[newGroup.groupId] = newGroup;\r\n\r\n if (parentGroup.itemIdArray.indexOf(newGroup.groupId) > 0) {\r\n console.log(newGroup.groupId);\r\n throw 'layer and group ids must be unique';\r\n }\r\n parentGroup.itemIdArray.push(newGroup.groupId);\r\n\r\n return newGroup;\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase} newLayer the layer to be added\r\n * @param {Array} parents array\r\n */\r\n addLegendLayer(newLayer: LayerBase, parents: string[]) {\r\n let parent;\r\n if (parents.length > 0) {\r\n parent = parents[parents.length - 1];\r\n } else {\r\n parent = 'root';\r\n }\r\n\r\n this.allLayerLookup[newLayer.id] = newLayer;\r\n this.allLayerArray.push(newLayer);\r\n\r\n /**\r\n * @type {LayerGroup}\r\n */\r\n let parentGroup = this.allGroupLookup[parent];\r\n\r\n parentGroup.groupLayers.push(newLayer);\r\n parentGroup.groupLayersLookup[newLayer.id] = newLayer;\r\n if (parentGroup.itemIdArray.indexOf(newLayer.id) > 0) {\r\n console.log(newLayer.id);\r\n throw 'layer and group ids must be unique';\r\n }\r\n parentGroup.itemIdArray.push(newLayer.id);\r\n\r\n this.layerParentLookup[newLayer.id] = parentGroup;\r\n\r\n }\r\n\r\n\r\n\r\n getLegendHtml(legendId: string, options: iLegendOptions) {\r\n\r\n\r\n let legendHtml = `<ul id=\"${legendId}\" class=\"legend-container\">`;\r\n\r\n legendHtml += `<li>${options.legendTitle}<input type=\"checkbox\" checked id=\"suppress-by-extent-${legendId}\" class=\"suppress-by-extent\">` +\r\n `<label title=\"Suppress layers not visible at this zoom level\" for=\"suppress-by-extent-${legendId}\">` +\r\n `<span></span>` +\r\n `</label></li>`;\r\n\r\n legendHtml += this._buildLegend(this.itemIdArray, this, options.layerDivClasses) + '</ul>';\r\n\r\n return legendHtml;\r\n }\r\n\r\n /**\r\n * @param {Array} itemIds the items to process\r\n * @param {LayerGroup} theGroup new group\r\n * @param {Array} [layerDivClasses=[]] optional classes to apply to the layer divs\r\n * @static\r\n * @returns {string} html string\r\n */\r\n _buildLegend(itemIds: string[], theGroup: LayerGroup, layerDivClasses: string[]): string {\r\n\r\n if (itemIds.length == 0) {\r\n return '';\r\n }\r\n\r\n let theHml = '';\r\n\r\n let itemId = itemIds[0];\r\n\r\n if (theGroup.groupLayersLookup[itemId]) {\r\n\r\n /**\r\n * @type {LayerBase}\r\n */\r\n let lyr = theGroup.groupLayersLookup[itemId];\r\n theHml += `<li id=\"${lyr.id}-layer-li\" class=\"legend-layer-li ${layerDivClasses.join(' ')}\">` + lyr.getLegendDiv() + '</li>';\r\n\r\n\r\n } else if (theGroup.groupGroupsLookup[itemId]) {\r\n /**\r\n * type {LayerGroup}\r\n */\r\n let otherGroup = theGroup.groupGroupsLookup[itemId];\r\n\r\n theHml += `<li>`;\r\n theHml += `<div id=\"${otherGroup.groupId}-legend-layer-div\" ` +\r\n `class=\"legend-layer-group ${layerDivClasses.join(' ')}\">`;\r\n\r\n if (otherGroup.addCheck) {\r\n theHml += `<input type=\"checkbox\" checked id=\"${otherGroup.groupId}-group-chck\">` +\r\n `<label for=\"${otherGroup.groupId}-group-chck\" title=\"Click arrow to expand or collapse\">${otherGroup.groupName}</label>`;\r\n } else {\r\n theHml += `<label title=\"Click arrow to expand or collapse\">${otherGroup.groupName}</label>`;\r\n }\r\n\r\n theHml += `<span title=\"Expand/Collapse\" class=\"layer-group-expander`;\r\n theHml += `${otherGroup.collapse ? ' legend-layer-group-initial-collapse' : ''}\">`;\r\n theHml += otherGroup.collapse ? '▶' : '▼';\r\n theHml += '</span>';\r\n\r\n //parents.push(groupId);\r\n theHml += '<ul>' + this._buildLegend(otherGroup.itemIdArray, otherGroup, layerDivClasses) + '</ul>';\r\n theHml += '</div>';\r\n theHml += '</li>';\r\n }\r\n\r\n return theHml + this._buildLegend(itemIds.slice(1), theGroup, layerDivClasses);\r\n }\r\n}\r\n\r\n\r\n\r\n/**\r\n * a wrapper to make a legend\r\n */\r\nclass LayerLegend {\r\n\r\n $divElement: any;\r\n _legendItems: any;\r\n layerGroup: any;\r\n legendId: any;\r\n\r\n /**\r\n *\r\n * @param {Array} legendItems array of layers or objects with {groupName: {string}, collapse: {boolean}, addCheck: {boolean}, items: {Array}}\r\n * @param {string} divId the div where the legend should be added\r\n * @param {object} options for legend\r\n * @param {Array} [options.layerDivClasses=[]] optional array of classes to be applied to the layer legend divs for custom styling\r\n * @param {string} [options.legendTitle=Legend] the legend title\r\n * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent\r\n */\r\n constructor(legendItems: iLegendItem[], divId: string, options: iLegendOptions = {}) {\r\n for (let i of legendItems) {\r\n if (typeof i == 'undefined') {\r\n throw 'undefined item passed in array to legend constructor';\r\n }\r\n }\r\n\r\n options.legendTitle = typeof options.legendTitle == 'string' ? options.legendTitle : 'Legend';\r\n options.scaleDependent = typeof options.scaleDependent == 'boolean' ? options.scaleDependent : true;\r\n options.layerDivClasses = options.layerDivClasses || [];\r\n\r\n // if legend display is scale dependent, make sure the mapMove object is initialized first\r\n if (options.scaleDependent) {\r\n mapMove.checkInit();\r\n }\r\n\r\n this.$divElement = $('#' + divId);\r\n\r\n this._legendItems = legendItems;\r\n\r\n this.layerGroup = new LayerGroup();\r\n\r\n this._buildTree(legendItems);\r\n\r\n this.legendId = makeGuid();\r\n\r\n this.$divElement.append(this.layerGroup.getLegendHtml(this.legendId, options));\r\n\r\n for (let l of this.layerGroup.allLayerArray){\r\n l.applyCollapse();\r\n }\r\n\r\n let _this = this;\r\n //// if legend display is scale dependent, make sure the mapMove object is initialized first\r\n if (options.scaleDependent) {\r\n mapMove.checkInit();\r\n\r\n mapMove.addCallback(function (ext, zoom, evt) {\r\n\r\n if (typeof evt == 'undefined' || evt == 'change:resolution') {\r\n for (let lyr of this.layerGroup.allLayerArray) {\r\n let $lyrLi = $('#' + lyr.id + '-layer-li');\r\n if (zoom > lyr.maxZoom || zoom < lyr.minZoom) {\r\n $lyrLi.addClass('layer-not-visible');\r\n } else {\r\n $lyrLi.removeClass('layer-not-visible');\r\n }\r\n }\r\n }\r\n }, this, 100, true, 'legend1');\r\n }\r\n\r\n // <editor-fold desc=\"add event listeners\">\r\n\r\n this.$divElement.find(\".suppress-by-extent\").change(function () {\r\n let legendLayerLis = $('.legend-layer-li');\r\n if (this.checked) {\r\n legendLayerLis.removeClass('layer-force-show');\r\n } else {\r\n legendLayerLis.addClass('layer-force-show');\r\n }\r\n });\r\n\r\n\r\n this.$divElement.find('.legend-check').change(function () {\r\n let lyrId = this.id.replace('-legend-layer-check', '');\r\n _this.layerGroup.allLayerLookup[lyrId].visible = this.checked;\r\n });\r\n\r\n this.$divElement.find('.legend-layer-group > input[type=checkbox]').change(function () {\r\n $(this).siblings('ul').find('input[type=checkbox]').prop('checked', this.checked).trigger('change');\r\n });\r\n\r\n this.$divElement.find('.layer-group-expander').click(function () {\r\n let $this = $(this);\r\n $this.removeClass('legend-layer-group-initial-collapse');\r\n\r\n $this.siblings('ul').slideToggle();\r\n\r\n if ($this.hasClass('legend-layer-group-collapsed')){\r\n $this.removeClass('legend-layer-group-collapsed');\r\n $this.html('▼');\r\n } else {\r\n $this.addClass('legend-layer-group-collapsed');\r\n $this.html('▶');\r\n }\r\n });\r\n\r\n this.$divElement.find('.legend-layer-group-initial-collapse').trigger('click');\r\n // </editor-fold>\r\n }\r\n\r\n\r\n /**\r\n * @param {Array} [legendItems=this._layerConfig] the legend items\r\n * @param {Array} [parents=[]] the ordered list of groups in which this item is a member\r\n * @private\r\n */\r\n _buildTree(legendItems: iLegendItem[], parents?: string[]) {\r\n\r\n if (legendItems.length == 0) {\r\n return;\r\n }\r\n\r\n let oneItem = legendItems[0];\r\n\r\n //reset the parent if the item is in the base array\r\n if (this._legendItems.indexOf(oneItem) > -1 || typeof parents == 'undefined') {\r\n parents = [];\r\n }\r\n\r\n if (typeof oneItem['groupName'] !== 'undefined') {\r\n let groupItem = legendItems[0];\r\n let newGroup = this.layerGroup.addGroup(groupItem, parents);\r\n parents.push(newGroup.groupId);\r\n this._buildTree(groupItem.items, parents);\r\n } else {\r\n /**\r\n * @type {LayerBase}\r\n */\r\n let layerItem = legendItems[0];\r\n\r\n this.layerGroup.addLegendLayer(layerItem, parents);\r\n }\r\n\r\n this._buildTree(legendItems.slice(1), parents);\r\n }\r\n\r\n}\r\n\r\nnm.LayerLegend = LayerLegend;\r\nexport default LayerLegend;\r\n"]} \ No newline at end of file diff --git a/dist/collections/Sliders.d.ts b/dist/collections/Sliders.d.ts index 49f946d47d0e581cdc4e6ed70210928168aaccc6..2cbfadca6984e54a46ac951c4d2bb652ff226751 100644 --- a/dist/collections/Sliders.d.ts +++ b/dist/collections/Sliders.d.ts @@ -68,12 +68,14 @@ export declare class TipSliders { * @param {string} skipDomId - this dom id * @private */ - _handleRemainder(remain: any, skipDomId: any): void; + _handleRemainder(remain: number, skipDomId: string): void; /** * * @param {object} keyValList key and value list */ - setValues(keyValList: any): void; + setValues(keyValList: { + [s: string]: [number, string]; + }): void; /** * get the weight sum * @returns {number} the weight sum @@ -83,7 +85,9 @@ export declare class TipSliders { * get the parameter weights * @returns {object} lookup with parameter weights */ - getParams(): {}; + getParams(): { + [s: string]: number; + }; _addEventListeners(): void; readonly paramWeightsRegionVersion: ChangeResponse; } diff --git a/dist/collections/Sliders.js.map b/dist/collections/Sliders.js.map index dbf5936b6890353d6fcde52c4d273bae02d1eeb6..b053b3a0e9891c596b00735758c1976b2cf740dd 100644 --- a/dist/collections/Sliders.js.map +++ b/dist/collections/Sliders.js.map @@ -1 +1 @@ -{"version":3,"file":"Sliders.js","sourceRoot":"","sources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EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAY,EAAE,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAY,EAAC,CAAA;QACzG,CAAC;;;OAAA;IACL,iBAAC;AAAD,CAAC,AApXD,IAoXC;AApXY,gCAAU;AAsXvB,EAAE,CAAC,OAAO,GAAG,UAAU,CAAC;AACxB,kBAAe,UAAU,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/10/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('collections');\r\n\r\nexport interface TipSliderConfig {\r\n label: string;\r\n yearOptions: Array<{column: string, label: string}>\r\n}\r\n\r\nexport interface TipPresetConfig {\r\n label: string;\r\n presets: Array<{column: string, value: number}>\r\n}\r\n\r\nexport interface ChangeResponse{\r\n paramWeights: Object;\r\n region: string;\r\n mmVersion: string;\r\n}\r\n\r\nexport interface ChangeCallback{\r\n (chg: ChangeResponse): any\r\n}\r\n\r\n\r\nclass TipPresets implements TipPresetConfig {\r\n label: string;\r\n presets: Array<{column: string, value: number}>;\r\n domId: string;\r\n\r\n constructor(conf: TipPresetConfig) {\r\n this.label = conf.label;\r\n this.presets = conf.presets;\r\n this.domId = this.label.replace(/ /g, '').toLowerCase();\r\n\r\n let theSum = 0;\r\n\r\n for (let pr of this.presets){\r\n theSum += pr.value;\r\n }\r\n\r\n if (theSum != 100){\r\n throw 'preset sum does note equal 100';\r\n }\r\n }\r\n}\r\n\r\n\r\nclass _Slider {\r\n _min: number;\r\n _max: number;\r\n _locked: boolean;\r\n atMin: boolean;\r\n atMax: boolean;\r\n _weightDefault: number;\r\n _weight: number;\r\n html: string;\r\n domId: string;\r\n name: string;\r\n\r\n labelLow: JQuery;\r\n labelHigh: JQuery;\r\n labelVal: JQuery;\r\n slider: JQuery;\r\n selectionBox: JQuery;\r\n chk: JQuery;\r\n\r\n selectedParam: any;\r\n selectedParamDefault: any;\r\n _dropdownSelection: string;\r\n\r\n /**\r\n * Slider constructor\r\n * @param sliderConfig - the configuration\r\n\r\n */\r\n constructor(sliderConfig: TipSliderConfig) {\r\n this._dropdownSelection = null;\r\n this._weight = null;\r\n this.name = sliderConfig.label;\r\n this.domId = this.name.toLowerCase().replace(/ /g, '-');\r\n\r\n this._locked = false;\r\n\r\n this._min = 0.0;\r\n this._max = 100;\r\n\r\n this.labelLow = null;\r\n this.labelHigh = null;\r\n this.labelVal = null;\r\n this.slider = null;\r\n this.chk = null;\r\n\r\n this.atMin = false;\r\n this.atMax = false;\r\n\r\n\r\n let sel = `<select class=\"${sliderConfig.yearOptions.length == 1 ? 'hidden-select' : 'show-select'}\" id=\"${this.domId}_chg\">`;\r\n\r\n for (let i = 0; i < sliderConfig.yearOptions.length; i++) {\r\n let itm = sliderConfig.yearOptions[i];\r\n sel += `<option value=\"${itm.column}\">${itm.label}</option>`;\r\n }\r\n sel += '</select>';\r\n\r\n this.selectedParamDefault = this.selectedParam;\r\n\r\n this.html = '<div class=\"slider-div\">' +\r\n `<label for=\"${this.domId}_chk\" class=\"slider-label\">${this.name}</label>` +\r\n sel + `<br>` +\r\n `<input id=\"${this.domId}_chk\" type=\"checkbox\" title=\"Lock/Unlock Slider\">` +\r\n `<label id=\"${this.domId}_low\" class=\"low-high\"></label>` +\r\n `<input id=\"${this.domId}\" type=\"range\" value=\"50\" min=\"0\" max=\"100\" step=\"0.1\">` +\r\n `<label id=\"${this.domId}_high\" class=\"low-high\"></label>` +\r\n `<label id=\"${this.domId}_lbl\" for=\"${this.domId}\" class=\"percent-label\"></label></div>`;\r\n }\r\n\r\n /**\r\n * add html to dom\r\n * @param {jQuery} $container - container element\r\n */\r\n addToDom($container) {\r\n $container.append(this.html);\r\n this.labelLow = $(`#${this.domId}_low`);\r\n this.labelHigh = $(`#${this.domId}_high`);\r\n this.labelVal = $(`#${this.domId}_lbl`);\r\n this.slider = $(`#${this.domId}`);\r\n this.selectionBox = $(`#${this.domId}_chg`);\r\n this.chk = $(`#${this.domId}_chk`);\r\n }\r\n\r\n /**\r\n * increment the slider\r\n * @param {number} delta change delta\r\n * @returns {number} the remainder not able to be allocated to this slider\r\n */\r\n increment(delta) {\r\n let remainder = 0;\r\n delta = Number(delta.toFixed(1));\r\n\r\n this._weight += delta;\r\n if (this._weight < this._min) {\r\n remainder = this._min - this._weight;\r\n this._weight = this._min;\r\n this.atMin = true;\r\n } else if (this._weight > this._max) {\r\n remainder = this._max - this._weight;\r\n this._weight = this._max;\r\n this.atMax = true;\r\n } else {\r\n this.atMin = false;\r\n this.atMax = false;\r\n }\r\n\r\n this.slider.val(this._weight.toFixed(1));\r\n this.labelVal.html(this._weight.toFixed(1) + '%');\r\n\r\n return remainder;\r\n }\r\n\r\n /**\r\n * set the value and drop down\r\n * @param {number} newVal the new value\r\n * @param {string} selectedParam the selected parameter\r\n */\r\n setValAndDropDown(newVal: number, selectedParam: string) {\r\n this.min = 0;\r\n this.max = 100;\r\n this.weight = newVal;\r\n this.slider.val(newVal.toFixed(1));\r\n this.selectionBox.val(selectedParam);\r\n this.selectedParam = selectedParam;\r\n this.locked = true;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {boolean} if locked\r\n */\r\n get locked() {\r\n return this._locked;\r\n }\r\n\r\n /**\r\n *\r\n * @param {boolean} val if locked\r\n */\r\n set locked(val) {\r\n this._locked = val;\r\n this.slider.prop('disabled', this._locked);\r\n this.selectionBox.prop('disabled', this._locked);\r\n this.chk.prop('checked', !this._locked);\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the minimum\r\n */\r\n get min() {\r\n return this._min;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal new minimum\r\n */\r\n set min(newVal) {\r\n this._min = Number(newVal.toFixed(1));\r\n if (this._min < 0) {\r\n this._min = 0;\r\n }\r\n this.labelLow.html(this._min.toFixed(1));\r\n this.slider.attr('min', this._min.toFixed(1));\r\n this.atMin = this._weight == this._min;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the maximum\r\n */\r\n get max() {\r\n return this._max;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal the maximum\r\n */\r\n set max(newVal) {\r\n this._max = Number(newVal.toFixed(1));\r\n if (this._max > 100) {\r\n this._max = 100.0;\r\n }\r\n this.labelHigh.html(this._max.toFixed(1));\r\n this.slider.attr('max', this._max.toFixed(1));\r\n this.atMax = this._weight == this._max;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the weight\r\n */\r\n get weight() {\r\n return this._weight;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal the weight\r\n */\r\n set weight(newVal) {\r\n this._weight = Number(newVal.toFixed(1));\r\n this.labelVal.html(this._weight.toFixed(1) + '%');\r\n if (this._weight <= this._min) {\r\n this.atMin = true;\r\n this.atMax = false;\r\n } else if (this._weight >= this._max) {\r\n this.atMin = false;\r\n this.atMax = true;\r\n } else {\r\n this.atMin = false;\r\n this.atMax = false;\r\n }\r\n }\r\n}\r\n\r\nnm._Slider = _Slider;\r\n\r\n\r\n/**\r\n * class to keep track of the sliders\r\n */\r\nexport class TipSliders {\r\n $container: JQuery;\r\n reservedPercent: number;\r\n lockedCount: number;\r\n notLockedCount: number;\r\n private _sliderList: Array<_Slider>;\r\n private _sliderLookup: {[s: string]: _Slider};\r\n private resetting: boolean;\r\n private _changedCallback: ChangeCallback;\r\n\r\n private _lockedList: Array<_Slider>;\r\n private _inRangeList: Array<_Slider>;\r\n private _atMinList: Array<_Slider>;\r\n private _atMaxList: Array<_Slider>;\r\n\r\n private _presetArray: Array<TipPresets>;\r\n private _presetLookup: {[s: string]: TipPresets};\r\n\r\n private _$presetSelector: JQuery;\r\n private _$regionSelector: JQuery;\r\n private _$versionSelector: JQuery;\r\n\r\n /**\r\n *\r\n * @param sliderConfigs\r\n * @param presetConfig\r\n * @param divId\r\n * @param presetSelector\r\n * @param regionSelector\r\n * @param versionSelector\r\n * @param chgCallback\r\n */\r\n constructor(sliderConfigs: Array<TipSliderConfig>, presetConfig: Array<TipPresetConfig>,\r\n divId: string, presetSelector: JQuery, regionSelector: JQuery, versionSelector: JQuery,\r\n chgCallback?: ChangeCallback) {\r\n\r\n this.resetting = false;\r\n this.reservedPercent = 0.0;\r\n this.$container = $('#' + divId);\r\n this.$container.addClass('slider-container');\r\n\r\n this._changedCallback = typeof chgCallback == 'function' ? chgCallback : () => {};\r\n\r\n this._$presetSelector = presetSelector;\r\n this._$regionSelector = regionSelector;\r\n this._$versionSelector = versionSelector;\r\n\r\n this._sliderList = [];\r\n this._sliderLookup = {};\r\n\r\n for (let i = 0; i < sliderConfigs.length; i++) {\r\n let sld = new _Slider(sliderConfigs[i]);\r\n this._sliderList.push(sld);\r\n this._sliderLookup[sld.domId] = sld;\r\n sld.addToDom(this.$container);\r\n }\r\n\r\n this._presetArray = [];\r\n this._presetLookup = {};\r\n\r\n for (let i = 0; i < presetConfig.length; i++) {\r\n let preset = new TipPresets(presetConfig[i]);\r\n\r\n let idx = (i + 1).toFixed();\r\n\r\n this._presetLookup[idx] = preset;\r\n this._presetArray.push(preset);\r\n this._$presetSelector.append(`<option value=\"${idx}\">${preset.label}</option>`);\r\n }\r\n\r\n\r\n this._lockedList = [];\r\n this._inRangeList = [];\r\n this._atMinList = [];\r\n this._atMaxList = [];\r\n\r\n this.lockedCount = 10;\r\n this.notLockedCount = 0;\r\n\r\n this._splitSliderArray();\r\n\r\n\r\n this._$presetSelector.change(() => {\r\n this.setPresetValues();\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$regionSelector.change(() => {\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$versionSelector.change(() => {\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$presetSelector.trigger('change');\r\n\r\n this._addEventListeners();\r\n }\r\n\r\n _runChangedCallback(){\r\n this._changedCallback(this.paramWeightsRegionVersion);\r\n }\r\n\r\n get changedCallback(): ChangeCallback{\r\n return this._changedCallback\r\n }\r\n\r\n set changedCallback(chg: ChangeCallback){\r\n this._changedCallback = chg;\r\n this._runChangedCallback();\r\n }\r\n\r\n setPresetValues() {\r\n let idx = this._$presetSelector.val() || '1';\r\n\r\n let thePreset = this._presetLookup[idx];\r\n\r\n for (let i = 0; i < thePreset.presets.length; i++) {\r\n let presetValues = thePreset.presets[i];\r\n let theSlider = this._sliderList[i];\r\n\r\n theSlider.locked = true;\r\n theSlider.setValAndDropDown(presetValues.value, presetValues.column);\r\n }\r\n }\r\n\r\n /**\r\n * split array into subarrays holding the sliders\r\n * @private\r\n */\r\n _splitSliderArray() {\r\n this._lockedList = [];\r\n this._inRangeList = [];\r\n this._atMinList = [];\r\n this._atMaxList = [];\r\n\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n\r\n if (sld.locked) {\r\n this._lockedList.push(sld);\r\n } else if (sld.atMin) {\r\n this._atMinList.push(sld);\r\n } else if (sld.atMax) {\r\n this._atMaxList.push(sld);\r\n } else {\r\n this._inRangeList.push(sld);\r\n }\r\n }\r\n this.lockedCount = this._lockedList.length;\r\n this.notLockedCount = this._sliderList.length - this.lockedCount;\r\n }\r\n\r\n /**\r\n * handle remainder, recursive to take care of min max overshoots\r\n * @param {number} remain the remainder\r\n * @param {string} skipDomId - this dom id\r\n * @private\r\n */\r\n _handleRemainder(remain, skipDomId) {\r\n\r\n remain = Number(remain.toFixed(1));\r\n if (remain == 0) {\r\n return;\r\n }\r\n\r\n this._splitSliderArray();\r\n\r\n let canChangeArray = [];\r\n for (let i = 0; i < this._inRangeList.length; i++) {\r\n let sld = this._inRangeList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n\r\n if (remain > 0) {\r\n for (let i = 0; i < this._atMaxList.length; i++) {\r\n let sld = this._atMaxList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n } else {\r\n for (let i = 0; i < this._atMinList.length; i++) {\r\n let sld = this._atMinList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n }\r\n\r\n if (canChangeArray.length == 0) {\r\n return;\r\n }\r\n\r\n let inc = -1 * Number((remain / canChangeArray.length).toFixed(1));\r\n\r\n let newRemainder = 0;\r\n for (let i = 0; i < canChangeArray.length; i++) {\r\n newRemainder += canChangeArray[i].increment(inc);\r\n }\r\n\r\n this._handleRemainder(newRemainder, skipDomId);\r\n }\r\n\r\n /**\r\n *\r\n * @param {object} keyValList key and value list\r\n */\r\n setValues(keyValList) {\r\n this.resetting = true;\r\n for (let k in keyValList) {\r\n if (keyValList.hasOwnProperty(k)) {\r\n this._sliderLookup[k].setValAndDropDown(keyValList[k][0], keyValList[k][1]);\r\n }\r\n }\r\n this.resetting = false;\r\n }\r\n\r\n /**\r\n * get the weight sum\r\n * @returns {number} the weight sum\r\n */\r\n getSum() {\r\n let total = 0;\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n total += Number(sld.weight.toFixed(1));\r\n }\r\n\r\n return total;\r\n }\r\n\r\n /**\r\n * get the parameter weights\r\n * @returns {object} lookup with parameter weights\r\n */\r\n getParams() {\r\n let paramWeights = {};\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n paramWeights[sld.selectedParam] = Number(sld.weight.toFixed(1));\r\n }\r\n\r\n return paramWeights;\r\n }\r\n\r\n _addEventListeners() {\r\n let ___this = this;\r\n\r\n\r\n //change function\r\n this.$container.find('input[type=\"range\"]').change(function () {\r\n if (___this.resetting) {\r\n return;\r\n }\r\n\r\n let $this = $(this);\r\n let domId = this['id'];\r\n let sldr = ___this._sliderLookup[domId];\r\n\r\n let newValue = parseFloat($this.val());\r\n\r\n let oldValue = sldr.weight;\r\n let diff = newValue - oldValue;\r\n diff = Number(diff.toFixed(1));\r\n\r\n sldr.weight = Number(newValue.toFixed(1));\r\n\r\n ___this._handleRemainder(diff, domId);\r\n\r\n //cleanup, make sure the sum is still 100\r\n let sum = Number(___this.getSum().toFixed(1));\r\n\r\n if (sum > 100) {\r\n loop1:\r\n while (true) {\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.domId == domId || sld.locked || sld.atMin) {\r\n continue;\r\n }\r\n sld.increment(-0.1);\r\n sum -= 0.1;\r\n if (sum.toFixed(1) == '100.0') {\r\n break loop1;\r\n }\r\n }\r\n }\r\n } else if (sum < 100) {\r\n loop1:\r\n while (true) {\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.domId == domId || sld.locked || sld.atMax) {\r\n continue;\r\n }\r\n sld.increment(0.1);\r\n sum += 0.1;\r\n if (sum.toFixed(1) == '100.0') {\r\n break loop1;\r\n }\r\n }\r\n }\r\n }\r\n\r\n ___this._$presetSelector.val('0');\r\n ___this._runChangedCallback();\r\n }\r\n );\r\n\r\n //update the selected parameter when the selection is changed\r\n $('.show-select').change(function () {\r\n if (___this.resetting) {\r\n return;\r\n }\r\n ___this._sliderLookup[this['id'].replace('_chg', '')].selectedParam = $(this).val();\r\n\r\n ___this._$presetSelector.val('0');\r\n\r\n ___this._runChangedCallback();\r\n\r\n });\r\n\r\n //lock the slider and update the reserved percent\r\n this.$container.find('input[type=\"checkbox\"]').change(function () {\r\n let domEl = this;\r\n\r\n ___this._sliderLookup[domEl.id.replace('_chk', '')].locked = !domEl.checked;\r\n ___this.reservedPercent = 0.0;\r\n ___this.notLockedCount = 0;\r\n\r\n let notLockedSliders = [];\r\n\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.locked) {\r\n ___this.reservedPercent += sld.weight;\r\n continue;\r\n }\r\n notLockedSliders.push(sld);\r\n ___this.notLockedCount++;\r\n }\r\n\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.locked) {\r\n continue;\r\n }\r\n sld.max = 100 - ___this.reservedPercent;\r\n }\r\n\r\n if (notLockedSliders.length == 1) {\r\n notLockedSliders[0].min = notLockedSliders[0].weight;\r\n } else {\r\n for (let i = 0; i < notLockedSliders.length; i++) {\r\n notLockedSliders[i].min = 0;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n get paramWeightsRegionVersion(): ChangeResponse{\r\n return {paramWeights: this.getParams(),\r\n region: this._$regionSelector.val() as string, mmVersion: this._$versionSelector.val() as string}\r\n }\r\n}\r\n\r\nnm.Sliders = TipSliders;\r\nexport default TipSliders;\r\n"]} \ No newline at end of file +{"version":3,"file":"Sliders.js","sourceRoot":"","sources":["../../src/collections/Sliders.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,0BAA6B;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAuBhC;IAKI,oBAAY,IAAqB;QAC7B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAExD,IAAI,MAAM,GAAG,CAAC,CAAC;QAEf,GAAG,CAAC,CAAW,UAAY,EAAZ,KAAA,IAAI,CAAC,OAAO,EAAZ,cAAY,EAAZ,IAAY;YAAtB,IAAI,EAAE,SAAA;YACP,MAAM,IAAI,EAAE,CAAC,KAAK,CAAC;SACtB;QAED,EAAE,CAAC,CAAC,MAAM,IAAI,GAAG,CAAC,CAAA,CAAC;YACf,MAAM,gCAAgC,CAAC;QAC3C,CAAC;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AApBD,IAoBC;AAGD;IAuBI;;;;OAIG;IACH,iBAAY,YAA6B;QACrC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,IAAI,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,CAAC;YACzD,CAAC;YAAC,IAAI,CAAC,CAAC;gBACJ,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;oBAC/C,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;gBAChC,CAAC;YACL,CAAC;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;IAED,sBAAI,iDAAyB;aAA7B;YACI,MAAM,CAAC,EAAC,YAAY,EAAE,IAAI,CAAC,SAAS,EAAE;gBAClC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,GAAG,EAAY,EAAE,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAY,EAAC,CAAA;QACzG,CAAC;;;OAAA;IACL,iBAAC;AAAD,CAAC,AApXD,IAoXC;AApXY,gCAAU;AAsXvB,EAAE,CAAC,OAAO,GAAG,UAAU,CAAC;AACxB,kBAAe,UAAU,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/10/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('collections');\r\n\r\nexport interface TipSliderConfig {\r\n label: string;\r\n yearOptions: Array<{column: string, label: string}>\r\n}\r\n\r\nexport interface TipPresetConfig {\r\n label: string;\r\n presets: Array<{column: string, value: number}>\r\n}\r\n\r\nexport interface ChangeResponse{\r\n paramWeights: Object;\r\n region: string;\r\n mmVersion: string;\r\n}\r\n\r\nexport interface ChangeCallback{\r\n (chg: ChangeResponse): any\r\n}\r\n\r\n\r\nclass TipPresets implements TipPresetConfig {\r\n label: string;\r\n presets: Array<{column: string, value: number}>;\r\n domId: string;\r\n\r\n constructor(conf: TipPresetConfig) {\r\n this.label = conf.label;\r\n this.presets = conf.presets;\r\n this.domId = this.label.replace(/ /g, '').toLowerCase();\r\n\r\n let theSum = 0;\r\n\r\n for (let pr of this.presets){\r\n theSum += pr.value;\r\n }\r\n\r\n if (theSum != 100){\r\n throw 'preset sum does note equal 100';\r\n }\r\n }\r\n}\r\n\r\n\r\nclass _Slider {\r\n _min: number;\r\n _max: number;\r\n _locked: boolean;\r\n atMin: boolean;\r\n atMax: boolean;\r\n _weightDefault: number;\r\n _weight: number;\r\n html: string;\r\n domId: string;\r\n name: string;\r\n\r\n labelLow: JQuery;\r\n labelHigh: JQuery;\r\n labelVal: JQuery;\r\n slider: JQuery;\r\n selectionBox: JQuery;\r\n chk: JQuery;\r\n\r\n selectedParam: any;\r\n selectedParamDefault: any;\r\n _dropdownSelection: string;\r\n\r\n /**\r\n * Slider constructor\r\n * @param sliderConfig - the configuration\r\n\r\n */\r\n constructor(sliderConfig: TipSliderConfig) {\r\n this._dropdownSelection = null;\r\n this._weight = null;\r\n this.name = sliderConfig.label;\r\n this.domId = this.name.toLowerCase().replace(/ /g, '-');\r\n\r\n this._locked = false;\r\n\r\n this._min = 0.0;\r\n this._max = 100;\r\n\r\n this.labelLow = null;\r\n this.labelHigh = null;\r\n this.labelVal = null;\r\n this.slider = null;\r\n this.chk = null;\r\n\r\n this.atMin = false;\r\n this.atMax = false;\r\n\r\n\r\n let sel = `<select class=\"${sliderConfig.yearOptions.length == 1 ? 'hidden-select' : 'show-select'}\" id=\"${this.domId}_chg\">`;\r\n\r\n for (let i = 0; i < sliderConfig.yearOptions.length; i++) {\r\n let itm = sliderConfig.yearOptions[i];\r\n sel += `<option value=\"${itm.column}\">${itm.label}</option>`;\r\n }\r\n sel += '</select>';\r\n\r\n this.selectedParamDefault = this.selectedParam;\r\n\r\n this.html = '<div class=\"slider-div\">' +\r\n `<label for=\"${this.domId}_chk\" class=\"slider-label\">${this.name}</label>` +\r\n sel + `<br>` +\r\n `<input id=\"${this.domId}_chk\" type=\"checkbox\" title=\"Lock/Unlock Slider\">` +\r\n `<label id=\"${this.domId}_low\" class=\"low-high\"></label>` +\r\n `<input id=\"${this.domId}\" type=\"range\" value=\"50\" min=\"0\" max=\"100\" step=\"0.1\">` +\r\n `<label id=\"${this.domId}_high\" class=\"low-high\"></label>` +\r\n `<label id=\"${this.domId}_lbl\" for=\"${this.domId}\" class=\"percent-label\"></label></div>`;\r\n }\r\n\r\n /**\r\n * add html to dom\r\n * @param {jQuery} $container - container element\r\n */\r\n addToDom($container: JQuery) {\r\n $container.append(this.html);\r\n this.labelLow = $(`#${this.domId}_low`);\r\n this.labelHigh = $(`#${this.domId}_high`);\r\n this.labelVal = $(`#${this.domId}_lbl`);\r\n this.slider = $(`#${this.domId}`);\r\n this.selectionBox = $(`#${this.domId}_chg`);\r\n this.chk = $(`#${this.domId}_chk`);\r\n }\r\n\r\n /**\r\n * increment the slider\r\n * @param {number} delta change delta\r\n * @returns {number} the remainder not able to be allocated to this slider\r\n */\r\n increment(delta: number): number {\r\n let remainder = 0;\r\n delta = Number(delta.toFixed(1));\r\n\r\n this._weight += delta;\r\n if (this._weight < this._min) {\r\n remainder = this._min - this._weight;\r\n this._weight = this._min;\r\n this.atMin = true;\r\n } else if (this._weight > this._max) {\r\n remainder = this._max - this._weight;\r\n this._weight = this._max;\r\n this.atMax = true;\r\n } else {\r\n this.atMin = false;\r\n this.atMax = false;\r\n }\r\n\r\n this.slider.val(this._weight.toFixed(1));\r\n this.labelVal.html(this._weight.toFixed(1) + '%');\r\n\r\n return remainder;\r\n }\r\n\r\n /**\r\n * set the value and drop down\r\n * @param {number} newVal the new value\r\n * @param {string} selectedParam the selected parameter\r\n */\r\n setValAndDropDown(newVal: number, selectedParam: string) {\r\n this.min = 0;\r\n this.max = 100;\r\n this.weight = newVal;\r\n this.slider.val(newVal.toFixed(1));\r\n this.selectionBox.val(selectedParam);\r\n this.selectedParam = selectedParam;\r\n this.locked = true;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {boolean} if locked\r\n */\r\n get locked() {\r\n return this._locked;\r\n }\r\n\r\n /**\r\n *\r\n * @param {boolean} val if locked\r\n */\r\n set locked(val) {\r\n this._locked = val;\r\n this.slider.prop('disabled', this._locked);\r\n this.selectionBox.prop('disabled', this._locked);\r\n this.chk.prop('checked', !this._locked);\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the minimum\r\n */\r\n get min() {\r\n return this._min;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal new minimum\r\n */\r\n set min(newVal) {\r\n this._min = Number(newVal.toFixed(1));\r\n if (this._min < 0) {\r\n this._min = 0;\r\n }\r\n this.labelLow.html(this._min.toFixed(1));\r\n this.slider.attr('min', this._min.toFixed(1));\r\n this.atMin = this._weight == this._min;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the maximum\r\n */\r\n get max() {\r\n return this._max;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal the maximum\r\n */\r\n set max(newVal) {\r\n this._max = Number(newVal.toFixed(1));\r\n if (this._max > 100) {\r\n this._max = 100.0;\r\n }\r\n this.labelHigh.html(this._max.toFixed(1));\r\n this.slider.attr('max', this._max.toFixed(1));\r\n this.atMax = this._weight == this._max;\r\n }\r\n\r\n /**\r\n *\r\n * @returns {number} the weight\r\n */\r\n get weight() {\r\n return this._weight;\r\n }\r\n\r\n /**\r\n *\r\n * @param {number} newVal the weight\r\n */\r\n set weight(newVal) {\r\n this._weight = Number(newVal.toFixed(1));\r\n this.labelVal.html(this._weight.toFixed(1) + '%');\r\n if (this._weight <= this._min) {\r\n this.atMin = true;\r\n this.atMax = false;\r\n } else if (this._weight >= this._max) {\r\n this.atMin = false;\r\n this.atMax = true;\r\n } else {\r\n this.atMin = false;\r\n this.atMax = false;\r\n }\r\n }\r\n}\r\n\r\nnm._Slider = _Slider;\r\n\r\n\r\n/**\r\n * class to keep track of the sliders\r\n */\r\nexport class TipSliders {\r\n $container: JQuery;\r\n reservedPercent: number;\r\n lockedCount: number;\r\n notLockedCount: number;\r\n private _sliderList: Array<_Slider>;\r\n private _sliderLookup: {[s: string]: _Slider};\r\n private resetting: boolean;\r\n private _changedCallback: ChangeCallback;\r\n\r\n private _lockedList: Array<_Slider>;\r\n private _inRangeList: Array<_Slider>;\r\n private _atMinList: Array<_Slider>;\r\n private _atMaxList: Array<_Slider>;\r\n\r\n private _presetArray: Array<TipPresets>;\r\n private _presetLookup: {[s: string]: TipPresets};\r\n\r\n private _$presetSelector: JQuery;\r\n private _$regionSelector: JQuery;\r\n private _$versionSelector: JQuery;\r\n\r\n /**\r\n *\r\n * @param sliderConfigs\r\n * @param presetConfig\r\n * @param divId\r\n * @param presetSelector\r\n * @param regionSelector\r\n * @param versionSelector\r\n * @param chgCallback\r\n */\r\n constructor(sliderConfigs: Array<TipSliderConfig>, presetConfig: Array<TipPresetConfig>,\r\n divId: string, presetSelector: JQuery, regionSelector: JQuery, versionSelector: JQuery,\r\n chgCallback?: ChangeCallback) {\r\n\r\n this.resetting = false;\r\n this.reservedPercent = 0.0;\r\n this.$container = $('#' + divId);\r\n this.$container.addClass('slider-container');\r\n\r\n this._changedCallback = typeof chgCallback == 'function' ? chgCallback : () => {};\r\n\r\n this._$presetSelector = presetSelector;\r\n this._$regionSelector = regionSelector;\r\n this._$versionSelector = versionSelector;\r\n\r\n this._sliderList = [];\r\n this._sliderLookup = {};\r\n\r\n for (let i = 0; i < sliderConfigs.length; i++) {\r\n let sld = new _Slider(sliderConfigs[i]);\r\n this._sliderList.push(sld);\r\n this._sliderLookup[sld.domId] = sld;\r\n sld.addToDom(this.$container);\r\n }\r\n\r\n this._presetArray = [];\r\n this._presetLookup = {};\r\n\r\n for (let i = 0; i < presetConfig.length; i++) {\r\n let preset = new TipPresets(presetConfig[i]);\r\n\r\n let idx = (i + 1).toFixed();\r\n\r\n this._presetLookup[idx] = preset;\r\n this._presetArray.push(preset);\r\n this._$presetSelector.append(`<option value=\"${idx}\">${preset.label}</option>`);\r\n }\r\n\r\n\r\n this._lockedList = [];\r\n this._inRangeList = [];\r\n this._atMinList = [];\r\n this._atMaxList = [];\r\n\r\n this.lockedCount = 10;\r\n this.notLockedCount = 0;\r\n\r\n this._splitSliderArray();\r\n\r\n\r\n this._$presetSelector.change(() => {\r\n this.setPresetValues();\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$regionSelector.change(() => {\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$versionSelector.change(() => {\r\n this._runChangedCallback();\r\n });\r\n\r\n this._$presetSelector.trigger('change');\r\n\r\n this._addEventListeners();\r\n }\r\n\r\n _runChangedCallback(){\r\n this._changedCallback(this.paramWeightsRegionVersion);\r\n }\r\n\r\n get changedCallback(): ChangeCallback{\r\n return this._changedCallback\r\n }\r\n\r\n set changedCallback(chg: ChangeCallback){\r\n this._changedCallback = chg;\r\n this._runChangedCallback();\r\n }\r\n\r\n setPresetValues() {\r\n let idx = this._$presetSelector.val() || '1';\r\n\r\n let thePreset = this._presetLookup[idx];\r\n\r\n for (let i = 0; i < thePreset.presets.length; i++) {\r\n let presetValues = thePreset.presets[i];\r\n let theSlider = this._sliderList[i];\r\n\r\n theSlider.locked = true;\r\n theSlider.setValAndDropDown(presetValues.value, presetValues.column);\r\n }\r\n }\r\n\r\n /**\r\n * split array into subarrays holding the sliders\r\n * @private\r\n */\r\n _splitSliderArray() {\r\n this._lockedList = [];\r\n this._inRangeList = [];\r\n this._atMinList = [];\r\n this._atMaxList = [];\r\n\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n\r\n if (sld.locked) {\r\n this._lockedList.push(sld);\r\n } else if (sld.atMin) {\r\n this._atMinList.push(sld);\r\n } else if (sld.atMax) {\r\n this._atMaxList.push(sld);\r\n } else {\r\n this._inRangeList.push(sld);\r\n }\r\n }\r\n this.lockedCount = this._lockedList.length;\r\n this.notLockedCount = this._sliderList.length - this.lockedCount;\r\n }\r\n\r\n /**\r\n * handle remainder, recursive to take care of min max overshoots\r\n * @param {number} remain the remainder\r\n * @param {string} skipDomId - this dom id\r\n * @private\r\n */\r\n _handleRemainder(remain: number, skipDomId: string) {\r\n\r\n remain = Number(remain.toFixed(1));\r\n if (remain == 0) {\r\n return;\r\n }\r\n\r\n this._splitSliderArray();\r\n\r\n let canChangeArray = [];\r\n for (let i = 0; i < this._inRangeList.length; i++) {\r\n let sld = this._inRangeList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n\r\n if (remain > 0) {\r\n for (let i = 0; i < this._atMaxList.length; i++) {\r\n let sld = this._atMaxList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n } else {\r\n for (let i = 0; i < this._atMinList.length; i++) {\r\n let sld = this._atMinList[i];\r\n if (sld.domId == skipDomId) {\r\n continue;\r\n }\r\n canChangeArray.push(sld);\r\n }\r\n }\r\n\r\n if (canChangeArray.length == 0) {\r\n return;\r\n }\r\n\r\n let inc = -1 * Number((remain / canChangeArray.length).toFixed(1));\r\n\r\n let newRemainder = 0;\r\n for (let i = 0; i < canChangeArray.length; i++) {\r\n newRemainder += canChangeArray[i].increment(inc);\r\n }\r\n\r\n this._handleRemainder(newRemainder, skipDomId);\r\n }\r\n\r\n /**\r\n *\r\n * @param {object} keyValList key and value list\r\n */\r\n setValues(keyValList: {[s:string]: [number, string]}) {\r\n this.resetting = true;\r\n for (let k in keyValList) {\r\n if (keyValList.hasOwnProperty(k)) {\r\n this._sliderLookup[k].setValAndDropDown(keyValList[k][0], keyValList[k][1]);\r\n }\r\n }\r\n this.resetting = false;\r\n }\r\n\r\n /**\r\n * get the weight sum\r\n * @returns {number} the weight sum\r\n */\r\n getSum() {\r\n let total = 0;\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n total += Number(sld.weight.toFixed(1));\r\n }\r\n\r\n return total;\r\n }\r\n\r\n /**\r\n * get the parameter weights\r\n * @returns {object} lookup with parameter weights\r\n */\r\n getParams() {\r\n let paramWeights: {[s: string]: number} = {};\r\n for (let i = 0; i < this._sliderList.length; i++) {\r\n let sld = this._sliderList[i];\r\n paramWeights[sld.selectedParam] = Number(sld.weight.toFixed(1));\r\n }\r\n\r\n return paramWeights;\r\n }\r\n\r\n _addEventListeners() {\r\n let ___this = this;\r\n\r\n\r\n //change function\r\n this.$container.find('input[type=\"range\"]').change(function () {\r\n if (___this.resetting) {\r\n return;\r\n }\r\n\r\n let $this = $(this);\r\n let domId = this['id'];\r\n let sldr = ___this._sliderLookup[domId];\r\n\r\n let newValue = parseFloat($this.val());\r\n\r\n let oldValue = sldr.weight;\r\n let diff = newValue - oldValue;\r\n diff = Number(diff.toFixed(1));\r\n\r\n sldr.weight = Number(newValue.toFixed(1));\r\n\r\n ___this._handleRemainder(diff, domId);\r\n\r\n //cleanup, make sure the sum is still 100\r\n let sum = Number(___this.getSum().toFixed(1));\r\n\r\n if (sum > 100) {\r\n loop1:\r\n while (true) {\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.domId == domId || sld.locked || sld.atMin) {\r\n continue;\r\n }\r\n sld.increment(-0.1);\r\n sum -= 0.1;\r\n if (sum.toFixed(1) == '100.0') {\r\n break loop1;\r\n }\r\n }\r\n }\r\n } else if (sum < 100) {\r\n loop1:\r\n while (true) {\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.domId == domId || sld.locked || sld.atMax) {\r\n continue;\r\n }\r\n sld.increment(0.1);\r\n sum += 0.1;\r\n if (sum.toFixed(1) == '100.0') {\r\n break loop1;\r\n }\r\n }\r\n }\r\n }\r\n\r\n ___this._$presetSelector.val('0');\r\n ___this._runChangedCallback();\r\n }\r\n );\r\n\r\n //update the selected parameter when the selection is changed\r\n $('.show-select').change(function () {\r\n if (___this.resetting) {\r\n return;\r\n }\r\n ___this._sliderLookup[this['id'].replace('_chg', '')].selectedParam = $(this).val();\r\n\r\n ___this._$presetSelector.val('0');\r\n\r\n ___this._runChangedCallback();\r\n\r\n });\r\n\r\n //lock the slider and update the reserved percent\r\n this.$container.find('input[type=\"checkbox\"]').change(function () {\r\n let domEl = this;\r\n\r\n ___this._sliderLookup[domEl.id.replace('_chk', '')].locked = !domEl.checked;\r\n ___this.reservedPercent = 0.0;\r\n ___this.notLockedCount = 0;\r\n\r\n let notLockedSliders = [];\r\n\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.locked) {\r\n ___this.reservedPercent += sld.weight;\r\n continue;\r\n }\r\n notLockedSliders.push(sld);\r\n ___this.notLockedCount++;\r\n }\r\n\r\n for (let i = 0; i < ___this._sliderList.length; i++) {\r\n let sld = ___this._sliderList[i];\r\n if (sld.locked) {\r\n continue;\r\n }\r\n sld.max = 100 - ___this.reservedPercent;\r\n }\r\n\r\n if (notLockedSliders.length == 1) {\r\n notLockedSliders[0].min = notLockedSliders[0].weight;\r\n } else {\r\n for (let i = 0; i < notLockedSliders.length; i++) {\r\n notLockedSliders[i].min = 0;\r\n }\r\n }\r\n });\r\n\r\n }\r\n\r\n get paramWeightsRegionVersion(): ChangeResponse{\r\n return {paramWeights: this.getParams(),\r\n region: this._$regionSelector.val() as string, mmVersion: this._$versionSelector.val() as string}\r\n }\r\n}\r\n\r\nnm.Sliders = TipSliders;\r\nexport default TipSliders;\r\n"]} \ No newline at end of file diff --git a/dist/domUtil/SelectBoxBase.d.ts b/dist/domUtil/SelectBoxBase.d.ts index ca9880777bdbdc9e38291f0e646ac50327537059..9268c33a6afd06a9fa9eaa9783308dc08603fb9a 100644 --- a/dist/domUtil/SelectBoxBase.d.ts +++ b/dist/domUtil/SelectBoxBase.d.ts @@ -27,7 +27,7 @@ export declare class SelectBoxBase { * @param {string} labelContent * @param {contentGenerator} [contentGen=undefined] */ - constructor(parent: any, labelContent: any, contentGen?: contentGenerator); + constructor(parent: JQuery, labelContent: string, contentGen?: contentGenerator); /** * * @returns {jQuery} diff --git a/dist/domUtil/SelectBoxBase.js.map b/dist/domUtil/SelectBoxBase.js.map index 46cb8644b3b03ca7a7d0e48675eb134b22dc5d17..2d82f459d8924081957d7a07a8b83f39e806e36e 100644 --- a/dist/domUtil/SelectBoxBase.js.map +++ b/dist/domUtil/SelectBoxBase.js.map @@ -1 +1 @@ -{"version":3,"file":"SelectBoxBase.js","sourceRoot":"","sources":["../../src/domUtil/SelectBoxBase.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,6CAAwC;AACxC,2CAAsC;AACtC,IAAM,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAqB9B;IAKI;;;;;OAKG;IACH,uBAAY,MAAM,EAAE,YAAY,EAAE,UAA6B;QAA/D,iBAoCC;QAnCG,IAAI,OAAO,GAAG,kBAAQ,EAAE,CAAC;QACzB,IAAI,IAAI,GAAG,kBAAQ,EAAE,CAAC;QAEtB,IAAI,UAAU,GAAG,eAAY,OAAO,QAAI,CAAC;QACzC,UAAU,IAAI,kBAAe,IAAI,WAAK,YAAY,aAAU,CAAC;QAE7D,EAAE,CAAC,CAAC,UAAU,CAAC,CAAA,CAAC;YACZ,UAAU,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,UAAU,IAAI,kBAAe,IAAI,iBAAa,CAAC;QACnD,CAAC;QACD,UAAU,IAAI,QAAQ,CAAC;QAEvB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QAE1B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,CAAC;QAE9C,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE7C;;;;WAIG;QACH,IAAI,CAAC,gBAAgB,GAAG,EAAE,CAAC;QAE3B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAI,IAAM,CAAC,CAAC;QAEpC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA,CAAC;YACZ,MAAM,8BAA8B,CAA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C;QACL,CAAC;QAED;;;WAGG;aACH,UAAkB,CAAgB;YAC9B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;;;OARA;IAUD,sBAAI,uCAAY;aAAhB;YACI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC;QACnD,CAAC;;;OAAA;IAEL,oBAAC;AAAD,CAAC,AAtGD,IAsGC;AAtGY,sCAAa;AAwG1B,EAAE,CAAC,aAAa,GAAG,aAAa,CAAC;AAEjC,kBAAe,aAAa,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 5/13/2016.\r\n */\r\n\r\nimport makeGuid from '../util/makeGuid';\r\nimport provide from '../util/provide';\r\nconst nm = provide('domUtil');\r\n\r\nexport interface selectChangeCallback{\r\n /**\r\n *\r\n * @param theValue the current select value of the select box\r\n */\r\n (theValue: string) : void\r\n}\r\n\r\n/**\r\n * must return in the contents <select id=\"${guid}\"></select> among other things\r\n */\r\nexport interface contentGenerator{\r\n /**\r\n * @param aGuid\r\n */\r\n (aGuid: string): string\r\n}\r\n\r\n\r\nexport class SelectBoxBase{\r\n _$container: JQuery;\r\n $label: JQuery;\r\n _box: JQuery;\r\n _changeListeners: Array<selectChangeCallback>;\r\n /**\r\n *\r\n * @param {jQuery} parent - parent container\r\n * @param {string} labelContent\r\n * @param {contentGenerator} [contentGen=undefined]\r\n */\r\n constructor(parent, labelContent, contentGen?: contentGenerator){\r\n let guidTop = makeGuid();\r\n let guid = makeGuid();\r\n\r\n let htmlString = `<div id=\"${guidTop}\">`;\r\n htmlString += `<label for=\"${guid}\">${labelContent}</label>`;\r\n\r\n if (contentGen){\r\n htmlString += contentGen(guid);\r\n } else {\r\n htmlString += `<select id=\"${guid}\"></select>`;\r\n }\r\n htmlString += '</div>';\r\n\r\n parent.append(htmlString);\r\n\r\n this._$container = parent.find('#' + guidTop);\r\n\r\n this.$label = this._$container.find('label');\r\n\r\n /**\r\n *\r\n * @type {Array<selectChangeCallback>}\r\n * @private\r\n */\r\n this._changeListeners = [];\r\n\r\n this._box = parent.find(`#${guid}`);\r\n \r\n if (!this._box){\r\n throw 'the select box was not found';\r\n }\r\n\r\n this._box.change(() => {\r\n this.changed();\r\n })\r\n }\r\n\r\n /**\r\n * \r\n * @returns {jQuery}\r\n */\r\n get box(){\r\n return this._box;\r\n }\r\n\r\n changed(){\r\n let v = this._box.val();\r\n \r\n for (let f of this._changeListeners){\r\n f(v);\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {selectChangeCallback} func\r\n */\r\n addChangeListener(func: selectChangeCallback){\r\n this._changeListeners.push(func);\r\n }\r\n\r\n\r\n get selectedValue(): string|number{\r\n let theVal = this.box.val();\r\n\r\n if (theVal == null || typeof theVal == 'undefined'){\r\n return null;\r\n } else if (isNaN(theVal)){\r\n return theVal\r\n } else {\r\n if (theVal.indexOf('.') > -1){\r\n return parseFloat(theVal)\r\n } else {\r\n return parseInt(theVal);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {string|number} v\r\n */\r\n set selectedValue(v: string|number){\r\n this.box.val(v);\r\n }\r\n \r\n get selectedText(){\r\n return this.box.find('option:selected').text();\r\n }\r\n\r\n}\r\n\r\nnm.SelectBoxBase = SelectBoxBase;\r\n\r\nexport default SelectBoxBase;\r\n"]} \ No newline at end of file +{"version":3,"file":"SelectBoxBase.js","sourceRoot":"","sources":["../../src/domUtil/SelectBoxBase.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,6CAAwC;AACxC,2CAAsC;AACtC,IAAM,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAqB9B;IAKI;;;;;OAKG;IACH,uBAAY,MAAc,EAAE,YAAoB,EAAE,UAA6B;QAA/E,iBAoCC;QAnCG,IAAI,OAAO,GAAG,kBAAQ,EAAE,CAAC;QACzB,IAAI,IAAI,GAAG,kBAAQ,EAAE,CAAC;QAEtB,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uid';\r\nimport provide from '../util/provide';\r\nconst nm = provide('domUtil');\r\n\r\nexport interface selectChangeCallback{\r\n /**\r\n *\r\n * @param theValue the current select value of the select box\r\n */\r\n (theValue: string) : void\r\n}\r\n\r\n/**\r\n * must return in the contents <select id=\"${guid}\"></select> among other things\r\n */\r\nexport interface contentGenerator{\r\n /**\r\n * @param aGuid\r\n */\r\n (aGuid: string): string\r\n}\r\n\r\n\r\nexport class SelectBoxBase{\r\n _$container: JQuery;\r\n $label: JQuery;\r\n _box: JQuery;\r\n _changeListeners: Array<selectChangeCallback>;\r\n /**\r\n *\r\n * @param {jQuery} parent - parent container\r\n * @param {string} labelContent\r\n * @param {contentGenerator} [contentGen=undefined]\r\n */\r\n constructor(parent: JQuery, labelContent: string, contentGen?: contentGenerator){\r\n let guidTop = makeGuid();\r\n let guid = makeGuid();\r\n\r\n let htmlString = `<div id=\"${guidTop}\">`;\r\n htmlString += `<label for=\"${guid}\">${labelContent}</label>`;\r\n\r\n if (contentGen){\r\n htmlString += contentGen(guid);\r\n } else {\r\n htmlString += `<select id=\"${guid}\"></select>`;\r\n }\r\n htmlString += '</div>';\r\n\r\n parent.append(htmlString);\r\n\r\n this._$container = parent.find('#' + guidTop);\r\n\r\n this.$label = this._$container.find('label');\r\n\r\n /**\r\n *\r\n * @type {Array<selectChangeCallback>}\r\n * @private\r\n */\r\n this._changeListeners = [];\r\n\r\n this._box = parent.find(`#${guid}`);\r\n \r\n if (!this._box){\r\n throw 'the select box was not found';\r\n }\r\n\r\n this._box.change(() => {\r\n this.changed();\r\n })\r\n }\r\n\r\n /**\r\n * \r\n * @returns {jQuery}\r\n */\r\n get box(){\r\n return this._box;\r\n }\r\n\r\n changed(){\r\n let v = this._box.val();\r\n \r\n for (let f of this._changeListeners){\r\n f(v);\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {selectChangeCallback} func\r\n */\r\n addChangeListener(func: selectChangeCallback){\r\n this._changeListeners.push(func);\r\n }\r\n\r\n\r\n get selectedValue(): string|number{\r\n let theVal = this.box.val();\r\n\r\n if (theVal == null || typeof theVal == 'undefined'){\r\n return null;\r\n } else if (isNaN(theVal)){\r\n return theVal\r\n } else {\r\n if (theVal.indexOf('.') > -1){\r\n return parseFloat(theVal)\r\n } else {\r\n return parseInt(theVal);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {string|number} v\r\n */\r\n set selectedValue(v: string|number){\r\n this.box.val(v);\r\n }\r\n \r\n get selectedText(){\r\n return this.box.find('option:selected').text();\r\n }\r\n\r\n}\r\n\r\nnm.SelectBoxBase = SelectBoxBase;\r\n\r\nexport default SelectBoxBase;\r\n"]} \ No newline at end of file diff --git a/dist/domUtil/media-control.d.ts b/dist/domUtil/media-control.d.ts index d29e13b45fca3b9bc0e2cac9d2c9798deb374677..b5aad367c55932f797266ede2c548f7180d74da1 100644 --- a/dist/domUtil/media-control.d.ts +++ b/dist/domUtil/media-control.d.ts @@ -47,7 +47,7 @@ export declare class MediaControl { * @param {number} [newValue=newMin] the value to set * @param {number} [newStep=(newMax-newMin)/20] step value */ - setMinMaxValueStep(newMin: any, newMax: any, newValue: any, newStep: any): void; + setMinMaxValueStep(newMin: number, newMax: number, newValue: number, newStep: number): void; /** * * @param {mediaCallback} newFunc the callback on change diff --git a/dist/domUtil/media-control.js b/dist/domUtil/media-control.js index 37cd8b1fa2975530e5c179950203c80bb8b62aee..6bcb689c445479c1e05b0d8603667707cef8f8e8 100644 --- a/dist/domUtil/media-control.js +++ b/dist/domUtil/media-control.js @@ -27,7 +27,9 @@ var MediaControl = (function () { * @param mediaConfig */ function MediaControl(element, changeFunc, mediaConfig) { - if (changeFunc === void 0) { changeFunc = function () { return; }; } + if (changeFunc === void 0) { changeFunc = function () { + return; + }; } if (mediaConfig === void 0) { mediaConfig = {}; } var _this = this; mediaConfig.min = typeof mediaConfig.min == 'number' ? mediaConfig.min : 0; @@ -39,7 +41,7 @@ var MediaControl = (function () { if (typeof element == 'string') { this._container = $('#' + element); } - else if (typeof element['style'] !== 'undefined') { + else if (typeof element.style !== 'undefined') { this._container = $(element); } else { @@ -76,7 +78,9 @@ var MediaControl = (function () { this._$valLabelVal = this._container.find('.media-control-value-label-val'); this._$valLabelMax = this._container.find('.media-control-value-label-max'); this.setMinMaxValueStep(mediaConfig.min, mediaConfig.max, mediaConfig.val, mediaConfig.step); - range_change_1.rangeChange(this._$slider, function (newVal) { _this.currentValue = newVal; }, 100); + range_change_1.rangeChange(this._$slider, function (newVal) { + _this.currentValue = newVal; + }, 100); var ___this = this; btnPlay.click(function () { var $this = $(this); diff --git a/dist/domUtil/media-control.js.map b/dist/domUtil/media-control.js.map index 8c9d5ee64386756679c41a6dfc393bb7aeae03d2..98077532c7502c2a123b38b048c43106b42bc306 100644 --- a/dist/domUtil/media-control.js.map +++ b/dist/domUtil/media-control.js.map @@ -1 +1 @@ -{"version":3,"file":"media-control.js","sourceRoot":"","sources":["../../src/domUtil/media-control.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,+CAA2C;AAC3C,0BAA6B;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAE5B;;;GAGG;AAEH,+BAA+B,EAAE;IAC7B,YAAY,CAAC;IACb,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;IACrB,IAAI,EAAE,GAAG,CAAC,CAAC,kBAAkB,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3C,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEpB,MAAM,CAAC,CAAC,CAAC,kBAAkB,EAAE,GAAG,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AACxE,CAA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C","sourcesContent":["/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport {rangeChange} from './range-change';\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('domUtil');\r\n\r\n/**\r\n * @callback mediaCallback\r\n * @param {number} tm\r\n */\r\n\r\nfunction timeToLocalDateString(tm) {\r\n \"use strict\";\r\n let d = new Date(tm);\r\n let p1 = d.toLocaleTimeString().split(' ');\r\n let p2 = p1[0].split(':');\r\n p2 = p2.slice(0, 2);\r\n\r\n return d.toLocaleDateString() + '<br>' + p2.join(':') + ' ' + p1[1];\r\n}\r\n\r\nexport interface changeFunction{\r\n (newVal?: number): void;\r\n}\r\n\r\nexport interface mediaRangeConfig{\r\n min?: number;\r\n max?: number;\r\n val?: number;\r\n step?: number;\r\n playInterval?: number;\r\n showAsDate?: boolean;\r\n}\r\n\r\n\r\n\r\nexport class MediaControl {\r\n _container: JQuery;\r\n _min: number;\r\n _max: number;\r\n _playInterval: number;\r\n _step: number;\r\n _currentValue: number;\r\n\r\n _playing: boolean;\r\n\r\n _$btnStop: JQuery;\r\n _$slider: JQuery;\r\n _$valLabelVal: JQuery;\r\n _$valLabelMin: JQuery;\r\n _$valLabelMax: JQuery;\r\n _interval: number;\r\n _showAsDate: boolean;\r\n\r\n _changeFunc: changeFunction;\r\n\r\n /**\r\n *\r\n * @param element\r\n * @param changeFunc\r\n * @param mediaConfig\r\n */\r\n constructor(\r\n element: JQuery|HTMLElement|string,\r\n changeFunc: changeFunction = (): void => {return;},\r\n mediaConfig: mediaRangeConfig = {}) {\r\n\r\n mediaConfig.min = typeof mediaConfig.min == 'number' ? mediaConfig.min : 0;\r\n mediaConfig.max = typeof mediaConfig.max == 'number' ? mediaConfig.max : 100;\r\n mediaConfig.val = typeof mediaConfig.val == 'number' ? mediaConfig.val : 0;\r\n mediaConfig.step = typeof mediaConfig.step == 'number' ? mediaConfig.step : 5;\r\n mediaConfig.playInterval = typeof mediaConfig.playInterval == 'number' ? mediaConfig.playInterval : 500;\r\n mediaConfig.showAsDate = typeof mediaConfig.showAsDate == 'boolean' ? mediaConfig.showAsDate : false;\r\n\r\n if (typeof element == 'string'){\r\n this._container = $('#' + element);\r\n }\r\n else if (typeof element['style'] !== 'undefined'){\r\n this._container = $(element);\r\n } else {\r\n this._container = element as JQuery;\r\n }\r\n\r\n this._container.addClass('media-control-container');\r\n this._playInterval = mediaConfig.playInterval;\r\n this._changeFunc = changeFunc;\r\n\r\n this._showAsDate = mediaConfig.showAsDate;\r\n\r\n this._currentValue = undefined;\r\n this._min = undefined;\r\n this._max = undefined;\r\n this._step = undefined;\r\n this._playing = false;\r\n\r\n let htmlStr =\r\n '<span class=\"media-player-button media-back\"></span>' +\r\n '<span class=\"media-player-button media-play\"></span>' +\r\n '<span class=\"media-player-button media-pause media-disabled\"></span>' +\r\n '<span class=\"media-player-button media-stop media-disabled\" ></span>' +\r\n '<span class=\"media-player-button media-ahead\"></span>' +\r\n `<input type=\"range\">` +\r\n `<div class=\"media-control-value-label-container\">` +\r\n `<span class=\"media-control-value-label-min\"></span>` +\r\n `<span class=\"media-control-value-label-val\"></span>` +\r\n `<span class=\"media-control-value-label-max\"></span>` +\r\n `</div>`;\r\n\r\n this._container.append(htmlStr);\r\n\r\n // let btnPause = this._container.find('.media-pause');\r\n let btnPlay = this._container.find('.media-play');\r\n this._$btnStop = this._container.find('.media-stop');\r\n let btnAhead = this._container.find('.media-ahead');\r\n let btnBack = this._container.find('.media-back');\r\n this._$slider = this._container.find('input[type=range]');\r\n\r\n this._$valLabelMin = this._container.find('.media-control-value-label-min');\r\n this._$valLabelVal = this._container.find('.media-control-value-label-val');\r\n this._$valLabelMax = this._container.find('.media-control-value-label-max');\r\n\r\n this.setMinMaxValueStep(mediaConfig.min, mediaConfig.max, mediaConfig.val, mediaConfig.step);\r\n\r\n rangeChange(this._$slider,(newVal) => { this.currentValue = newVal;}, 100);\r\n\r\n let ___this = this;\r\n\r\n btnPlay.click(function () {\r\n let $this = $(this);\r\n $this.addClass('media-disabled');\r\n ___this._$btnStop.removeClass('media-disabled');\r\n btnAhead.addClass('media-locked');\r\n btnBack.addClass('media-locked');\r\n ___this._$slider.prop('disabled', true);\r\n ___this._playing = true;\r\n\r\n ___this._interval = setInterval(function () {\r\n ___this.currentValue += ___this._step;\r\n }, ___this._playInterval);\r\n });\r\n\r\n this._$btnStop.click(function () {\r\n clearInterval(___this._interval);\r\n let $this = $(this);\r\n $this.addClass('media-disabled');\r\n btnPlay.removeClass('media-disabled');\r\n btnAhead.removeClass('media-locked');\r\n btnBack.removeClass('media-locked');\r\n ___this._$slider.prop('disabled', false);\r\n ___this._playing = false;\r\n });\r\n\r\n btnAhead.click(function () {\r\n ___this.currentValue = ___this.currentValue + ___this._step;\r\n });\r\n\r\n btnBack.click(function () {\r\n ___this.currentValue = ___this.currentValue - ___this._step;\r\n });\r\n }\r\n\r\n stopPlaying(){\r\n if (this._playing){\r\n this._$btnStop.trigger('click');\r\n }\r\n }\r\n\r\n get playing(){\r\n return this._playing;\r\n }\r\n\r\n get min() {\r\n return this._min;\r\n }\r\n\r\n get max() {\r\n return this._max;\r\n }\r\n\r\n get step() {\r\n return this._step;\r\n }\r\n\r\n get currentValue() {\r\n return this._currentValue;\r\n }\r\n\r\n set currentValue(newValue) {\r\n if (newValue > this._max) {\r\n newValue = this._min;\r\n } else if (newValue < this._min) {\r\n newValue = this._max;\r\n }\r\n this._currentValue = newValue;\r\n this._$slider.val(this._currentValue.toFixed(2));\r\n\r\n if (this._showAsDate) {\r\n this._$valLabelVal.html(timeToLocalDateString(this.currentValue));\r\n } else {\r\n this._$valLabelVal.html(this.currentValue.toString());\r\n }\r\n\r\n this._changeFunc(newValue);\r\n }\r\n\r\n /**\r\n * set min and max value with step\r\n * @param {number} newMin the new min\r\n * @param {number} newMax the new mas\r\n * @param {number} [newValue=newMin] the value to set\r\n * @param {number} [newStep=(newMax-newMin)/20] step value\r\n */\r\n setMinMaxValueStep(newMin, newMax, newValue, newStep) {\r\n this._min = newMin;\r\n this._max = newMax;\r\n\r\n newValue = typeof newValue == 'number' ? newValue : newMin;\r\n newStep = typeof newStep == 'number' ? newStep : (newMax-newMin)/20;\r\n\r\n this._currentValue = newValue;\r\n this._step = newStep;\r\n\r\n this._$slider.prop('min', this.min.toString());\r\n this._$slider.prop('max', this.max.toString());\r\n this._$slider.prop('step', this.step.toString());\r\n this._$slider.val(this.currentValue.toString());\r\n\r\n if (this._showAsDate) {\r\n this._$valLabelMin.html(timeToLocalDateString(this._min));\r\n this._$valLabelVal.html(timeToLocalDateString(this.currentValue));\r\n this._$valLabelMax.html(timeToLocalDateString(this._max));\r\n } else {\r\n this._$valLabelMin.html(this._min.toString());\r\n this._$valLabelVal.html(this.currentValue.toString());\r\n this._$valLabelMax.html(this._max.toString());\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {mediaCallback} newFunc the callback on change\r\n */\r\n set changeFunction(newFunc: changeFunction) {\r\n this._changeFunc = newFunc;\r\n }\r\n}\r\n\r\nnm.MediaControl = MediaControl;\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"media-control.js","sourceRoot":"","sources":["../../src/domUtil/media-control.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,+CAA2C;AAC3C,0BAA6B;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAE5B;;;GAGG;AAEH,+BAA+B,EAAU;IACrC,YAAY,CAAC;IACb,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;IACrB,IAAI,EAAE,GAAG,CAAC,CAAC,kBAAkB,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC3C,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEpB,MAAM,CAA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AG,OAAO,CAAC;QAC/B,CAAC;;;OAAA;IACL,mBAAC;AAAD,CAAC,AApND,IAoNC;AApNY,oCAAY;AAsNzB,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport {rangeChange} from './range-change';\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('domUtil');\r\n\r\n/**\r\n * @callback mediaCallback\r\n * @param {number} tm\r\n */\r\n\r\nfunction timeToLocalDateString(tm: number) {\r\n \"use strict\";\r\n let d = new Date(tm);\r\n let p1 = d.toLocaleTimeString().split(' ');\r\n let p2 = p1[0].split(':');\r\n p2 = p2.slice(0, 2);\r\n\r\n return d.toLocaleDateString() + '<br>' + p2.join(':') + ' ' + p1[1];\r\n}\r\n\r\nexport interface changeFunction {\r\n (newVal?: number): void;\r\n}\r\n\r\nexport interface mediaRangeConfig {\r\n min?: number;\r\n max?: number;\r\n val?: number;\r\n step?: number;\r\n playInterval?: number;\r\n showAsDate?: boolean;\r\n}\r\n\r\n\r\nexport class MediaControl {\r\n _container: JQuery;\r\n _min: number;\r\n _max: number;\r\n _playInterval: number;\r\n _step: number;\r\n _currentValue: number;\r\n\r\n _playing: boolean;\r\n\r\n _$btnStop: JQuery;\r\n _$slider: JQuery;\r\n _$valLabelVal: JQuery;\r\n _$valLabelMin: JQuery;\r\n _$valLabelMax: JQuery;\r\n _interval: number;\r\n _showAsDate: boolean;\r\n\r\n _changeFunc: changeFunction;\r\n\r\n /**\r\n *\r\n * @param element\r\n * @param changeFunc\r\n * @param mediaConfig\r\n */\r\n constructor(element: JQuery | HTMLElement | string,\r\n changeFunc: changeFunction = (): void => {\r\n return;\r\n },\r\n mediaConfig: mediaRangeConfig = {}) {\r\n\r\n mediaConfig.min = typeof mediaConfig.min == 'number' ? mediaConfig.min : 0;\r\n mediaConfig.max = typeof mediaConfig.max == 'number' ? mediaConfig.max : 100;\r\n mediaConfig.val = typeof mediaConfig.val == 'number' ? mediaConfig.val : 0;\r\n mediaConfig.step = typeof mediaConfig.step == 'number' ? mediaConfig.step : 5;\r\n mediaConfig.playInterval = typeof mediaConfig.playInterval == 'number' ? mediaConfig.playInterval : 500;\r\n mediaConfig.showAsDate = typeof mediaConfig.showAsDate == 'boolean' ? mediaConfig.showAsDate : false;\r\n\r\n if (typeof element == 'string') {\r\n this._container = $('#' + element);\r\n }\r\n else if (typeof (element as HTMLElement).style !== 'undefined') {\r\n this._container = $(element);\r\n } else {\r\n this._container = element as JQuery;\r\n }\r\n\r\n this._container.addClass('media-control-container');\r\n this._playInterval = mediaConfig.playInterval;\r\n this._changeFunc = changeFunc;\r\n\r\n this._showAsDate = mediaConfig.showAsDate;\r\n\r\n this._currentValue = undefined;\r\n this._min = undefined;\r\n this._max = undefined;\r\n this._step = undefined;\r\n this._playing = false;\r\n\r\n let htmlStr =\r\n '<span class=\"media-player-button media-back\"></span>' +\r\n '<span class=\"media-player-button media-play\"></span>' +\r\n '<span class=\"media-player-button media-pause media-disabled\"></span>' +\r\n '<span class=\"media-player-button media-stop media-disabled\" ></span>' +\r\n '<span class=\"media-player-button media-ahead\"></span>' +\r\n `<input type=\"range\">` +\r\n `<div class=\"media-control-value-label-container\">` +\r\n `<span class=\"media-control-value-label-min\"></span>` +\r\n `<span class=\"media-control-value-label-val\"></span>` +\r\n `<span class=\"media-control-value-label-max\"></span>` +\r\n `</div>`;\r\n\r\n this._container.append(htmlStr);\r\n\r\n // let btnPause = this._container.find('.media-pause');\r\n let btnPlay = this._container.find('.media-play');\r\n this._$btnStop = this._container.find('.media-stop');\r\n let btnAhead = this._container.find('.media-ahead');\r\n let btnBack = this._container.find('.media-back');\r\n this._$slider = this._container.find('input[type=range]');\r\n\r\n this._$valLabelMin = this._container.find('.media-control-value-label-min');\r\n this._$valLabelVal = this._container.find('.media-control-value-label-val');\r\n this._$valLabelMax = this._container.find('.media-control-value-label-max');\r\n\r\n this.setMinMaxValueStep(mediaConfig.min, mediaConfig.max, mediaConfig.val, mediaConfig.step);\r\n\r\n rangeChange(this._$slider, (newVal) => {\r\n this.currentValue = newVal;\r\n }, 100);\r\n\r\n let ___this = this;\r\n\r\n btnPlay.click(function () {\r\n let $this = $(this);\r\n $this.addClass('media-disabled');\r\n ___this._$btnStop.removeClass('media-disabled');\r\n btnAhead.addClass('media-locked');\r\n btnBack.addClass('media-locked');\r\n ___this._$slider.prop('disabled', true);\r\n ___this._playing = true;\r\n\r\n ___this._interval = setInterval(function () {\r\n ___this.currentValue += ___this._step;\r\n }, ___this._playInterval);\r\n });\r\n\r\n this._$btnStop.click(function () {\r\n clearInterval(___this._interval);\r\n let $this = $(this);\r\n $this.addClass('media-disabled');\r\n btnPlay.removeClass('media-disabled');\r\n btnAhead.removeClass('media-locked');\r\n btnBack.removeClass('media-locked');\r\n ___this._$slider.prop('disabled', false);\r\n ___this._playing = false;\r\n });\r\n\r\n btnAhead.click(function () {\r\n ___this.currentValue = ___this.currentValue + ___this._step;\r\n });\r\n\r\n btnBack.click(function () {\r\n ___this.currentValue = ___this.currentValue - ___this._step;\r\n });\r\n }\r\n\r\n stopPlaying() {\r\n if (this._playing) {\r\n this._$btnStop.trigger('click');\r\n }\r\n }\r\n\r\n get playing() {\r\n return this._playing;\r\n }\r\n\r\n get min() {\r\n return this._min;\r\n }\r\n\r\n get max() {\r\n return this._max;\r\n }\r\n\r\n get step() {\r\n return this._step;\r\n }\r\n\r\n get currentValue() {\r\n return this._currentValue;\r\n }\r\n\r\n set currentValue(newValue) {\r\n if (newValue > this._max) {\r\n newValue = this._min;\r\n } else if (newValue < this._min) {\r\n newValue = this._max;\r\n }\r\n this._currentValue = newValue;\r\n this._$slider.val(this._currentValue.toFixed(2));\r\n\r\n if (this._showAsDate) {\r\n this._$valLabelVal.html(timeToLocalDateString(this.currentValue));\r\n } else {\r\n this._$valLabelVal.html(this.currentValue.toString());\r\n }\r\n\r\n this._changeFunc(newValue);\r\n }\r\n\r\n /**\r\n * set min and max value with step\r\n * @param {number} newMin the new min\r\n * @param {number} newMax the new mas\r\n * @param {number} [newValue=newMin] the value to set\r\n * @param {number} [newStep=(newMax-newMin)/20] step value\r\n */\r\n setMinMaxValueStep(newMin: number, newMax: number, newValue: number, newStep: number) {\r\n this._min = newMin;\r\n this._max = newMax;\r\n\r\n newValue = typeof newValue == 'number' ? newValue : newMin;\r\n newStep = typeof newStep == 'number' ? newStep : (newMax - newMin) / 20;\r\n\r\n this._currentValue = newValue;\r\n this._step = newStep;\r\n\r\n this._$slider.prop('min', this.min.toString());\r\n this._$slider.prop('max', this.max.toString());\r\n this._$slider.prop('step', this.step.toString());\r\n this._$slider.val(this.currentValue.toString());\r\n\r\n if (this._showAsDate) {\r\n this._$valLabelMin.html(timeToLocalDateString(this._min));\r\n this._$valLabelVal.html(timeToLocalDateString(this.currentValue));\r\n this._$valLabelMax.html(timeToLocalDateString(this._max));\r\n } else {\r\n this._$valLabelMin.html(this._min.toString());\r\n this._$valLabelVal.html(this.currentValue.toString());\r\n this._$valLabelMax.html(this._max.toString());\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {mediaCallback} newFunc the callback on change\r\n */\r\n set changeFunction(newFunc: changeFunction) {\r\n this._changeFunc = newFunc;\r\n }\r\n}\r\n\r\nnm.MediaControl = MediaControl;\r\n\r\n"]} \ No newline at end of file diff --git a/dist/domUtil/range-change.d.ts b/dist/domUtil/range-change.d.ts index a8fdd4db43ba2ed5be0e6a8aabced0069125b4d9..999a0e2189e8217e93adb55837f0698408d53341 100644 --- a/dist/domUtil/range-change.d.ts +++ b/dist/domUtil/range-change.d.ts @@ -1,5 +1,7 @@ +/// <reference types="react" /> /// <reference types="jquery" /> /// <reference types="jqueryui" /> +import { ChangeEvent } from "react"; /** * callback on range change interaction, context of this is the firing dom element * @callback rangeChangeCallback @@ -17,7 +19,7 @@ export interface rangeChangedCallback { * @param ratio ratio from low to high, 0 to 1 * @param evt the original event */ - (newValue: number, ratio: number, evt: Event): any; + (newValue: number, ratio: number, evt: ChangeEvent<HTMLInputElement>): any; } /** * Add a variety of listeners for range inputs applied to a common callback diff --git a/dist/domUtil/range-change.js.map b/dist/domUtil/range-change.js.map index b0e0f8e6f2381df6aa1fc711ff10dde9bb76c042..896214d0ea4f3acb71f4eba1fe800d47cb7e7d1e 100644 --- a/dist/domUtil/range-change.js.map +++ b/dist/domUtil/range-change.js.map @@ -1 +1 @@ -{"version":3,"file":"range-change.js","sourceRoot":"","sources":["../../src/domUtil/range-change.ts"],"names":[],"mappings":";;AAAA,2CAAsC;AAGtC,IAAM,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAE9B,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,SAAS,GAAG,KAAK,CAAC;AACtB,IAAI,OAAO,GAAG,IAAI,CAAC;AACnB,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,OAAO,CAAC;AAyBZ;;GAEG;AAEH,yBAAyB,QAA8B,EAAE,GAAG;IACxD,YAAY,CAAC;IAEb,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEjC,EAAE,CAAC,CAAC,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,CAAA,CAAC;QAClB,GAAG,GAAG,GAAG,CAAC;IACd,CAAC;IAED,IAAI,OAAO,GAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;IAEzC,EAAE,CAAC,CAAC,OAAO,OAAO,IAAI,QAAQ,IAAI,GAAG,IAAK,OAAO,CAAC,CAAA,CAAC;QAC/C,MAAM,CAAC;IACX,CAAC;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QAEnB,CAAC,EAAE,aAAa,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,KAAK;IACT;;;OAGG;IACH,UAAU,GAAG;QACb,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,IAAI,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;YACzC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG;QACxB,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,OAAO,GAAG,KAAK,CAAC;YAEhB,MAAM,CAAC;QACX,CAAC;QACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;AAChB,CAAC;AAzED,kCAyEC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC","sourcesContent":["import provide from '../util/provide';\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('domUtil');\r\n\r\nlet mouseIn = false;\r\nlet mouseDown = false;\r\nlet timeout = null;\r\nlet dragged = false;\r\nlet lastVal;\r\n\r\n\r\n/**\r\n * callback on range change interaction, context of this is the firing dom element\r\n * @callback rangeChangeCallback\r\n * @param {number} newValue\r\n * @param {number} ratio value from 0 to 1 relative of the value to the min and max\r\n * @param {object} evt\r\n */\r\n\r\n/***\r\n * callback funcion after the slider has been moved\r\n */\r\nexport interface rangeChangedCallback{\r\n /**\r\n *\r\n * @param newValue new value of the slider\r\n * @param ratio ratio from low to high, 0 to 1\r\n * @param evt the original event\r\n */\r\n (newValue: number, ratio: number, evt: Event): any\r\n}\r\n\r\n\r\n/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nfunction triggerCallback(callback: rangeChangedCallback, evt) {\r\n \"use strict\";\r\n\r\n let val = parseFloat(this.value);\r\n let min = parseFloat(this.min);\r\n let max = parseFloat(this.max);\r\n let step = parseFloat(this.step);\r\n\r\n if (max - val < step){\r\n val = max;\r\n }\r\n\r\n let percent = (val - min) / (max - min);\r\n\r\n if (typeof lastVal == 'number' && val == lastVal){\r\n return;\r\n }\r\n lastVal = val;\r\n callback(val, percent, evt);\r\n}\r\n\r\n\r\n\r\n/**\r\n * Add a variety of listeners for range inputs applied to a common callback\r\n * @param $slider - jquery reference to the slider\r\n * @param {rangeChangeCallback} callback - the callback\r\n * @param {number} [changeTimeout=75] before the callback is called\r\n * @this {jQuery}\r\n * @returns {jQuery} the jQuery object\r\n */\r\nexport function rangeChange ($slider: JQuery, callback: rangeChangedCallback, changeTimeout: number) {\r\n\r\n changeTimeout = typeof changeTimeout == 'number' ? changeTimeout : 75;\r\n\r\n $slider.mouseenter(function () {\r\n mouseIn = true;\r\n });\r\n\r\n $slider.mouseleave(function () {\r\n mouseIn = false;\r\n mouseDown = false;\r\n });\r\n\r\n $slider.mousedown(function () {\r\n mouseDown = true;\r\n });\r\n\r\n $slider.mouseup(function () {\r\n mouseDown = false;\r\n });\r\n\r\n $slider.mousemove(\r\n /**\r\n *\r\n * @param {object} evt - event properties\r\n * @this {HTMLElement}\r\n */\r\n function (evt) {\r\n if (!(mouseIn && mouseDown)) {\r\n return;\r\n }\r\n\r\n dragged = true;\r\n\r\n if (lastVal == this['value']) {\r\n return;\r\n }\r\n lastVal = this['value'];\r\n\r\n if (timeout != null) {\r\n clearTimeout(timeout);\r\n }\r\n\r\n let _this = this;\r\n\r\n timeout = setTimeout(function () {\r\n triggerCallback.call(_this, callback, evt);\r\n timeout = null;\r\n\r\n }, changeTimeout);\r\n });\r\n\r\n $slider.keyup(\r\n /**\r\n *\r\n * @param {object} evt - event properties\r\n */\r\n function (evt) {\r\n if (evt.keyCode == 37 || evt.keyCode == 39) {\r\n triggerCallback.call(this, callback, evt);\r\n }\r\n });\r\n\r\n $slider.change(function (evt) {\r\n if (dragged) {\r\n dragged = false;\r\n\r\n return;\r\n }\r\n triggerCallback.call(this, callback, evt);\r\n });\r\n\r\n return this;\r\n}\r\n\r\nnm.rangeChange = rangeChange;\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"range-change.js","sourceRoot":"","sources":["../../src/domUtil/range-change.ts"],"names":[],"mappings":";;AAAA,2CAAsC;AAItC,IAAM,EAAE,GAAG,iBAAO,CAAC,SAAS,CAAC,CAAC;AAE9B,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,SAAS,GAAG,KAAK,CAAC;AACtB,IAAI,OAAO,GAAW,IAAI,CAAC;AAC3B,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,OAAe,CAAC;AAyBpB;;GAEG;AAEH,yBAAyB,QAA8B,EAAE,GAAkC;IACvF,YAAY,CAAC;IAEb,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,GAAG,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/B,IAAI,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEjC,EAAE,CAAC,CAAC,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC,CAAA,CAAC;QAClB,GAAG,GAAG,GAAG,CAAC;IACd,CAAC;IAED,IAAI,OAAO,GAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;IAEzC,EAAE,CAAC,CAAC,OAAO,OAAO,IAAI,QAAQ,IAAI,GAAG,IAAK,OAAO,CAAC,CAAA,CAAC;QAC/C,MAAM,CAAC;IACX,CAAC;IACD,OAAO,GAAG,GAAG,CAAC;IACd,QAAQ,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC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T;;;OAGG;IACH,UAAU,GAAG;QACb,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,IAAI,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;YACzC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG;QACxB,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,OAAO,GAAG,KAAK,CAAC;YAEhB,MAAM,CAAC;QACX,CAAC;QACD,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC;AAChB,CAAC;AAzED,kCAyEC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC","sourcesContent":["import provide from '../util/provide';\r\nimport $ = require('jquery');\r\nimport {ChangeEvent} from \"react\";\r\n\r\nconst nm = provide('domUtil');\r\n\r\nlet mouseIn = false;\r\nlet mouseDown = false;\r\nlet timeout: number = null;\r\nlet dragged = false;\r\nlet lastVal: number;\r\n\r\n\r\n/**\r\n * callback on range change interaction, context of this is the firing dom element\r\n * @callback rangeChangeCallback\r\n * @param {number} newValue\r\n * @param {number} ratio value from 0 to 1 relative of the value to the min and max\r\n * @param {object} evt\r\n */\r\n\r\n/***\r\n * callback funcion after the slider has been moved\r\n */\r\nexport interface rangeChangedCallback{\r\n /**\r\n *\r\n * @param newValue new value of the slider\r\n * @param ratio ratio from low to high, 0 to 1\r\n * @param evt the original event\r\n */\r\n (newValue: number, ratio: number, evt: ChangeEvent<HTMLInputElement>): any\r\n}\r\n\r\n\r\n/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nfunction triggerCallback(callback: rangeChangedCallback, evt: ChangeEvent<HTMLInputElement>) {\r\n \"use strict\";\r\n\r\n let val = parseFloat(this.value);\r\n let min = parseFloat(this.min);\r\n let max = parseFloat(this.max);\r\n let step = parseFloat(this.step);\r\n\r\n if (max - val < step){\r\n val = max;\r\n }\r\n\r\n let percent = (val - min) / (max - min);\r\n\r\n if (typeof lastVal == 'number' && val == lastVal){\r\n return;\r\n }\r\n lastVal = val;\r\n callback(val, percent, evt);\r\n}\r\n\r\n\r\n\r\n/**\r\n * Add a variety of listeners for range inputs applied to a common callback\r\n * @param $slider - jquery reference to the slider\r\n * @param {rangeChangeCallback} callback - the callback\r\n * @param {number} [changeTimeout=75] before the callback is called\r\n * @this {jQuery}\r\n * @returns {jQuery} the jQuery object\r\n */\r\nexport function rangeChange ($slider: JQuery, callback: rangeChangedCallback, changeTimeout: number) {\r\n\r\n changeTimeout = typeof changeTimeout == 'number' ? changeTimeout : 75;\r\n\r\n $slider.mouseenter(function () {\r\n mouseIn = true;\r\n });\r\n\r\n $slider.mouseleave(function () {\r\n mouseIn = false;\r\n mouseDown = false;\r\n });\r\n\r\n $slider.mousedown(function () {\r\n mouseDown = true;\r\n });\r\n\r\n $slider.mouseup(function () {\r\n mouseDown = false;\r\n });\r\n\r\n $slider.mousemove(\r\n /**\r\n *\r\n * @param {object} evt - event properties\r\n * @this {HTMLElement}\r\n */\r\n function (evt) {\r\n if (!(mouseIn && mouseDown)) {\r\n return;\r\n }\r\n\r\n dragged = true;\r\n\r\n if (lastVal == this['value']) {\r\n return;\r\n }\r\n lastVal = this['value'];\r\n\r\n if (timeout != null) {\r\n clearTimeout(timeout);\r\n }\r\n\r\n let _this = this;\r\n\r\n timeout = setTimeout(function () {\r\n triggerCallback.call(_this, callback, evt);\r\n timeout = null;\r\n\r\n }, changeTimeout);\r\n });\r\n\r\n $slider.keyup(\r\n /**\r\n *\r\n * @param {object} evt - event properties\r\n */\r\n function (evt) {\r\n if (evt.keyCode == 37 || evt.keyCode == 39) {\r\n triggerCallback.call(this, callback, evt);\r\n }\r\n });\r\n\r\n $slider.change(function (evt) {\r\n if (dragged) {\r\n dragged = false;\r\n\r\n return;\r\n }\r\n triggerCallback.call(this, callback, evt);\r\n });\r\n\r\n return this;\r\n}\r\n\r\nnm.rangeChange = rangeChange;\r\n\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerBase.d.ts b/dist/layers/LayerBase.d.ts index 77d8575f949457a7c99443b0e458d019433c3365..2b2c20c08c74b03584d92d5faeda94f028b76e30 100644 --- a/dist/layers/LayerBase.d.ts +++ b/dist/layers/LayerBase.d.ts @@ -80,8 +80,8 @@ export declare abstract class LayerBase { * add additional content to the legend * @param {string} [additionalContent=] - additonal content to add */ - addLegendContent(additionalContent: any): void; - applyCollapse(): any; + addLegendContent(additionalContent: string): void; + applyCollapse(): void; /** * trick to refresh the layer */ diff --git a/dist/layers/LayerBase.js.map b/dist/layers/LayerBase.js.map index c1c7b28eabc82b029cce9947b7ade98d33aa4563..6bd811314c2417eb7aba1837608f57e1fad2b406 100644 --- a/dist/layers/LayerBase.js.map +++ b/dist/layers/LayerBase.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerBase.js","sourceRoot":"","sources":["../../src/layers/LayerBase.ts"],"names":[],"mappings":";;AAAA,0EAA4E;AAC5E,2CAAsC;AAEtC,6CAAwC;AACxC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAmB7B;;;GAGG;AACH;IA0BI;;;;;;;;;;;;;;;;OAgBG;IACH,mBAAY,GAAW,EAAE,OAA8B;QAA9B,wBAAA,EAAA,YAA8B;QACnD,OAAO,GAAG,OAAO,IAAI,EAAsB,CAAC;QAE5C,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC;YAC1B,MAAM,aAAa,CAAC;QACxB,CAAC;QACD,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAGhB,IAAI,CAAC,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,IAAI,QAAQ,GAAG,OAAO,CAAC,MAA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I,6BAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QAC5B,CAAC;;;OAAA;IAGS,6BAAS,GAAnB;QACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAKD,sBAAI,6BAAM;QAHV;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;QAED;;WAEG;aACH,UAAW,IAAY;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACxB,CAAC;;;OAPA;IASS,6BAAS,GAAnB,UAAoB,IAAY;IAEhC,CAAC;IAKD,sBAAI,8BAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7B,CAAC;;;OAAA;IAES,8BAAU,GAApB;QACI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACL,gBAAC;AAAD,CAAC,AAxZD,IAwZC;AAxZqB,8BAAS;AA0Z/B,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,kBAAe,SAAS,CAAC","sourcesContent":["import * as zoomResolutionConvert from '../olHelpers/zoomResolutionConvert';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport makeGuid from '../util/makeGuid';\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\n\r\nexport interface LayerBaseOptions{\r\n id?: string;\r\n name?: string;\r\n opacity?: number;\r\n visible?: boolean;\r\n minZoom?: number;\r\n maxZoom?: number;\r\n params?: any;\r\n zIndex?: number;\r\n loadCallback?: Function;\r\n legendCollapse?: boolean;\r\n legendCheckbox?: boolean;\r\n legendContent?: string;\r\n}\r\n\r\n\r\n/**\r\n * The base layer class\r\n * @abstract\r\n */\r\nexport abstract class LayerBase {\r\n\r\n protected _legendCheckbox: boolean;\r\n protected _url: string;\r\n protected _opacity: number;\r\n protected _minZoom: number;\r\n protected _maxZoom: number;\r\n protected _visible: boolean;\r\n protected _loaded: boolean;\r\n protected _zIndex: number;\r\n protected _legendContent: string;\r\n protected _params: any;\r\n protected _id: string;\r\n protected _name: string;\r\n protected _source: ol.source.Source;\r\n protected _animate: boolean;\r\n protected _legendCollapse: boolean;\r\n protected _maxResolution: number;\r\n protected _minResolution: number;\r\n protected _$legendDiv: JQuery;\r\n loadCallback: Function;\r\n protected _olLayer: ol.layer.Layer;\r\n protected _applyCollapseCalled: boolean;\r\n\r\n\r\n\r\n /**\r\n * The base layer for all others\r\n * @param {string} url - url for source\r\n * @param {object} options - config\r\n * @param {string} [options.id=makeGuid()] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] - the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] - the z index for the layer\r\n * @param {function} [options.loadCallback] - function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] - if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] - if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent=undefined] - additional content to add to the legend\r\n */\r\n constructor(url: string, options: LayerBaseOptions = {}) {\r\n options = options || {} as LayerBaseOptions;\r\n\r\n if (typeof url !== 'string') {\r\n throw 'Invalid URL';\r\n }\r\n this._url = url;\r\n\r\n\r\n this._params = typeof options.params == 'object' ? options.params : {};\r\n this._legendCollapse = typeof options.legendCollapse == 'boolean' ? options.legendCollapse : false;\r\n this._legendCheckbox = typeof options.legendCheckbox == 'boolean' ? options.legendCheckbox : true;\r\n\r\n this.id = options.id || makeGuid();\r\n this._name = options.name || 'Unnamed Layer';\r\n this.animate = false;\r\n this._opacity = typeof options.opacity == 'number' ? options.opacity : 1;\r\n\r\n if (this._opacity > 1) {\r\n this._opacity = 1;\r\n } else if (this._opacity < 0) {\r\n this._opacity = 0;\r\n }\r\n\r\n this._visible = typeof options.visible === 'boolean' ? options.visible : true;\r\n\r\n this._source = undefined;\r\n\r\n /**\r\n *\r\n * @protected\r\n */\r\n this._olLayer = undefined;\r\n this._loaded = false;\r\n\r\n this._maxResolution = zoomResolutionConvert.zoomToResolution(options.minZoom);\r\n if (typeof this._maxResolution !== 'undefined') {\r\n this._maxResolution += 0.00001;\r\n }\r\n this._minResolution = zoomResolutionConvert.zoomToResolution(options.maxZoom);\r\n\r\n this._minZoom = typeof options.minZoom == 'number' ? options.minZoom : undefined;\r\n this._maxZoom = typeof options.maxZoom == 'number' ? options.maxZoom : undefined;\r\n this._zIndex = typeof options.zIndex == 'number' ? options.zIndex : 0;\r\n\r\n this.loadCallback = typeof options.loadCallback == 'function' ? options.loadCallback : function () {\r\n };\r\n\r\n\r\n this._legendContent = '';\r\n\r\n if (this._legendCheckbox) {\r\n this._legendContent += `<input type=\"checkbox\" ${this.visible ? 'checked' : ''} ` +\r\n `class=\"legend-check\" id=\"${this.id}-legend-layer-check\"><span></span>`;\r\n this._legendContent += `<label for=\"${this.id}-legend-layer-check\" class=\"legend-layer-name\">${this.name}</label>`;\r\n } else {\r\n this._legendContent += `<label class=\"legend-layer-name\">${this.name}</label>`;\r\n }\r\n\r\n this._$legendDiv = null;\r\n this._applyCollapseCalled = false;\r\n this._addLegendContent(typeof options.legendContent === 'string' ? options.legendContent : undefined);\r\n }\r\n\r\n /**\r\n * base load function, sets _loaded = true if it is not already\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n if (this.loaded == true) {\r\n return true;\r\n } else {\r\n this._loaded = true;\r\n\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * Get the legend html, be sure to only add to the DOM once\r\n * @returns {string} html for layer wrapped in a div\r\n */\r\n getLegendDiv() {\r\n return `<div class=\"legend-layer-div\" id=\"${this.id}-legend-layer-div\">${this._legendContent}</div>`;\r\n }\r\n\r\n /**\r\n *\r\n * @param additionalContent - additional content to add to legend\r\n * @private\r\n */\r\n _addLegendContent(additionalContent='') {\r\n\r\n let addCollapse = additionalContent.indexOf('<ul>') > -1;\r\n\r\n if (addCollapse) {\r\n additionalContent = '<span class=\"legend-items-expander\" title=\"Expand/Collapse\">▼</span>' + additionalContent;\r\n }\r\n\r\n this._legendContent += additionalContent;\r\n\r\n this._$legendDiv = $(`#${this.id}-legend-layer-div`);\r\n\r\n if (this._$legendDiv.length > 0) {\r\n this._$legendDiv.append(additionalContent);\r\n this.applyCollapse();\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=] - additonal content to add\r\n */\r\n addLegendContent(additionalContent) {\r\n this._addLegendContent(additionalContent);\r\n }\r\n\r\n applyCollapse() {\r\n if (this._applyCollapseCalled) {\r\n console.log('collapse already applied');\r\n\r\n return undefined;\r\n }\r\n\r\n this._$legendDiv = $(`#${this.id}-legend-layer-div`);\r\n\r\n if (this._$legendDiv.length > 0) {\r\n\r\n let $expander = this._$legendDiv.find('.legend-items-expander');\r\n\r\n if ($expander.length > 0) {\r\n this._applyCollapseCalled = true;\r\n\r\n $expander.click(function () {\r\n let $this = $(this);\r\n\r\n $this.siblings('ul').slideToggle();\r\n\r\n if ($this.hasClass('legend-layer-group-collapsed')) {\r\n $this.removeClass('legend-layer-group-collapsed');\r\n $this.html('▼');\r\n } else {\r\n $this.addClass('legend-layer-group-collapsed');\r\n $this.html('▶');\r\n }\r\n });\r\n\r\n if (this._legendCollapse) {\r\n $expander.trigger('click');\r\n }\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * trick to refresh the layer\r\n */\r\n refresh() {\r\n if (this.source) {\r\n this.source.refresh();\r\n }\r\n }\r\n\r\n get id(): string{\r\n return this._id;\r\n }\r\n\r\n set id(newId: string){\r\n this._id = newId;\r\n }\r\n\r\n get animate(): boolean{\r\n return this._animate;\r\n }\r\n\r\n set animate(animate: boolean){\r\n this._animate = animate;\r\n }\r\n\r\n /**\r\n * get the legend content\r\n * @type {string}\r\n */\r\n get legendContent() {\r\n return this._legendContent;\r\n }\r\n\r\n /**\r\n * set the legend content directly\r\n * @param {string} newVal - new content\r\n * @protected\r\n */\r\n set legendContent(newVal) {\r\n this._legendContent = newVal;\r\n }\r\n\r\n /**\r\n * get the map get params\r\n * @type {object}\r\n */\r\n get params() {\r\n return this._params;\r\n }\r\n\r\n /**\r\n * set the map get params\r\n * @param {object} newParams - new get params\r\n * @protected\r\n */\r\n set params(newParams) {\r\n this._params = newParams;\r\n }\r\n\r\n /**\r\n * get the minimum resolution\r\n * @type {number|*}\r\n */\r\n get minResolution() {\r\n return this._minResolution;\r\n }\r\n\r\n /**\r\n * get the maximum resolution\r\n * @type {number|*}\r\n */\r\n get maxResolution() {\r\n return this._maxResolution;\r\n }\r\n\r\n /**\r\n * get min zoom\r\n * @type {number|*}\r\n */\r\n get minZoom() {\r\n return this._minZoom;\r\n }\r\n\r\n /**\r\n * get max zoom\r\n * @type {number|*}\r\n */\r\n get maxZoom() {\r\n return this._maxZoom;\r\n }\r\n\r\n /**\r\n * get the url\r\n * @type {string}\r\n */\r\n get url() {\r\n return this._url;\r\n }\r\n\r\n /**\r\n * Get the layer visibility\r\n * @type {boolean}\r\n */\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n /**\r\n * set the visibility\r\n * @param visibility\r\n */\r\n set visible(visibility: boolean) {\r\n this.setVisible(visibility);\r\n }\r\n\r\n protected setVisible(visibility: boolean) {\r\n this._visible = visibility;\r\n if (this.olLayer) {\r\n this.olLayer.setVisible(this._visible);\r\n if (visibility && !this._loaded) {\r\n this._load();\r\n }\r\n }\r\n }\r\n\r\n\r\n /**\r\n * Get the layer opacity\r\n * @type {number}\r\n */\r\n get opacity() {\r\n return this._opacity;\r\n }\r\n\r\n /**\r\n * Set the layer opacity\r\n * @param {number} opacity - layer opacity\r\n */\r\n set opacity(opacity) {\r\n this._opacity = opacity;\r\n if (this.olLayer) {\r\n this.olLayer.setOpacity(this._opacity);\r\n }\r\n }\r\n\r\n /**\r\n * Get the layer name\r\n * @type {string}\r\n */\r\n get name() {\r\n return this._name;\r\n }\r\n\r\n /**\r\n * set the layer name\r\n * @param {string} newName - the new name\r\n */\r\n set name(newName) {\r\n this._name = newName;\r\n }\r\n\r\n /**\r\n * Check if the layer is loaded\r\n * @type {boolean}\r\n */\r\n get loaded() {\r\n return this._loaded;\r\n }\r\n\r\n /**\r\n * get the layer source\r\n * @type {*}\r\n */\r\n get source(): ol.source.Source {\r\n return this.getSource();\r\n }\r\n\r\n\r\n protected getSource(): ol.source.Source{\r\n return this._source;\r\n }\r\n\r\n /**\r\n * get the z index\r\n */\r\n get zIndex(): number {\r\n return this._zIndex;\r\n }\r\n\r\n /**\r\n * set the z index\r\n */\r\n set zIndex(newZ: number) {\r\n this._zIndex = newZ;\r\n }\r\n\r\n protected setZIndex(newZ: number){\r\n\r\n }\r\n\r\n /**\r\n * the the ol layer\r\n */\r\n get olLayer(): ol.layer.Layer {\r\n return this.getOlLayer();\r\n }\r\n\r\n protected getOlLayer(): ol.layer.Layer{\r\n return this._olLayer;\r\n }\r\n}\r\n\r\nnm.LayerBase = LayerBase;\r\nexport default LayerBase;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerBase.js","sourceRoot":"","sources":["../../src/layers/LayerBase.ts"],"names":[],"mappings":";;AAAA,0EAA4E;AAC5E,2CAAsC;AAEtC,6CAAwC;AACxC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAmB7B;;;GAGG;AACH;IA0BI;;;;;;;;;;;;;;;;OAgBG;IACH,mBAAY,GAAW,EAAE,OAA8B;QAA9B,wBAAA,EAAA,YAA8B;QACnD,OAAO,GAAG,OAAO,IAAI,EAAsB,CAAC;QAE5C,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC;YAC1B,MAAM,aAAa,CAAC;QACxB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CAAC;QACzB,CAAC;;;OARA;IAcD,sBAAI,6BAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;;;OAAA;IAMD,sBAAI,6BAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;QAC5B,CAAC;;;OAAA;IAGS,6BAAS,GAAnB;QACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAKD,sBAAI,6BAAM;QAHV;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;QAED;;WAEG;aACH,UAAW,IAAY;YACnB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACxB,CAAC;;;OAPA;IASS,6BAAS,GAAnB,UAAoB,IAAY;IAEhC,CAAC;IAKD,sBAAI,8BAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC;QAC7B,CAAC;;;OAAA;IAES,8BAAU,GAApB;QACI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACL,gBAAC;AAAD,CAAC,AAxZD,IAwZC;AAxZqB,8BAAS;AA0Z/B,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,kBAAe,SAAS,CAAC","sourcesContent":["import * as zoomResolutionConvert from '../olHelpers/zoomResolutionConvert';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport makeGuid from '../util/makeGuid';\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\n\r\nexport interface LayerBaseOptions{\r\n id?: string;\r\n name?: string;\r\n opacity?: number;\r\n visible?: boolean;\r\n minZoom?: number;\r\n maxZoom?: number;\r\n params?: any;\r\n zIndex?: number;\r\n loadCallback?: Function;\r\n legendCollapse?: boolean;\r\n legendCheckbox?: boolean;\r\n legendContent?: string;\r\n}\r\n\r\n\r\n/**\r\n * The base layer class\r\n * @abstract\r\n */\r\nexport abstract class LayerBase {\r\n\r\n protected _legendCheckbox: boolean;\r\n protected _url: string;\r\n protected _opacity: number;\r\n protected _minZoom: number;\r\n protected _maxZoom: number;\r\n protected _visible: boolean;\r\n protected _loaded: boolean;\r\n protected _zIndex: number;\r\n protected _legendContent: string;\r\n protected _params: any;\r\n protected _id: string;\r\n protected _name: string;\r\n protected _source: ol.source.Source;\r\n protected _animate: boolean;\r\n protected _legendCollapse: boolean;\r\n protected _maxResolution: number;\r\n protected _minResolution: number;\r\n protected _$legendDiv: JQuery;\r\n loadCallback: Function;\r\n protected _olLayer: ol.layer.Layer;\r\n protected _applyCollapseCalled: boolean;\r\n\r\n\r\n\r\n /**\r\n * The base layer for all others\r\n * @param {string} url - url for source\r\n * @param {object} options - config\r\n * @param {string} [options.id=makeGuid()] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] - the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] - the z index for the layer\r\n * @param {function} [options.loadCallback] - function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] - if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] - if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent=undefined] - additional content to add to the legend\r\n */\r\n constructor(url: string, options: LayerBaseOptions = {}) {\r\n options = options || {} as LayerBaseOptions;\r\n\r\n if (typeof url !== 'string') {\r\n throw 'Invalid URL';\r\n }\r\n this._url = url;\r\n\r\n\r\n this._params = typeof options.params == 'object' ? options.params : {};\r\n this._legendCollapse = typeof options.legendCollapse == 'boolean' ? options.legendCollapse : false;\r\n this._legendCheckbox = typeof options.legendCheckbox == 'boolean' ? options.legendCheckbox : true;\r\n\r\n this.id = options.id || makeGuid();\r\n this._name = options.name || 'Unnamed Layer';\r\n this.animate = false;\r\n this._opacity = typeof options.opacity == 'number' ? options.opacity : 1;\r\n\r\n if (this._opacity > 1) {\r\n this._opacity = 1;\r\n } else if (this._opacity < 0) {\r\n this._opacity = 0;\r\n }\r\n\r\n this._visible = typeof options.visible === 'boolean' ? options.visible : true;\r\n\r\n this._source = undefined;\r\n\r\n /**\r\n *\r\n * @protected\r\n */\r\n this._olLayer = undefined;\r\n this._loaded = false;\r\n\r\n this._maxResolution = zoomResolutionConvert.zoomToResolution(options.minZoom);\r\n if (typeof this._maxResolution !== 'undefined') {\r\n this._maxResolution += 0.00001;\r\n }\r\n this._minResolution = zoomResolutionConvert.zoomToResolution(options.maxZoom);\r\n\r\n this._minZoom = typeof options.minZoom == 'number' ? options.minZoom : undefined;\r\n this._maxZoom = typeof options.maxZoom == 'number' ? options.maxZoom : undefined;\r\n this._zIndex = typeof options.zIndex == 'number' ? options.zIndex : 0;\r\n\r\n this.loadCallback = typeof options.loadCallback == 'function' ? options.loadCallback : function () {\r\n };\r\n\r\n\r\n this._legendContent = '';\r\n\r\n if (this._legendCheckbox) {\r\n this._legendContent += `<input type=\"checkbox\" ${this.visible ? 'checked' : ''} ` +\r\n `class=\"legend-check\" id=\"${this.id}-legend-layer-check\"><span></span>`;\r\n this._legendContent += `<label for=\"${this.id}-legend-layer-check\" class=\"legend-layer-name\">${this.name}</label>`;\r\n } else {\r\n this._legendContent += `<label class=\"legend-layer-name\">${this.name}</label>`;\r\n }\r\n\r\n this._$legendDiv = null;\r\n this._applyCollapseCalled = false;\r\n this._addLegendContent(typeof options.legendContent === 'string' ? options.legendContent : undefined);\r\n }\r\n\r\n /**\r\n * base load function, sets _loaded = true if it is not already\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n if (this.loaded == true) {\r\n return true;\r\n } else {\r\n this._loaded = true;\r\n\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * Get the legend html, be sure to only add to the DOM once\r\n * @returns {string} html for layer wrapped in a div\r\n */\r\n getLegendDiv() {\r\n return `<div class=\"legend-layer-div\" id=\"${this.id}-legend-layer-div\">${this._legendContent}</div>`;\r\n }\r\n\r\n /**\r\n *\r\n * @param additionalContent - additional content to add to legend\r\n * @private\r\n */\r\n _addLegendContent(additionalContent='') {\r\n\r\n let addCollapse = additionalContent.indexOf('<ul>') > -1;\r\n\r\n if (addCollapse) {\r\n additionalContent = '<span class=\"legend-items-expander\" title=\"Expand/Collapse\">▼</span>' + additionalContent;\r\n }\r\n\r\n this._legendContent += additionalContent;\r\n\r\n this._$legendDiv = $(`#${this.id}-legend-layer-div`);\r\n\r\n if (this._$legendDiv.length > 0) {\r\n this._$legendDiv.append(additionalContent);\r\n this.applyCollapse();\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=] - additonal content to add\r\n */\r\n addLegendContent(additionalContent: string) {\r\n this._addLegendContent(additionalContent);\r\n }\r\n\r\n applyCollapse(): void {\r\n if (this._applyCollapseCalled) {\r\n console.log('collapse already applied');\r\n\r\n return undefined;\r\n }\r\n\r\n this._$legendDiv = $(`#${this.id}-legend-layer-div`);\r\n\r\n if (this._$legendDiv.length > 0) {\r\n\r\n let $expander = this._$legendDiv.find('.legend-items-expander');\r\n\r\n if ($expander.length > 0) {\r\n this._applyCollapseCalled = true;\r\n\r\n $expander.click(function () {\r\n let $this = $(this);\r\n\r\n $this.siblings('ul').slideToggle();\r\n\r\n if ($this.hasClass('legend-layer-group-collapsed')) {\r\n $this.removeClass('legend-layer-group-collapsed');\r\n $this.html('▼');\r\n } else {\r\n $this.addClass('legend-layer-group-collapsed');\r\n $this.html('▶');\r\n }\r\n });\r\n\r\n if (this._legendCollapse) {\r\n $expander.trigger('click');\r\n }\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * trick to refresh the layer\r\n */\r\n refresh() {\r\n if (this.source) {\r\n this.source.refresh();\r\n }\r\n }\r\n\r\n get id(): string{\r\n return this._id;\r\n }\r\n\r\n set id(newId: string){\r\n this._id = newId;\r\n }\r\n\r\n get animate(): boolean{\r\n return this._animate;\r\n }\r\n\r\n set animate(animate: boolean){\r\n this._animate = animate;\r\n }\r\n\r\n /**\r\n * get the legend content\r\n * @type {string}\r\n */\r\n get legendContent() {\r\n return this._legendContent;\r\n }\r\n\r\n /**\r\n * set the legend content directly\r\n * @param {string} newVal - new content\r\n * @protected\r\n */\r\n set legendContent(newVal) {\r\n this._legendContent = newVal;\r\n }\r\n\r\n /**\r\n * get the map get params\r\n * @type {object}\r\n */\r\n get params() {\r\n return this._params;\r\n }\r\n\r\n /**\r\n * set the map get params\r\n * @param {object} newParams - new get params\r\n * @protected\r\n */\r\n set params(newParams) {\r\n this._params = newParams;\r\n }\r\n\r\n /**\r\n * get the minimum resolution\r\n * @type {number|*}\r\n */\r\n get minResolution() {\r\n return this._minResolution;\r\n }\r\n\r\n /**\r\n * get the maximum resolution\r\n * @type {number|*}\r\n */\r\n get maxResolution() {\r\n return this._maxResolution;\r\n }\r\n\r\n /**\r\n * get min zoom\r\n * @type {number|*}\r\n */\r\n get minZoom() {\r\n return this._minZoom;\r\n }\r\n\r\n /**\r\n * get max zoom\r\n * @type {number|*}\r\n */\r\n get maxZoom() {\r\n return this._maxZoom;\r\n }\r\n\r\n /**\r\n * get the url\r\n * @type {string}\r\n */\r\n get url() {\r\n return this._url;\r\n }\r\n\r\n /**\r\n * Get the layer visibility\r\n * @type {boolean}\r\n */\r\n get visible(): boolean {\r\n return this._visible;\r\n }\r\n\r\n /**\r\n * set the visibility\r\n * @param visibility\r\n */\r\n set visible(visibility: boolean) {\r\n this.setVisible(visibility);\r\n }\r\n\r\n protected setVisible(visibility: boolean) {\r\n this._visible = visibility;\r\n if (this.olLayer) {\r\n this.olLayer.setVisible(this._visible);\r\n if (visibility && !this._loaded) {\r\n this._load();\r\n }\r\n }\r\n }\r\n\r\n\r\n /**\r\n * Get the layer opacity\r\n * @type {number}\r\n */\r\n get opacity() {\r\n return this._opacity;\r\n }\r\n\r\n /**\r\n * Set the layer opacity\r\n * @param {number} opacity - layer opacity\r\n */\r\n set opacity(opacity) {\r\n this._opacity = opacity;\r\n if (this.olLayer) {\r\n this.olLayer.setOpacity(this._opacity);\r\n }\r\n }\r\n\r\n /**\r\n * Get the layer name\r\n * @type {string}\r\n */\r\n get name() {\r\n return this._name;\r\n }\r\n\r\n /**\r\n * set the layer name\r\n * @param {string} newName - the new name\r\n */\r\n set name(newName) {\r\n this._name = newName;\r\n }\r\n\r\n /**\r\n * Check if the layer is loaded\r\n * @type {boolean}\r\n */\r\n get loaded() {\r\n return this._loaded;\r\n }\r\n\r\n /**\r\n * get the layer source\r\n * @type {*}\r\n */\r\n get source(): ol.source.Source {\r\n return this.getSource();\r\n }\r\n\r\n\r\n protected getSource(): ol.source.Source{\r\n return this._source;\r\n }\r\n\r\n /**\r\n * get the z index\r\n */\r\n get zIndex(): number {\r\n return this._zIndex;\r\n }\r\n\r\n /**\r\n * set the z index\r\n */\r\n set zIndex(newZ: number) {\r\n this._zIndex = newZ;\r\n }\r\n\r\n protected setZIndex(newZ: number){\r\n\r\n }\r\n\r\n /**\r\n * the the ol layer\r\n */\r\n get olLayer(): ol.layer.Layer {\r\n return this.getOlLayer();\r\n }\r\n\r\n protected getOlLayer(): ol.layer.Layer{\r\n return this._olLayer;\r\n }\r\n}\r\n\r\nnm.LayerBase = LayerBase;\r\nexport default LayerBase;\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerBaseVector.d.ts b/dist/layers/LayerBaseVector.d.ts index b0e8940ca8b342f9e1c7a9216f69460699004ef5..c42cc1a99c3fd41ca9dbae727ed03fa74a344613 100644 --- a/dist/layers/LayerBaseVector.d.ts +++ b/dist/layers/LayerBaseVector.d.ts @@ -8,7 +8,12 @@ export interface makeMapMoveParams { * @param extent * @param zoomLevel */ - (lyr: LayerBaseVector, extent: Array<number>, zoomLevel?: number): any; + (lyr: LayerBaseVector, extent: { + minX: number; + minY: number; + maxX: number; + maxY: number; + }, zoomLevel?: number): any; } export interface LayerBaseVectorOptions extends LayerBaseOptions { autoLoad?: boolean; @@ -66,14 +71,14 @@ export declare class LayerBaseVector extends LayerBase { * dummy to be overridden * @param {object} featureCollection - geojson or esrijson object */ - addFeatures(featureCollection: any): void; + addFeatures(featureCollection: Object): void; /** * Before call to map move callback, can prevent call by returning false * @param {number} zoom - zoom level * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution' * @returns {boolean} if the call should proceed */ - mapMoveBefore(zoom: any, evtType: any): boolean; + mapMoveBefore(zoom: number, evtType: string): boolean; /** * callback to generate the parameters passed in the get request * @param {object} extent - extent object @@ -83,12 +88,17 @@ export declare class LayerBaseVector extends LayerBase { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent: any, zoomLevel: any): void; + mapMoveMakeGetParams(extent: { + minX: number; + minY: number; + maxX: number; + maxY: number; + }, zoomLevel: number): void; /** * callback function on map move * @param {object} d - the json response */ - mapMoveCallback(d: any): void; + mapMoveCallback(d: Object): void; /** * clear features in the layer */ diff --git a/dist/layers/LayerBaseVector.js.map b/dist/layers/LayerBaseVector.js.map index d826bdf77c9aad96299787050e835a51dead406f..482cee9ac88e55522f517ab70f2fafecefc86340 100644 --- a/dist/layers/LayerBaseVector.js.map +++ b/dist/layers/LayerBaseVector.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerBaseVector.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwD;AACxD,gDAA2C;AAE3C,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AA4B7B;;;;GAIG;AACH;IAAqC,mCAAS;IAe1C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,yBAAY,GAAW,EAAE,OAAoC;QAApC,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AAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;QACL,CAAC;;;OAbA;IAmBD,sBAAI,mCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAsB,CAAC;QAChD,CAAC;;;OAAA;IAKD,sBAAI,qCAAQ;QAHZ;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QACrC,CAAC;;;OAAA;IAKD,sBAAI,oCAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,iBAAM,UAAU,WAAqB,CAAC;QACjD,CAAC;;;OAAA;IAES,mCAAS,GAAnB,UAAoB,IAAY;QAC5B,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IACL,sBAAC;AAAD,CAAC,AAhRD,CAAqC,qBAAS,GAgR7C;AAhRY,0CAAe;AAkR5B,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AACrC,kBAAe,eAAe,CAAC","sourcesContent":["import {LayerBase, LayerBaseOptions} from './LayerBase';\r\nimport mapMove from '../olHelpers/mapMove';\r\nimport MapMoveCls from '../olHelpers/mapMoveCls'\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\nexport interface makeMapMoveParams {\r\n /**\r\n *\r\n * @param lyr\r\n * @param extent\r\n * @param zoomLevel\r\n */\r\n (lyr: LayerBaseVector, extent: Array<number>, zoomLevel?: number): any\r\n}\r\n\r\n\r\n\r\n\r\nexport interface LayerBaseVectorOptions extends LayerBaseOptions{\r\n autoLoad?: boolean;\r\n style?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n onDemand?: boolean;\r\n onDemandDelay?: number;\r\n mapMoveMakeGetParams?: makeMapMoveParams;\r\n mapMoveObj?: MapMoveCls;\r\n renderOrder?: (a: ol.Feature, b: ol.Feature) => number;\r\n\r\n}\r\n\r\n\r\n\r\n/**\r\n * The Vector layer base\r\n * @augments LayerBase\r\n * @abstract\r\n */\r\nexport class LayerBaseVector extends LayerBase {\r\n _olLayer: ol.layer.Vector;\r\n _source: ol.source.Vector;\r\n _style: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n _autoLoad: boolean;\r\n _onDemand: boolean;\r\n _onDemandDelay: number;\r\n _mapMoveMakeGetParams: makeMapMoveParams;\r\n _mapMoveParams: any;\r\n _mapMove: MapMoveCls;\r\n _projectionMap: ol.proj.Projection;\r\n _projection4326: ol.proj.Projection;\r\n\r\n\r\n\r\n /**\r\n * The base vector layer\r\n * @param {string} url - pass an empty string to prevent default load and add from a json source\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n */\r\n constructor(url: string, options: LayerBaseVectorOptions = {}) {\r\n super(url, options);\r\n\r\n options = options as LayerBaseVectorOptions;\r\n\r\n //prevent regular load if no url has been provided\r\n if (this.url.trim() == '') {\r\n this._loaded = true;\r\n }\r\n\r\n this._style = typeof options.style == 'undefined' ? undefined : options.style;\r\n\r\n if (this.visible) {\r\n this._autoLoad = true;\r\n } else {\r\n this._autoLoad = (typeof options['autoLoad'] == 'boolean' ? options['autoLoad'] : false);\r\n }\r\n\r\n this._onDemand = typeof options.onDemand == 'boolean' ? options.onDemand : false;\r\n this._onDemandDelay = typeof options.onDemandDelay == 'number' ? options.onDemandDelay : 300;\r\n\r\n if (options.mapMoveObj) {\r\n this._mapMove = options.mapMoveObj;\r\n } else {\r\n this._mapMove = this._onDemand ? mapMove : undefined;\r\n }\r\n\r\n\r\n this._mapMoveMakeGetParams = typeof options.mapMoveMakeGetParams == 'function' ? options.mapMoveMakeGetParams :\r\n function () {return {};};\r\n\r\n if (this._onDemand) {\r\n this._loaded = true;\r\n this._mapMoveParams = {};\r\n this._mapMove.checkInit();\r\n this._mapMove.addVectorLayer(this);\r\n }\r\n\r\n this._source = new ol.source.Vector();\r\n\r\n\r\n this._olLayer = new ol.layer.Vector(\r\n {\r\n source: this._source,\r\n visible: this.visible,\r\n style: this.style,\r\n minResolution: this._minResolution,\r\n maxResolution: this._maxResolution,\r\n renderOrder: options.renderOrder\r\n }\r\n );\r\n\r\n this.olLayer.setZIndex(this._zIndex);\r\n\r\n\r\n this._projectionMap = null;\r\n this._projection4326 = new ol.proj.Projection({code: \"EPSG:4326\"});\r\n }\r\n\r\n /**\r\n * dummy to be overridden\r\n * @param {object} featureCollection - geojson or esrijson object\r\n */\r\n addFeatures(featureCollection) {\r\n console.log('Layer vector base addFeatures is a placeholder and does nothing');\r\n }\r\n\r\n /**\r\n * Before call to map move callback, can prevent call by returning false\r\n * @param {number} zoom - zoom level\r\n * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'\r\n * @returns {boolean} if the call should proceed\r\n */\r\n mapMoveBefore(zoom, evtType) {\r\n if (this.minZoom !== undefined) {\r\n if (zoom < this.minZoom) {\r\n return false;\r\n }\r\n }\r\n\r\n if (this.maxZoom !== undefined) {\r\n if (zoom > this.maxZoom) {\r\n return false;\r\n }\r\n }\r\n\r\n return this.visible;\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent, zoomLevel) {\r\n this._mapMoveParams = {};\r\n $.extend(this._mapMoveParams, this.params);\r\n $.extend(this._mapMoveParams, this._mapMoveMakeGetParams(this, extent, zoomLevel));\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d - the json response\r\n */\r\n mapMoveCallback(d) {\r\n if (this.source) {\r\n this._source.clear();\r\n }\r\n }\r\n\r\n /**\r\n * clear features in the layer\r\n */\r\n clear() {\r\n if (this._source) {\r\n this._source.clear();\r\n }\r\n }\r\n\r\n /**\r\n * get on demand delay in miliseconds\r\n */\r\n get onDemandDelay(): number {\r\n return this._onDemandDelay;\r\n }\r\n\r\n /**\r\n * get if the layer is autoloaded\r\n */\r\n get autoLoad(): boolean {\r\n return this._autoLoad;\r\n }\r\n\r\n /**\r\n * get the style definition\r\n */\r\n get style(): ol.StyleFunction|Array<ol.style.Style>|ol.style.Style {\r\n return this._style;\r\n }\r\n\r\n /**\r\n * set the style\r\n * @param style - the style or function\r\n */\r\n set style(style: ol.StyleFunction|Array<ol.style.Style>|ol.style.Style) {\r\n this._style = style;\r\n this.olLayer.setStyle(this._style as ol.style.Style);\r\n }\r\n\r\n /**\r\n * get the map CRS if it is defined by the map move object\r\n */\r\n get mapCrs(): string {\r\n return this.mapProj == null ? null : this.mapProj.getCode();\r\n }\r\n\r\n get mapProj(): ol.proj.Projection{\r\n if (this._projectionMap != null){\r\n return this._projectionMap;\r\n }\r\n\r\n if (this._mapMove) {\r\n this._projectionMap = this._mapMove.map.getView().getProjection();\r\n return this._projectionMap;\r\n } else {\r\n return null;\r\n }\r\n\r\n }\r\n\r\n /**\r\n * get the map move object\r\n * @type {MapMoveCls|*}\r\n */\r\n get mapMove(): MapMoveCls {\r\n return this._mapMove;\r\n }\r\n\r\n /**\r\n * map move params\r\n * @type {object}\r\n */\r\n get mapMoveParams() {\r\n return this._mapMoveParams;\r\n }\r\n\r\n get visible(): boolean{\r\n return this._visible;\r\n }\r\n\r\n /**\r\n * Set the layer visibility\r\n * @type {boolean}\r\n * @override\r\n */\r\n set visible(visibility) {\r\n super.setVisible(visibility);\r\n\r\n if (this._onDemand) {\r\n this.mapMove.triggerLyrLoad(this);\r\n }\r\n }\r\n\r\n /**\r\n * get the layer vector source\r\n * @override\r\n */\r\n get source(): ol.source.Vector {\r\n return this.getSource() as ol.source.Vector;\r\n }\r\n\r\n /**\r\n * array of ol features\r\n */\r\n get features(): Array<ol.Feature> {\r\n return this.source.getFeatures();\r\n }\r\n\r\n /**\r\n *\r\n */\r\n get olLayer(): ol.layer.Vector {\r\n return super.getOlLayer() as ol.layer.Vector;\r\n }\r\n\r\n protected setZIndex(newZ: number) {\r\n this.olLayer.setZIndex(newZ);\r\n }\r\n}\r\n\r\nnm.LayerBaseVector = LayerBaseVector;\r\nexport default LayerBaseVector;\r\n\r\n\r\n\r\n\r\n\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerBaseVector.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwD;AACxD,gDAA2C;AAE3C,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AA4B7B;;;;GAIG;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AAC;QAED;;;;WAIG;aACH,UAAY,UAAU;YAClB,iBAAM,UAAU,YAAC,UAAU,CAAC,CAAC;YAE7B,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;gBACjB,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YACtC,CAAC;QACL,CAAC;;;OAbA;IAmBD,sBAAI,mCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAsB,CAAC;QAChD,CAAC;;;OAAA;IAKD,sBAAI,qCAAQ;QAHZ;;WAEG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QACrC,CAAC;;;OAAA;IAKD,sBAAI,oCAAO;QAHX;;WAEG;aACH;YACI,MAAM,CAAC,iBAAM,UAAU,WAAqB,CAAC;QACjD,CAAC;;;OAAA;IAES,mCAAS,GAAnB,UAAoB,IAAY;QAC5B,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IACL,sBAAC;AAAD,CAAC,AA/QD,CAAqC,qBAAS,GA+Q7C;AA/QY,0CAAe;AAiR5B,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AACrC,kBAAe,eAAe,CAAC","sourcesContent":["import {LayerBase, LayerBaseOptions} from './LayerBase';\r\nimport mapMove from '../olHelpers/mapMove';\r\nimport MapMoveCls from '../olHelpers/mapMoveCls'\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\nexport interface makeMapMoveParams {\r\n /**\r\n *\r\n * @param lyr\r\n * @param extent\r\n * @param zoomLevel\r\n */\r\n (lyr: LayerBaseVector, extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel?: number): any\r\n}\r\n\r\n\r\n\r\n\r\nexport interface LayerBaseVectorOptions extends LayerBaseOptions{\r\n autoLoad?: boolean;\r\n style?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n onDemand?: boolean;\r\n onDemandDelay?: number;\r\n mapMoveMakeGetParams?: makeMapMoveParams;\r\n mapMoveObj?: MapMoveCls;\r\n renderOrder?: (a: ol.Feature, b: ol.Feature) => number;\r\n\r\n}\r\n\r\n\r\n\r\n/**\r\n * The Vector layer base\r\n * @augments LayerBase\r\n * @abstract\r\n */\r\nexport class LayerBaseVector extends LayerBase {\r\n _olLayer: ol.layer.Vector;\r\n _source: ol.source.Vector;\r\n _style: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n _autoLoad: boolean;\r\n _onDemand: boolean;\r\n _onDemandDelay: number;\r\n _mapMoveMakeGetParams: makeMapMoveParams;\r\n _mapMoveParams: any;\r\n _mapMove: MapMoveCls;\r\n _projectionMap: ol.proj.Projection;\r\n _projection4326: ol.proj.Projection;\r\n\r\n\r\n\r\n /**\r\n * The base vector layer\r\n * @param {string} url - pass an empty string to prevent default load and add from a json source\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n */\r\n constructor(url: string, options: LayerBaseVectorOptions = {}) {\r\n super(url, options);\r\n\r\n options = options as LayerBaseVectorOptions;\r\n\r\n //prevent regular load if no url has been provided\r\n if (this.url.trim() == '') {\r\n this._loaded = true;\r\n }\r\n\r\n this._style = typeof options.style == 'undefined' ? undefined : options.style;\r\n\r\n if (this.visible) {\r\n this._autoLoad = true;\r\n } else {\r\n this._autoLoad = (typeof options['autoLoad'] == 'boolean' ? options['autoLoad'] : false);\r\n }\r\n\r\n this._onDemand = typeof options.onDemand == 'boolean' ? options.onDemand : false;\r\n this._onDemandDelay = typeof options.onDemandDelay == 'number' ? options.onDemandDelay : 300;\r\n\r\n if (options.mapMoveObj) {\r\n this._mapMove = options.mapMoveObj;\r\n } else {\r\n this._mapMove = this._onDemand ? mapMove : undefined;\r\n }\r\n\r\n\r\n this._mapMoveMakeGetParams = typeof options.mapMoveMakeGetParams == 'function' ? options.mapMoveMakeGetParams :\r\n function () {return {};};\r\n\r\n if (this._onDemand) {\r\n this._loaded = true;\r\n this._mapMoveParams = {};\r\n this._mapMove.checkInit();\r\n this._mapMove.addVectorLayer(this);\r\n }\r\n\r\n this._source = new ol.source.Vector();\r\n\r\n\r\n this._olLayer = new ol.layer.Vector(\r\n {\r\n source: this._source,\r\n visible: this.visible,\r\n style: this.style,\r\n minResolution: this._minResolution,\r\n maxResolution: this._maxResolution,\r\n renderOrder: options.renderOrder\r\n }\r\n );\r\n\r\n this.olLayer.setZIndex(this._zIndex);\r\n\r\n this._projectionMap = null;\r\n this._projection4326 = new ol.proj.Projection({code: \"EPSG:4326\"});\r\n }\r\n\r\n /**\r\n * dummy to be overridden\r\n * @param {object} featureCollection - geojson or esrijson object\r\n */\r\n addFeatures(featureCollection: Object) {\r\n console.log('Layer vector base addFeatures is a placeholder and does nothing');\r\n }\r\n\r\n /**\r\n * Before call to map move callback, can prevent call by returning false\r\n * @param {number} zoom - zoom level\r\n * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'\r\n * @returns {boolean} if the call should proceed\r\n */\r\n mapMoveBefore(zoom: number, evtType: string) {\r\n if (this.minZoom !== undefined) {\r\n if (zoom < this.minZoom) {\r\n return false;\r\n }\r\n }\r\n\r\n if (this.maxZoom !== undefined) {\r\n if (zoom > this.maxZoom) {\r\n return false;\r\n }\r\n }\r\n\r\n return this.visible;\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel: number) {\r\n this._mapMoveParams = {};\r\n $.extend(this._mapMoveParams, this.params);\r\n $.extend(this._mapMoveParams, this._mapMoveMakeGetParams(this, extent, zoomLevel));\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d - the json response\r\n */\r\n mapMoveCallback(d: Object) {\r\n if (this.source) {\r\n this._source.clear();\r\n }\r\n }\r\n\r\n /**\r\n * clear features in the layer\r\n */\r\n clear() {\r\n if (this._source) {\r\n this._source.clear();\r\n }\r\n }\r\n\r\n /**\r\n * get on demand delay in miliseconds\r\n */\r\n get onDemandDelay(): number {\r\n return this._onDemandDelay;\r\n }\r\n\r\n /**\r\n * get if the layer is autoloaded\r\n */\r\n get autoLoad(): boolean {\r\n return this._autoLoad;\r\n }\r\n\r\n /**\r\n * get the style definition\r\n */\r\n get style(): ol.StyleFunction|Array<ol.style.Style>|ol.style.Style {\r\n return this._style;\r\n }\r\n\r\n /**\r\n * set the style\r\n * @param style - the style or function\r\n */\r\n set style(style: ol.StyleFunction|Array<ol.style.Style>|ol.style.Style) {\r\n this._style = style;\r\n this.olLayer.setStyle(this._style as ol.style.Style);\r\n }\r\n\r\n /**\r\n * get the map CRS if it is defined by the map move object\r\n */\r\n get mapCrs(): string {\r\n return this.mapProj == null ? null : this.mapProj.getCode();\r\n }\r\n\r\n get mapProj(): ol.proj.Projection{\r\n if (this._projectionMap != null){\r\n return this._projectionMap;\r\n }\r\n\r\n if (this._mapMove) {\r\n this._projectionMap = this._mapMove.map.getView().getProjection();\r\n return this._projectionMap;\r\n } else {\r\n return null;\r\n }\r\n\r\n }\r\n\r\n /**\r\n * get the map move object\r\n * @type {MapMoveCls|*}\r\n */\r\n get mapMove(): MapMoveCls {\r\n return this._mapMove;\r\n }\r\n\r\n /**\r\n * map move params\r\n * @type {object}\r\n */\r\n get mapMoveParams() {\r\n return this._mapMoveParams;\r\n }\r\n\r\n get visible(): boolean{\r\n return this._visible;\r\n }\r\n\r\n /**\r\n * Set the layer visibility\r\n * @type {boolean}\r\n * @override\r\n */\r\n set visible(visibility) {\r\n super.setVisible(visibility);\r\n\r\n if (this._onDemand) {\r\n this.mapMove.triggerLyrLoad(this);\r\n }\r\n }\r\n\r\n /**\r\n * get the layer vector source\r\n * @override\r\n */\r\n get source(): ol.source.Vector {\r\n return this.getSource() as ol.source.Vector;\r\n }\r\n\r\n /**\r\n * array of ol features\r\n */\r\n get features(): Array<ol.Feature> {\r\n return this.source.getFeatures();\r\n }\r\n\r\n /**\r\n *\r\n */\r\n get olLayer(): ol.layer.Vector {\r\n return super.getOlLayer() as ol.layer.Vector;\r\n }\r\n\r\n protected setZIndex(newZ: number) {\r\n this.olLayer.setZIndex(newZ);\r\n }\r\n}\r\n\r\nnm.LayerBaseVector = LayerBaseVector;\r\nexport default LayerBaseVector;\r\n\r\n\r\n\r\n\r\n\r\n\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerBaseVectorEsri.d.ts b/dist/layers/LayerBaseVectorEsri.d.ts index bf9cb05ecfaae7ef73d67986a41452b1dc492bed..c1f52cf1062cf5386eab963711dc8f1ab6447201 100644 --- a/dist/layers/LayerBaseVectorEsri.d.ts +++ b/dist/layers/LayerBaseVectorEsri.d.ts @@ -60,7 +60,7 @@ export declare class LayerBaseVectorEsri extends LayerBaseVector { * add feature collection * @param {object} featureCollection - features as esrijson */ - addFeatures(featureCollection: any): void; + addFeatures(featureCollection: Object): void; /** * trigger load features * @protected @@ -76,18 +76,23 @@ export declare class LayerBaseVectorEsri extends LayerBaseVector { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent: any, zoomLevel: any): void; + mapMoveMakeGetParams(extent: { + minX: number; + minY: number; + maxX: number; + maxY: number; + }, zoomLevel: number): void; /** * Before call to map move callback, can prevent call by returning false * @param {number} zoom - zoom level * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution' * @returns {boolean} if the call should proceed */ - mapMoveBefore(zoom: any, evtType: any): boolean; + mapMoveBefore(zoom: number, evtType: string): boolean; /** * callback function on map move * @param {object} d - the json response */ - mapMoveCallback(d: any): void; + mapMoveCallback(d: Object): void; } export default LayerBaseVectorEsri; diff --git a/dist/layers/LayerBaseVectorEsri.js.map b/dist/layers/LayerBaseVectorEsri.js.map index 3d0025f1ce267d33b806cb9f5b2bbc01a31b4406..387c63e37fa7e0b449883174676ce9f735ad449d 100644 --- a/dist/layers/LayerBaseVectorEsri.js.map +++ b/dist/layers/LayerBaseVectorEsri.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerBaseVectorEsri.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVectorEsri.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,qDAA0E;AAC1E,qDAAuD;AACvD,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAC7B,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAU3B;;;GAGG;AACH;IAAyC,uCAAe;IAMpD;;;;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mB;QACnB,GAAG;IACP,CAAC;IAED;;;OAGG;IACH,6CAAe,GAAf,UAAgB,CAAC;QACb,iBAAM,eAAe,YAAC,CAAC,CAAC,CAAC;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,CAAC;IACL,0BAAC;AAAD,CAAC,AArKD,CAAyC,iCAAe,GAqKvD;AArKY,kDAAmB;AAuKhC,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAC7C,kBAAe,mBAAmB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nimport {LayerBaseVector, LayerBaseVectorOptions} from './LayerBaseVector';\r\nimport * as esriToOl from '../olHelpers/esriToOlStyle';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nlet nm = provide('layers');\r\n\r\nexport interface LayerBaseVectorEsriOptions extends LayerBaseVectorOptions{\r\n format?: string;\r\n outSR?: number;\r\n where?: string;\r\n outFields?: string;\r\n useEsriStyle?: boolean;\r\n}\r\n\r\n/**\r\n * Base layer for esri vector layers\r\n * @augments LayerBaseVector\r\n */\r\nexport class LayerBaseVectorEsri extends LayerBaseVector {\r\n _outSR: number;\r\n _esriFormat: ol.format.EsriJSON;\r\n _urlCopy: string;\r\n _useEsriStyle: boolean;\r\n\r\n /**\r\n * The base vector layer\r\n * @param {string} url - url for source\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n * @param {string} [options.where=1=1] the layer filter clause\r\n * @param {string} [options.outFields=*] comma separated list of output fields, defaults to all\r\n * @param {string} [options.format=pjson] the format the retrieve the data\r\n * @param {number} [options.outSR=3857] the output spatial reference, defaults to web mercator\r\n * @param {boolean} [options.useEsriStyle=false] if the map service style should be used\r\n * @param {boolean} [options.collapseLegend=false] if the legend should be initially collapsed\r\n * @param {number} [options.mapMoveMakeGetParams=function(extent, zoomLevel){}] function to create additional map move params\r\n */\r\n constructor(url: string, options: LayerBaseVectorEsriOptions) {\r\n\r\n if (typeof options.params != 'object') {\r\n options.params = {};\r\n }\r\n options.params['where'] = options.where || '1=1';\r\n options.params['outFields'] = options.outFields || '*';\r\n options.params['f'] = options.format || 'pjson';\r\n options.params['outSR'] = options.outSR || 3857;\r\n\r\n super(url, options);\r\n this._outSR = this.params['outSR'];\r\n this._esriFormat = new ol.format.EsriJSON();\r\n\r\n if (this._url[this._url.length - 1] !== '/') {\r\n this._url += '/';\r\n }\r\n\r\n this._urlCopy = this.url;\r\n this._url += 'query?callback=?';\r\n\r\n if (this.autoLoad || this.visible) {\r\n this._load();\r\n }\r\n\r\n this._useEsriStyle = typeof options.useEsriStyle == 'boolean' ? options.useEsriStyle : false;\r\n\r\n if (this._useEsriStyle) {\r\n this.addLegendContent();\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=''] additional content to add to legend\r\n */\r\n addLegendContent(additionalContent?: string) {\r\n if (!this._useEsriStyle) {\r\n super.addLegendContent(additionalContent);\r\n } else {\r\n $.get(this._urlCopy + '?f=pjson&callback=?', {}, (d) => {\r\n if (d['subLayers'].length > 0) {\r\n alert('should only use single feature layers, not groups');\r\n\r\n return;\r\n }\r\n\r\n let newStyleAndLegend = esriToOl.makeFeatureServiceLegendAndSymbol(d);\r\n this.style = newStyleAndLegend.style;\r\n super.addLegendContent(newStyleAndLegend.legend);\r\n }, 'json');\r\n }\r\n }\r\n\r\n\r\n /**\r\n * add feature collection\r\n * @param {object} featureCollection - features as esrijson\r\n */\r\n addFeatures(featureCollection) {\r\n let feats = this._esriFormat.readFeatures(featureCollection);\r\n this.source.addFeatures(feats);\r\n }\r\n\r\n /**\r\n * trigger load features\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n if (super._load()) {\r\n return true;\r\n }\r\n $.get(this._url, this.params, (d) => {\r\n this.addFeatures(d);\r\n this.loadCallback(this);\r\n }, 'json').fail(() => {\r\n this._loaded = false;\r\n });\r\n\r\n return false;\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent, zoomLevel) {\r\n super.mapMoveMakeGetParams(extent, zoomLevel);\r\n this.mapMoveParams['geometry'] = `${extent.minX},${extent.minY},${extent.maxX},${extent.maxY}`;\r\n this.mapMoveParams['geometryType'] = 'esriGeometryEnvelope';\r\n this.mapMoveParams['spatialRel'] = 'esriSpatialRelIntersects';\r\n this.mapMoveParams['spatialRel'] = 'esriSpatialRelIntersects';\r\n this.mapMoveParams['inSR'] = 3857;\r\n if (this._outSR == 3857) {\r\n this.mapMoveParams['geometryPrecision'] = 1;\r\n }\r\n }\r\n\r\n /**\r\n * Before call to map move callback, can prevent call by returning false\r\n * @param {number} zoom - zoom level\r\n * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'\r\n * @returns {boolean} if the call should proceed\r\n */\r\n mapMoveBefore(zoom, evtType) {\r\n return super.mapMoveBefore(zoom, evtType);\r\n //if (super.mapMoveBefore(zoom, evtType)){\r\n // //place holder for additional processing\r\n // return true;\r\n //} else {\r\n // return false;\r\n //}\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d - the json response\r\n */\r\n mapMoveCallback(d) {\r\n super.mapMoveCallback(d);\r\n this.source.addFeatures(this._esriFormat.readFeatures(d));\r\n }\r\n}\r\n\r\nnm.LayerBaseVectorEsri = LayerBaseVectorEsri;\r\nexport default LayerBaseVectorEsri;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerBaseVectorEsri.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVectorEsri.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,qDAA0E;AAC1E,qDAAuD;AACvD,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAC7B,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAU3B;;;GAGG;AACH;IAAyC,uCAAe;IAMpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,6BAAY,GAAW,EAAE,OAAmC;QAA5D,iBA8BC;QA5BG,EAAE,CAAC,CAAC,OAAO,OAAO,CAAC,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC;YACpC,OAAO,CAAC,MAAM,GAAG,EAAE,CAAC;QACxB,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC;QACjD,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,SAAS,IAAI,GAAG,CAAC;QACvD,OAAO,CAAC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es on 11/2/2015.\r\n */\r\n\r\nimport {LayerBaseVector, LayerBaseVectorOptions} from './LayerBaseVector';\r\nimport * as esriToOl from '../olHelpers/esriToOlStyle';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nlet nm = provide('layers');\r\n\r\nexport interface LayerBaseVectorEsriOptions extends LayerBaseVectorOptions{\r\n format?: string;\r\n outSR?: number;\r\n where?: string;\r\n outFields?: string;\r\n useEsriStyle?: boolean;\r\n}\r\n\r\n/**\r\n * Base layer for esri vector layers\r\n * @augments LayerBaseVector\r\n */\r\nexport class LayerBaseVectorEsri extends LayerBaseVector {\r\n _outSR: number;\r\n _esriFormat: ol.format.EsriJSON;\r\n _urlCopy: string;\r\n _useEsriStyle: boolean;\r\n\r\n /**\r\n * The base vector layer\r\n * @param {string} url - url for source\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n * @param {string} [options.where=1=1] the layer filter clause\r\n * @param {string} [options.outFields=*] comma separated list of output fields, defaults to all\r\n * @param {string} [options.format=pjson] the format the retrieve the data\r\n * @param {number} [options.outSR=3857] the output spatial reference, defaults to web mercator\r\n * @param {boolean} [options.useEsriStyle=false] if the map service style should be used\r\n * @param {boolean} [options.collapseLegend=false] if the legend should be initially collapsed\r\n * @param {number} [options.mapMoveMakeGetParams=function(extent, zoomLevel){}] function to create additional map move params\r\n */\r\n constructor(url: string, options: LayerBaseVectorEsriOptions) {\r\n\r\n if (typeof options.params != 'object') {\r\n options.params = {};\r\n }\r\n options.params['where'] = options.where || '1=1';\r\n options.params['outFields'] = options.outFields || '*';\r\n options.params['f'] = options.format || 'pjson';\r\n options.params['outSR'] = options.outSR || 3857;\r\n\r\n super(url, options);\r\n this._outSR = this.params['outSR'];\r\n this._esriFormat = new ol.format.EsriJSON();\r\n\r\n if (this._url[this._url.length - 1] !== '/') {\r\n this._url += '/';\r\n }\r\n\r\n this._urlCopy = this.url;\r\n this._url += 'query?callback=?';\r\n\r\n if (this.autoLoad || this.visible) {\r\n this._load();\r\n }\r\n\r\n this._useEsriStyle = typeof options.useEsriStyle == 'boolean' ? options.useEsriStyle : false;\r\n\r\n if (this._useEsriStyle) {\r\n this.addLegendContent();\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=''] additional content to add to legend\r\n */\r\n addLegendContent(additionalContent?: string) {\r\n if (!this._useEsriStyle) {\r\n super.addLegendContent(additionalContent);\r\n } else {\r\n $.get(this._urlCopy + '?f=pjson&callback=?', {}, (d) => {\r\n if (d['subLayers'].length > 0) {\r\n alert('should only use single feature layers, not groups');\r\n\r\n return;\r\n }\r\n\r\n let newStyleAndLegend = esriToOl.makeFeatureServiceLegendAndSymbol(d);\r\n this.style = newStyleAndLegend.style;\r\n super.addLegendContent(newStyleAndLegend.legend);\r\n }, 'json');\r\n }\r\n }\r\n\r\n\r\n /**\r\n * add feature collection\r\n * @param {object} featureCollection - features as esrijson\r\n */\r\n addFeatures(featureCollection: Object) {\r\n let feats = this._esriFormat.readFeatures(featureCollection);\r\n this.source.addFeatures(feats);\r\n }\r\n\r\n /**\r\n * trigger load features\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n if (super._load()) {\r\n return true;\r\n }\r\n $.get(this._url, this.params, (d) => {\r\n this.addFeatures(d);\r\n this.loadCallback(this);\r\n }, 'json').fail(() => {\r\n this._loaded = false;\r\n });\r\n\r\n return false;\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel: number) {\r\n super.mapMoveMakeGetParams(extent, zoomLevel);\r\n this.mapMoveParams['geometry'] = `${extent.minX},${extent.minY},${extent.maxX},${extent.maxY}`;\r\n this.mapMoveParams['geometryType'] = 'esriGeometryEnvelope';\r\n this.mapMoveParams['spatialRel'] = 'esriSpatialRelIntersects';\r\n this.mapMoveParams['spatialRel'] = 'esriSpatialRelIntersects';\r\n this.mapMoveParams['inSR'] = 3857;\r\n if (this._outSR == 3857) {\r\n this.mapMoveParams['geometryPrecision'] = 1;\r\n }\r\n }\r\n\r\n /**\r\n * Before call to map move callback, can prevent call by returning false\r\n * @param {number} zoom - zoom level\r\n * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution'\r\n * @returns {boolean} if the call should proceed\r\n */\r\n mapMoveBefore(zoom: number, evtType: string) {\r\n return super.mapMoveBefore(zoom, evtType);\r\n //if (super.mapMoveBefore(zoom, evtType)){\r\n // //place holder for additional processing\r\n // return true;\r\n //} else {\r\n // return false;\r\n //}\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d - the json response\r\n */\r\n mapMoveCallback(d: Object) {\r\n super.mapMoveCallback(d);\r\n this.source.addFeatures(this._esriFormat.readFeatures(d));\r\n }\r\n}\r\n\r\nnm.LayerBaseVectorEsri = LayerBaseVectorEsri;\r\nexport default LayerBaseVectorEsri;\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerBaseVectorGeoJson.d.ts b/dist/layers/LayerBaseVectorGeoJson.d.ts index 4b37c5c42dfb4590e8a748f4e8739f51382520e2..ad78203dc3f8d51953661fe7d1b138c53cbc65e1 100644 --- a/dist/layers/LayerBaseVectorGeoJson.d.ts +++ b/dist/layers/LayerBaseVectorGeoJson.d.ts @@ -63,6 +63,6 @@ export declare class LayerBaseVectorGeoJson extends LayerBaseVector { * @param {object} d the json response * @override */ - mapMoveCallback(d: any): void; + mapMoveCallback(d: Object): void; } export default LayerBaseVectorGeoJson; diff --git a/dist/layers/LayerBaseVectorGeoJson.js.map b/dist/layers/LayerBaseVectorGeoJson.js.map index 4fcad64d340636cb2eadd9d6810b9b435031814d..dc92e434b2721b177b8a8a732cb015ac095d4458 100644 --- a/dist/layers/LayerBaseVectorGeoJson.js.map +++ b/dist/layers/LayerBaseVectorGeoJson.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerBaseVectorGeoJson.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVectorGeoJson.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,qDAA0E;AAC1E,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAE7B,+CAAiD;AACjD,wDAAkD;AAElD,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAa3B;;;GAGG;AACH;IAA4C,0CAAe;IAIvD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,gCAAY,GAAY,EAAE,OAA2C;QAA3C,wBAAA,EAAA,YAA2C;QAArE,iBAaC;QAZG,GAAG,GAAG,OAAO,GAAG,IAAI,QAAQ,GAAG,GAAG,GAAG,EAAE,C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GAAG,KAAK,CAAC;QACzB,CAAC,CACJ,CAAC;QAEF,MAAM,CAAC,KAAK,CAAC;IACjB,CAAC;IAED;;;;OAIG;IACH,gDAAe,GAAf,UAAgB,CAAC;QACb,iBAAM,eAAe,YAAC,CAAC,CAAC,CAAC;QACzB,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,EACvD,EAAC,iBAAiB,EAAE,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,cAAc,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,EAAC,CAAC,CAAC,CAAC;IACjH,CAAC;IACL,6BAAC;AAAD,CAAC,AA/FD,CAA4C,iCAAe,GA+F1D;AA/FY,wDAAsB;AAiGnC,EAAE,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;AACnD,kBAAe,sBAAsB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nimport {LayerBaseVector, LayerBaseVectorOptions} from './LayerBaseVector';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nimport {MapMoveCls} from \"../olHelpers/mapMoveCls\";\r\nimport * as proj from '../olHelpers/projections';\r\nimport {proj3857} from \"../olHelpers/projections\";\r\n\r\nlet nm = provide('layers');\r\n\r\nexport interface crsTransform {\r\n dataProjection?: ol.proj.Projection;\r\n featureProjection?: ol.proj.Projection;\r\n}\r\n\r\n\r\nexport interface LayerBaseVectorGeoJsonOptions extends LayerBaseVectorOptions {\r\n transform?: crsTransform;\r\n mapMoveObj?: MapMoveCls;\r\n}\r\n\r\n/**\r\n * The Vector GeoJson Layer\r\n * @augments LayerBaseVector\r\n */\r\nexport class LayerBaseVectorGeoJson extends LayerBaseVector {\r\n _geoJsonFormat: ol.format.GeoJSON;\r\n _transform: crsTransform;\r\n\r\n /**\r\n * @param {string|null} url - resource url, set to '' to make blank layer\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n *\r\n * @param {object} [options.transform={}] SR transform, set as false for no transform\r\n * @param {string} options.transform.dataProjection=EPSG:4326 the data CRS\r\n * @param {string} options.transform.featureProjection=EPSG:3857 the feature/map CRS\r\n * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n */\r\n constructor(url?: string, options: LayerBaseVectorGeoJsonOptions = {}) {\r\n url = typeof url == 'string' ? url : '';\r\n super(url, options);\r\n\r\n this._geoJsonFormat = new ol.format.GeoJSON();\r\n\r\n this._transform = options.transform || {};\r\n this._transform.dataProjection = this._transform.dataProjection || proj.proj4326;\r\n this._transform.featureProjection = this._transform.featureProjection || proj3857;\r\n\r\n if (this.autoLoad || this.visible) {\r\n this._load();\r\n }\r\n }\r\n\r\n /**\r\n * add feature collection\r\n * @param {object} featureCollection - as geojson object\r\n */\r\n addFeatures(featureCollection: any) {\r\n this.source.addFeatures(\r\n this._geoJsonFormat.readFeatures(featureCollection,\r\n {dataProjection: this._transform.dataProjection,\r\n featureProjection: this._transform.featureProjection}\r\n )\r\n );\r\n }\r\n\r\n\r\n /**\r\n * trigger load features\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n\r\n if (super._load()) {\r\n return true;\r\n }\r\n\r\n $.get(this._url,\r\n this._params,\r\n (d) => {\r\n this.addFeatures(d);\r\n this.loadCallback(this);\r\n }, 'json').fail(\r\n function () {\r\n this._loaded = false;\r\n }\r\n );\r\n\r\n return false;\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d the json response\r\n * @override\r\n */\r\n mapMoveCallback(d) {\r\n super.mapMoveCallback(d);\r\n this._source.addFeatures(this._geoJsonFormat.readFeatures(d,\r\n {featureProjection: this._transform.featureProjection, dataProjection: this._transform.dataProjection}));\r\n }\r\n}\r\n\r\nnm.LayerBaseVectorGeoJson = LayerBaseVectorGeoJson;\r\nexport default LayerBaseVectorGeoJson;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerBaseVectorGeoJson.js","sourceRoot":"","sources":["../../src/layers/LayerBaseVectorGeoJson.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,qDAA0E;AAC1E,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAE7B,+CAAiD;AACjD,wDAAkD;AAElD,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAa3B;;;GAGG;AACH;IAA4C,0CAAe;IAIvD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,gCAAY,GAAY,EAAE,OAA2C;QAA3C,wBAAA,EAAA,YAA2C;QAArE,iBAaC;QAZG,GAAG,GAAG,OAAO,GAAG,IAAI,QAAQ,GAAG,GAAG,GAAG,EAAE,CAAC;QACxC,QAAA,kBAAM,GAAG,EAAE,OAAO,CAAC,SAAC;QAEpB,KAAI,CAAC,cAAc,GAAG,IAAI,EAAE,CAAC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,gDAAe,GAAf,UAAgB,CAAS;QACrB,iBAAM,eAAe,YAAC,CAAC,CAAC,CAAC;QACzB,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,EACvD,EAAC,iBAAiB,EAAE,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,cAAc,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,EAAC,CAAC,CAAC,CAAC;IACjH,CAAC;IACL,6BAAC;AAAD,CAAC,AA/FD,CAA4C,iCAAe,GA+F1D;AA/FY,wDAAsB;AAiGnC,EAAE,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;AACnD,kBAAe,sBAAsB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/2/2015.\r\n */\r\n\r\nimport {LayerBaseVector, LayerBaseVectorOptions} from './LayerBaseVector';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nimport {MapMoveCls} from \"../olHelpers/mapMoveCls\";\r\nimport * as proj from '../olHelpers/projections';\r\nimport {proj3857} from \"../olHelpers/projections\";\r\n\r\nlet nm = provide('layers');\r\n\r\nexport interface crsTransform {\r\n dataProjection?: ol.proj.Projection;\r\n featureProjection?: ol.proj.Projection;\r\n}\r\n\r\n\r\nexport interface LayerBaseVectorGeoJsonOptions extends LayerBaseVectorOptions {\r\n transform?: crsTransform;\r\n mapMoveObj?: MapMoveCls;\r\n}\r\n\r\n/**\r\n * The Vector GeoJson Layer\r\n * @augments LayerBaseVector\r\n */\r\nexport class LayerBaseVectorGeoJson extends LayerBaseVector {\r\n _geoJsonFormat: ol.format.GeoJSON;\r\n _transform: crsTransform;\r\n\r\n /**\r\n * @param {string|null} url - resource url, set to '' to make blank layer\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n *\r\n * @param {object} [options.transform={}] SR transform, set as false for no transform\r\n * @param {string} options.transform.dataProjection=EPSG:4326 the data CRS\r\n * @param {string} options.transform.featureProjection=EPSG:3857 the feature/map CRS\r\n * @param {mapMoveMakeGetParams} [options.mapMoveMakeGetParams=function(lyr, extent, zoomLevel){}] function to create additional map move params\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n */\r\n constructor(url?: string, options: LayerBaseVectorGeoJsonOptions = {}) {\r\n url = typeof url == 'string' ? url : '';\r\n super(url, options);\r\n\r\n this._geoJsonFormat = new ol.format.GeoJSON();\r\n\r\n this._transform = options.transform || {};\r\n this._transform.dataProjection = this._transform.dataProjection || proj.proj4326;\r\n this._transform.featureProjection = this._transform.featureProjection || proj3857;\r\n\r\n if (this.autoLoad || this.visible) {\r\n this._load();\r\n }\r\n }\r\n\r\n /**\r\n * add feature collection\r\n * @param {object} featureCollection - as geojson object\r\n */\r\n addFeatures(featureCollection: any) {\r\n this.source.addFeatures(\r\n this._geoJsonFormat.readFeatures(featureCollection,\r\n {dataProjection: this._transform.dataProjection,\r\n featureProjection: this._transform.featureProjection}\r\n )\r\n );\r\n }\r\n\r\n\r\n /**\r\n * trigger load features\r\n * @protected\r\n * @returns {boolean} if already loaded\r\n */\r\n _load() {\r\n\r\n if (super._load()) {\r\n return true;\r\n }\r\n\r\n $.get(this._url,\r\n this._params,\r\n (d) => {\r\n this.addFeatures(d);\r\n this.loadCallback(this);\r\n }, 'json').fail(\r\n function () {\r\n this._loaded = false;\r\n }\r\n );\r\n\r\n return false;\r\n }\r\n\r\n /**\r\n * callback function on map move\r\n * @param {object} d the json response\r\n * @override\r\n */\r\n mapMoveCallback(d: Object) {\r\n super.mapMoveCallback(d);\r\n this._source.addFeatures(this._geoJsonFormat.readFeatures(d,\r\n {featureProjection: this._transform.featureProjection, dataProjection: this._transform.dataProjection}));\r\n }\r\n}\r\n\r\nnm.LayerBaseVectorGeoJson = LayerBaseVectorGeoJson;\r\nexport default LayerBaseVectorGeoJson;\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerEsriMapServer.d.ts b/dist/layers/LayerEsriMapServer.d.ts index 9ec222c44d31469f4aaaa85137de3b96af3fb438..3f955d1f9fde5400f5abfda4642137b6ff50d477 100644 --- a/dist/layers/LayerEsriMapServer.d.ts +++ b/dist/layers/LayerEsriMapServer.d.ts @@ -34,13 +34,15 @@ export declare class LayerEsriMapServer extends LayerBase { * @param {boolean} [options.addPopup=false] if a popup should be added * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added */ - constructor(url: any, options?: LayerEsriMapServerOptions); + constructor(url: string, options?: LayerEsriMapServerOptions); /** * add additional content to the legend * @param {string} [additionalContent=''] additional content for legend */ addLegendContent(additionalContent?: string): void; - getPopupInfo(queryParams: any): void; + getPopupInfo(queryParams: { + [s: string]: any; + }): void; /** * * @returns {ol.source.TileArcGISRest} the vector source diff --git a/dist/layers/LayerEsriMapServer.js.map b/dist/layers/LayerEsriMapServer.js.map index 7f17bffdc5efc0341b7b7b42cd3d194413d8d4b5..aed9821f5b8aabc9d808a6a34fe3484a900e8db9 100644 --- a/dist/layers/LayerEsriMapServer.js.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AM,EAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;aAC5G;QACL,CAAC,EAAE,MAAM,CAAC,CAAC;QAEX,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;YACtB,MAAM,CAAC,aAAa,GAAG,IAAI,CAAC;QAChC,CAAC,CAAC,CAAC;IAEP,CAAC;IAMD,sBAAI,sCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,iBAAM,SAAS,WAA8B,CAAC;QACzD,CAAC;;;OAAA;IAMD,sBAAI,uCAAO;QAJX;;;WAGG;aACH;YACI,MAAM,CAAC,iBAAM,UAAU,WAAmB,CAAC;QAC/C,CAAC;;;OAAA;IACL,yBAAC;AAAD,CAAC,AAhJD,CAAwC,qBAAS,GAgJhD;AAhJY,gDAAkB;AAiJ/B,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C,kBAAe,kBAAkB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/7/2015.\r\n */\r\nimport {LayerBase, LayerBaseOptions} from './LayerBase';\r\nimport * as esriToOl from '../olHelpers/esriToOlStyle';\r\nimport mapPopup from '../olHelpers/mapPopup';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\n\r\nexport interface LayerEsriMapServerOptions extends LayerBaseOptions {\r\n addPopup?: boolean;\r\n showLayers?: Array<number>;\r\n}\r\n\r\n/**\r\n * esri mapserver layer\r\n * @augments LayerBase\r\n */\r\nexport class LayerEsriMapServer extends LayerBase {\r\n _esriFormat: ol.format.EsriJSON;\r\n _popupRequest: JQueryXHR;\r\n\r\n /**\r\n * The base layer for all others\r\n * @param {string} url - resource url\r\n * @param {object} [options] - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n * @param {boolean} [options.addPopup=false] if a popup should be added\r\n * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added\r\n */\r\n constructor(url, options: LayerEsriMapServerOptions = {}) {\r\n\r\n super(url, options);\r\n this._source = new ol.source.TileArcGISRest(\r\n {\r\n url: this.url == '' ? undefined : this.url,\r\n params: typeof options.showLayers == 'undefined' ? undefined : {layers: 'show:' + options.showLayers.join(',')}\r\n }\r\n );\r\n\r\n this._olLayer = new ol.layer.Tile({\r\n source: this._source as ol.source.Tile,\r\n visible: this.visible,\r\n opacity: this.opacity,\r\n minResolution: this._minResolution,\r\n maxResolution: this._maxResolution\r\n });\r\n\r\n this._olLayer.setZIndex(this._zIndex);\r\n\r\n options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : false;\r\n\r\n this._esriFormat = new ol.format.EsriJSON();\r\n this._popupRequest = null;\r\n\r\n this.addLegendContent();\r\n\r\n if (options.addPopup) {\r\n mapPopup.addMapServicePopup(this);\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=''] additional content for legend\r\n */\r\n addLegendContent(additionalContent?: string) {\r\n let urlCopy = this.url;\r\n\r\n if (urlCopy[urlCopy.length - 1] !== '/') {\r\n urlCopy += '/';\r\n }\r\n\r\n urlCopy += 'legend?f=pjson&callback=?';\r\n\r\n $.get(urlCopy, {}, (d) => {\r\n let newHtml = esriToOl.makeMapServiceLegend(d);\r\n super.addLegendContent(newHtml);\r\n }, 'json');\r\n }\r\n\r\n\r\n getPopupInfo(queryParams) {\r\n if (!this.visible) {\r\n return;\r\n }\r\n\r\n let urlCopy = this.url;\r\n\r\n if (urlCopy[urlCopy.length - 1] != '/') {\r\n urlCopy += '/';\r\n }\r\n\r\n urlCopy += 'identify?callback=?';\r\n\r\n let __this = this;\r\n\r\n if (this._popupRequest != null) {\r\n this._popupRequest.abort();\r\n }\r\n\r\n\r\n this._popupRequest = $.get(urlCopy, queryParams, function (d) {\r\n for (let r of d['results']) {\r\n\r\n let popupHtml = '<table class=\"esri-popup-table\">';\r\n\r\n for (let a in r['attributes']) {\r\n if (r['attributes'].hasOwnProperty(a)) {\r\n let attrVal = r['attributes'][a];\r\n\r\n if (attrVal == null || attrVal.toString().toLowerCase() == 'null') {\r\n continue;\r\n }\r\n\r\n let attr = a;\r\n if (attr.length > 14) {\r\n attr = attr.slice(0, 11) + '...';\r\n }\r\n\r\n popupHtml += `<tr><td>${attr}</td><td>${attrVal}</td></tr>`;\r\n }\r\n }\r\n\r\n popupHtml += '</table>';\r\n\r\n mapPopup.addMapServicePopupContent(__this._esriFormat.readFeature(r), __this, popupHtml, r['layerName']);\r\n }\r\n }, 'json');\r\n\r\n this._popupRequest.always(function () {\r\n __this._popupRequest = null;\r\n });\r\n\r\n }\r\n\r\n /**\r\n *\r\n * @returns {ol.source.TileArcGISRest} the vector source\r\n */\r\n get source(): ol.source.TileArcGISRest {\r\n return super.getSource() as ol.source.TileArcGISRest;\r\n }\r\n\r\n /**\r\n *\r\n * @returns the ol layer\r\n */\r\n get olLayer(): ol.layer.Tile {\r\n return super.getOlLayer() as ol.layer.Tile;\r\n }\r\n}\r\nnm.LayerEsriMapServer = LayerEsriMapServer;\r\nexport default LayerEsriMapServer;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerEsriMapServer.js","sourceRoot":"","sources":["../../src/layers/LayerEsriMapServer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,yCAAwD;AACxD,qDAAuD;AACvD,kDAA6C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CAAC,CAAC;IAEP,CAAC;IAMD,sBAAI,sCAAM;QAJV;;;WAGG;aACH;YACI,MAAM,CAAC,iBAAM,SAAS,WAA8B,CAAC;QACzD,CAAC;;;OAAA;IAMD,sBAAI,uCAAO;QAJX;;;WAGG;aACH;YACI,MAAM,CAAC,iBAAM,UAAU,WAAmB,CAAC;QAC/C,CAAC;;;OAAA;IACL,yBAAC;AAAD,CAAC,AAhJD,CAAwC,qBAAS,GAgJhD;AAhJY,gDAAkB;AAiJ/B,EAAE,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC3C,kBAAe,kBAAkB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/7/2015.\r\n */\r\nimport {LayerBase, LayerBaseOptions} from './LayerBase';\r\nimport * as esriToOl from '../olHelpers/esriToOlStyle';\r\nimport mapPopup from '../olHelpers/mapPopup';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('layers');\r\n\r\n\r\nexport interface LayerEsriMapServerOptions extends LayerBaseOptions {\r\n addPopup?: boolean;\r\n showLayers?: Array<number>;\r\n}\r\n\r\n/**\r\n * esri mapserver layer\r\n * @augments LayerBase\r\n */\r\nexport class LayerEsriMapServer extends LayerBase {\r\n _esriFormat: ol.format.EsriJSON;\r\n _popupRequest: JQueryXHR;\r\n\r\n /**\r\n * The base layer for all others\r\n * @param {string} url - resource url\r\n * @param {object} [options] - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n * @param {boolean} [options.addPopup=false] if a popup should be added\r\n * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added\r\n */\r\n constructor(url: string, options: LayerEsriMapServerOptions = {}) {\r\n\r\n super(url, options);\r\n this._source = new ol.source.TileArcGISRest(\r\n {\r\n url: this.url == '' ? undefined : this.url,\r\n params: typeof options.showLayers == 'undefined' ? undefined : {layers: 'show:' + options.showLayers.join(',')}\r\n }\r\n );\r\n\r\n this._olLayer = new ol.layer.Tile({\r\n source: this._source as ol.source.Tile,\r\n visible: this.visible,\r\n opacity: this.opacity,\r\n minResolution: this._minResolution,\r\n maxResolution: this._maxResolution\r\n });\r\n\r\n this._olLayer.setZIndex(this._zIndex);\r\n\r\n options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : false;\r\n\r\n this._esriFormat = new ol.format.EsriJSON();\r\n this._popupRequest = null;\r\n\r\n this.addLegendContent();\r\n\r\n if (options.addPopup) {\r\n mapPopup.addMapServicePopup(this);\r\n }\r\n }\r\n\r\n /**\r\n * add additional content to the legend\r\n * @param {string} [additionalContent=''] additional content for legend\r\n */\r\n addLegendContent(additionalContent?: string) {\r\n let urlCopy = this.url;\r\n\r\n if (urlCopy[urlCopy.length - 1] !== '/') {\r\n urlCopy += '/';\r\n }\r\n\r\n urlCopy += 'legend?f=pjson&callback=?';\r\n\r\n $.get(urlCopy, {}, (d) => {\r\n let newHtml = esriToOl.makeMapServiceLegend(d);\r\n super.addLegendContent(newHtml);\r\n }, 'json');\r\n }\r\n\r\n\r\n getPopupInfo(queryParams: {[s: string]: any}) {\r\n if (!this.visible) {\r\n return;\r\n }\r\n\r\n let urlCopy = this.url;\r\n\r\n if (urlCopy[urlCopy.length - 1] != '/') {\r\n urlCopy += '/';\r\n }\r\n\r\n urlCopy += 'identify?callback=?';\r\n\r\n let __this = this;\r\n\r\n if (this._popupRequest != null) {\r\n this._popupRequest.abort();\r\n }\r\n\r\n\r\n this._popupRequest = $.get(urlCopy, queryParams, function (d) {\r\n for (let r of d['results']) {\r\n\r\n let popupHtml = '<table class=\"esri-popup-table\">';\r\n\r\n for (let a in r['attributes']) {\r\n if (r['attributes'].hasOwnProperty(a)) {\r\n let attrVal = r['attributes'][a];\r\n\r\n if (attrVal == null || attrVal.toString().toLowerCase() == 'null') {\r\n continue;\r\n }\r\n\r\n let attr = a;\r\n if (attr.length > 14) {\r\n attr = attr.slice(0, 11) + '...';\r\n }\r\n\r\n popupHtml += `<tr><td>${attr}</td><td>${attrVal}</td></tr>`;\r\n }\r\n }\r\n\r\n popupHtml += '</table>';\r\n\r\n mapPopup.addMapServicePopupContent(__this._esriFormat.readFeature(r), __this, popupHtml, r['layerName']);\r\n }\r\n }, 'json');\r\n\r\n this._popupRequest.always(function () {\r\n __this._popupRequest = null;\r\n });\r\n\r\n }\r\n\r\n /**\r\n *\r\n * @returns {ol.source.TileArcGISRest} the vector source\r\n */\r\n get source(): ol.source.TileArcGISRest {\r\n return super.getSource() as ol.source.TileArcGISRest;\r\n }\r\n\r\n /**\r\n *\r\n * @returns the ol layer\r\n */\r\n get olLayer(): ol.layer.Tile {\r\n return super.getOlLayer() as ol.layer.Tile;\r\n }\r\n}\r\nnm.LayerEsriMapServer = LayerEsriMapServer;\r\nexport default LayerEsriMapServer;\r\n"]} \ No newline at end of file diff --git a/dist/layers/LayerItsInventory.d.ts b/dist/layers/LayerItsInventory.d.ts index 5a7fce7b930e67c6c20854161502c58ce4ed1f12..fdb05cc959e48e8fbb377508c034cfca51f956c1 100644 --- a/dist/layers/LayerItsInventory.d.ts +++ b/dist/layers/LayerItsInventory.d.ts @@ -1,7 +1,32 @@ /** * Created by gavorhes on 12/8/2015. */ -import LayerBaseVectorGeoJson from './LayerBaseVectorGeoJson'; +import { LayerBaseVectorGeoJson, LayerBaseVectorGeoJsonOptions } from './LayerBaseVectorGeoJson'; +export interface iLineStyle { + color: string; + width?: number; +} +export interface iMultiConfig { + prop: string; + defaultName: string; +} +export interface iIconConfig extends iMultiConfig { + defaultIcon: string; + iconArray: string[][]; +} +export interface iLineConfig extends iMultiConfig { + defaultColor: string; + defaultWidth?: number; + lineArray: any[][]; +} +export interface iLayerItsInventory extends LayerBaseVectorGeoJsonOptions { + itsType: string; + addPopup?: boolean; + itsIcon?: string; + itsLineStyle?: iLineStyle; + itsIconConfig?: iIconConfig; + itsLineConfig?: iLineConfig; +} /** * Its Layer class * @augments LayerBaseVectorGeoJson @@ -51,7 +76,7 @@ declare class LayerItsInventory extends LayerBaseVectorGeoJson { * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5] */ - constructor(options: any); + constructor(options: iLayerItsInventory); /** * callback to generate the parameters passed in the get request * @callback makeGetParams @@ -62,6 +87,11 @@ declare class LayerItsInventory extends LayerBaseVectorGeoJson { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent: any, zoomLevel: any): void; + mapMoveMakeGetParams(extent: { + minX: number; + minY: number; + maxX: number; + maxY: number; + }, zoomLevel: number): void; } export default LayerItsInventory; diff --git a/dist/layers/LayerItsInventory.js b/dist/layers/LayerItsInventory.js index c4a944135dcf9bedd4a22c7d8e55724709d40ebd..b0b9b777671556445f17493c3c4ff3cad9ec18a9 100644 --- a/dist/layers/LayerItsInventory.js +++ b/dist/layers/LayerItsInventory.js @@ -144,28 +144,6 @@ function defineStyle(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { return undefined; } } -/** - * - * @param {string} [itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/ - * - * @param {object} [itsLineStyle=undefined] A single line style - * @param {string} itsLineStyle.color the line color as rgb or hex - * @param {number} [itsLineStyle.width=5] the line width - * - * @param {object} [itsIconConfig=undefined] The icon subtype configuration - * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization - * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found - * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches - * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img] - * - * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization - * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization - * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found - * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches - * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches - * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width] - * @returns {string} html to be added to the legend - */ function defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { "use strict"; var iconHeight = 17; @@ -276,7 +254,7 @@ var LayerItsInventory = (function (_super) { options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : true; if (options.addPopup) { mapPopup_1.default.addVectorPopup(_this, function (props) { - return "<iframe src=\"https://transportal.cee.wisc.edu/its/inventory/?feature=" + props['featureGuid'] + "\" " + + return "<iframe src=\"https://transportal.cee.wisc.edu/its/inventory/?feature=" + props.featureGuid + "\" " + "height=\"250\" width=\"350\"></iframe>"; }); } @@ -308,7 +286,7 @@ var LayerItsInventory = (function (_super) { }); }; return LayerItsInventory; -}(LayerBaseVectorGeoJson_1.default)); +}(LayerBaseVectorGeoJson_1.LayerBaseVectorGeoJson)); nm.LayerItsInventory = LayerItsInventory; exports.default = LayerItsInventory; //# sourceMappingURL=LayerItsInventory.js.map \ No newline at end of file diff --git a/dist/layers/LayerItsInventory.js.map b/dist/layers/LayerItsInventory.js.map index 625fc73095d3e565c298509222a5fe7ceb5bbf16..c783f37391efc12167575b4898e5ce5a8ae9cd06 100644 --- a/dist/layers/LayerItsInventory.js.map +++ b/dist/layers/LayerItsInventory.js.map @@ -1 +1 @@ -{"version":3,"file":"LayerItsInventory.js","sourceRoot":"","sources":["../../src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,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QACzD,IAAI,qBAAqB,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC;QAExD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,EACvB;YACI,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;YAC3B,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;SAC9B,CAAC,CAAC;IACX,CAAC;IACL,wBAAC;AAAD,CAAC,AA9GD,CAAgC,gCAAsB,GA8GrD;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACzC,kBAAe,iBAAiB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/8/2015.\r\n */\r\n\r\nimport LayerBaseVectorGeoJson from './LayerBaseVectorGeoJson';\r\nimport mapPopup from '../olHelpers/mapPopup';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nimport {proj4326, proj3857} from '../olHelpers/projections'\r\n\r\nlet nm = provide('layers');\r\n\r\n\r\nfunction checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) {\r\n \"use strict\";\r\n\r\n //make sure one and only one configuration is defined;\r\n let configCount = 0;\r\n if (typeof itsIcon == 'string') {\r\n configCount++;\r\n }\r\n\r\n if (typeof itsLineStyle == 'object') {\r\n itsLineStyle.width = typeof itsLineStyle.width == 'number' ? itsLineStyle.width : 5;\r\n itsLineStyle.color = typeof itsLineStyle.color == 'string' ? itsLineStyle.color : 'red';\r\n configCount++;\r\n }\r\n\r\n if (typeof itsIconConfig == 'object') {\r\n itsIconConfig.defaultName = itsIconConfig.defaultName || 'Other';\r\n\r\n if (typeof itsIconConfig.iconArray == 'undefined') {\r\n itsIconConfig.iconArray = [];\r\n }\r\n\r\n configCount++;\r\n }\r\n\r\n if (typeof itsLineConfig == 'object') {\r\n itsLineConfig.defaultName = itsLineConfig.defaultName || 'Other';\r\n itsLineConfig.defaultWidth = itsLineConfig.defaultWidth || 5;\r\n itsLineConfig.defaultColor = itsLineConfig.defaultColor || 'red';\r\n\r\n\r\n if (typeof itsLineConfig.lineArray == 'undefined') {\r\n itsLineConfig.lineArray = [];\r\n }\r\n\r\n // set the width if not defined\r\n for (let i = 0; i < itsLineConfig.lineArray.length; i++) {\r\n if (itsLineConfig.lineArray[i].length == 3) {\r\n itsLineConfig.lineArray[i].push(5);\r\n }\r\n }\r\n\r\n configCount++;\r\n }\r\n\r\n if (configCount > 1) {\r\n throw 'Only one style config can be defined';\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @param {string} [itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/\r\n *\r\n * @param {object} [itsLineStyle=undefined] A single line style\r\n * @param {string} itsLineStyle.color the line color as rgb or hex\r\n * @param {number} [itsLineStyle.width=5] the line width\r\n *\r\n * @param {object} [itsIconConfig=undefined] The icon subtype configuration\r\n * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found\r\n * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches\r\n * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img]\r\n *\r\n * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization\r\n * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found\r\n * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches\r\n * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches\r\n * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width]\r\n * @returns {*} undefined, style, or style function\r\n */\r\nfunction defineStyle(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) : ol.style.Style|Array<ol.style.Style>|ol.StyleFunction{\r\n \"use strict\";\r\n checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);\r\n\r\n let _iconUrlRoot = 'https://transportal.cee.wisc.edu/its/inventory/icons/';\r\n\r\n if (itsIcon) {\r\n return new ol.style.Style({\r\n image: new ol.style.Icon(\r\n {\r\n src: _iconUrlRoot + itsIcon,\r\n crossOrigin: 'anonymous'\r\n }\r\n )\r\n });\r\n } else if (itsLineStyle) {\r\n return new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: itsLineStyle.color,\r\n width: itsLineStyle.width\r\n })\r\n });\r\n } else if (itsIconConfig) {\r\n return function (feature: ol.Feature) {\r\n let symbolProp = feature.getProperties()[itsIconConfig.prop];\r\n let iconUrl = _iconUrlRoot + itsIconConfig.defaultIcon;\r\n\r\n for (let i = 0; i < itsIconConfig.iconArray.length; i++) {\r\n let thisProp = itsIconConfig.iconArray[i];\r\n\r\n if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {\r\n iconUrl = _iconUrlRoot + thisProp[2];\r\n break;\r\n }\r\n }\r\n\r\n return [new ol.style.Style({\r\n image: new ol.style.Icon(\r\n {\r\n src: iconUrl,\r\n crossOrigin: 'anonymous'\r\n }\r\n )\r\n })];\r\n };\r\n } else if (itsLineConfig) {\r\n return function (feature: ol.Feature) {\r\n let symbolProp = feature.getProperties()[itsLineConfig.prop];\r\n let colr = itsLineConfig.defaultColor || 'red';\r\n let width = itsLineConfig.defaultWidth || 5;\r\n\r\n for (let i = 0; i < itsLineConfig.lineArray.length; i++) {\r\n let thisProp = itsLineConfig.lineArray[i];\r\n\r\n if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {\r\n colr = thisProp[2];\r\n width = thisProp[3];\r\n break;\r\n }\r\n }\r\n\r\n return [new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: colr,\r\n width: width\r\n })\r\n })];\r\n };\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @param {string} [itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/\r\n *\r\n * @param {object} [itsLineStyle=undefined] A single line style\r\n * @param {string} itsLineStyle.color the line color as rgb or hex\r\n * @param {number} [itsLineStyle.width=5] the line width\r\n *\r\n * @param {object} [itsIconConfig=undefined] The icon subtype configuration\r\n * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found\r\n * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches\r\n * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img]\r\n *\r\n * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization\r\n * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found\r\n * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches\r\n * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches\r\n * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width]\r\n * @returns {string} html to be added to the legend\r\n */\r\nfunction defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) {\r\n \"use strict\";\r\n\r\n let iconHeight = 17;\r\n\r\n checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);\r\n\r\n let _iconUrlRoot = 'https://transportal.cee.wisc.edu/its/inventory/icons/';\r\n\r\n if (itsIcon) {\r\n return `<img src=\"${_iconUrlRoot + itsIcon}\" class=\"legend-layer-icon\" height=\"${iconHeight}\">`;\r\n } else if (itsLineStyle) {\r\n return `<hr style=\"height: ${itsLineStyle.width}px; background-color: ${itsLineStyle.color}\">`;\r\n } else if (itsIconConfig) {\r\n let outHtml = '';\r\n outHtml += '<ul>';\r\n\r\n for (let a of itsIconConfig.iconArray) {\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${a[1]}</span><img src=\"${_iconUrlRoot + a[2]}\" class=\"legend-layer-icon\" height=\"${iconHeight}\">`;\r\n }\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${itsIconConfig.defaultName}</span>` +\r\n `<img src=\"${_iconUrlRoot + itsIconConfig.defaultIcon}\" class=\"legend-layer-icon\" height=\"${iconHeight}\"></li>`;\r\n outHtml += '</ul>';\r\n\r\n return outHtml;\r\n } else if (itsLineConfig) {\r\n let outHtml = '';\r\n outHtml += '<ul>';\r\n for (let ls of itsLineConfig.lineArray) {\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${ls[1]}</span>` +\r\n `<hr style=\"height: ${ls[3]}px; background-color: ${ls[2]}\">`;\r\n }\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${itsLineConfig.defaultName}</span>` +\r\n `<hr style=\"height: ${itsLineConfig.defaultWidth}px; background-color: ${itsLineConfig.defaultColor}\"></li>`;\r\n outHtml += '</ul>';\r\n\r\n return outHtml;\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\n/**\r\n * Its Layer class\r\n * @augments LayerBaseVectorGeoJson\r\n */\r\nclass LayerItsInventory extends LayerBaseVectorGeoJson {\r\n\r\n /**\r\n * ITS device layer, types available at https://transportal.cee.wisc.edu/its/inventory/\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object|*} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n * @param {string} options.itsType the ITS device type, use the url flag at https://transportal.cee.wisc.edu/its/inventory/\r\n * @param {boolean} [options.addPopup=true] if the popup should be added automatically\r\n *\r\n * @param {string} [options.itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/\r\n *\r\n * @param {object} [options.itsLineStyle=undefined] A single line style\r\n * @param {string} options.itsLineStyle.color the line color as rgb or hex\r\n * @param {number} [options.itsLineStyle.width=5] the line width\r\n *\r\n * @param {object} [options.itsIconConfig=undefined] The icon subtype configuration\r\n * @param {string} options.itsIconConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} options.itsIconConfig.defaultName The default name to be used if no other match is found\r\n * @param {string} options.itsIconConfig.defaultIcon The default icon to be used for no other matches\r\n * @param {object} [options.itsIconConfig.iconArray=[]] an array, items with format [property, name, img]\r\n *\r\n * @param {object} [options.itsLineConfig=undefined] The property used to define icon attribute symbolization\r\n * @param {string} options.itsLineConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} [options.itsLineConfig.defaultName=Other] The default name to be used if no other match is found\r\n * @param {string} [options.itsLineConfig.defaultColor=red] The default line color to be used for no other matches\r\n * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches\r\n * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5]\r\n */\r\n constructor(options) {\r\n if (typeof options.itsType !== 'string') {\r\n throw 'its type must be defined';\r\n }\r\n\r\n options.transform = {dataProjection: proj4326, featureProjection: proj3857};\r\n\r\n let addToLegend = '';\r\n\r\n // define a style with the helper function if it is not explicitly defined\r\n if (typeof options.style == 'undefined') {\r\n options.style = defineStyle(\r\n options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig\r\n );\r\n addToLegend = defineLegend(\r\n options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig\r\n );\r\n }\r\n\r\n options.params = typeof options.params == 'object' ? options.params : {};\r\n $.extend(options.params, {format: 'JSON', resource: options.itsType});\r\n\r\n super('https://transportal.cee.wisc.edu/its/inventory/', options);\r\n\r\n //add any additional content to the legend\r\n this.addLegendContent(addToLegend);\r\n\r\n options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : true;\r\n\r\n if (options.addPopup) {\r\n mapPopup.addVectorPopup(this, function (props) {\r\n return `<iframe src=\"https://transportal.cee.wisc.edu/its/inventory/?feature=${props['featureGuid']}\" ` +\r\n `height=\"250\" width=\"350\"></iframe>`;\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @callback makeGetParams\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent, zoomLevel) {\r\n super.mapMoveMakeGetParams(extent, zoomLevel);\r\n let lowerLeft = new ol.geom.Point([extent.minX, extent.minY]);\r\n lowerLeft.transform(this.mapProj, this._projection4326);\r\n let lowerLeftCoordinates = lowerLeft.getCoordinates();\r\n let upperRight = new ol.geom.Point([extent.maxX, extent.maxY]);\r\n upperRight.transform(this.mapProj, this._projection4326);\r\n let upperRightCoordinates = upperRight.getCoordinates();\r\n\r\n $.extend(this.mapMoveParams,\r\n {\r\n L: lowerLeftCoordinates[0],\r\n R: upperRightCoordinates[0],\r\n B: lowerLeftCoordinates[1],\r\n T: upperRightCoordinates[1]\r\n });\r\n }\r\n}\r\n\r\nnm.LayerItsInventory = LayerItsInventory;\r\nexport default LayerItsInventory;\r\n"]} \ No newline at end of file +{"version":3,"file":"LayerItsInventory.js","sourceRoot":"","sources":["../../src/layers/LayerItsInventory.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,mEAA+F;AAC/F,kDAA6C;AAC7C,2CAAsC;AACtC,8BAAiC;AACjC,0BAA6B;AAC7B,wDAA2D;AAE3D,IAAI,EAAE,GAAG,iBAAO,CAAC,QAAQ,CAAC,CAAC;AAoC3B,0BAA0B,OAAe,EAAE,YAAwB,EAAE,aAA0B,EAAE,aAA0B;IACvH,YAAY,CAAC;IAEb,sDAAsD;IACtD,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,EAAE,CAAC,CAAC,OAAO,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC;QAC7B,WAAW,EAAE,CAAC;IAClB,CAAC;IAED,EAAE,CAAC,CAAC,OAAO,YAAY,IAAI,QAAQ,CAAC,CAAC,CAAC;QAClC,YAAY,CAAC,KAAK,GAAG,OAAO,YAAY,CAAC,KAAK,IAAI,QAAQ,GAAG,YAAY,CAAC,KAAK,GAAG,CAAC,CAAC;QACpF,YAAY,CAAC,KAAK,GAAG,OAAO,YAAY,CAAC,KAAK,IAAI,QAAQ,GAAG,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;QACxF,WAAW,EAAE,CAAC;IAClB,CAAC;IAED,EAAE,CAAC,CAAC,OAAO,aAAa,IAAI,QAAQ,CAAC,CAAC,CAAC;QACnC,aAAa,CAAC,WAAW,GAAG,aAAa,CAAC,WAAW,IAAI,OAAO,CAAC;QAEjE,EAAE,CAAC,CAAC,OAAO,aAAa,CAAC,SAAS,IAAI,WAAW,CAAC,CAAC,CAAC;YAChD,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC;QACjC,CAAC;QAED,WAAW,EAAE,CAAC;IAClB,CAAC;IAED,EAAE,CAAC,CAAC,OAAO,aAAa,IAAI,QAAQ,CAAC,CAAC,CAAC;QACnC,aAAa,CAAC,WAAW,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AI,CAAC,CAAC,CAAC;QAC/D,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;QACzD,IAAI,qBAAqB,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC;QAExD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,EACvB;YACI,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;YAC3B,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;YAC1B,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC;SAC9B,CAAC,CAAC;IACX,CAAC;IACL,wBAAC;AAAD,CAAC,AA9GD,CAAgC,+CAAsB,GA8GrD;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AACzC,kBAAe,iBAAiB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/8/2015.\r\n */\r\n\r\nimport {LayerBaseVectorGeoJson, LayerBaseVectorGeoJsonOptions} from './LayerBaseVectorGeoJson';\r\nimport mapPopup from '../olHelpers/mapPopup';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nimport {proj4326, proj3857} from '../olHelpers/projections'\r\n\r\nlet nm = provide('layers');\r\n\r\n\r\nexport interface iLineStyle {\r\n color: string;\r\n width?: number\r\n}\r\n\r\nexport interface iMultiConfig {\r\n prop: string;\r\n defaultName: string;\r\n}\r\n\r\nexport interface iIconConfig extends iMultiConfig {\r\n defaultIcon: string;\r\n iconArray: string[][]\r\n}\r\n\r\nexport interface iLineConfig extends iMultiConfig {\r\n defaultColor: string;\r\n defaultWidth?: number;\r\n lineArray: any[][]\r\n}\r\n\r\nexport interface iLayerItsInventory extends LayerBaseVectorGeoJsonOptions {\r\n itsType: string;\r\n addPopup?: boolean;\r\n itsIcon?: string;\r\n itsLineStyle?: iLineStyle;\r\n itsIconConfig?: iIconConfig;\r\n itsLineConfig?: iLineConfig\r\n}\r\n\r\n\r\n\r\n\r\nfunction checkStyleNumber(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig) {\r\n \"use strict\";\r\n\r\n //make sure one and only one configuration is defined;\r\n let configCount = 0;\r\n if (typeof itsIcon == 'string') {\r\n configCount++;\r\n }\r\n\r\n if (typeof itsLineStyle == 'object') {\r\n itsLineStyle.width = typeof itsLineStyle.width == 'number' ? itsLineStyle.width : 5;\r\n itsLineStyle.color = typeof itsLineStyle.color == 'string' ? itsLineStyle.color : 'red';\r\n configCount++;\r\n }\r\n\r\n if (typeof itsIconConfig == 'object') {\r\n itsIconConfig.defaultName = itsIconConfig.defaultName || 'Other';\r\n\r\n if (typeof itsIconConfig.iconArray == 'undefined') {\r\n itsIconConfig.iconArray = [];\r\n }\r\n\r\n configCount++;\r\n }\r\n\r\n if (typeof itsLineConfig == 'object') {\r\n itsLineConfig.defaultName = itsLineConfig.defaultName || 'Other';\r\n itsLineConfig.defaultWidth = itsLineConfig.defaultWidth || 5;\r\n itsLineConfig.defaultColor = itsLineConfig.defaultColor || 'red';\r\n\r\n\r\n if (typeof itsLineConfig.lineArray == 'undefined') {\r\n itsLineConfig.lineArray = [];\r\n }\r\n\r\n // set the width if not defined\r\n for (let i = 0; i < itsLineConfig.lineArray.length; i++) {\r\n if (itsLineConfig.lineArray[i].length == 3) {\r\n itsLineConfig.lineArray[i].push(5);\r\n }\r\n }\r\n\r\n configCount++;\r\n }\r\n\r\n if (configCount > 1) {\r\n throw 'Only one style config can be defined';\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * @param {string} [itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/\r\n *\r\n * @param {object} [itsLineStyle=undefined] A single line style\r\n * @param {string} itsLineStyle.color the line color as rgb or hex\r\n * @param {number} [itsLineStyle.width=5] the line width\r\n *\r\n * @param {object} [itsIconConfig=undefined] The icon subtype configuration\r\n * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found\r\n * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches\r\n * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img]\r\n *\r\n * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization\r\n * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found\r\n * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches\r\n * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches\r\n * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width]\r\n * @returns {*} undefined, style, or style function\r\n */\r\nfunction defineStyle(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig): ol.style.Style | Array<ol.style.Style> | ol.StyleFunction {\r\n \"use strict\";\r\n checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);\r\n\r\n let _iconUrlRoot = 'https://transportal.cee.wisc.edu/its/inventory/icons/';\r\n\r\n if (itsIcon) {\r\n return new ol.style.Style({\r\n image: new ol.style.Icon(\r\n {\r\n src: _iconUrlRoot + itsIcon,\r\n crossOrigin: 'anonymous'\r\n }\r\n )\r\n });\r\n } else if (itsLineStyle) {\r\n return new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: itsLineStyle.color,\r\n width: itsLineStyle.width\r\n })\r\n });\r\n } else if (itsIconConfig) {\r\n return function (feature: ol.Feature) {\r\n let symbolProp = feature.getProperties()[itsIconConfig.prop];\r\n let iconUrl = _iconUrlRoot + itsIconConfig.defaultIcon;\r\n\r\n for (let i = 0; i < itsIconConfig.iconArray.length; i++) {\r\n let thisProp = itsIconConfig.iconArray[i];\r\n\r\n if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {\r\n iconUrl = _iconUrlRoot + thisProp[2];\r\n break;\r\n }\r\n }\r\n\r\n return [new ol.style.Style({\r\n image: new ol.style.Icon(\r\n {\r\n src: iconUrl,\r\n crossOrigin: 'anonymous'\r\n }\r\n )\r\n })];\r\n };\r\n } else if (itsLineConfig) {\r\n return function (feature: ol.Feature) {\r\n let symbolProp = feature.getProperties()[itsLineConfig.prop];\r\n let colr = itsLineConfig.defaultColor || 'red';\r\n let width = itsLineConfig.defaultWidth || 5;\r\n\r\n for (let i = 0; i < itsLineConfig.lineArray.length; i++) {\r\n let thisProp = itsLineConfig.lineArray[i];\r\n\r\n if (symbolProp.trim().toLocaleLowerCase() == thisProp[0].trim().toLocaleLowerCase()) {\r\n colr = thisProp[2];\r\n width = thisProp[3];\r\n break;\r\n }\r\n }\r\n\r\n return [new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: colr,\r\n width: width\r\n })\r\n })];\r\n };\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nfunction defineLegend(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig) {\r\n \"use strict\";\r\n\r\n let iconHeight = 17;\r\n\r\n checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig);\r\n\r\n let _iconUrlRoot = 'https://transportal.cee.wisc.edu/its/inventory/icons/';\r\n\r\n if (itsIcon) {\r\n return `<img src=\"${_iconUrlRoot + itsIcon}\" class=\"legend-layer-icon\" height=\"${iconHeight}\">`;\r\n } else if (itsLineStyle) {\r\n return `<hr style=\"height: ${itsLineStyle.width}px; background-color: ${itsLineStyle.color}\">`;\r\n } else if (itsIconConfig) {\r\n let outHtml = '';\r\n outHtml += '<ul>';\r\n\r\n for (let a of itsIconConfig.iconArray) {\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${a[1]}</span><img src=\"${_iconUrlRoot + a[2]}\" class=\"legend-layer-icon\" height=\"${iconHeight}\">`;\r\n }\r\n\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${itsIconConfig.defaultName}</span>` +\r\n `<img src=\"${_iconUrlRoot + itsIconConfig.defaultIcon}\" class=\"legend-layer-icon\" height=\"${iconHeight}\"></li>`;\r\n\r\n outHtml += '</ul>';\r\n\r\n return outHtml;\r\n } else if (itsLineConfig) {\r\n let outHtml = '';\r\n outHtml += '<ul>';\r\n for (let ls of itsLineConfig.lineArray) {\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${ls[1]}</span>` +\r\n `<hr style=\"height: ${ls[3]}px; background-color: ${ls[2]}\">`;\r\n }\r\n outHtml += `<li><span class=\"legend-layer-subitem\">${itsLineConfig.defaultName}</span>` +\r\n `<hr style=\"height: ${itsLineConfig.defaultWidth}px; background-color: ${itsLineConfig.defaultColor}\"></li>`;\r\n outHtml += '</ul>';\r\n\r\n return outHtml;\r\n } else {\r\n return '';\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Its Layer class\r\n * @augments LayerBaseVectorGeoJson\r\n */\r\nclass LayerItsInventory extends LayerBaseVectorGeoJson {\r\n\r\n /**\r\n * ITS device layer, types available at https://transportal.cee.wisc.edu/its/inventory/\r\n * @param {object} options - config\r\n * @param {string} [options.id] - layer id\r\n * @param {string} [options.name=Unnamed Layer] - layer name\r\n * @param {number} [options.opacity=1] - opacity\r\n * @param {boolean} [options.visible=true] - default visible\r\n * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28\r\n * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28\r\n * @param {object} [options.params={}] the get parameters to include to retrieve the layer\r\n * @param {number} [options.zIndex=0] the z index for the layer\r\n * @param {function} [options.loadCallback] function to call on load, context this is the layer object\r\n * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed\r\n * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility\r\n * @param {boolean} [options.legendContent] additional content to add to the legend\r\n *\r\n * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible\r\n * @param {object|*} [options.style=undefined] the layer style, use openlayers default style if not defined\r\n * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move\r\n * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called\r\n * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages\r\n *\r\n * @param {string} options.itsType the ITS device type, use the url flag at https://transportal.cee.wisc.edu/its/inventory/\r\n * @param {boolean} [options.addPopup=true] if the popup should be added automatically\r\n *\r\n * @param {string} [options.itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/\r\n *\r\n * @param {object} [options.itsLineStyle=undefined] A single line style\r\n * @param {string} options.itsLineStyle.color the line color as rgb or hex\r\n * @param {number} [options.itsLineStyle.width=5] the line width\r\n *\r\n * @param {object} [options.itsIconConfig=undefined] The icon subtype configuration\r\n * @param {string} options.itsIconConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} options.itsIconConfig.defaultName The default name to be used if no other match is found\r\n * @param {string} options.itsIconConfig.defaultIcon The default icon to be used for no other matches\r\n * @param {object} [options.itsIconConfig.iconArray=[]] an array, items with format [property, name, img]\r\n *\r\n * @param {object} [options.itsLineConfig=undefined] The property used to define icon attribute symbolization\r\n * @param {string} options.itsLineConfig.prop The property used to define icon attribute symbolization\r\n * @param {string} [options.itsLineConfig.defaultName=Other] The default name to be used if no other match is found\r\n * @param {string} [options.itsLineConfig.defaultColor=red] The default line color to be used for no other matches\r\n * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches\r\n * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5]\r\n */\r\n constructor(options: iLayerItsInventory) {\r\n if (typeof options.itsType !== 'string') {\r\n throw 'its type must be defined';\r\n }\r\n\r\n options.transform = {dataProjection: proj4326, featureProjection: proj3857};\r\n\r\n let addToLegend = '';\r\n\r\n // define a style with the helper function if it is not explicitly defined\r\n if (typeof options.style == 'undefined') {\r\n options.style = defineStyle(\r\n options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig\r\n );\r\n addToLegend = defineLegend(\r\n options.itsIcon, options.itsLineStyle, options.itsIconConfig, options.itsLineConfig\r\n );\r\n }\r\n\r\n options.params = typeof options.params == 'object' ? options.params : {};\r\n $.extend(options.params, {format: 'JSON', resource: options.itsType});\r\n\r\n super('https://transportal.cee.wisc.edu/its/inventory/', options);\r\n\r\n //add any additional content to the legend\r\n this.addLegendContent(addToLegend);\r\n\r\n options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : true;\r\n\r\n if (options.addPopup) {\r\n mapPopup.addVectorPopup(this, function (props: { featureGuid: string }) {\r\n return `<iframe src=\"https://transportal.cee.wisc.edu/its/inventory/?feature=${props.featureGuid}\" ` +\r\n `height=\"250\" width=\"350\"></iframe>`;\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * callback to generate the parameters passed in the get request\r\n * @callback makeGetParams\r\n * @param {object} extent - extent object\r\n * @param {number} extent.minX - minX\r\n * @param {number} extent.minY - minY\r\n * @param {number} extent.maxX - maxX\r\n * @param {number} extent.maxY - maxY\r\n * @param {number} zoomLevel - zoom level\r\n */\r\n mapMoveMakeGetParams(extent: { minX: number, minY: number, maxX: number, maxY: number }, zoomLevel: number) {\r\n super.mapMoveMakeGetParams(extent, zoomLevel);\r\n let lowerLeft = new ol.geom.Point([extent.minX, extent.minY]);\r\n lowerLeft.transform(this.mapProj, this._projection4326);\r\n let lowerLeftCoordinates = lowerLeft.getCoordinates();\r\n let upperRight = new ol.geom.Point([extent.maxX, extent.maxY]);\r\n upperRight.transform(this.mapProj, this._projection4326);\r\n let upperRightCoordinates = upperRight.getCoordinates();\r\n\r\n $.extend(this.mapMoveParams,\r\n {\r\n L: lowerLeftCoordinates[0],\r\n R: upperRightCoordinates[0],\r\n B: lowerLeftCoordinates[1],\r\n T: upperRightCoordinates[1]\r\n });\r\n }\r\n}\r\n\r\nnm.LayerItsInventory = LayerItsInventory;\r\nexport default LayerItsInventory;\r\n"]} \ No newline at end of file diff --git a/dist/mixin/RealEarthAnimateVector.d.ts b/dist/mixin/RealEarthAnimateVector.d.ts index 0823ece69963555873b41b760b510fab5b9b5d4e..de1e9ab419ab37b717e6f370dc89cc1f4239d572 100644 --- a/dist/mixin/RealEarthAnimateVector.d.ts +++ b/dist/mixin/RealEarthAnimateVector.d.ts @@ -44,7 +44,7 @@ declare class RealEarthAnimateVector extends RealEarthAnimate { * @param {object} geojObj - the geojson object * @private */ - _loadFeatures(geojObj: any): void; + _loadFeatures(geojObj: Object): void; setLayerTime(theTime: number): boolean; } export default RealEarthAnimateVector; diff --git a/dist/mixin/RealEarthAnimateVector.js.map b/dist/mixin/RealEarthAnimateVector.js.map index 7d9c1aebd60b4e0d6d0363d9f4e5aaadfdd77620..be61b9480fe0f2d4815716af5aa95f5ab28f8179 100644 --- a/dist/mixin/RealEarthAnimateVector.js.map +++ b/dist/mixin/RealEarthAnimateVector.js.map @@ -1 +1 @@ -{"version":3,"file":"RealEarthAnimateVector.js","sourceRoot":"","sources":["../../src/mixin/RealEarthAnimateVector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,uDAAkD;AAClD,2CAAsC;AAGtC,0BAA6B;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,OAAO,CAAC,CAAC;AAG5B;;;GAGG;AACH;IAAqC,0CAAgB;IAQjD,gCAAY,KAA2B,EAAE,YAAkD;QAA3F,YACI,kBAAM,KAAK,EAAE,YAAY,CAAC,SAI7B;QAHG,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,KAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC;QAC9B,KAAI,CAAC,IAAI,GAAG,KAAK,CAAC;;IACtB,CAAC;IAGD;;OAEG;IACH,yCAAQ,GAAR;QACI,iBAAM,QAAQ,WAAE,CAAC;QACjB,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC1B,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED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zB,QAAM,CAAC,eAAe,CAAC,QAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;gBACtD,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;oBACd,QAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;oBACvB,QAAM,CAAC,aAAa,CAAC,IAAI,CAAC,QAAM,EAAE,QAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5D,CAAC;YACL,CAAC,EAAE,MAAM,CACZ,CAAC;QACN,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,8CAAa,GAAb,UAAc,OAAO;QACjB,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC,OAAO,EAClE,EAAC,iBAAiB,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAC,CAAC,CAAC,CAAC;IAC3H,CAAC;IAED,6CAAY,GAAZ,UAAa,OAAe;QACxB,EAAE,CAAC,CAAC,iBAAM,YAAY,YAAC,OAAO,CAAC,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC9C,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACzB,CAAC;QACD,MAAM,CAAC,IAAI,CAAC;IAChB,CAAC;IACL,6BAAC;AAAD,CAAC,AAlGD,CAAqC,0BAAgB,GAkGpD;AAED,EAAE,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;AACnD,kBAAe,sBAAsB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/4/2015.\r\n */\r\nimport RealEarthAnimate from './RealEarthAnimate';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerVectorRealEarth} from \"../layers/LayerRealEarthVector\";\r\nimport $ = require('jquery');\r\nconst nm = provide('mixin');\r\n\r\n\r\n/**\r\n * class mixin to animate RealEarth vector layers\r\n * @augments RealEarthAnimate\r\n */\r\nclass RealEarthAnimateVector extends RealEarthAnimate {\r\n _dataCache: Array<Array<Object>|Object>;\r\n _source: ol.source.Vector;\r\n _rawTimesLookup: {[s: string]: any};\r\n _currentIndex: number;\r\n _olLayer: ol.layer.Vector;\r\n _lyr: LayerVectorRealEarth;\r\n\r\n constructor(layer: LayerVectorRealEarth, loadCallback?: (lyr: LayerVectorRealEarth) => void){\r\n super(layer, loadCallback);\r\n this._source = layer.source;\r\n this._olLayer = layer.olLayer;\r\n this._lyr = layer;\r\n }\r\n\r\n\r\n /**\r\n * Call this after the mixin has been applied\r\n */\r\n timeInit() {\r\n super.timeInit();\r\n this._rawTimesLookup = {};\r\n this._dataCache = [];\r\n }\r\n\r\n /**\r\n * Given the raw time string, add to the arrays to keep track of dates and cache\r\n * @param {string} inString - input date string\r\n * @protected\r\n */\r\n _loadDates(inString: string): string {\r\n let rawDte = super._loadDates(inString);\r\n this._dataCache.push(null);\r\n this._rawTimesLookup[rawDte] = null;\r\n return '';\r\n }\r\n\r\n /**\r\n * @protected\r\n */\r\n _loadLatest(): boolean {\r\n if (super._loadLatest()) {\r\n this._loadAtTimeIndex.call(this, this._currentIndex);\r\n }\r\n return true;\r\n }\r\n\r\n //\r\n //http://realearth.ssec.wisc.edu/api/image?products=nexrhres_20160108_212500&x=1&y=5&z=4\r\n //\r\n // 20160108.205500\r\n // http://realearth.ssec.wisc.edu/api/image?products=nexrhres_20160108_205500&x=34&y=46&z=7\r\n\r\n /**\r\n * Load the features at the date index specified\r\n * @param {number} i the index of the features to be loaded by date\r\n * @param {boolean} [setAsSource=true] set to false to trigger cache load only\r\n * @private\r\n */\r\n _loadAtTimeIndex(i: number, setAsSource = true) {\r\n setAsSource = typeof setAsSource == 'boolean' ? setAsSource : true;\r\n if (this._dataCache[i] != null) {\r\n this._source.clear();\r\n this._loadFeatures(this._dataCache[i]);\r\n } else {\r\n let __this = this;\r\n $.get('http://realearth.ssec.wisc.edu:80/api/shapes',\r\n {products: `${this._products}_${this._rawDateStrings[i]}`},\r\n function (d) {\r\n __this._dataCache[i] = d;\r\n __this._rawTimesLookup[__this._rawDateStrings[i]] = d;\r\n if (setAsSource) {\r\n __this._source.clear();\r\n __this._loadFeatures.call(__this, __this._dataCache[i]);\r\n }\r\n }, 'json'\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * helper to load the features at the index specified\r\n * @param {object} geojObj - the geojson object\r\n * @private\r\n */\r\n _loadFeatures(geojObj) {\r\n this._source.addFeatures(this._lyr._geoJsonFormat.readFeatures(geojObj,\r\n {featureProjection: this._lyr._transform.featureProjection, dataProjection: this._lyr._transform.dataProjection}));\r\n }\r\n\r\n setLayerTime(theTime: number): boolean {\r\n if (super.setLayerTime(theTime)) {\r\n this._loadAtTimeIndex(this._currentIndex);\r\n } else {\r\n this._source.clear();\r\n }\r\n return true;\r\n }\r\n}\r\n\r\nnm.RealEarthAnimateVector = RealEarthAnimateVector;\r\nexport default RealEarthAnimateVector;\r\n"]} \ No newline at end of file +{"version":3,"file":"RealEarthAnimateVector.js","sourceRoot":"","sources":["../../src/mixin/RealEarthAnimateVector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,uDAAkD;AAClD,2CAAsC;AAGtC,0BAA6B;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,OAAO,CAAC,CAAC;AAG5B;;;GAGG;AACH;IAAqC,0CAAgB;IAQjD,gCAAY,KAA2B,EAAE,YAAkD;QAA3F,YACI,kBAAM,KAAK,EAAE,YAAY,CAAC,SAI7B;QAHG,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,KAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC;QAC9B,KAAI,CAAC,IAAI,GAAG,KAAK,CAA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AsB,GAAG,sBAAsB,CAAC;AACnD,kBAAe,sBAAsB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/4/2015.\r\n */\r\nimport RealEarthAnimate from './RealEarthAnimate';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerVectorRealEarth} from \"../layers/LayerRealEarthVector\";\r\nimport $ = require('jquery');\r\nconst nm = provide('mixin');\r\n\r\n\r\n/**\r\n * class mixin to animate RealEarth vector layers\r\n * @augments RealEarthAnimate\r\n */\r\nclass RealEarthAnimateVector extends RealEarthAnimate {\r\n _dataCache: Array<Array<Object>|Object>;\r\n _source: ol.source.Vector;\r\n _rawTimesLookup: {[s: string]: any};\r\n _currentIndex: number;\r\n _olLayer: ol.layer.Vector;\r\n _lyr: LayerVectorRealEarth;\r\n\r\n constructor(layer: LayerVectorRealEarth, loadCallback?: (lyr: LayerVectorRealEarth) => void){\r\n super(layer, loadCallback);\r\n this._source = layer.source;\r\n this._olLayer = layer.olLayer;\r\n this._lyr = layer;\r\n }\r\n\r\n\r\n /**\r\n * Call this after the mixin has been applied\r\n */\r\n timeInit() {\r\n super.timeInit();\r\n this._rawTimesLookup = {};\r\n this._dataCache = [];\r\n }\r\n\r\n /**\r\n * Given the raw time string, add to the arrays to keep track of dates and cache\r\n * @param {string} inString - input date string\r\n * @protected\r\n */\r\n _loadDates(inString: string): string {\r\n let rawDte = super._loadDates(inString);\r\n this._dataCache.push(null);\r\n this._rawTimesLookup[rawDte] = null;\r\n return '';\r\n }\r\n\r\n /**\r\n * @protected\r\n */\r\n _loadLatest(): boolean {\r\n if (super._loadLatest()) {\r\n this._loadAtTimeIndex.call(this, this._currentIndex);\r\n }\r\n return true;\r\n }\r\n\r\n //\r\n //http://realearth.ssec.wisc.edu/api/image?products=nexrhres_20160108_212500&x=1&y=5&z=4\r\n //\r\n // 20160108.205500\r\n // http://realearth.ssec.wisc.edu/api/image?products=nexrhres_20160108_205500&x=34&y=46&z=7\r\n\r\n /**\r\n * Load the features at the date index specified\r\n * @param {number} i the index of the features to be loaded by date\r\n * @param {boolean} [setAsSource=true] set to false to trigger cache load only\r\n * @private\r\n */\r\n _loadAtTimeIndex(i: number, setAsSource = true) {\r\n setAsSource = typeof setAsSource == 'boolean' ? setAsSource : true;\r\n if (this._dataCache[i] != null) {\r\n this._source.clear();\r\n this._loadFeatures(this._dataCache[i]);\r\n } else {\r\n let __this = this;\r\n $.get('http://realearth.ssec.wisc.edu:80/api/shapes',\r\n {products: `${this._products}_${this._rawDateStrings[i]}`},\r\n function (d) {\r\n __this._dataCache[i] = d;\r\n __this._rawTimesLookup[__this._rawDateStrings[i]] = d;\r\n if (setAsSource) {\r\n __this._source.clear();\r\n __this._loadFeatures.call(__this, __this._dataCache[i]);\r\n }\r\n }, 'json'\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * helper to load the features at the index specified\r\n * @param {object} geojObj - the geojson object\r\n * @private\r\n */\r\n _loadFeatures(geojObj: Object) {\r\n this._source.addFeatures(this._lyr._geoJsonFormat.readFeatures(geojObj,\r\n {featureProjection: this._lyr._transform.featureProjection, dataProjection: this._lyr._transform.dataProjection}));\r\n }\r\n\r\n setLayerTime(theTime: number): boolean {\r\n if (super.setLayerTime(theTime)) {\r\n this._loadAtTimeIndex(this._currentIndex);\r\n } else {\r\n this._source.clear();\r\n }\r\n return true;\r\n }\r\n}\r\n\r\nnm.RealEarthAnimateVector = RealEarthAnimateVector;\r\nexport default RealEarthAnimateVector;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/SortedFeatures.d.ts b/dist/olHelpers/SortedFeatures.d.ts index c4d500a79d124ba958063d0add65b3acb4b4b338..8a2e8cc7f675d890f0345aca6d50126a993120aa 100644 --- a/dist/olHelpers/SortedFeatures.d.ts +++ b/dist/olHelpers/SortedFeatures.d.ts @@ -19,6 +19,6 @@ export declare class SortedFeatures { * @param {Array} [sortedFeatures=this.sortedFeatures] - the candidate features * @returns {ol.Feature|undefined} the feature matching the lookup */ - getFeature(propertyValue: any, exactMatch?: boolean, sortedFeatures?: Array<ol.Feature>): ol.Feature; + getFeature(propertyValue: number | string, exactMatch?: boolean, sortedFeatures?: Array<ol.Feature>): ol.Feature; } export default SortedFeatures; diff --git a/dist/olHelpers/SortedFeatures.js.map b/dist/olHelpers/SortedFeatures.js.map index 2a68fa0a2cd3e0d9e67a56b4237a6d7066742724..5a7cbdd6c402f003d26ea1990443d5b83375a0c5 100644 --- a/dist/olHelpers/SortedFeatures.js.map +++ b/dist/olHelpers/SortedFeatures.js.map @@ -1 +1 @@ -{"version":3,"file":"SortedFeatures.js","sourceRoot":"","sources":["../../src/olHelpers/SortedFeatures.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,2CAAsC;AAEtC,IAAI,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAE9B;;GAEG;AACH;IAKI;;;;OAIG;IACH,wBAAY,QAAsB,EAAE,YAAoB;QACpD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QAEjC,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;YACjC,IAAI,CAAC,aAAa,GAAG,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAEtF,IAAI,QAAM,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;gBACnC,EAAE,CAAC,CAAC,QAAM,CAAC,aAAa,IAAI,QAAQ,CAAC,CAAA,CAAC;oBAClC,IAAI,OAAO,GAAG,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,QAAM,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,QAAM,CAAC,YAAY,CAAC,CAAC;oBACpG,EAAE,CAAC,CAAC,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orhes on 12/23/2015.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nlet nm = provide('olHelpers');\r\n\r\n/**\r\n * take an array of features and sort by a given property name\r\n */\r\nexport class SortedFeatures {\r\n sortedFeatures: Array<ol.Feature>;\r\n propertyName: string;\r\n _propertyType: string;\r\n\r\n /**\r\n *\r\n * @param {Array<ol.Feature>} features array of ol features\r\n * @param {string} propertyName - the property name to use for lookup\r\n */\r\n constructor(features: ol.Feature[], propertyName: string) {\r\n this.sortedFeatures = features;\r\n this.propertyName = propertyName;\r\n\r\n if (this.sortedFeatures.length > 0) {\r\n this._propertyType = typeof this.sortedFeatures[0].getProperties()[this.propertyName];\r\n\r\n let __this = this;\r\n this.sortedFeatures.sort(function (a, b) : number {\r\n if (__this._propertyType == 'number'){\r\n let aMinusB = a['getProperties']()[__this.propertyName] - b['getProperties']()[__this.propertyName];\r\n if (aMinusB == 0){\r\n return 0;\r\n } else {\r\n return aMinusB > 0 ? 1 : -1;\r\n }\r\n } else if (__this._propertyType == 'string'){\r\n let propA = a['getProperties']()[__this.propertyName] || '';\r\n let propB = b['getProperties']()[__this.propertyName] || '';\r\n propA = propA.toString().trim();\r\n propB = propB.toString().trim();\r\n\r\n if (propA == propB){\r\n return 0;\r\n } else {\r\n return propA > propB ? 1 : 0;\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * recursive search to find the value\r\n * @param {number|string} propertyValue - the property value to search for\r\n * @param {boolean} [exactMatch=false] if only an exact match should be returned\r\n * @param {Array} [sortedFeatures=this.sortedFeatures] - the candidate features\r\n * @returns {ol.Feature|undefined} the feature matching the lookup\r\n */\r\n getFeature(propertyValue, exactMatch: boolean = false, sortedFeatures? :Array<ol.Feature>): ol.Feature {\r\n if (typeof sortedFeatures == 'undefined'){\r\n sortedFeatures = this.sortedFeatures;\r\n }\r\n\r\n\r\n if (sortedFeatures.length == 0){\r\n return undefined;\r\n }\r\n\r\n if (sortedFeatures.length == 1){\r\n if (exactMatch){\r\n if (sortedFeatures[0].getProperties()[this.propertyName] == propertyValue){\r\n return sortedFeatures[0];\r\n } else {\r\n return undefined;\r\n }\r\n } else {\r\n return sortedFeatures[0];\r\n }\r\n }\r\n\r\n let lowProp = sortedFeatures[0].getProperties()[this.propertyName];\r\n let highProp = sortedFeatures[sortedFeatures.length - 1].getProperties()[this.propertyName];\r\n\r\n if (exactMatch){\r\n if (lowProp == propertyValue){\r\n return sortedFeatures[0];\r\n } else if (propertyValue < lowProp){\r\n return undefined;\r\n } else if (highProp == propertyValue){\r\n return sortedFeatures[sortedFeatures.length - 1];\r\n } else if (propertyValue > highProp){\r\n return undefined;\r\n }\r\n } else {\r\n if (propertyValue <= lowProp){\r\n return sortedFeatures[0];\r\n } else if (propertyValue >= highProp){\r\n return sortedFeatures[sortedFeatures.length - 1];\r\n }\r\n }\r\n\r\n let midIndex = Math.floor(sortedFeatures.length / 2);\r\n let midFeature = sortedFeatures[midIndex];\r\n let midProperty = midFeature.getProperties()[this.propertyName];\r\n\r\n if (midProperty === propertyValue){\r\n return midFeature;\r\n }\r\n\r\n if (propertyValue < midProperty){\r\n return this.getFeature(propertyValue, exactMatch, sortedFeatures.slice(0, midIndex));\r\n } else {\r\n return this.getFeature(propertyValue, exactMatch, sortedFeatures.slice(midIndex));\r\n }\r\n }\r\n}\r\n\r\nnm.SortedFeatures = SortedFeatures;\r\nexport default SortedFeatures;\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"SortedFeatures.js","sourceRoot":"","sources":["../../src/olHelpers/SortedFeatures.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,2CAAsC;AAEtC,IAAI,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAE9B;;GAEG;AACH;IAKI;;;;OAIG;IACH,wBAAY,QAAsB,EAAE,YAAoB;QACpD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QAEjC,EAAE,CAAC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AAC;YAChC,MAAM,CAAC,UAAU,CAAC;QACtB,CAAC;QAED,EAAE,CAAC,CAAC,aAAa,GAAG,WAAW,CAAC,CAAA,CAAC;YAC7B,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;QACzF,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;QACtF,CAAC;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AA1GD,IA0GC;AA1GY,wCAAc;AA4G3B,EAAE,CAAC,cAAc,GAAG,cAAc,CAAC;AACnC,kBAAe,cAAc,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/23/2015.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nlet nm = provide('olHelpers');\r\n\r\n/**\r\n * take an array of features and sort by a given property name\r\n */\r\nexport class SortedFeatures {\r\n sortedFeatures: Array<ol.Feature>;\r\n propertyName: string;\r\n _propertyType: string;\r\n\r\n /**\r\n *\r\n * @param {Array<ol.Feature>} features array of ol features\r\n * @param {string} propertyName - the property name to use for lookup\r\n */\r\n constructor(features: ol.Feature[], propertyName: string) {\r\n this.sortedFeatures = features;\r\n this.propertyName = propertyName;\r\n\r\n if (this.sortedFeatures.length > 0) {\r\n this._propertyType = typeof this.sortedFeatures[0].getProperties()[this.propertyName];\r\n\r\n let __this = this;\r\n this.sortedFeatures.sort(function (a, b) : number {\r\n if (__this._propertyType == 'number'){\r\n let aMinusB = a['getProperties']()[__this.propertyName] - b['getProperties']()[__this.propertyName];\r\n if (aMinusB == 0){\r\n return 0;\r\n } else {\r\n return aMinusB > 0 ? 1 : -1;\r\n }\r\n } else if (__this._propertyType == 'string'){\r\n let propA = a['getProperties']()[__this.propertyName] || '';\r\n let propB = b['getProperties']()[__this.propertyName] || '';\r\n propA = propA.toString().trim();\r\n propB = propB.toString().trim();\r\n\r\n if (propA == propB){\r\n return 0;\r\n } else {\r\n return propA > propB ? 1 : 0;\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * recursive search to find the value\r\n * @param {number|string} propertyValue - the property value to search for\r\n * @param {boolean} [exactMatch=false] if only an exact match should be returned\r\n * @param {Array} [sortedFeatures=this.sortedFeatures] - the candidate features\r\n * @returns {ol.Feature|undefined} the feature matching the lookup\r\n */\r\n getFeature(propertyValue: number|string, exactMatch: boolean = false, sortedFeatures? :Array<ol.Feature>): ol.Feature {\r\n if (typeof sortedFeatures == 'undefined'){\r\n sortedFeatures = this.sortedFeatures;\r\n }\r\n\r\n\r\n if (sortedFeatures.length == 0){\r\n return undefined;\r\n }\r\n\r\n if (sortedFeatures.length == 1){\r\n if (exactMatch){\r\n if (sortedFeatures[0].getProperties()[this.propertyName] == propertyValue){\r\n return sortedFeatures[0];\r\n } else {\r\n return undefined;\r\n }\r\n } else {\r\n return sortedFeatures[0];\r\n }\r\n }\r\n\r\n let lowProp = sortedFeatures[0].getProperties()[this.propertyName];\r\n let highProp = sortedFeatures[sortedFeatures.length - 1].getProperties()[this.propertyName];\r\n\r\n if (exactMatch){\r\n if (lowProp == propertyValue){\r\n return sortedFeatures[0];\r\n } else if (propertyValue < lowProp){\r\n return undefined;\r\n } else if (highProp == propertyValue){\r\n return sortedFeatures[sortedFeatures.length - 1];\r\n } else if (propertyValue > highProp){\r\n return undefined;\r\n }\r\n } else {\r\n if (propertyValue <= lowProp){\r\n return sortedFeatures[0];\r\n } else if (propertyValue >= highProp){\r\n return sortedFeatures[sortedFeatures.length - 1];\r\n }\r\n }\r\n\r\n let midIndex = Math.floor(sortedFeatures.length / 2);\r\n let midFeature = sortedFeatures[midIndex];\r\n let midProperty = midFeature.getProperties()[this.propertyName];\r\n\r\n if (midProperty === propertyValue){\r\n return midFeature;\r\n }\r\n\r\n if (propertyValue < midProperty){\r\n return this.getFeature(propertyValue, exactMatch, sortedFeatures.slice(0, midIndex));\r\n } else {\r\n return this.getFeature(propertyValue, exactMatch, sortedFeatures.slice(midIndex));\r\n }\r\n }\r\n}\r\n\r\nnm.SortedFeatures = SortedFeatures;\r\nexport default SortedFeatures;\r\n\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/esriToOlStyle.d.ts b/dist/olHelpers/esriToOlStyle.d.ts index 639b8bd3d12f282a0ef9784ba772e4d624621e1a..f6ca0a5e65305bdf7ff7fc76e331f2917f1c9498 100644 --- a/dist/olHelpers/esriToOlStyle.d.ts +++ b/dist/olHelpers/esriToOlStyle.d.ts @@ -1,47 +1,53 @@ import ol = require('custom-ol'); -export interface EsriResponse { +export interface iEsriResponse { drawingInfo: { - renderer: EsriRenderer; + renderer: iEsriRenderer; + transparency: number; }; geometryType: string; } -export interface EsriRenderer { +export interface iEsriRenderer { type: string; - symbol: EsriSymbol; + symbol: iEsriSymbol; uniqueValueInfos: Array<{ label: string; value: any; - symbol: EsriSymbol; + symbol: iEsriSymbol; }>; + field1: string; + defaultSymbol: iEsriSymbol; + defaultLabel: string; } -export interface EsriSymbol { +export interface iEsriSymbol { size: number; type: string; outline: { - color: string; + color: [number, number, number]; width: number; }; - color: string; + color: [number, number, number]; width: number; + imageData: string; } -/** - * style and legend object - * @typedef {object} styleAndLegend - * @property {styleFunc} style - style function - * @property {string} legend - legend content - */ -/** - * - * @param {object} esriResponse - layer info - * @returns {styleAndLegend} style and legend object - */ -export declare function makeFeatureServiceLegendAndSymbol(esriResponse: EsriResponse): { - style: ol.style.Style | ol.style.Style[] | ol.StyleFunction; +export interface iStyleFunc { + (f: ol.Feature): ol.style.Style | ol.style.Style[]; +} +export declare function makeFeatureServiceLegendAndSymbol(esriResponse: iEsriResponse): { + style: iStyleFunc | ol.style.Style; legend: string; }; +export interface iMapServiceLegend { + layerName: string; + legend: { + label: string; + imageData: string; + }[]; +} /** * make map service legent * @param {object} esriResponse - layer info * @returns {string} legend content */ -export declare function makeMapServiceLegend(esriResponse: any): string; +export declare function makeMapServiceLegend(esriResponse: { + layers: iMapServiceLegend[]; +}): string; diff --git a/dist/olHelpers/esriToOlStyle.js b/dist/olHelpers/esriToOlStyle.js index b66ee07786acf4a5cf94f6cf62c17b0e4aa9210d..924f4e165050d1e16ebd5f7fafd9c2c7f347f793 100644 --- a/dist/olHelpers/esriToOlStyle.js +++ b/dist/olHelpers/esriToOlStyle.js @@ -16,12 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); var provide_1 = require("../util/provide"); var ol = require("custom-ol"); var nm = provide_1.default('olHelpers.esriToOlStyle'); -/** - * This callback is displayed as part of the Requester class. - * @callback styleFunc - * @param {ol.Feature} feat - openlayers feature - * @param {number} resolution - map resolution - */ /** * * @param {Array<number>} colorArray - input color array @@ -202,9 +196,9 @@ var UniqueValueSymbol = (function (_super) { */ function UniqueValueSymbol(esriResponse, SymbolClass) { var _this = _super.call(this, esriResponse) || this; - _this.uniqueValueInfos = _this.renderer['uniqueValueInfos']; - _this.propertyName = _this.renderer['field1']; - _this.defaultSymbol = _this.renderer['defaultSymbol']; + _this.uniqueValueInfos = _this.renderer.uniqueValueInfos; + _this.propertyName = _this.renderer.field1; + _this.defaultSymbol = _this.renderer.defaultSymbol; if (_this.defaultSymbol) { var symbolObj = new SymbolClass(_this.defaultSymbol, _this.opacity); _this.defaultStyle = symbolObj.olStyle; @@ -229,14 +223,12 @@ var UniqueValueSymbol = (function (_super) { _this.olStyle = function (feature) { var checkProperties = feature.getProperties(); var checkProperty = checkProperties[_this.propertyName]; - var returnValue; if (_this.propertyStyleLookup[checkProperty] !== undefined) { - returnValue = [_this.propertyStyleLookup[checkProperty]]; + return [_this.propertyStyleLookup[checkProperty]]; } else { - returnValue = [_this.defaultStyle]; + return [_this.defaultStyle]; } - return returnValue; }; if (_this.defaultLabelHtml !== null) { _this.legendArray.push(_this.defaultLabelHtml); @@ -251,17 +243,6 @@ var UniqueValueSymbol = (function (_super) { } return UniqueValueSymbol; }(SymbolGenerator)); -/** - * style and legend object - * @typedef {object} styleAndLegend - * @property {styleFunc} style - style function - * @property {string} legend - legend content - */ -/** - * - * @param {object} esriResponse - layer info - * @returns {styleAndLegend} style and legend object - */ function makeFeatureServiceLegendAndSymbol(esriResponse) { "use strict"; var renderer = esriResponse.drawingInfo.renderer; diff --git a/dist/olHelpers/esriToOlStyle.js.map b/dist/olHelpers/esriToOlStyle.js.map index 61beb435aad3e38532668b382ae7a2eb3b327cc6..c28b89b21f3244e6c27aa9dcd4bf05188e0226a5 100644 --- a/dist/olHelpers/esriToOlStyle.js.map +++ b/dist/olHelpers/esriToOlStyle.js.map @@ -1 +1 @@ -{"version":3,"file":"esriToOlStyle.js","sourceRoot":"","sources":["../../src/olHelpers/esriToOlStyle.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,2CAAsC;AACtC,8BAAiC;AACjC,IAAM,EAAE,GAAG,iBAAO,CAAC,yBAAyB,CAAC,CAAC;AAE9C;;;;;GAKG;AAEH;;;;;;GAMG;AACH,2BAA2B,UAAU,EAAE,OAAO;IAC1C,YAAY,CAAC;IAEb,MAAM,CAAC,UAAQ,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,OAAO,MAAG,CAAC;AACjF,CAAC;AAED;;;;GAIG;AACH,oBAAoB,GAAG;IACnB,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;SACb,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AA4B3B;IA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C;QAC5B,UAAU,GAAG,0CAAsC,SAAS,YAAS,GAAG,UAAU,CAAC;IACvF,CAAC;IAED,MAAM,CAAC,UAAU,CAAC;AACtB,CAAC;AAED;;;;GAIG;AACH,8BAAqC,YAAY;IAC7C,YAAY,CAAC;IAEb,IAAI,aAAa,GAAG,EAAE,CAAC;IAEvB,IAAI,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAEpC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QACrB,aAAa,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,aAAa,IAAI,MAAM,CAAC;QACxB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACrC,aAAa,IAAI,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;QACxE,CAAC;QACD,aAAa,IAAI,OAAO,CAAC;IAC7B,CAAC;IAED,MAAM,CAAC,aAAa,CAAC;AACzB,CAAC;AAlBD,oDAkBC;AAED,EAAE,CAAC,oBAAoB,GAAG,oBAAoB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 1/4/2016.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nconst nm = provide('olHelpers.esriToOlStyle');\r\n\r\n/**\r\n * This callback is displayed as part of the Requester class.\r\n * @callback styleFunc\r\n * @param {ol.Feature} feat - openlayers feature\r\n * @param {number} resolution - map resolution\r\n */\r\n\r\n/**\r\n *\r\n * @param {Array<number>} colorArray - input color array\r\n * @param {number} opacity - the opacity 0 to 1\r\n * @returns {string} rgba string\r\n * @private\r\n */\r\nfunction _colorArrayToRgba(colorArray, opacity) {\r\n \"use strict\";\r\n\r\n return `rgba(${colorArray[0]},${colorArray[1]},${colorArray[2]},${opacity})`;\r\n}\r\n\r\n/**\r\n * escape html charcters\r\n * @param {string} str - input string\r\n * @returns {string} escaped string\r\n */\r\nfunction htmlEscape(str) {\r\n return String(str)\r\n .replace(/&/g, '&')\r\n .replace(/\"/g, '"')\r\n .replace(/'/g, ''')\r\n .replace(/</g, '<')\r\n .replace(/>/g, '>');\r\n}\r\n\r\nnm.htmlEscape = htmlEscape;\r\n\r\n\r\nexport interface EsriResponse{\r\n drawingInfo: {\r\n renderer: EsriRenderer\r\n },\r\n geometryType: string\r\n}\r\n\r\nexport interface EsriRenderer{\r\n type: string;\r\n symbol: EsriSymbol;\r\n uniqueValueInfos: Array<{label: string, value: any, symbol: EsriSymbol}>;\r\n}\r\n\r\nexport interface EsriSymbol{\r\n size: number;\r\n type: string;\r\n outline:{\r\n color: string;\r\n width: number;\r\n },\r\n color: string;\r\n width: number;\r\n}\r\n\r\n\r\nclass CommonSymbol {\r\n legendHtml: string;\r\n opacity: number;\r\n symbolObj: EsriSymbol;\r\n olStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n\r\n /**\r\n *\r\n * @param symbolObj\r\n * @param {number} opacity\r\n */\r\n constructor(symbolObj: EsriSymbol, opacity: number) {\r\n this.symbolObj = symbolObj;\r\n this.opacity = opacity;\r\n this.olStyle = undefined;\r\n this.legendHtml = '';\r\n }\r\n}\r\n\r\ninterface ICommonSymbol{\r\n new (symbolObj: EsriSymbol, opacity: number): CommonSymbol\r\n}\r\n\r\n\r\nclass PointSymbol extends CommonSymbol {\r\n constructor(symbolObj: EsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj.type) {\r\n case 'esriSMS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);\r\n let outlineWidth = this.symbolObj.outline.width;\r\n let radius = this.symbolObj.size;\r\n\r\n\r\n this.olStyle = new ol.style.Style({\r\n image: new ol.style.Circle({\r\n radius: radius,\r\n fill: new ol.style.Fill({\r\n color: innerColor\r\n }),\r\n stroke: new ol.style.Stroke({color: outerColor, width: outlineWidth})\r\n })\r\n });\r\n this.legendHtml = `<span class=\"legend-layer-icon\" style=\"color: ${innerColor}\">●</span>`;\r\n break;\r\n case 'esriPMS':\r\n this.olStyle = new ol.style.Style({\r\n image: new ol.style.Icon({src: `data:image/png;base64,${this.symbolObj['imageData']}`})\r\n });\r\n this.legendHtml = `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${this.symbolObj['imageData']}\">`;\r\n break;\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Point symbol does not handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nclass LineSymbol extends CommonSymbol {\r\n constructor(symbolObj: EsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj.type) {\r\n case 'esriSLS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let lineWidth = this.symbolObj.width;\r\n\r\n this.olStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: innerColor,\r\n //lineDash: [4],\r\n width: lineWidth\r\n })\r\n });\r\n\r\n this.legendHtml = `<span class=\"legend-layer-icon\" `;\r\n this.legendHtml += `style=\"`;\r\n this.legendHtml += `background-color: ${innerColor};`;\r\n this.legendHtml += `width: 40px;`;\r\n this.legendHtml += `height: 4px;`;\r\n this.legendHtml += `position: relative;`;\r\n this.legendHtml += `display: inline-block;`;\r\n this.legendHtml += `top: -1px;`;\r\n this.legendHtml += `\"></span>`;\r\n break;\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Line symbol does not handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nclass PolygonSymbol extends CommonSymbol {\r\n constructor(symbolObj: EsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj['type']) {\r\n case 'esriSFS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);\r\n let outlineWidth = this.symbolObj.outline.width;\r\n\r\n this.olStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: outerColor,\r\n //lineDash: [4],\r\n width: outlineWidth\r\n }),\r\n fill: new ol.style.Fill({\r\n color: innerColor\r\n })\r\n });\r\n\r\n this.legendHtml = `<span class=\"legend-layer-icon\" `;\r\n this.legendHtml += `style=\"`;\r\n this.legendHtml += `background-color: ${innerColor};`;\r\n this.legendHtml += `border: solid ${outerColor} 1px;`;\r\n this.legendHtml += `width: 40px;`;\r\n this.legendHtml += `height: 9px;`;\r\n this.legendHtml += `position: relative;`;\r\n this.legendHtml += `display: inline-block;`;\r\n this.legendHtml += `top: 2px;`;\r\n this.legendHtml += `\"></span>`;\r\n break;\r\n\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Polygon symbol does handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nclass SymbolGenerator {\r\n opacity: number;\r\n renderer: EsriRenderer;\r\n legendHtml: string;\r\n olStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n\r\n constructor(esriResponse: EsriResponse) {\r\n this.opacity = (100 - (esriResponse['drawingInfo']['transparency'] || 0)) / 100;\r\n this.renderer = esriResponse.drawingInfo.renderer;\r\n this.olStyle = undefined;\r\n this.legendHtml = '';\r\n }\r\n}\r\n\r\nclass SingleSymbol extends SymbolGenerator {\r\n symbol: EsriSymbol;\r\n /**\r\n *\r\n * @param {object} esriResponse - layer info\r\n * @param SymbolClass - the symbol class to use\r\n */\r\n constructor(esriResponse, SymbolClass: ICommonSymbol) {\r\n super(esriResponse);\r\n this.symbol = this.renderer.symbol;\r\n let symbolObj = new SymbolClass(this.symbol, this.opacity);\r\n this.olStyle = symbolObj.olStyle;\r\n this.legendHtml = symbolObj.legendHtml;\r\n }\r\n}\r\n\r\nclass UniqueValueSymbol extends SymbolGenerator {\r\n\r\n propertyName: string;\r\n defaultSymbol: EsriSymbol;\r\n defaultStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction;\r\n defaultLabelHtml: string;\r\n labelArray: Array<string>;\r\n legendArray: Array<string>;\r\n propertyStyleLookup: Object;\r\n valueArray: Array<any>;\r\n uniqueValueInfos: Array<{label: string, value: any, symbol: EsriSymbol}>;\r\n\r\n /**\r\n *\r\n * @param {object} esriResponse - layer info\r\n * @param SymbolClass - the Symbol class definition\r\n */\r\n constructor(esriResponse: EsriResponse, SymbolClass: ICommonSymbol) {\r\n super(esriResponse);\r\n this.uniqueValueInfos = this.renderer['uniqueValueInfos'];\r\n this.propertyName = this.renderer['field1'];\r\n this.defaultSymbol = this.renderer['defaultSymbol'];\r\n\r\n\r\n if (this.defaultSymbol) {\r\n let symbolObj = new SymbolClass(this.defaultSymbol, this.opacity);\r\n this.defaultStyle = symbolObj.olStyle;\r\n this.defaultLabelHtml = `<span class=\"legend-layer-subitem\">${htmlEscape(this.renderer['defaultLabel'])}</span>` + symbolObj.legendHtml;\r\n } else {\r\n this.defaultStyle = undefined;\r\n this.defaultLabelHtml = 'other';\r\n }\r\n\r\n this.valueArray = [];\r\n this.labelArray = [];\r\n this.legendArray = [];\r\n this.propertyStyleLookup = {};\r\n\r\n for (let uniqueVal of this.uniqueValueInfos) {\r\n this.labelArray.push(uniqueVal['label']);\r\n this.valueArray.push(uniqueVal['value']);\r\n let uniqueSym = new SymbolClass(uniqueVal.symbol, this.opacity);\r\n this.legendArray.push(`<span class=\"legend-layer-subitem\">${htmlEscape(uniqueVal['label'])}</span>` + uniqueSym.legendHtml);\r\n this.propertyStyleLookup[uniqueVal['value']] = uniqueSym.olStyle;\r\n }\r\n\r\n\r\n this.olStyle = (feature: ol.Feature) => {\r\n let checkProperties = feature.getProperties();\r\n let checkProperty = checkProperties[this.propertyName];\r\n\r\n let returnValue;\r\n if (this.propertyStyleLookup[checkProperty] !== undefined) {\r\n returnValue = [this.propertyStyleLookup[checkProperty]];\r\n } else {\r\n returnValue = [this.defaultStyle];\r\n }\r\n\r\n return returnValue;\r\n };\r\n\r\n if (this.defaultLabelHtml !== null) {\r\n this.legendArray.push(this.defaultLabelHtml);\r\n }\r\n\r\n this.legendHtml = '<ul>';\r\n for (let h of this.legendArray) {\r\n this.legendHtml += `<li>${h}</li>`;\r\n }\r\n this.legendHtml += '</ul>';\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * style and legend object\r\n * @typedef {object} styleAndLegend\r\n * @property {styleFunc} style - style function\r\n * @property {string} legend - legend content\r\n */\r\n\r\n/**\r\n *\r\n * @param {object} esriResponse - layer info\r\n * @returns {styleAndLegend} style and legend object\r\n */\r\nexport function makeFeatureServiceLegendAndSymbol(esriResponse: EsriResponse) {\r\n \"use strict\";\r\n let renderer = esriResponse.drawingInfo.renderer;\r\n let symbolLegendOut: SymbolGenerator = null;\r\n\r\n switch (renderer.type) {\r\n case 'simple':\r\n switch (esriResponse.geometryType) {\r\n case 'esriGeometryPoint':\r\n symbolLegendOut = new SingleSymbol(esriResponse, PointSymbol);\r\n break;\r\n case 'esriGeometryPolyline':\r\n symbolLegendOut = new SingleSymbol(esriResponse, LineSymbol);\r\n break;\r\n case 'esriGeometryPolygon':\r\n symbolLegendOut = new SingleSymbol(esriResponse, PolygonSymbol);\r\n break;\r\n default:\r\n console.log(esriResponse);\r\n alert(esriResponse.geometryType + ' not handled');\r\n }\r\n break;\r\n case 'uniqueValue':\r\n switch (esriResponse.geometryType) {\r\n case 'esriGeometryPoint':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, PointSymbol);\r\n break;\r\n case 'esriGeometryPolyline':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, LineSymbol);\r\n break;\r\n case 'esriGeometryPolygon':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, PolygonSymbol);\r\n break;\r\n default:\r\n console.log(esriResponse);\r\n alert(esriResponse['geometryType'] + ' not handled');\r\n }\r\n break;\r\n default:\r\n alert('not handled renderer type: ' + renderer['type']);\r\n }\r\n\r\n if (symbolLegendOut == null) {\r\n return {style: undefined, legend: ''};\r\n } else {\r\n return {style: symbolLegendOut.olStyle, legend: symbolLegendOut.legendHtml};\r\n }\r\n}\r\n\r\nnm.makeFeatureServiceLegendAndSymbol = makeFeatureServiceLegendAndSymbol;\r\n\r\n\r\n/**\r\n *\r\n * @param {object} lyrObject - the layer as defined in the response\r\n * @param {boolean} [skipLayerNameAndExpander=false] use only icons\r\n * @returns {string} legend html\r\n */\r\nfunction mapServiceLegendItem(lyrObject, skipLayerNameAndExpander: boolean = false) {\r\n\r\n\r\n skipLayerNameAndExpander = typeof skipLayerNameAndExpander == 'boolean' ? skipLayerNameAndExpander : false;\r\n let layerName = lyrObject['layerName'];\r\n let legendItems = lyrObject['legend'];\r\n let legendHtml = '';\r\n\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml += `<span class=\"legend-layer-subitem\">${layerName}</span>`;\r\n }\r\n\r\n if (legendItems.length == 1) {\r\n legendHtml = `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${legendItems[0]['imageData']}\">`;\r\n } else {\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml += '<span class=\"legend-items-expander\" title=\"Expand/Collapse\">▼</span>';\r\n }\r\n legendHtml += '<ul>';\r\n for (let i = 0; i < legendItems.length; i++) {\r\n legendHtml += `<li>`;\r\n legendHtml += `<span class=\"legend-layer-subitem\">${htmlEscape(legendItems[i]['label'])}</span>`;\r\n legendHtml += `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${legendItems[i]['imageData']}\">`;\r\n legendHtml += `</li>`;\r\n }\r\n legendHtml += '</ul>';\r\n }\r\n\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml = `<span class=\"legend-layer-subitem\">${layerName}</span>` + legendHtml;\r\n }\r\n\r\n return legendHtml;\r\n}\r\n\r\n/**\r\n * make map service legent\r\n * @param {object} esriResponse - layer info\r\n * @returns {string} legend content\r\n */\r\nexport function makeMapServiceLegend(esriResponse) {\r\n \"use strict\";\r\n\r\n let newLegendHtml = '';\r\n\r\n let layers = esriResponse['layers'];\r\n\r\n if (layers.length == 1) {\r\n newLegendHtml += mapServiceLegendItem(layers[0], true);\r\n } else {\r\n newLegendHtml += '<ul>';\r\n for (let i = 0; i < layers.length; i++) {\r\n newLegendHtml += '<li>' + mapServiceLegendItem(layers[i]) + '</li>';\r\n }\r\n newLegendHtml += '</ul>';\r\n }\r\n\r\n return newLegendHtml;\r\n}\r\n\r\nnm.makeMapServiceLegend = makeMapServiceLegend;\r\n"]} \ No newline at end of file +{"version":3,"file":"esriToOlStyle.js","sourceRoot":"","sources":["../../src/olHelpers/esriToOlStyle.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;GAEG;AACH,2CAAsC;AACtC,8BAAiC;AACjC,IAAM,EAAE,GAAG,iBAAO,CAAC,yBAAyB,CAAC,CAAC;AAG9C;;;;;;GAMG;AACH,2BAA2B,UAAoC,EAAE,OAAe;IAC5E,YAAY,CAAC;IAEb,MAAM,CAAC,UAAQ,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,UAAU,CAAC,CAAC,CAAC,SAAI,OAAO,MAAG,CAAC;AACjF,CAAC;AAED;;;;GAIG;AACH,oBAAoB,GAAW;IAC3B,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;SACb,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAC/B,CAAC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAkC3B;I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ACtB,CAAC;AAED;;;;GAIG;AACH,8BAAqC,YAA2C;IAC5E,YAAY,CAAC;IAEb,IAAI,aAAa,GAAG,EAAE,CAAC;IAEvB,IAAI,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAEpC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;QACrB,aAAa,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,aAAa,IAAI,MAAM,CAAC;QACxB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACrC,aAAa,IAAI,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;QACxE,CAAC;QACD,aAAa,IAAI,OAAO,CAAC;IAC7B,CAAC;IAED,MAAM,CAAC,aAAa,CAAC;AACzB,CAAC;AAlBD,oDAkBC;AAED,EAAE,CAAC,oBAAoB,GAAG,oBAAoB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 1/4/2016.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nconst nm = provide('olHelpers.esriToOlStyle');\r\n\r\n\r\n/**\r\n *\r\n * @param {Array<number>} colorArray - input color array\r\n * @param {number} opacity - the opacity 0 to 1\r\n * @returns {string} rgba string\r\n * @private\r\n */\r\nfunction _colorArrayToRgba(colorArray: [number, number, number], opacity: number): string {\r\n \"use strict\";\r\n\r\n return `rgba(${colorArray[0]},${colorArray[1]},${colorArray[2]},${opacity})`;\r\n}\r\n\r\n/**\r\n * escape html charcters\r\n * @param {string} str - input string\r\n * @returns {string} escaped string\r\n */\r\nfunction htmlEscape(str: string): string {\r\n return String(str)\r\n .replace(/&/g, '&')\r\n .replace(/\"/g, '"')\r\n .replace(/'/g, ''')\r\n .replace(/</g, '<')\r\n .replace(/>/g, '>');\r\n}\r\n\r\nnm.htmlEscape = htmlEscape;\r\n\r\n\r\nexport interface iEsriResponse{\r\n drawingInfo: {\r\n renderer: iEsriRenderer;\r\n transparency: number\r\n },\r\n geometryType: string\r\n}\r\n\r\n\r\nexport interface iEsriRenderer{\r\n type: string;\r\n symbol: iEsriSymbol;\r\n uniqueValueInfos: Array<{label: string, value: any, symbol: iEsriSymbol}>;\r\n field1: string;\r\n defaultSymbol: iEsriSymbol;\r\n defaultLabel: string;\r\n}\r\n\r\nexport interface iEsriSymbol{\r\n size: number;\r\n type: string;\r\n outline:{\r\n color: [number, number, number];\r\n width: number;\r\n },\r\n color: [number, number, number];\r\n width: number;\r\n imageData: string\r\n}\r\n\r\n\r\nclass CommonSymbol {\r\n legendHtml: string;\r\n opacity: number;\r\n symbolObj: iEsriSymbol;\r\n olStyle: ol.style.Style;\r\n\r\n /**\r\n *\r\n * @param symbolObj\r\n * @param {number} opacity\r\n */\r\n constructor(symbolObj: iEsriSymbol, opacity: number) {\r\n this.symbolObj = symbolObj;\r\n this.opacity = opacity;\r\n this.olStyle = undefined;\r\n this.legendHtml = '';\r\n }\r\n}\r\n\r\ninterface ICommonSymbol{\r\n new (symbolObj: iEsriSymbol, opacity: number): CommonSymbol\r\n}\r\n\r\n\r\nclass PointSymbol extends CommonSymbol {\r\n constructor(symbolObj: iEsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj.type) {\r\n case 'esriSMS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);\r\n let outlineWidth = this.symbolObj.outline.width;\r\n let radius = this.symbolObj.size;\r\n\r\n\r\n this.olStyle = new ol.style.Style({\r\n image: new ol.style.Circle({\r\n radius: radius,\r\n fill: new ol.style.Fill({\r\n color: innerColor\r\n }),\r\n stroke: new ol.style.Stroke({color: outerColor, width: outlineWidth})\r\n })\r\n });\r\n this.legendHtml = `<span class=\"legend-layer-icon\" style=\"color: ${innerColor}\">●</span>`;\r\n break;\r\n case 'esriPMS':\r\n this.olStyle = new ol.style.Style({\r\n image: new ol.style.Icon({src: `data:image/png;base64,${this.symbolObj['imageData']}`})\r\n });\r\n this.legendHtml = `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${this.symbolObj['imageData']}\">`;\r\n break;\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Point symbol does not handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nclass LineSymbol extends CommonSymbol {\r\n constructor(symbolObj: iEsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj.type) {\r\n case 'esriSLS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let lineWidth = this.symbolObj.width;\r\n\r\n this.olStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: innerColor,\r\n //lineDash: [4],\r\n width: lineWidth\r\n })\r\n });\r\n\r\n this.legendHtml = `<span class=\"legend-layer-icon\" `;\r\n this.legendHtml += `style=\"`;\r\n this.legendHtml += `background-color: ${innerColor};`;\r\n this.legendHtml += `width: 40px;`;\r\n this.legendHtml += `height: 4px;`;\r\n this.legendHtml += `position: relative;`;\r\n this.legendHtml += `display: inline-block;`;\r\n this.legendHtml += `top: -1px;`;\r\n this.legendHtml += `\"></span>`;\r\n break;\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Line symbol does not handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nclass PolygonSymbol extends CommonSymbol {\r\n constructor(symbolObj: iEsriSymbol, opacity: number) {\r\n super(symbolObj, opacity);\r\n switch (this.symbolObj['type']) {\r\n case 'esriSFS':\r\n let innerColor = _colorArrayToRgba(this.symbolObj.color, this.opacity);\r\n let outerColor = _colorArrayToRgba(this.symbolObj.outline.color, this.opacity);\r\n let outlineWidth = this.symbolObj.outline.width;\r\n\r\n this.olStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: outerColor,\r\n //lineDash: [4],\r\n width: outlineWidth\r\n }),\r\n fill: new ol.style.Fill({\r\n color: innerColor\r\n })\r\n });\r\n\r\n this.legendHtml = `<span class=\"legend-layer-icon\" `;\r\n this.legendHtml += `style=\"`;\r\n this.legendHtml += `background-color: ${innerColor};`;\r\n this.legendHtml += `border: solid ${outerColor} 1px;`;\r\n this.legendHtml += `width: 40px;`;\r\n this.legendHtml += `height: 9px;`;\r\n this.legendHtml += `position: relative;`;\r\n this.legendHtml += `display: inline-block;`;\r\n this.legendHtml += `top: 2px;`;\r\n this.legendHtml += `\"></span>`;\r\n break;\r\n\r\n default:\r\n console.log(this.symbolObj);\r\n alert('Polygon symbol does handle symbol type: ' + this.symbolObj['type']);\r\n }\r\n }\r\n}\r\n\r\nexport interface iStyleFunc{\r\n (f: ol.Feature): ol.style.Style| ol.style.Style[]\r\n}\r\n\r\nclass SymbolGenerator {\r\n opacity: number;\r\n renderer: iEsriRenderer;\r\n legendHtml: string;\r\n olStyle: iStyleFunc | ol.style.Style;\r\n\r\n constructor(esriResponse: iEsriResponse) {\r\n this.opacity = (100 - (esriResponse['drawingInfo']['transparency'] || 0)) / 100;\r\n this.renderer = esriResponse.drawingInfo.renderer;\r\n this.olStyle = undefined;\r\n this.legendHtml = '';\r\n }\r\n}\r\n\r\nclass SingleSymbol extends SymbolGenerator {\r\n symbol: iEsriSymbol;\r\n /**\r\n *\r\n * @param {object} esriResponse - layer info\r\n * @param SymbolClass - the symbol class to use\r\n */\r\n constructor(esriResponse: iEsriResponse, SymbolClass: ICommonSymbol) {\r\n super(esriResponse);\r\n this.symbol = this.renderer.symbol;\r\n let symbolObj = new SymbolClass(this.symbol, this.opacity);\r\n this.olStyle = symbolObj.olStyle;\r\n this.legendHtml = symbolObj.legendHtml;\r\n }\r\n}\r\n\r\nclass UniqueValueSymbol extends SymbolGenerator {\r\n\r\n propertyName: string;\r\n defaultSymbol: iEsriSymbol;\r\n defaultStyle: ol.style.Style;\r\n defaultLabelHtml: string;\r\n labelArray: Array<string>;\r\n legendArray: Array<string>;\r\n propertyStyleLookup: {[s: string]: ol.style.Style};\r\n valueArray: Array<any>;\r\n uniqueValueInfos: Array<{label: string, value: any, symbol: iEsriSymbol}>;\r\n\r\n /**\r\n *\r\n * @param {object} esriResponse - layer info\r\n * @param SymbolClass - the Symbol class definition\r\n */\r\n constructor(esriResponse: iEsriResponse, SymbolClass: ICommonSymbol) {\r\n super(esriResponse);\r\n this.uniqueValueInfos = this.renderer.uniqueValueInfos;\r\n this.propertyName = this.renderer.field1;\r\n this.defaultSymbol = this.renderer.defaultSymbol;\r\n\r\n\r\n if (this.defaultSymbol) {\r\n let symbolObj = new SymbolClass(this.defaultSymbol, this.opacity);\r\n this.defaultStyle = symbolObj.olStyle;\r\n this.defaultLabelHtml = `<span class=\"legend-layer-subitem\">${htmlEscape(this.renderer['defaultLabel'])}</span>` + symbolObj.legendHtml;\r\n } else {\r\n this.defaultStyle = undefined;\r\n this.defaultLabelHtml = 'other';\r\n }\r\n\r\n this.valueArray = [];\r\n this.labelArray = [];\r\n this.legendArray = [];\r\n this.propertyStyleLookup = {};\r\n\r\n for (let uniqueVal of this.uniqueValueInfos) {\r\n this.labelArray.push(uniqueVal['label']);\r\n this.valueArray.push(uniqueVal['value']);\r\n let uniqueSym = new SymbolClass(uniqueVal.symbol, this.opacity);\r\n this.legendArray.push(`<span class=\"legend-layer-subitem\">${htmlEscape(uniqueVal['label'])}</span>` + uniqueSym.legendHtml);\r\n this.propertyStyleLookup[uniqueVal['value']] = uniqueSym.olStyle;\r\n }\r\n\r\n this.olStyle = (feature: ol.Feature): ol.style.Style[] => {\r\n let checkProperties = feature.getProperties();\r\n let checkProperty = checkProperties[this.propertyName];\r\n\r\n if (this.propertyStyleLookup[checkProperty] !== undefined) {\r\n return [this.propertyStyleLookup[checkProperty]];\r\n } else {\r\n return [this.defaultStyle];\r\n }\r\n };\r\n\r\n if (this.defaultLabelHtml !== null) {\r\n this.legendArray.push(this.defaultLabelHtml);\r\n }\r\n\r\n this.legendHtml = '<ul>';\r\n for (let h of this.legendArray) {\r\n this.legendHtml += `<li>${h}</li>`;\r\n }\r\n this.legendHtml += '</ul>';\r\n }\r\n}\r\n\r\nexport function makeFeatureServiceLegendAndSymbol(esriResponse: iEsriResponse): {style: iStyleFunc | ol.style.Style, legend: string} {\r\n \"use strict\";\r\n let renderer = esriResponse.drawingInfo.renderer;\r\n let symbolLegendOut: SymbolGenerator = null;\r\n\r\n switch (renderer.type) {\r\n case 'simple':\r\n switch (esriResponse.geometryType) {\r\n case 'esriGeometryPoint':\r\n symbolLegendOut = new SingleSymbol(esriResponse, PointSymbol);\r\n break;\r\n case 'esriGeometryPolyline':\r\n symbolLegendOut = new SingleSymbol(esriResponse, LineSymbol);\r\n break;\r\n case 'esriGeometryPolygon':\r\n symbolLegendOut = new SingleSymbol(esriResponse, PolygonSymbol);\r\n break;\r\n default:\r\n console.log(esriResponse);\r\n alert(esriResponse.geometryType + ' not handled');\r\n }\r\n break;\r\n case 'uniqueValue':\r\n switch (esriResponse.geometryType) {\r\n case 'esriGeometryPoint':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, PointSymbol);\r\n break;\r\n case 'esriGeometryPolyline':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, LineSymbol);\r\n break;\r\n case 'esriGeometryPolygon':\r\n symbolLegendOut = new UniqueValueSymbol(esriResponse, PolygonSymbol);\r\n break;\r\n default:\r\n console.log(esriResponse);\r\n alert(esriResponse['geometryType'] + ' not handled');\r\n }\r\n break;\r\n default:\r\n alert('not handled renderer type: ' + renderer['type']);\r\n }\r\n\r\n if (symbolLegendOut == null) {\r\n return {style: undefined, legend: ''};\r\n } else {\r\n return {style: symbolLegendOut.olStyle, legend: symbolLegendOut.legendHtml};\r\n }\r\n}\r\n\r\nnm.makeFeatureServiceLegendAndSymbol = makeFeatureServiceLegendAndSymbol;\r\n\r\n\r\nexport interface iMapServiceLegend{\r\n layerName: string;\r\n legend: {label: string, imageData: string}[]\r\n}\r\n\r\n/**\r\n *\r\n * @param {object} lyrObject - the layer as defined in the response\r\n * @param {boolean} [skipLayerNameAndExpander=false] use only icons\r\n * @returns {string} legend html\r\n */\r\nfunction mapServiceLegendItem(lyrObject: iMapServiceLegend, skipLayerNameAndExpander: boolean = false) {\r\n\r\n\r\n skipLayerNameAndExpander = typeof skipLayerNameAndExpander == 'boolean' ? skipLayerNameAndExpander : false;\r\n let layerName = lyrObject['layerName'];\r\n let legendItems = lyrObject['legend'];\r\n let legendHtml = '';\r\n\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml += `<span class=\"legend-layer-subitem\">${layerName}</span>`;\r\n }\r\n\r\n if (legendItems.length == 1) {\r\n legendHtml = `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${legendItems[0]['imageData']}\">`;\r\n } else {\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml += '<span class=\"legend-items-expander\" title=\"Expand/Collapse\">▼</span>';\r\n }\r\n legendHtml += '<ul>';\r\n for (let i = 0; i < legendItems.length; i++) {\r\n legendHtml += `<li>`;\r\n legendHtml += `<span class=\"legend-layer-subitem\">${htmlEscape(legendItems[i]['label'])}</span>`;\r\n legendHtml += `<img class=\"legend-layer-icon\" height=\"17\" src=\"data:image/png;base64,${legendItems[i]['imageData']}\">`;\r\n legendHtml += `</li>`;\r\n }\r\n legendHtml += '</ul>';\r\n }\r\n\r\n if (!skipLayerNameAndExpander) {\r\n legendHtml = `<span class=\"legend-layer-subitem\">${layerName}</span>` + legendHtml;\r\n }\r\n\r\n return legendHtml;\r\n}\r\n\r\n/**\r\n * make map service legent\r\n * @param {object} esriResponse - layer info\r\n * @returns {string} legend content\r\n */\r\nexport function makeMapServiceLegend(esriResponse: {layers: iMapServiceLegend[]}) {\r\n \"use strict\";\r\n\r\n let newLegendHtml = '';\r\n\r\n let layers = esriResponse['layers'];\r\n\r\n if (layers.length == 1) {\r\n newLegendHtml += mapServiceLegendItem(layers[0], true);\r\n } else {\r\n newLegendHtml += '<ul>';\r\n for (let i = 0; i < layers.length; i++) {\r\n newLegendHtml += '<li>' + mapServiceLegendItem(layers[i]) + '</li>';\r\n }\r\n newLegendHtml += '</ul>';\r\n }\r\n\r\n return newLegendHtml;\r\n}\r\n\r\nnm.makeMapServiceLegend = makeMapServiceLegend;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/extentUtil.js b/dist/olHelpers/extentUtil.js index 73a63107a0b994cd7ad3c072a81fc5cc7d614dcb..2360d842f8f3e3a0f61e9a86d7634f4c18fd0820 100644 --- a/dist/olHelpers/extentUtil.js +++ b/dist/olHelpers/extentUtil.js @@ -19,11 +19,7 @@ function calculateExtent(layers) { var maxY = -10E100; for (var _i = 0, layers_1 = layers; _i < layers_1.length; _i++) { var lyr = layers_1[_i]; - /** - * - * @type {ol.layer.Vector} - */ - var olLayer = lyr['olLayer'] || lyr; + var olLayer = lyr.olLayer || lyr; if (olLayer.getSource().getFeatures().length > 0) { hasExtent = true; var ext = olLayer.getSource().getExtent(); diff --git a/dist/olHelpers/extentUtil.js.map b/dist/olHelpers/extentUtil.js.map index 709d84457067100676941b9c511da0570d83d83b..54999cc75a8f85c997a45f90a03eea0f3dbfd2a1 100644 --- a/dist/olHelpers/extentUtil.js.map +++ b/dist/olHelpers/extentUtil.js.map @@ -1 +1 @@ -{"version":3,"file":"extentUtil.js","sourceRoot":"","sources":["../../src/olHelpers/extentUtil.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,2CAAsC;AAKtC,IAAM,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAE3B;;;;GAIG;AACH,yBAAgC,MAA2C;IACvE,YAAY,CAAC;IAEb,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,IAAI,IAAI,GAAG,MAAM,CAAC;IAClB,IAAI,IAAI,GAAG,MAAM,C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AAgB;IAC9F,YAAY,CAAC;IAEb,IAAI,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;IAElC,EAAE,CAAC,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,CAAA,CAAC;QAC3B,MAAM,CAAC;IACX,CAAC;IAED,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC,GAAgB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;IAEjD,EAAE,CAAC,CAAC,OAAO,OAAO,IAAI,QAAQ,CAAC,CAAA,CAAC;QAC5B,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC;IAC3D,CAAC;AACL,CAAC;AAdD,4BAcC;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 7/18/2016.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerBaseVector} from \"../layers/LayerBaseVector\";\r\n\r\n\r\nconst nm = provide('util');\r\n\r\n/**\r\n *\r\n * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector|*} layers - array of layers or single\r\n * @returns {ol.Extent|Array<number>|*} - collective extent\r\n */\r\nexport function calculateExtent(layers: ol.layer.Vector[]|LayerBaseVector[]): ol.Extent|Array<number>| ol.Extent| number[] {\r\n \"use strict\";\r\n\r\n let hasExtent = false;\r\n\r\n let minX = 10E100;\r\n let minY = 10E100;\r\n let maxX = -10E100;\r\n let maxY = -10E100;\r\n\r\n for (let lyr of layers) {\r\n\r\n /**\r\n * \r\n * @type {ol.layer.Vector}\r\n */\r\n let olLayer = lyr['olLayer'] || lyr;\r\n \r\n \r\n if (olLayer.getSource().getFeatures().length > 0) {\r\n hasExtent = true;\r\n let ext = olLayer.getSource().getExtent();\r\n minX = ext[0] < minX ? ext[0] : minX;\r\n minY = ext[1] < minY ? ext[1] : minY;\r\n maxX = ext[2] > maxX ? ext[2] : maxX;\r\n maxY = ext[3] > maxY ? ext[3] : maxY;\r\n }\r\n }\r\n\r\n if (hasExtent) {\r\n return [minX, minY, maxX, maxY];\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nnm.calculateExtent = calculateExtent;\r\n \r\n\r\n/**\r\n * given one or an array of layers, fit to the map\r\n * @param layers - array of layers or single\r\n * @param mp - the map to fit\r\n * @param [zoomOut=undefined] - levels to zoom out after fit\r\n */\r\nexport function fitToMap(layers: ol.layer.Vector[]|LayerBaseVector[], mp: ol.Map, zoomOut?: number){\r\n \"use strict\";\r\n\r\n let ext = calculateExtent(layers);\r\n \r\n if (typeof ext == 'undefined'){\r\n return;\r\n }\r\n \r\n mp.getView().fit(ext as ol.Extent, mp.getSize());\r\n \r\n if (typeof zoomOut == 'number'){\r\n mp.getView().setZoom(mp.getView().getZoom() - zoomOut);\r\n }\r\n}\r\n\r\nnm.calculateExtent = calculateExtent;\r\n"]} \ No newline at end of file +{"version":3,"file":"extentUtil.js","sourceRoot":"","sources":["../../src/olHelpers/extentUtil.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,2CAAsC;AAKtC,IAAM,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAE3B;;;;GAIG;AACH,yBAAgC,MAA2C;IACvE,YAAY,CAAC;IAEb,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,IAAI,IAAI,GAAG,MAAM,CAAC;IAClB,IAAI,IAAI,GAAG,MAAM,CAAC;IAClB,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC;IACnB,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC;IAEnB,GAAG,CAAC,CAAY,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM;QAAjB,IAAI,GAAG,eAAA;QAER,IAAI,OAAO,GAAqB,GAAuB,CAAC,OAAO,IAAI,GAAsB,CAAC;QAG1F,EAAE,CAAC,CAAC,O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C,CAAC,OAAO,OAAO,IAAI,QAAQ,CAAC,CAAA,CAAC;QAC5B,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC;IAC3D,CAAC;AACL,CAAC;AAdD,4BAcC;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 7/18/2016.\r\n */\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerBaseVector} from \"../layers/LayerBaseVector\";\r\n\r\n\r\nconst nm = provide('util');\r\n\r\n/**\r\n *\r\n * @param {Array<LayerBaseVector>|Array<ol.layer.Vector>|LayerBaseVector|ol.layer.Vector|*} layers - array of layers or single\r\n * @returns {ol.Extent|Array<number>|*} - collective extent\r\n */\r\nexport function calculateExtent(layers: ol.layer.Vector[]|LayerBaseVector[]): ol.Extent|Array<number>| ol.Extent| number[] {\r\n \"use strict\";\r\n\r\n let hasExtent = false;\r\n\r\n let minX = 10E100;\r\n let minY = 10E100;\r\n let maxX = -10E100;\r\n let maxY = -10E100;\r\n\r\n for (let lyr of layers) {\r\n\r\n let olLayer: ol.layer.Vector = (lyr as LayerBaseVector).olLayer || lyr as ol.layer.Vector;\r\n \r\n \r\n if (olLayer.getSource().getFeatures().length > 0) {\r\n hasExtent = true;\r\n let ext = olLayer.getSource().getExtent();\r\n minX = ext[0] < minX ? ext[0] : minX;\r\n minY = ext[1] < minY ? ext[1] : minY;\r\n maxX = ext[2] > maxX ? ext[2] : maxX;\r\n maxY = ext[3] > maxY ? ext[3] : maxY;\r\n }\r\n }\r\n\r\n if (hasExtent) {\r\n return [minX, minY, maxX, maxY];\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nnm.calculateExtent = calculateExtent;\r\n \r\n\r\n/**\r\n * given one or an array of layers, fit to the map\r\n * @param layers - array of layers or single\r\n * @param mp - the map to fit\r\n * @param [zoomOut=undefined] - levels to zoom out after fit\r\n */\r\nexport function fitToMap(layers: ol.layer.Vector[]|LayerBaseVector[], mp: ol.Map, zoomOut?: number){\r\n \"use strict\";\r\n\r\n let ext = calculateExtent(layers);\r\n \r\n if (typeof ext == 'undefined'){\r\n return;\r\n }\r\n \r\n mp.getView().fit(ext as ol.Extent, mp.getSize());\r\n \r\n if (typeof zoomOut == 'number'){\r\n mp.getView().setZoom(mp.getView().getZoom() - zoomOut);\r\n }\r\n}\r\n\r\nnm.calculateExtent = calculateExtent;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/layerSwipe.d.ts b/dist/olHelpers/layerSwipe.d.ts index af111e6db48161b0b779b5e29959a148db9e6677..f23f459c584dcf624567e47a6da0d4935fefba44 100644 --- a/dist/olHelpers/layerSwipe.d.ts +++ b/dist/olHelpers/layerSwipe.d.ts @@ -21,12 +21,12 @@ declare class LayerSwipe { * * @param {LayerBase|*} lyr - layer to be added to left side */ - addLeftLayer(lyr: any): void; + addLeftLayer(lyr: LayerBase): void; /** * * @param {LayerBase|*} lyr - layer to be added to right side */ - addRightLayer(lyr: any): void; + addRightLayer(lyr: LayerBase): void; percentRight: number; } export default LayerSwipe; diff --git a/dist/olHelpers/layerSwipe.js.map b/dist/olHelpers/layerSwipe.js.map index 3cb3f7894a955e8ca1ddbad1caed71243b1ae4e3..b2614ab1f12be3b08aae78691e6ca18012ae5c5f 100644 --- a/dist/olHelpers/layerSwipe.js.map +++ b/dist/olHelpers/layerSwipe.js.map @@ -1 +1 @@ -{"version":3,"file":"layerSwipe.js","sourceRoot":"","sources":["../../src/olHelpers/layerSwipe.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAGH,2CAAsC;AAGtC,0BAA6B;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,wBAAwB,CAAC,CAAC;AAG3C;IASI;;;;OAIG;IACH,oBAAY,GAAW,EAAE,aAA0B;QAA1B,8BAAA,EAAA,kBAA0B;QAAnD,iBAqDC;QAnDG,aAAa,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C,WAAW,CAAC,KAAK,EAAE,CAAC;YAE3F,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;gBACd,MAAM,CAAC;YACX,CAAC;YAAC,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;gBAC9C,MAAM,CAAC;YACX,CAAC;YAED,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;YAC7B,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAK,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,MAAG,CAAC,CAAC;YAC9D,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACvB,CAAC;;;OAdA;IAeL,iBAAC;AAAD,CAAC,AA/ID,IA+IC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,kBAAe,UAAU,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/1/2016.\r\n */\r\n\r\n\r\nimport provide from '../util/provide';\r\nimport {LayerBase} from \"../layers/LayerBase\";\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('collections.layerSwipe');\r\n\r\n\r\nclass LayerSwipe {\r\n leftLayers: Array<LayerBase>;\r\n rightLayers: Array<LayerBase>;\r\n _percentRight: number;\r\n _map: ol.Map;\r\n $mapElement: JQuery;\r\n $swiper: JQuery;\r\n dragging: boolean;\r\n offset: number;\r\n /**\r\n *\r\n * @param {ol.Map} map - the map\r\n * @param {string} [sliderContent=''] - additional html to be added inside the slider div\r\n */\r\n constructor(map: ol.Map, sliderContent: string = '') {\r\n\r\n sliderContent = sliderContent || '';\r\n /**\r\n *\r\n * @type {Array<LayerBase>}\r\n */\r\n this.leftLayers = [];\r\n\r\n /**\r\n *\r\n * @type {Array<LayerBase>}\r\n */\r\n this.rightLayers = [];\r\n\r\n this._percentRight = 50;\r\n this.offset = null;\r\n\r\n this._map = map;\r\n this.$mapElement = $(map.getTargetElement());\r\n this.$mapElement.append(`<div class=\"layer-swiper\">${sliderContent}</div>`);\r\n\r\n\r\n this.$swiper = this.$mapElement.find('.layer-swiper');\r\n this.percentRight = this.percentRight;\r\n\r\n this.dragging = false;\r\n\r\n this.$mapElement.mouseleave(() => {\r\n this.dragging = false;\r\n });\r\n\r\n this.$swiper.bind('mousewheel DOMMouseScroll', function(evt){\r\n evt.preventDefault();\r\n });\r\n\r\n this.$swiper.mousedown((evt) => {\r\n this.dragging = true;\r\n this.offset = evt.offsetX;\r\n });\r\n\r\n $(window).mouseup(() => {\r\n this.dragging = false;\r\n });\r\n\r\n this.$mapElement.mousemove((evt) => {\r\n if (this.dragging) {\r\n let mapLeft = this.$mapElement.position().left;\r\n let mapWidth = this.$mapElement.width();\r\n\r\n this.percentRight = 100 * (evt.pageX - this.offset - mapLeft) / mapWidth;\r\n }\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - layer to be added to left side\r\n */\r\n addLeftLayer(lyr) {\r\n\r\n if (this.leftLayers.indexOf(lyr) != -1){\r\n return;\r\n }\r\n\r\n lyr.olLayer.on('precompose', (event) => {\r\n let ctx = event['context'];\r\n let width = ctx.canvas.width * (this.percentRight / 100);\r\n\r\n ctx.save();\r\n ctx.beginPath();\r\n ctx.rect(0, 0, width, ctx.canvas.height);\r\n ctx.clip();\r\n });\r\n\r\n lyr.olLayer.on('postcompose', function (event) {\r\n let ctx = event['context'];\r\n ctx.restore();\r\n });\r\n\r\n\r\n this.leftLayers.push(lyr);\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - layer to be added to right side\r\n */\r\n addRightLayer(lyr) {\r\n\r\n if (this.rightLayers.indexOf(lyr) != -1){\r\n return;\r\n }\r\n\r\n lyr.olLayer.on('precompose', (event) => {\r\n let ctx = event['context'];\r\n let width = ctx.canvas.width * (this.percentRight / 100);\r\n\r\n ctx.save();\r\n ctx.beginPath();\r\n ctx.rect(width, 0, ctx.canvas.width - width, ctx.canvas.height);\r\n ctx.clip();\r\n });\r\n\r\n lyr.olLayer.on('postcompose', function (event) {\r\n let ctx = event['context'];\r\n ctx.restore();\r\n });\r\n\r\n this.rightLayers.push(lyr);\r\n }\r\n\r\n get percentRight() : number{\r\n return this._percentRight;\r\n }\r\n\r\n set percentRight(percent: number) {\r\n let maxed = this.$swiper.position().left + this.$swiper.width() > this.$mapElement.width();\r\n\r\n if (percent < 0) {\r\n return;\r\n } else if (maxed && percent > this.percentRight) {\r\n return;\r\n }\r\n\r\n this._percentRight = percent;\r\n this.$swiper.css('left', `${this._percentRight.toFixed(2)}%`);\r\n this._map.render();\r\n }\r\n}\r\n\r\nnm.LayerSwipe = LayerSwipe;\r\nexport default LayerSwipe;\r\n"]} \ No newline at end of file +{"version":3,"file":"layerSwipe.js","sourceRoot":"","sources":["../../src/olHelpers/layerSwipe.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAGH,2CAAsC;AAGtC,0BAA6B;AAE7B,IAAI,EAAE,GAAG,iBAAO,CAAC,wBAAwB,CAAC,CAAC;AAG3C;IASI;;;;OAIG;IACH,oBAAY,GAAW,EAAE,aAA0B;QAA1B,8BAAA,EAAA,kBAA0B;QAAnD,iBAqDC;QAnDG,aAAa,GAAG,aAAa,IAAI,EAAE,CAAC;QACpC;;;WAGG;QACH,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;QAErB;;;WAGG;QACH,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QAEtB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QAEnB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;QAChB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAC7C,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,iCAA6B,aAAa,WAAQ,CAAC,CAAC;QAG5E,I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,IAAI,CAAC,MAAM,EAAE,CAAC;QACvB,CAAC;;;OAdA;IAeL,iBAAC;AAAD,CAAC,AA/ID,IA+IC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,kBAAe,UAAU,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/1/2016.\r\n */\r\n\r\n\r\nimport provide from '../util/provide';\r\nimport {LayerBase} from \"../layers/LayerBase\";\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\n\r\nlet nm = provide('collections.layerSwipe');\r\n\r\n\r\nclass LayerSwipe {\r\n leftLayers: Array<LayerBase>;\r\n rightLayers: Array<LayerBase>;\r\n _percentRight: number;\r\n _map: ol.Map;\r\n $mapElement: JQuery;\r\n $swiper: JQuery;\r\n dragging: boolean;\r\n offset: number;\r\n /**\r\n *\r\n * @param {ol.Map} map - the map\r\n * @param {string} [sliderContent=''] - additional html to be added inside the slider div\r\n */\r\n constructor(map: ol.Map, sliderContent: string = '') {\r\n\r\n sliderContent = sliderContent || '';\r\n /**\r\n *\r\n * @type {Array<LayerBase>}\r\n */\r\n this.leftLayers = [];\r\n\r\n /**\r\n *\r\n * @type {Array<LayerBase>}\r\n */\r\n this.rightLayers = [];\r\n\r\n this._percentRight = 50;\r\n this.offset = null;\r\n\r\n this._map = map;\r\n this.$mapElement = $(map.getTargetElement());\r\n this.$mapElement.append(`<div class=\"layer-swiper\">${sliderContent}</div>`);\r\n\r\n\r\n this.$swiper = this.$mapElement.find('.layer-swiper');\r\n this.percentRight = this.percentRight;\r\n\r\n this.dragging = false;\r\n\r\n this.$mapElement.mouseleave(() => {\r\n this.dragging = false;\r\n });\r\n\r\n this.$swiper.bind('mousewheel DOMMouseScroll', function(evt){\r\n evt.preventDefault();\r\n });\r\n\r\n this.$swiper.mousedown((evt) => {\r\n this.dragging = true;\r\n this.offset = evt.offsetX;\r\n });\r\n\r\n $(window).mouseup(() => {\r\n this.dragging = false;\r\n });\r\n\r\n this.$mapElement.mousemove((evt) => {\r\n if (this.dragging) {\r\n let mapLeft = this.$mapElement.position().left;\r\n let mapWidth = this.$mapElement.width();\r\n\r\n this.percentRight = 100 * (evt.pageX - this.offset - mapLeft) / mapWidth;\r\n }\r\n });\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - layer to be added to left side\r\n */\r\n addLeftLayer(lyr: LayerBase) {\r\n\r\n if (this.leftLayers.indexOf(lyr) != -1){\r\n return;\r\n }\r\n\r\n lyr.olLayer.on('precompose', (event: {context: CanvasRenderingContext2D}) => {\r\n let ctx = event['context'];\r\n let width = ctx.canvas.width * (this.percentRight / 100);\r\n\r\n ctx.save();\r\n ctx.beginPath();\r\n ctx.rect(0, 0, width, ctx.canvas.height);\r\n ctx.clip();\r\n });\r\n\r\n lyr.olLayer.on('postcompose', function (event: {context: CanvasRenderingContext2D}) {\r\n let ctx = event['context'];\r\n ctx.restore();\r\n });\r\n\r\n\r\n this.leftLayers.push(lyr);\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - layer to be added to right side\r\n */\r\n addRightLayer(lyr: LayerBase) {\r\n\r\n if (this.rightLayers.indexOf(lyr) != -1){\r\n return;\r\n }\r\n\r\n lyr.olLayer.on('precompose', (event: {context: CanvasRenderingContext2D}) => {\r\n let ctx = event['context'];\r\n let width = ctx.canvas.width * (this.percentRight / 100);\r\n\r\n ctx.save();\r\n ctx.beginPath();\r\n ctx.rect(width, 0, ctx.canvas.width - width, ctx.canvas.height);\r\n ctx.clip();\r\n });\r\n\r\n lyr.olLayer.on('postcompose', function (event: {context: CanvasRenderingContext2D}) {\r\n let ctx = event['context'];\r\n ctx.restore();\r\n });\r\n\r\n this.rightLayers.push(lyr);\r\n }\r\n\r\n get percentRight() : number{\r\n return this._percentRight;\r\n }\r\n\r\n set percentRight(percent: number) {\r\n let maxed = this.$swiper.position().left + this.$swiper.width() > this.$mapElement.width();\r\n\r\n if (percent < 0) {\r\n return;\r\n } else if (maxed && percent > this.percentRight) {\r\n return;\r\n }\r\n\r\n this._percentRight = percent;\r\n this.$swiper.css('left', `${this._percentRight.toFixed(2)}%`);\r\n this._map.render();\r\n }\r\n}\r\n\r\nnm.LayerSwipe = LayerSwipe;\r\nexport default LayerSwipe;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/mapMoveCls.d.ts b/dist/olHelpers/mapMoveCls.d.ts index 81d286ac30e7e270d08e54875d55792dea19ff12..5bdc0bc34f7c7ce62839749e1de0f0fc4648a422 100644 --- a/dist/olHelpers/mapMoveCls.d.ts +++ b/dist/olHelpers/mapMoveCls.d.ts @@ -23,12 +23,16 @@ export interface mapMoveCallbackFunction { export declare class MapMoveCls extends MapInteractionBase { _mapExtent: extentObject; _zoomLevel: number; - _lookupLayer: Object; + _lookupLayer: { + [s: string]: LayerBaseVector; + }; _arrLayer: Array<LayerBaseVector>; _arrLyrTimeout: Array<number>; _mapMoveCallbackTimeout: Array<number>; _mapMoveCallbackDelays: Array<number>; - _mapMoveCallbacksLookup: Object; + _mapMoveCallbacksLookup: { + [s: string]: mapMoveCallbackFunction; + }; _mapMoveCallbackContext: Array<Object>; _mapMoveCallbacks: Array<mapMoveCallbackFunction>; _arrLyrRequest: Array<any>; diff --git a/dist/olHelpers/mapMoveCls.js b/dist/olHelpers/mapMoveCls.js index bf2cf350802dd3d3d7ae225c6793b64a4016e6ef..c92ebe53d274601d095ac4bc4cb739a94edfd466 100644 --- a/dist/olHelpers/mapMoveCls.js +++ b/dist/olHelpers/mapMoveCls.js @@ -219,7 +219,7 @@ var MapMoveCls = (function (_super) { functionId = makeGuid_1.default(); } this._mapMoveCallbacks.push(func); - this._mapMoveCallbacksLookup[functionId] = functionId; + this._mapMoveCallbacksLookup[functionId] = func; this._mapMoveCallbackDelays.push(typeof delay == 'number' ? delay : 50); this._mapMoveCallbackContext.push(checkDefined.definedAndNotNull(context) ? context : null); this._mapMoveCallbackTimeout.push(null); diff --git a/dist/olHelpers/mapMoveCls.js.map b/dist/olHelpers/mapMoveCls.js.map index d133be8f4433e489e181c23fedca4bb28c8c5778..5dbbd9a84917811cc10109ce9b70ebc9d52357e6 100644 --- a/dist/olHelpers/mapMoveCls.js.map +++ b/dist/olHelpers/mapMoveCls.js.map @@ -1 +1 @@ -{"version":3,"file":"mapMoveCls.js","sourceRoot":"","sources":["../../src/olHelpers/mapMoveCls.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,2DAAsD;AACtD,mDAAqD;AACrD,2CAAsC;AACtC,6CAAwC;AAExC,0BAA6B;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAqBhC;;;GAGG;AACH;IAAgC,8BAAkB;IAa9C;;OAEG;IACH;QAAA,YACI,kBAAM,UAAU,CAAC,SAepB;QAdG,KAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,KAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,KAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,KAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,KAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC,KAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,KAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC,KAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAElC,KAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,KAAI,CAAC,UAAU,GAAG,SAAS,CAAC;;IAEhC,CAAC;IAED;;;OAGG;IACH,yBAAI,GAAJ,UAAK,MAAc;QAAnB,iBAiBC;QAhBG,iBAAM,IAAI,YAAC,MAAM,CAAC,CAAC;QAEnB,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,eAAe,EAAE,mBAAmB,CAAC,EAAE,UAAC,CAAC;YAE7D,KAAI,CAAC,gBAAgB,EAAE,CAAC;YAEvB,4BAA4B;YAC5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,CAAC,CAAC,CAAC;QAChE,CAAC;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAlQD,CAAgC,4BAAkB,GAkQjD;AAlQY,gCAAU;AAoQvB,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,kBAAe,UAAU,CAAC","sourcesContent":["import LayerBaseVector from \"../layers/LayerBaseVector\";\r\nimport MapInteractionBase from './mapInteractionBase';\r\nimport * as checkDefined from '../util/checkDefined';\r\nimport provide from '../util/provide';\r\nimport makeGuid from '../util/makeGuid';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nconst nm = provide('olHelpers');\r\n\r\n\r\nexport interface extentObject{\r\n minX: number;\r\n minY: number;\r\n maxX: number;\r\n maxY: number;\r\n}\r\n\r\nexport interface mapMoveCallbackFunction{\r\n /**\r\n *\r\n * @param extent extent as predefined object minX, minX, maxX, maxY\r\n * @param zoomLevel current zoom level\r\n * @param evtType the event type 'change:center', 'change:resolution'\r\n */\r\n (extent: extentObject, zoomLevel: number, evtType?: string): any\r\n}\r\n\r\n\r\n/**\r\n * assists with map move interactions, trigger callback functions\r\n * @augments MapInteractionBase\r\n */\r\nexport class MapMoveCls extends MapInteractionBase {\r\n _mapExtent: extentObject;\r\n _zoomLevel: number;\r\n _lookupLayer: Object;\r\n _arrLayer: Array<LayerBaseVector>;\r\n _arrLyrTimeout: Array<number>;\r\n _mapMoveCallbackTimeout: Array<number>;\r\n _mapMoveCallbackDelays: Array<number>;\r\n _mapMoveCallbacksLookup: Object;\r\n _mapMoveCallbackContext: Array<Object>;\r\n _mapMoveCallbacks: Array<mapMoveCallbackFunction>;\r\n _arrLyrRequest: Array<any>;\r\n\r\n /**\r\n * constructor called implicitly\r\n */\r\n constructor() {\r\n super('map move');\r\n this._arrLyrRequest = [];\r\n this._arrLyrTimeout = [];\r\n this._arrLayer = [];\r\n this._lookupLayer = {};\r\n\r\n this._mapMoveCallbacks = [];\r\n this._mapMoveCallbacksLookup = {};\r\n this._mapMoveCallbackDelays = [];\r\n this._mapMoveCallbackContext = [];\r\n this._mapMoveCallbackTimeout = [];\r\n\r\n this._mapExtent = undefined;\r\n this._zoomLevel = undefined;\r\n\r\n }\r\n\r\n /**\r\n * initialize the map move object\r\n * @param theMap - the ol map\r\n */\r\n init(theMap: ol.Map){\r\n super.init(theMap);\r\n\r\n this.map.getView().on(['change:center', 'change:resolution'], (e) =>{\r\n\r\n this._updateMapExtent();\r\n\r\n // trigger the layer updates\r\n for (let i = 0; i < this._arrLayer.length; i++) {\r\n this.triggerLyrLoad(this._arrLayer[i], i, e.type);\r\n }\r\n\r\n // trigger the map callbacks\r\n for (let i = 0; i < this._mapMoveCallbacks.length; i++) {\r\n this.triggerMoveCallback(i, e.type);\r\n }\r\n });\r\n }\r\n\r\n _updateMapExtent() {\r\n let theView = this.map.getView();\r\n this._zoomLevel = theView.getZoom();\r\n\r\n let extentArray = theView.calculateExtent(this.map.getSize());\r\n\r\n this._mapExtent = {\r\n minX: extentArray[0],\r\n minY: extentArray[1],\r\n maxX: extentArray[2],\r\n maxY: extentArray[3]\r\n };\r\n }\r\n\r\n /**\r\n * return the map extent\r\n */\r\n get mapExtent() {\r\n if (!this._mapExtent) {\r\n this._updateMapExtent();\r\n }\r\n\r\n return this._mapExtent;\r\n }\r\n\r\n /**\r\n * Trigger the layer load\r\n * @param lyr the layer being acted on\r\n * @param index index of the layer\r\n * @param eventType the event triggering the load, as 'change:center' or 'change:resolution'\r\n */\r\n triggerLyrLoad(lyr: LayerBaseVector, index?: number, eventType?: string) {\r\n\r\n if (checkDefined.undefinedOrNull(lyr) && checkDefined.undefinedOrNull(index)) {\r\n throw 'need to define lyr or index';\r\n } else if (checkDefined.definedAndNotNull(lyr) && checkDefined.undefinedOrNull(index)) {\r\n index = this._arrLayer.indexOf(lyr);\r\n } else if (checkDefined.undefinedOrNull(lyr) && checkDefined.definedAndNotNull(index)) {\r\n lyr = this._arrLayer[index];\r\n }\r\n\r\n // clear the timeout\r\n if (this._arrLyrTimeout[index] != null) {\r\n clearTimeout(this._arrLyrTimeout[index]);\r\n this._arrLyrTimeout[index] = null;\r\n }\r\n\r\n // abort if necessary and clear the request\r\n if (this._arrLyrRequest[index] != null && this._arrLyrRequest[index] != 4) {\r\n this._arrLyrRequest[index].abort();\r\n this._arrLyrRequest[index] = null;\r\n }\r\n\r\n // dummy callback used if before load returns false\r\n let callbackFunc = function () {};\r\n\r\n if (lyr.mapMoveBefore(this._zoomLevel, eventType)) {\r\n lyr.mapMoveMakeGetParams(this._mapExtent, this._zoomLevel);\r\n\r\n let __this = this;\r\n\r\n callbackFunc = function () {\r\n function innerFunction(theLayer, theIndex) {\r\n let _innerThis = this;\r\n this._arrLyrRequest[theIndex] = $.get(\r\n theLayer.url,\r\n theLayer.mapMoveParams,\r\n function (d) {\r\n /**\r\n * @type {LayerBaseVector}\r\n */\r\n theLayer.mapMoveCallback(d);\r\n theLayer.loadCallback();\r\n }, 'json').fail(\r\n function (jqXHR) {\r\n if (jqXHR.statusText != 'abort') {\r\n console.log('failed');\r\n console.log(theLayer.url);\r\n console.log(theLayer.mapMoveParams);\r\n }\r\n }).always(\r\n function () {\r\n _innerThis._arrLyrTimeout[theIndex] = null;\r\n _innerThis._arrLyrRequest[theIndex] = null;\r\n });\r\n }\r\n innerFunction.call(__this, lyr, index);\r\n };\r\n } else {\r\n lyr.clear();\r\n }\r\n this._arrLyrTimeout[index] = setTimeout(callbackFunc, lyr.onDemandDelay);\r\n }\r\n\r\n /**\r\n * trigger the map move call back at the given index\r\n * @param ind - the index of the layer\r\n * @param eventType=undefined the event triggering the load as 'change:center' or 'change:resolution'\r\n * @param functionId=undefined the function id used to reference the added callback function\r\n */\r\n triggerMoveCallback(ind: number, eventType?: string, functionId?: string) {\r\n\r\n if (typeof ind == 'undefined' && typeof functionId == 'undefined'){\r\n throw 'either the function index or the id must be defined';\r\n }\r\n\r\n if (typeof ind !== 'number'){\r\n ind = this._mapMoveCallbacks.indexOf(this._mapMoveCallbacksLookup[functionId]);\r\n }\r\n\r\n if (ind < 0){\r\n console.log('function not found');\r\n\r\n return;\r\n }\r\n\r\n // clear the timeout\r\n if (this._mapMoveCallbackTimeout[ind] != null) {\r\n clearTimeout(this._mapMoveCallbackTimeout[ind]);\r\n this._mapMoveCallbackTimeout[ind] = null;\r\n }\r\n\r\n let ctx = this._mapMoveCallbackContext[ind];\r\n let theFunc = this._mapMoveCallbacks[ind];\r\n\r\n let __this = this;\r\n\r\n let f = function () {\r\n if (ctx !== null) {\r\n theFunc.call(ctx, __this._mapExtent, __this._zoomLevel, eventType);\r\n } else {\r\n theFunc(__this._mapExtent, __this._zoomLevel, eventType);\r\n }\r\n };\r\n\r\n this._mapMoveCallbackTimeout[ind] = setTimeout(f, this._mapMoveCallbackDelays[ind]);\r\n }\r\n\r\n /**\r\n * Add a layer to the interaction\r\n * @param lyr - layer to add\r\n * @param triggerOnAdd - if the layer should be loaded on add\r\n */\r\n addVectorLayer(lyr: LayerBaseVector, triggerOnAdd: boolean = true) {\r\n if (this._arrLayer.indexOf(lyr) > -1) {\r\n console.log('already added ' + lyr.name + ' to map move');\r\n\r\n return;\r\n }\r\n this._checkInit();\r\n\r\n this._arrLyrRequest.push(null);\r\n this._arrLyrTimeout.push(null);\r\n this._arrLayer.push(lyr);\r\n this._lookupLayer[lyr.id] = lyr;\r\n\r\n triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;\r\n\r\n if (triggerOnAdd) {\r\n if (this._mapExtent === undefined) {\r\n this._updateMapExtent();\r\n }\r\n this.triggerLyrLoad(lyr, this._arrLayer.length - 1);\r\n }\r\n }\r\n\r\n\r\n /**\r\n * add a callback to the map move event\r\n * @param func - callback function\r\n * @param context - the context to use for this function\r\n * @param delay=50 the delay before call load\r\n * @param triggerOnAdd if the layer should be loaded on add to mapMove\r\n * @param functionId optional id to reference the function later for outside triggering\r\n */\r\n addCallback(func: mapMoveCallbackFunction, context?: any, delay?: number, triggerOnAdd? : boolean, functionId?: string) {\r\n\r\n if (this._mapMoveCallbacks.indexOf(func) > -1) {\r\n console.log('this function already added to map move');\r\n return;\r\n }\r\n this._checkInit();\r\n if (!functionId){\r\n functionId = makeGuid();\r\n }\r\n\r\n this._mapMoveCallbacks.push(func);\r\n this._mapMoveCallbacksLookup[functionId] = functionId;\r\n this._mapMoveCallbackDelays.push(typeof delay == 'number' ? delay : 50);\r\n this._mapMoveCallbackContext.push(checkDefined.definedAndNotNull(context) ? context : null);\r\n this._mapMoveCallbackTimeout.push(null);\r\n\r\n triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;\r\n\r\n if (triggerOnAdd) {\r\n if (this._mapExtent === undefined) {\r\n this._updateMapExtent();\r\n }\r\n this.triggerMoveCallback(this._mapMoveCallbacks.length - 1);\r\n }\r\n }\r\n}\r\n\r\nnm.MapMoveCls = MapMoveCls;\r\nexport default MapMoveCls;\r\n"]} \ No newline at end of file +{"version":3,"file":"mapMoveCls.js","sourceRoot":"","sources":["../../src/olHelpers/mapMoveCls.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,2DAAsD;AACtD,mDAAqD;AACrD,2CAAsC;AACtC,6CAAwC;AAExC,0BAA6B;AAC7B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAqBhC;;;GAGG;AACH;IAAgC,8BAAkB;IAa9C;;OAEG;IACH;QAAA,YACI,kBAAM,UAAU,CAAC,SAepB;QAdG,KAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,KAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,KAAI,CAAC,SAAS,GAAG,EAAE,CAAC;QACpB,KAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,KAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,KAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC,KAAI,CAAC,sBAAsB,GAAG,EAAE,CAAC;QACjC,KAAI,CAAC,uBAAuB,GAAG,EAAE,CAAC;QAClC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AAC,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;QAC5F,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAExC,YAAY,GAAG,OAAO,YAAY,IAAI,SAAS,GAAG,YAAY,GAAG,IAAI,CAAC;QAEtE,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;YACf,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC;gBAChC,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC5B,CAAC;YACD,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAlQD,CAAgC,4BAAkB,GAkQjD;AAlQY,gCAAU;AAoQvB,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,kBAAe,UAAU,CAAC","sourcesContent":["import LayerBaseVector from \"../layers/LayerBaseVector\";\r\nimport MapInteractionBase from './mapInteractionBase';\r\nimport * as checkDefined from '../util/checkDefined';\r\nimport provide from '../util/provide';\r\nimport makeGuid from '../util/makeGuid';\r\nimport ol = require('custom-ol');\r\nimport $ = require('jquery');\r\nconst nm = provide('olHelpers');\r\n\r\n\r\nexport interface extentObject{\r\n minX: number;\r\n minY: number;\r\n maxX: number;\r\n maxY: number;\r\n}\r\n\r\nexport interface mapMoveCallbackFunction{\r\n /**\r\n *\r\n * @param extent extent as predefined object minX, minX, maxX, maxY\r\n * @param zoomLevel current zoom level\r\n * @param evtType the event type 'change:center', 'change:resolution'\r\n */\r\n (extent: extentObject, zoomLevel: number, evtType?: string): any\r\n}\r\n\r\n\r\n/**\r\n * assists with map move interactions, trigger callback functions\r\n * @augments MapInteractionBase\r\n */\r\nexport class MapMoveCls extends MapInteractionBase {\r\n _mapExtent: extentObject;\r\n _zoomLevel: number;\r\n _lookupLayer: {[s: string]: LayerBaseVector};\r\n _arrLayer: Array<LayerBaseVector>;\r\n _arrLyrTimeout: Array<number>;\r\n _mapMoveCallbackTimeout: Array<number>;\r\n _mapMoveCallbackDelays: Array<number>;\r\n _mapMoveCallbacksLookup: {[s: string]: mapMoveCallbackFunction};\r\n _mapMoveCallbackContext: Array<Object>;\r\n _mapMoveCallbacks: Array<mapMoveCallbackFunction>;\r\n _arrLyrRequest: Array<any>;\r\n\r\n /**\r\n * constructor called implicitly\r\n */\r\n constructor() {\r\n super('map move');\r\n this._arrLyrRequest = [];\r\n this._arrLyrTimeout = [];\r\n this._arrLayer = [];\r\n this._lookupLayer = {};\r\n\r\n this._mapMoveCallbacks = [];\r\n this._mapMoveCallbacksLookup = {};\r\n this._mapMoveCallbackDelays = [];\r\n this._mapMoveCallbackContext = [];\r\n this._mapMoveCallbackTimeout = [];\r\n\r\n this._mapExtent = undefined;\r\n this._zoomLevel = undefined;\r\n\r\n }\r\n\r\n /**\r\n * initialize the map move object\r\n * @param theMap - the ol map\r\n */\r\n init(theMap: ol.Map){\r\n super.init(theMap);\r\n\r\n this.map.getView().on(['change:center', 'change:resolution'], (e: {type: string}) =>{\r\n\r\n this._updateMapExtent();\r\n\r\n // trigger the layer updates\r\n for (let i = 0; i < this._arrLayer.length; i++) {\r\n this.triggerLyrLoad(this._arrLayer[i], i, e.type);\r\n }\r\n\r\n // trigger the map callbacks\r\n for (let i = 0; i < this._mapMoveCallbacks.length; i++) {\r\n this.triggerMoveCallback(i, e.type);\r\n }\r\n });\r\n }\r\n\r\n _updateMapExtent() {\r\n let theView = this.map.getView();\r\n this._zoomLevel = theView.getZoom();\r\n\r\n let extentArray = theView.calculateExtent(this.map.getSize());\r\n\r\n this._mapExtent = {\r\n minX: extentArray[0],\r\n minY: extentArray[1],\r\n maxX: extentArray[2],\r\n maxY: extentArray[3]\r\n };\r\n }\r\n\r\n /**\r\n * return the map extent\r\n */\r\n get mapExtent() {\r\n if (!this._mapExtent) {\r\n this._updateMapExtent();\r\n }\r\n\r\n return this._mapExtent;\r\n }\r\n\r\n /**\r\n * Trigger the layer load\r\n * @param lyr the layer being acted on\r\n * @param index index of the layer\r\n * @param eventType the event triggering the load, as 'change:center' or 'change:resolution'\r\n */\r\n triggerLyrLoad(lyr: LayerBaseVector, index?: number, eventType?: string) {\r\n\r\n if (checkDefined.undefinedOrNull(lyr) && checkDefined.undefinedOrNull(index)) {\r\n throw 'need to define lyr or index';\r\n } else if (checkDefined.definedAndNotNull(lyr) && checkDefined.undefinedOrNull(index)) {\r\n index = this._arrLayer.indexOf(lyr);\r\n } else if (checkDefined.undefinedOrNull(lyr) && checkDefined.definedAndNotNull(index)) {\r\n lyr = this._arrLayer[index];\r\n }\r\n\r\n // clear the timeout\r\n if (this._arrLyrTimeout[index] != null) {\r\n clearTimeout(this._arrLyrTimeout[index]);\r\n this._arrLyrTimeout[index] = null;\r\n }\r\n\r\n // abort if necessary and clear the request\r\n if (this._arrLyrRequest[index] != null && this._arrLyrRequest[index] != 4) {\r\n this._arrLyrRequest[index].abort();\r\n this._arrLyrRequest[index] = null;\r\n }\r\n\r\n // dummy callback used if before load returns false\r\n let callbackFunc = function () {};\r\n\r\n if (lyr.mapMoveBefore(this._zoomLevel, eventType)) {\r\n lyr.mapMoveMakeGetParams(this._mapExtent, this._zoomLevel);\r\n\r\n let __this = this;\r\n\r\n callbackFunc = function () {\r\n function innerFunction(theLayer: LayerBaseVector, theIndex: number) {\r\n let _innerThis = this;\r\n this._arrLyrRequest[theIndex] = $.get(\r\n theLayer.url,\r\n theLayer.mapMoveParams,\r\n function (d) {\r\n /**\r\n * @type {LayerBaseVector}\r\n */\r\n theLayer.mapMoveCallback(d);\r\n theLayer.loadCallback();\r\n }, 'json').fail(\r\n function (jqXHR) {\r\n if (jqXHR.statusText != 'abort') {\r\n console.log('failed');\r\n console.log(theLayer.url);\r\n console.log(theLayer.mapMoveParams);\r\n }\r\n }).always(\r\n function () {\r\n _innerThis._arrLyrTimeout[theIndex] = null;\r\n _innerThis._arrLyrRequest[theIndex] = null;\r\n });\r\n }\r\n innerFunction.call(__this, lyr, index);\r\n };\r\n } else {\r\n lyr.clear();\r\n }\r\n this._arrLyrTimeout[index] = setTimeout(callbackFunc, lyr.onDemandDelay);\r\n }\r\n\r\n /**\r\n * trigger the map move call back at the given index\r\n * @param ind - the index of the layer\r\n * @param eventType=undefined the event triggering the load as 'change:center' or 'change:resolution'\r\n * @param functionId=undefined the function id used to reference the added callback function\r\n */\r\n triggerMoveCallback(ind: number, eventType?: string, functionId?: string) {\r\n\r\n if (typeof ind == 'undefined' && typeof functionId == 'undefined'){\r\n throw 'either the function index or the id must be defined';\r\n }\r\n\r\n if (typeof ind !== 'number'){\r\n ind = this._mapMoveCallbacks.indexOf(this._mapMoveCallbacksLookup[functionId]);\r\n }\r\n\r\n if (ind < 0){\r\n console.log('function not found');\r\n\r\n return;\r\n }\r\n\r\n // clear the timeout\r\n if (this._mapMoveCallbackTimeout[ind] != null) {\r\n clearTimeout(this._mapMoveCallbackTimeout[ind]);\r\n this._mapMoveCallbackTimeout[ind] = null;\r\n }\r\n\r\n let ctx = this._mapMoveCallbackContext[ind];\r\n let theFunc = this._mapMoveCallbacks[ind];\r\n\r\n let __this = this;\r\n\r\n let f = function () {\r\n if (ctx !== null) {\r\n theFunc.call(ctx, __this._mapExtent, __this._zoomLevel, eventType);\r\n } else {\r\n theFunc(__this._mapExtent, __this._zoomLevel, eventType);\r\n }\r\n };\r\n\r\n this._mapMoveCallbackTimeout[ind] = setTimeout(f, this._mapMoveCallbackDelays[ind]);\r\n }\r\n\r\n /**\r\n * Add a layer to the interaction\r\n * @param lyr - layer to add\r\n * @param triggerOnAdd - if the layer should be loaded on add\r\n */\r\n addVectorLayer(lyr: LayerBaseVector, triggerOnAdd: boolean = true) {\r\n if (this._arrLayer.indexOf(lyr) > -1) {\r\n console.log('already added ' + lyr.name + ' to map move');\r\n\r\n return;\r\n }\r\n this._checkInit();\r\n\r\n this._arrLyrRequest.push(null);\r\n this._arrLyrTimeout.push(null);\r\n this._arrLayer.push(lyr);\r\n this._lookupLayer[lyr.id] = lyr;\r\n\r\n triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;\r\n\r\n if (triggerOnAdd) {\r\n if (this._mapExtent === undefined) {\r\n this._updateMapExtent();\r\n }\r\n this.triggerLyrLoad(lyr, this._arrLayer.length - 1);\r\n }\r\n }\r\n\r\n\r\n /**\r\n * add a callback to the map move event\r\n * @param func - callback function\r\n * @param context - the context to use for this function\r\n * @param delay=50 the delay before call load\r\n * @param triggerOnAdd if the layer should be loaded on add to mapMove\r\n * @param functionId optional id to reference the function later for outside triggering\r\n */\r\n addCallback(func: mapMoveCallbackFunction, context?: any, delay?: number, triggerOnAdd? : boolean, functionId?: string) {\r\n\r\n if (this._mapMoveCallbacks.indexOf(func) > -1) {\r\n console.log('this function already added to map move');\r\n return;\r\n }\r\n this._checkInit();\r\n if (!functionId){\r\n functionId = makeGuid();\r\n }\r\n\r\n this._mapMoveCallbacks.push(func);\r\n this._mapMoveCallbacksLookup[functionId] = func;\r\n this._mapMoveCallbackDelays.push(typeof delay == 'number' ? delay : 50);\r\n this._mapMoveCallbackContext.push(checkDefined.definedAndNotNull(context) ? context : null);\r\n this._mapMoveCallbackTimeout.push(null);\r\n\r\n triggerOnAdd = typeof triggerOnAdd == 'boolean' ? triggerOnAdd : true;\r\n\r\n if (triggerOnAdd) {\r\n if (this._mapExtent === undefined) {\r\n this._updateMapExtent();\r\n }\r\n this.triggerMoveCallback(this._mapMoveCallbacks.length - 1);\r\n }\r\n }\r\n}\r\n\r\nnm.MapMoveCls = MapMoveCls;\r\nexport default MapMoveCls;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/mapPopupCls.d.ts b/dist/olHelpers/mapPopupCls.d.ts index 70244fa2945f15580d1712c3584d1814f6cc5c43..dd3719f53b7a0d0d600dd2693639221a34067041 100644 --- a/dist/olHelpers/mapPopupCls.d.ts +++ b/dist/olHelpers/mapPopupCls.d.ts @@ -6,6 +6,7 @@ import MapInteractionBase from './mapInteractionBase'; import ol = require('custom-ol'); import { LayerBaseVector } from "../layers/LayerBaseVector"; +import { LayerBase } from "../layers/LayerBase"; import LayerEsriMapServer from "../layers/LayerEsriMapServer"; export interface popupChangedFunction { ($popContent: JQuery): any; @@ -114,7 +115,7 @@ export declare class MapPopupCls extends MapInteractionBase { * @returns the new selection layer * @private */ - _addPopupLayer(lyr: LayerBaseVector, selectionStyle: { + _addPopupLayer(lyr: LayerBaseVector | LayerEsriMapServer, selectionStyle: { color?: string; width?: number; olStyle?: ol.style.Style; @@ -138,7 +139,7 @@ export declare class MapPopupCls extends MapInteractionBase { * * @param {LayerBase} lyr - layer */ - removeVectorPopup(lyr: any): void; + removeVectorPopup(lyr: LayerBase): void; /** * * @param {LayerEsriMapServer} lyr - map server layer @@ -148,7 +149,7 @@ export declare class MapPopupCls extends MapInteractionBase { * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function * @returns {object} a reference to the ol selection layer */ - addMapServicePopup(lyr: any, selectionStyle?: ol.style.Style | Array<ol.style.Style> | ol.StyleFunction): ol.layer.Vector; + addMapServicePopup(lyr: LayerEsriMapServer, selectionStyle?: ol.style.Style | Array<ol.style.Style> | ol.StyleFunction): ol.layer.Vector; clearSelection(): void; /** * Add a function to be called when the map is clicked but before any popups are implemented diff --git a/dist/olHelpers/mapPopupCls.js.map b/dist/olHelpers/mapPopupCls.js.map index 456b4274ecb818f2c60d2f00619eb9b12d9c95e8..9b4d43527ee7eae51ed96747f8659e4c9280cc6d 100644 --- a/dist/olHelpers/mapPopupCls.js.map +++ b/dist/olHelpers/mapPopupCls.js.map @@ -1 +1 @@ -{"version":3,"file":"mapPopupCls.js","sourceRoot":"","sources":["../../src/olHelpers/mapPopupCls.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,2DAAsD;AAEtD,2CAAsC;AACtC,8BAAiC;AAGjC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,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Ae,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/3/2015.\r\n */\r\n\r\nimport MapInteractionBase from './mapInteractionBase';\r\nimport propertiesZoomStyle from '../olHelpers/propertiesZoomStyle';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerBaseVector} from \"../layers/LayerBaseVector\";\r\nimport LayerEsriMapServer from \"../layers/LayerEsriMapServer\";\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('olHelpers');\r\n\r\nexport interface popupChangedFunction {\r\n ($popContent: JQuery): any;\r\n}\r\n\r\n/**\r\n *\r\n */\r\nexport interface popupCallback {\r\n /**\r\n * Callback function for the popup\r\n * @param featureProperties\r\n * @param jqRef\r\n */\r\n (featureProperties: Object, jqRef?: JQuery): string | boolean;\r\n}\r\n\r\ninterface mapEvent {\r\n coordinate: ol.Coordinate;\r\n pixel: ol.Pixel;\r\n dragging: boolean|any;\r\n originalEvent: Event;\r\n}\r\n\r\n\r\nexport class FeatureLayerProperties {\r\n\r\n feature: ol.Feature;\r\n layer: LayerBaseVector|LayerEsriMapServer;\r\n layerIndex: number;\r\n selectionLayer: ol.layer.Vector;\r\n popupContent: string;\r\n esriLayerName: string;\r\n\r\n /**\r\n *\r\n * @param feature the feature\r\n * @param layer - the layer in the popup\r\n * @param layerIndex - index of the layer\r\n * @param selectionLayer - the ol selection layer\r\n * @param [esriLayerName=undefined] - esri layer name\r\n */\r\n constructor(feature: ol.Feature, layer: LayerBaseVector|LayerEsriMapServer, layerIndex: number, selectionLayer: ol.layer.Vector, esriLayerName?: string) {\r\n this.feature = feature;\r\n this.layer = layer;\r\n this.layerIndex = layerIndex;\r\n this.selectionLayer = selectionLayer;\r\n this.popupContent = '';\r\n this.esriLayerName = typeof esriLayerName == 'string' ? esriLayerName : undefined;\r\n }\r\n\r\n get layerName() {\r\n if (typeof this.esriLayerName == 'string') {\r\n return this.esriLayerName;\r\n } else {\r\n return this.layer.name;\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * map popup class\r\n * @augments MapInteractionBase\r\n */\r\nexport class MapPopupCls extends MapInteractionBase {\r\n private _popupOpen: boolean;\r\n private _passThroughLayerFeatureArray: Array<FeatureLayerProperties>;\r\n private _currentPopupIndex: number;\r\n private _popupContentLength: number;\r\n private _esriMapServiceLayers: Array<LayerEsriMapServer>;\r\n private _$popupCloser: JQuery;\r\n private _$popupContent: JQuery;\r\n private _$popupContainer: JQuery;\r\n private _popupOverlay: ol.Overlay;\r\n private _arrPopupLayers: Array<LayerBaseVector>;\r\n private _popupCoordinate: ol.Coordinate;\r\n private _popupChangedFunctions: Array<popupChangedFunction>;\r\n private _mapClickFunctions: Array<Function>;\r\n private _selectionLayerLookup: Object;\r\n private _arrPopupLayerIds: Array<string>;\r\n private _arrPopupLayerNames: Array<string>;\r\n private _arrPopupOlLayers: Array<ol.layer.Vector>;\r\n private _arrPopupContentFunction: Array<popupCallback>;\r\n private _selectionLayers: Array<ol.layer.Vector>;\r\n\r\n /**\r\n * Definition for openlayers style function\r\n * @callback olStyleFunction\r\n * ¶m feature the openlayers vector feature\r\n * $param\r\n */\r\n\r\n\r\n /**\r\n * map popup constructor\r\n */\r\n constructor() {\r\n super('map popup');\r\n this._arrPopupLayerIds = [];\r\n this._arrPopupLayerNames = [];\r\n this._arrPopupLayers = [];\r\n this._arrPopupOlLayers = [];\r\n this._arrPopupContentFunction = [];\r\n this._$popupContainer = undefined;\r\n this._$popupContent = undefined;\r\n this._$popupCloser = undefined;\r\n this._popupOverlay = undefined;\r\n this._selectionLayers = [];\r\n this._selectionLayerLookup = {};\r\n this._mapClickFunctions = [];\r\n\r\n //let a = function($jqueryContent){console.log($jqueryContent)};\r\n //this._popupChangedLookup = {'a': a};\r\n this._popupChangedFunctions = [];\r\n this._esriMapServiceLayers = [];\r\n\r\n this._popupOpen = false;\r\n this._popupCoordinate = null;\r\n\r\n this._passThroughLayerFeatureArray = [];\r\n\r\n this._currentPopupIndex = -1;\r\n this._popupContentLength = 0;\r\n\r\n }\r\n\r\n /**\r\n * map popup initialization\r\n * @param {ol.Map} theMap - the ol map\r\n */\r\n init(theMap: ol.Map) {\r\n super.init(theMap);\r\n\r\n let $map;\r\n let target = this.map.getTarget();\r\n\r\n if (typeof target == 'string') {\r\n $map = $('#' + target);\r\n }\r\n else {\r\n $map = $(target);\r\n }\r\n\r\n $map.append(\r\n '<div class=\"ol-popup\">' +\r\n '<span class=\"ol-popup-closer\">X</span>' +\r\n '<div class=\"popup-content\"></div>' +\r\n '</div>'\r\n );\r\n\r\n this._$popupContainer = $map.find('.ol-popup');\r\n this._$popupContent = $map.find('.popup-content');\r\n this._$popupCloser = $map.find('.ol-popup-closer');\r\n\r\n let _ease = (n: number): number => {\r\n return ol.easing.inAndOut(n);\r\n };\r\n\r\n\r\n this._popupOverlay = new ol.Overlay({\r\n element: this._$popupContainer[0],\r\n autoPan: true,\r\n autoPanAnimation: {\r\n duration: 250,\r\n source: theMap.getView().getCenter(),\r\n easing: _ease\r\n }\r\n });\r\n\r\n this._map.addOverlay(this._popupOverlay);\r\n\r\n this._$popupCloser.click((evt) => {\r\n this.closePopup();\r\n });\r\n\r\n // display popup on click\r\n this._map.on('singleclick', (evt) => {\r\n\r\n this.closePopup();\r\n this._popupCoordinate = evt['coordinate'];\r\n\r\n // esri map service layers\r\n if (this._esriMapServiceLayers.length > 0) {\r\n\r\n let queryParams = {\r\n geometry: evt['coordinate'].join(','),\r\n geometryType: 'esriGeometryPoint',\r\n layers: 'all',\r\n sr: this._map.getView().getProjection().getCode().split(':')[1],\r\n mapExtent: (this._map.getView().calculateExtent(this._map.getSize()) as number[]).join(','),\r\n imageDisplay: (this._map.getSize() as number[]).join(',') + ',96',\r\n returnGeometry: true,\r\n tolerance: 15,\r\n f: 'pjson'\r\n };\r\n\r\n for (let l of this._esriMapServiceLayers) {\r\n l.getPopupInfo(queryParams);\r\n }\r\n }\r\n\r\n let layerFeatureObjectArray = this._featuresAtPixel(evt['pixel']);\r\n\r\n this._passThroughLayerFeatureArray = [];\r\n this._currentPopupIndex = -1;\r\n\r\n for (let i = 0; i < layerFeatureObjectArray.length; i++) {\r\n let featObj = layerFeatureObjectArray[i];\r\n\r\n let props = featObj.feature.getProperties();\r\n\r\n let popupContentResponse = this._arrPopupContentFunction[featObj.layerIndex](props, this._$popupContent);\r\n\r\n //skip if return was false\r\n if (popupContentResponse === false) {\r\n //continue;\r\n } else if (typeof popupContentResponse == 'string') {\r\n featObj.popupContent = popupContentResponse as string;\r\n this._passThroughLayerFeatureArray.push(featObj);\r\n } else {\r\n featObj.selectionLayer.getSource().addFeature(featObj.feature);\r\n }\r\n }\r\n\r\n this._popupContentLength = this._passThroughLayerFeatureArray.length;\r\n\r\n this._currentPopupIndex = -1;\r\n\r\n let popupHtml = '<div class=\"ol-popup-nav\">';\r\n popupHtml += '<span class=\"previous-popup ol-popup-nav-arrow\">◀</span>';\r\n popupHtml += '<span class=\"next-popup ol-popup-nav-arrow\">▶</span>';\r\n popupHtml += `<span class=\"current-popup-item-number\" style=\"font-weight: bold;\"></span>`;\r\n popupHtml += `<span> of </span>`;\r\n popupHtml += `<span class=\"popup-content-length\" style=\"font-weight: bold;\">${this._popupContentLength}</span>`;\r\n popupHtml += `<span> - </span>`;\r\n popupHtml += `<span class=\"current-popup-layer-name\"></span>`;\r\n popupHtml += '</div>';\r\n popupHtml += '<div class=\"ol-popup-inner\">';\r\n\r\n popupHtml += '</div>';\r\n\r\n this._$popupContent.html(popupHtml);\r\n\r\n this._$popupContent.find('.previous-popup').click(() => {\r\n if (this._popupContentLength == 1) {\r\n return;\r\n }\r\n\r\n if (this._currentPopupIndex == 0) {\r\n this._currentPopupIndex = this._popupContentLength - 1;\r\n } else {\r\n this._currentPopupIndex--;\r\n }\r\n this._triggerFeatSelect();\r\n });\r\n\r\n let nextPopup = this._$popupContent.find('.next-popup');\r\n\r\n nextPopup.click(() => {\r\n if (this._popupContentLength == 1 && this._currentPopupIndex > -1) {\r\n return;\r\n }\r\n\r\n if (this._currentPopupIndex == this._popupContentLength - 1) {\r\n this._currentPopupIndex = 0;\r\n } else {\r\n this._currentPopupIndex++;\r\n }\r\n this._triggerFeatSelect();\r\n });\r\n\r\n\r\n if (this._popupContentLength > 0) {\r\n nextPopup.trigger('click');\r\n this._popupOverlay.setPosition(this._popupCoordinate);\r\n this._$popupContent.scrollTop(0);\r\n this._popupOpen = true;\r\n }\r\n });\r\n\r\n //change mouse cursor when over marker\r\n this._map.on('pointermove', (evt) => {\r\n if (evt['dragging']) {\r\n return;\r\n }\r\n let pixel = this.map.getEventPixel(evt['originalEvent']);\r\n let hit = this.map.hasFeatureAtPixel(pixel, (lyrCandidate) => {\r\n for (let olLayer of this._arrPopupOlLayers) {\r\n if (lyrCandidate == olLayer) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n });\r\n let mapElement = this.map.getTargetElement() as HTMLElement;\r\n mapElement.style.cursor = hit ? 'pointer' : '';\r\n });\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * helper to select features\r\n * @private\r\n */\r\n _triggerFeatSelect() {\r\n let $currentPopupItemNumber = this._$popupContent.find('.current-popup-item-number');\r\n let $innerPopup = this._$popupContent.find('.ol-popup-inner');\r\n let $layerNameSpan = this._$popupContent.find('.current-popup-layer-name');\r\n this.clearSelection();\r\n let lyrFeatObj = this._passThroughLayerFeatureArray[this._currentPopupIndex];\r\n $currentPopupItemNumber.html((this._currentPopupIndex + 1).toFixed());\r\n $layerNameSpan.html(lyrFeatObj.layerName);\r\n $innerPopup.html(lyrFeatObj.popupContent);\r\n lyrFeatObj.selectionLayer.getSource().addFeature(lyrFeatObj.feature);\r\n for (let f of this._popupChangedFunctions) {\r\n f(this._$popupContent);\r\n }\r\n }\r\n\r\n\r\n /**\r\n *\r\n * @param feature - the ol feature\r\n * @param {LayerEsriMapServer} lyr - the map server layer\r\n * @param {string} popupContent - popup content\r\n * @param {string} esriName - esri layer name\r\n */\r\n addMapServicePopupContent(feature: ol.Feature, lyr: LayerEsriMapServer, popupContent: string, esriName: string) {\r\n\r\n let featLayerObject = new FeatureLayerProperties(\r\n feature, lyr, this._popupContentLength, this._selectionLayerLookup[lyr.id], esriName\r\n );\r\n featLayerObject.popupContent = popupContent;\r\n\r\n this._passThroughLayerFeatureArray.push(featLayerObject);\r\n this._popupContentLength++;\r\n\r\n $('.popup-content-length').html(this._popupContentLength.toFixed());\r\n\r\n if (!this._popupOpen) {\r\n this._$popupContent.find('.next-popup').trigger('click');\r\n\r\n this._popupOverlay.setPosition(this._popupCoordinate);\r\n this._$popupContent.scrollTop(0);\r\n this._popupOpen = true;\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param pixel - the ol pixel\r\n * @returns feature layer properties\r\n * @private\r\n */\r\n _featuresAtPixel(pixel: ol.Pixel): Array<FeatureLayerProperties> {\r\n let layerFeatureObjectArray = [];\r\n\r\n this.map.forEachFeatureAtPixel(pixel, (feature: ol.Feature, layer: ol.layer.Vector) => {\r\n let lyrIndex = this._arrPopupOlLayers.indexOf(layer);\r\n\r\n if (lyrIndex > -1) {\r\n layerFeatureObjectArray.push(\r\n new FeatureLayerProperties(\r\n feature, this._arrPopupLayers[lyrIndex], lyrIndex, this._selectionLayers[lyrIndex]));\r\n }\r\n });\r\n\r\n return layerFeatureObjectArray;\r\n }\r\n\r\n closePopup() {\r\n this._checkInit();\r\n this._popupOpen = false;\r\n this._popupOverlay.setPosition(undefined);\r\n this._$popupCloser[0].blur();\r\n this.clearSelection();\r\n this._$popupContent.html('');\r\n\r\n return false;\r\n };\r\n\r\n\r\n /**\r\n *\r\n * @param chgFunction - popup change function\r\n */\r\n addPopupChangedFunction(chgFunction: popupChangedFunction) {\r\n this._popupChangedFunctions.push(chgFunction);\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - the layer being acted on\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns the new selection layer\r\n * @private\r\n */\r\n _addPopupLayer(lyr: LayerBaseVector, selectionStyle: {color?: string, width?: number, olStyle?: ol.style.Style}): ol.layer.Vector {\r\n this._checkInit();\r\n\r\n selectionStyle = selectionStyle || {};\r\n selectionStyle.color = selectionStyle.color || 'rgba(255,170,0,0.5)';\r\n selectionStyle.width = selectionStyle.width || 10;\r\n\r\n let theStyle;\r\n\r\n if (selectionStyle.olStyle) {\r\n theStyle = selectionStyle.olStyle;\r\n } else {\r\n theStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: selectionStyle.color,\r\n width: selectionStyle.width\r\n }),\r\n image: new ol.style.Circle({\r\n radius: 7,\r\n fill: new ol.style.Fill({color: selectionStyle.color}),\r\n stroke: new ol.style.Stroke({color: selectionStyle.color, width: 1})\r\n }),\r\n fill: new ol.style.Fill({\r\n color: selectionStyle.color\r\n })\r\n });\r\n }\r\n\r\n let selectionLayer = new ol.layer.Vector(\r\n {\r\n source: new ol.source.Vector(),\r\n style: theStyle\r\n }\r\n );\r\n\r\n selectionLayer.setZIndex(100);\r\n\r\n this._selectionLayers.push(selectionLayer);\r\n this._selectionLayerLookup[lyr.id] = selectionLayer;\r\n this.map.addLayer(selectionLayer);\r\n\r\n return selectionLayer;\r\n }\r\n\r\n\r\n /**\r\n * Add popup to the map\r\n * @param {LayerBase|*} lyr The layer that the popup with act on\r\n * @param {popupCallback} popupContentFunction - popup content function that makes popup info\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns {object} a reference to the ol selection layer\r\n */\r\n addVectorPopup(lyr: LayerBaseVector, popupContentFunction: popupCallback,\r\n selectionStyle?: {color?: string, width?: number, olStyle?: ol.style.Style}) {\r\n let selectionLayer = this._addPopupLayer(lyr, selectionStyle);\r\n this._arrPopupLayerIds.push(lyr.id);\r\n this._arrPopupLayerNames.push(lyr.name);\r\n this._arrPopupLayers.push(lyr);\r\n this._arrPopupOlLayers.push(lyr.olLayer);\r\n this._arrPopupContentFunction.push(popupContentFunction);\r\n\r\n return selectionLayer;\r\n };\r\n\r\n\r\n /**\r\n *\r\n * @param {LayerBase} lyr - layer\r\n */\r\n removeVectorPopup(lyr) {\r\n let idx = this._arrPopupLayerIds.indexOf(lyr.id);\r\n\r\n if (idx > -1) {\r\n this._arrPopupLayerIds.splice(idx, 1);\r\n this._arrPopupLayerNames.splice(idx, 1);\r\n this._arrPopupLayers.splice(idx, 1);\r\n this._arrPopupOlLayers.splice(idx, 1);\r\n this._arrPopupContentFunction.splice(idx, 1);\r\n this._selectionLayers.splice(idx, 1);\r\n delete this._selectionLayerLookup[lyr.id];\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerEsriMapServer} lyr - map server layer\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns {object} a reference to the ol selection layer\r\n */\r\n addMapServicePopup(lyr, selectionStyle?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction) {\r\n let selectionLayer = this._addPopupLayer(lyr, selectionStyle);\r\n this._esriMapServiceLayers.push(lyr);\r\n\r\n return selectionLayer;\r\n }\r\n\r\n clearSelection() {\r\n this._checkInit();\r\n for (let i = 0; i < this._selectionLayers.length; i++) {\r\n this._selectionLayers[i].getSource().clear();\r\n }\r\n for (let f of this._mapClickFunctions) {\r\n f();\r\n }\r\n };\r\n\r\n /**\r\n * Add a function to be called when the map is clicked but before any popups are implemented\r\n * @param {function} func - the map click function\r\n */\r\n addMapClickFunction(func: Function) {\r\n this._mapClickFunctions.push(func);\r\n }\r\n}\r\nnm.MapPopupCls = MapPopupCls;\r\nexport default MapPopupCls;\r\n"]} \ No newline at end of file +{"version":3,"file":"mapPopupCls.js","sourceRoot":"","sources":["../../src/olHelpers/mapPopupCls.ts"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,2DAAsD;AAEtD,2CAAsC;AACtC,8BAAiC;AAIjC,0BAA6B;AAE7B,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AA0BhC;IASI;;;;;;;OAOG;IACH,gCAAY,OAAmB,EAAE,KAAyC,EAAE,UAAkB,EAAE,cAA+B,EAAE,aAAsB;QACnJ,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,OAAO,aAAa,IAAI,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;IACtF,CAAC;IAED,sBAAI,6CAAS;aAAb;YACI,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,aAAa,IAAI,QAAQ,CAAC,CAAC,CAAC;gBACxC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;YAC9B,CAAC;YAAC,IAAI,CAAC,CAAC;gBACJ,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAC3B,CAAC;QACL,CAAC;;;OAAA;IACL,6BAAC;AAAD,CAAC,AAjCD,IAiCC;AAjCY,wDAAsB;AAmCnC;;;GAGG;AACH;IAAiC,+BAAkB;IAqB/C;;;;;OAKG;IAGH;;OAEG;IACH;QAAA,YACI,kBAAM,WAAW,CAAC,SA2BrB;QA1BG,KAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;QAC5B,KAAI,CAAC,mBAAmB,GAAG,EAAE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AAC;SACP;IACL,CAAC;IAAA,CAAC;IAEF;;;OAGG;IACH,yCAAmB,GAAnB,UAAoB,IAAc;QAC9B,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IACL,kBAAC;AAAD,CAAC,AAzcD,CAAiC,4BAAkB,GAyclD;AAzcY,kCAAW;AA0cxB,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B,kBAAe,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/3/2015.\r\n */\r\n\r\nimport MapInteractionBase from './mapInteractionBase';\r\nimport propertiesZoomStyle from '../olHelpers/propertiesZoomStyle';\r\nimport provide from '../util/provide';\r\nimport ol = require('custom-ol');\r\nimport {LayerBaseVector} from \"../layers/LayerBaseVector\";\r\nimport {LayerBase} from \"../layers/LayerBase\";\r\nimport LayerEsriMapServer from \"../layers/LayerEsriMapServer\";\r\nimport $ = require('jquery');\r\n\r\nconst nm = provide('olHelpers');\r\n\r\nexport interface popupChangedFunction {\r\n ($popContent: JQuery): any;\r\n}\r\n\r\n/**\r\n *\r\n */\r\nexport interface popupCallback {\r\n /**\r\n * Callback function for the popup\r\n * @param featureProperties\r\n * @param jqRef\r\n */\r\n (featureProperties: Object, jqRef?: JQuery): string | boolean;\r\n}\r\n\r\ninterface mapEvent {\r\n coordinate: ol.Coordinate;\r\n pixel: ol.Pixel;\r\n dragging: boolean|any;\r\n originalEvent: Event;\r\n}\r\n\r\n\r\nexport class FeatureLayerProperties {\r\n\r\n feature: ol.Feature;\r\n layer: LayerBaseVector|LayerEsriMapServer;\r\n layerIndex: number;\r\n selectionLayer: ol.layer.Vector;\r\n popupContent: string;\r\n esriLayerName: string;\r\n\r\n /**\r\n *\r\n * @param feature the feature\r\n * @param layer - the layer in the popup\r\n * @param layerIndex - index of the layer\r\n * @param selectionLayer - the ol selection layer\r\n * @param [esriLayerName=undefined] - esri layer name\r\n */\r\n constructor(feature: ol.Feature, layer: LayerBaseVector|LayerEsriMapServer, layerIndex: number, selectionLayer: ol.layer.Vector, esriLayerName?: string) {\r\n this.feature = feature;\r\n this.layer = layer;\r\n this.layerIndex = layerIndex;\r\n this.selectionLayer = selectionLayer;\r\n this.popupContent = '';\r\n this.esriLayerName = typeof esriLayerName == 'string' ? esriLayerName : undefined;\r\n }\r\n\r\n get layerName() {\r\n if (typeof this.esriLayerName == 'string') {\r\n return this.esriLayerName;\r\n } else {\r\n return this.layer.name;\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * map popup class\r\n * @augments MapInteractionBase\r\n */\r\nexport class MapPopupCls extends MapInteractionBase {\r\n private _popupOpen: boolean;\r\n private _passThroughLayerFeatureArray: Array<FeatureLayerProperties>;\r\n private _currentPopupIndex: number;\r\n private _popupContentLength: number;\r\n private _esriMapServiceLayers: Array<LayerEsriMapServer>;\r\n private _$popupCloser: JQuery;\r\n private _$popupContent: JQuery;\r\n private _$popupContainer: JQuery;\r\n private _popupOverlay: ol.Overlay;\r\n private _arrPopupLayers: Array<LayerBaseVector>;\r\n private _popupCoordinate: ol.Coordinate;\r\n private _popupChangedFunctions: Array<popupChangedFunction>;\r\n private _mapClickFunctions: Array<Function>;\r\n private _selectionLayerLookup: {[s: string]: ol.layer.Vector};\r\n private _arrPopupLayerIds: Array<string>;\r\n private _arrPopupLayerNames: Array<string>;\r\n private _arrPopupOlLayers: Array<ol.layer.Vector>;\r\n private _arrPopupContentFunction: Array<popupCallback>;\r\n private _selectionLayers: Array<ol.layer.Vector>;\r\n\r\n /**\r\n * Definition for openlayers style function\r\n * @callback olStyleFunction\r\n * ¶m feature the openlayers vector feature\r\n * $param\r\n */\r\n\r\n\r\n /**\r\n * map popup constructor\r\n */\r\n constructor() {\r\n super('map popup');\r\n this._arrPopupLayerIds = [];\r\n this._arrPopupLayerNames = [];\r\n this._arrPopupLayers = [];\r\n this._arrPopupOlLayers = [];\r\n this._arrPopupContentFunction = [];\r\n this._$popupContainer = undefined;\r\n this._$popupContent = undefined;\r\n this._$popupCloser = undefined;\r\n this._popupOverlay = undefined;\r\n this._selectionLayers = [];\r\n this._selectionLayerLookup = {};\r\n this._mapClickFunctions = [];\r\n\r\n //let a = function($jqueryContent){console.log($jqueryContent)};\r\n //this._popupChangedLookup = {'a': a};\r\n this._popupChangedFunctions = [];\r\n this._esriMapServiceLayers = [];\r\n\r\n this._popupOpen = false;\r\n this._popupCoordinate = null;\r\n\r\n this._passThroughLayerFeatureArray = [];\r\n\r\n this._currentPopupIndex = -1;\r\n this._popupContentLength = 0;\r\n\r\n }\r\n\r\n /**\r\n * map popup initialization\r\n * @param {ol.Map} theMap - the ol map\r\n */\r\n init(theMap: ol.Map) {\r\n super.init(theMap);\r\n\r\n let $map;\r\n let target = this.map.getTarget();\r\n\r\n if (typeof target == 'string') {\r\n $map = $('#' + target);\r\n }\r\n else {\r\n $map = $(target);\r\n }\r\n\r\n $map.append(\r\n '<div class=\"ol-popup\">' +\r\n '<span class=\"ol-popup-closer\">X</span>' +\r\n '<div class=\"popup-content\"></div>' +\r\n '</div>'\r\n );\r\n\r\n this._$popupContainer = $map.find('.ol-popup');\r\n this._$popupContent = $map.find('.popup-content');\r\n this._$popupCloser = $map.find('.ol-popup-closer');\r\n\r\n let _ease = (n: number): number => {\r\n return ol.easing.inAndOut(n);\r\n };\r\n\r\n\r\n this._popupOverlay = new ol.Overlay({\r\n element: this._$popupContainer[0],\r\n autoPan: true,\r\n autoPanAnimation: {\r\n duration: 250,\r\n source: theMap.getView().getCenter(),\r\n easing: _ease\r\n }\r\n });\r\n\r\n this._map.addOverlay(this._popupOverlay);\r\n\r\n this._$popupCloser.click((evt) => {\r\n this.closePopup();\r\n });\r\n\r\n // display popup on click\r\n this._map.on('singleclick', (evt: {coordinate: [number, number], pixel: ol.Pixel}) => {\r\n\r\n this.closePopup();\r\n this._popupCoordinate = evt['coordinate'];\r\n\r\n // esri map service layers\r\n if (this._esriMapServiceLayers.length > 0) {\r\n\r\n let queryParams = {\r\n geometry: evt['coordinate'].join(','),\r\n geometryType: 'esriGeometryPoint',\r\n layers: 'all',\r\n sr: this._map.getView().getProjection().getCode().split(':')[1],\r\n mapExtent: (this._map.getView().calculateExtent(this._map.getSize()) as number[]).join(','),\r\n imageDisplay: (this._map.getSize() as number[]).join(',') + ',96',\r\n returnGeometry: true,\r\n tolerance: 15,\r\n f: 'pjson'\r\n };\r\n\r\n for (let l of this._esriMapServiceLayers) {\r\n l.getPopupInfo(queryParams);\r\n }\r\n }\r\n\r\n let layerFeatureObjectArray = this._featuresAtPixel(evt['pixel']);\r\n\r\n this._passThroughLayerFeatureArray = [];\r\n this._currentPopupIndex = -1;\r\n\r\n for (let i = 0; i < layerFeatureObjectArray.length; i++) {\r\n let featObj = layerFeatureObjectArray[i];\r\n\r\n let props = featObj.feature.getProperties();\r\n\r\n let popupContentResponse = this._arrPopupContentFunction[featObj.layerIndex](props, this._$popupContent);\r\n\r\n //skip if return was false\r\n if (popupContentResponse === false) {\r\n //continue;\r\n } else if (typeof popupContentResponse == 'string') {\r\n featObj.popupContent = popupContentResponse as string;\r\n this._passThroughLayerFeatureArray.push(featObj);\r\n } else {\r\n featObj.selectionLayer.getSource().addFeature(featObj.feature);\r\n }\r\n }\r\n\r\n this._popupContentLength = this._passThroughLayerFeatureArray.length;\r\n\r\n this._currentPopupIndex = -1;\r\n\r\n let popupHtml = '<div class=\"ol-popup-nav\">';\r\n popupHtml += '<span class=\"previous-popup ol-popup-nav-arrow\">◀</span>';\r\n popupHtml += '<span class=\"next-popup ol-popup-nav-arrow\">▶</span>';\r\n popupHtml += `<span class=\"current-popup-item-number\" style=\"font-weight: bold;\"></span>`;\r\n popupHtml += `<span> of </span>`;\r\n popupHtml += `<span class=\"popup-content-length\" style=\"font-weight: bold;\">${this._popupContentLength}</span>`;\r\n popupHtml += `<span> - </span>`;\r\n popupHtml += `<span class=\"current-popup-layer-name\"></span>`;\r\n popupHtml += '</div>';\r\n popupHtml += '<div class=\"ol-popup-inner\">';\r\n\r\n popupHtml += '</div>';\r\n\r\n this._$popupContent.html(popupHtml);\r\n\r\n this._$popupContent.find('.previous-popup').click(() => {\r\n if (this._popupContentLength == 1) {\r\n return;\r\n }\r\n\r\n if (this._currentPopupIndex == 0) {\r\n this._currentPopupIndex = this._popupContentLength - 1;\r\n } else {\r\n this._currentPopupIndex--;\r\n }\r\n this._triggerFeatSelect();\r\n });\r\n\r\n let nextPopup = this._$popupContent.find('.next-popup');\r\n\r\n nextPopup.click(() => {\r\n if (this._popupContentLength == 1 && this._currentPopupIndex > -1) {\r\n return;\r\n }\r\n\r\n if (this._currentPopupIndex == this._popupContentLength - 1) {\r\n this._currentPopupIndex = 0;\r\n } else {\r\n this._currentPopupIndex++;\r\n }\r\n this._triggerFeatSelect();\r\n });\r\n\r\n\r\n if (this._popupContentLength > 0) {\r\n nextPopup.trigger('click');\r\n this._popupOverlay.setPosition(this._popupCoordinate);\r\n this._$popupContent.scrollTop(0);\r\n this._popupOpen = true;\r\n }\r\n });\r\n\r\n //change mouse cursor when over marker\r\n this._map.on('pointermove', (evt: {dragging: boolean, originalEvent: Event}) => {\r\n if (evt['dragging']) {\r\n return;\r\n }\r\n let pixel = this.map.getEventPixel(evt['originalEvent']);\r\n let hit = this.map.hasFeatureAtPixel(pixel, (lyrCandidate) => {\r\n for (let olLayer of this._arrPopupOlLayers) {\r\n if (lyrCandidate == olLayer) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n });\r\n let mapElement = this.map.getTargetElement() as HTMLElement;\r\n mapElement.style.cursor = hit ? 'pointer' : '';\r\n });\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * helper to select features\r\n * @private\r\n */\r\n _triggerFeatSelect() {\r\n let $currentPopupItemNumber = this._$popupContent.find('.current-popup-item-number');\r\n let $innerPopup = this._$popupContent.find('.ol-popup-inner');\r\n let $layerNameSpan = this._$popupContent.find('.current-popup-layer-name');\r\n this.clearSelection();\r\n let lyrFeatObj = this._passThroughLayerFeatureArray[this._currentPopupIndex];\r\n $currentPopupItemNumber.html((this._currentPopupIndex + 1).toFixed());\r\n $layerNameSpan.html(lyrFeatObj.layerName);\r\n $innerPopup.html(lyrFeatObj.popupContent);\r\n lyrFeatObj.selectionLayer.getSource().addFeature(lyrFeatObj.feature);\r\n for (let f of this._popupChangedFunctions) {\r\n f(this._$popupContent);\r\n }\r\n }\r\n\r\n\r\n /**\r\n *\r\n * @param feature - the ol feature\r\n * @param {LayerEsriMapServer} lyr - the map server layer\r\n * @param {string} popupContent - popup content\r\n * @param {string} esriName - esri layer name\r\n */\r\n addMapServicePopupContent(feature: ol.Feature, lyr: LayerEsriMapServer, popupContent: string, esriName: string) {\r\n\r\n let featLayerObject = new FeatureLayerProperties(\r\n feature, lyr, this._popupContentLength, this._selectionLayerLookup[lyr.id], esriName\r\n );\r\n featLayerObject.popupContent = popupContent;\r\n\r\n this._passThroughLayerFeatureArray.push(featLayerObject);\r\n this._popupContentLength++;\r\n\r\n $('.popup-content-length').html(this._popupContentLength.toFixed());\r\n\r\n if (!this._popupOpen) {\r\n this._$popupContent.find('.next-popup').trigger('click');\r\n\r\n this._popupOverlay.setPosition(this._popupCoordinate);\r\n this._$popupContent.scrollTop(0);\r\n this._popupOpen = true;\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param pixel - the ol pixel\r\n * @returns feature layer properties\r\n * @private\r\n */\r\n _featuresAtPixel(pixel: ol.Pixel): Array<FeatureLayerProperties> {\r\n let layerFeatureObjectArray: FeatureLayerProperties[] = [];\r\n\r\n this.map.forEachFeatureAtPixel(pixel, (feature: ol.Feature, layer: ol.layer.Vector) => {\r\n let lyrIndex = this._arrPopupOlLayers.indexOf(layer);\r\n\r\n if (lyrIndex > -1) {\r\n layerFeatureObjectArray.push(\r\n new FeatureLayerProperties(\r\n feature, this._arrPopupLayers[lyrIndex], lyrIndex, this._selectionLayers[lyrIndex]));\r\n }\r\n });\r\n\r\n return layerFeatureObjectArray;\r\n }\r\n\r\n closePopup() {\r\n this._checkInit();\r\n this._popupOpen = false;\r\n this._popupOverlay.setPosition(undefined);\r\n this._$popupCloser[0].blur();\r\n this.clearSelection();\r\n this._$popupContent.html('');\r\n\r\n return false;\r\n };\r\n\r\n\r\n /**\r\n *\r\n * @param chgFunction - popup change function\r\n */\r\n addPopupChangedFunction(chgFunction: popupChangedFunction) {\r\n this._popupChangedFunctions.push(chgFunction);\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerBase|*} lyr - the layer being acted on\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns the new selection layer\r\n * @private\r\n */\r\n _addPopupLayer(lyr: LayerBaseVector|LayerEsriMapServer, selectionStyle: {color?: string, width?: number, olStyle?: ol.style.Style}): ol.layer.Vector {\r\n this._checkInit();\r\n\r\n selectionStyle = selectionStyle || {};\r\n selectionStyle.color = selectionStyle.color || 'rgba(255,170,0,0.5)';\r\n selectionStyle.width = selectionStyle.width || 10;\r\n\r\n let theStyle;\r\n\r\n if (selectionStyle.olStyle) {\r\n theStyle = selectionStyle.olStyle;\r\n } else {\r\n theStyle = new ol.style.Style({\r\n stroke: new ol.style.Stroke({\r\n color: selectionStyle.color,\r\n width: selectionStyle.width\r\n }),\r\n image: new ol.style.Circle({\r\n radius: 7,\r\n fill: new ol.style.Fill({color: selectionStyle.color}),\r\n stroke: new ol.style.Stroke({color: selectionStyle.color, width: 1})\r\n }),\r\n fill: new ol.style.Fill({\r\n color: selectionStyle.color\r\n })\r\n });\r\n }\r\n\r\n let selectionLayer = new ol.layer.Vector(\r\n {\r\n source: new ol.source.Vector(),\r\n style: theStyle\r\n }\r\n );\r\n\r\n selectionLayer.setZIndex(100);\r\n\r\n this._selectionLayers.push(selectionLayer);\r\n this._selectionLayerLookup[lyr.id] = selectionLayer;\r\n this.map.addLayer(selectionLayer);\r\n\r\n return selectionLayer;\r\n }\r\n\r\n\r\n /**\r\n * Add popup to the map\r\n * @param {LayerBase|*} lyr The layer that the popup with act on\r\n * @param {popupCallback} popupContentFunction - popup content function that makes popup info\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns {object} a reference to the ol selection layer\r\n */\r\n addVectorPopup(lyr: LayerBaseVector, popupContentFunction: popupCallback,\r\n selectionStyle?: {color?: string, width?: number, olStyle?: ol.style.Style}) {\r\n let selectionLayer = this._addPopupLayer(lyr, selectionStyle);\r\n this._arrPopupLayerIds.push(lyr.id);\r\n this._arrPopupLayerNames.push(lyr.name);\r\n this._arrPopupLayers.push(lyr);\r\n this._arrPopupOlLayers.push(lyr.olLayer);\r\n this._arrPopupContentFunction.push(popupContentFunction);\r\n\r\n return selectionLayer;\r\n };\r\n\r\n\r\n /**\r\n *\r\n * @param {LayerBase} lyr - layer\r\n */\r\n removeVectorPopup(lyr: LayerBase) {\r\n let idx = this._arrPopupLayerIds.indexOf(lyr.id);\r\n\r\n if (idx > -1) {\r\n this._arrPopupLayerIds.splice(idx, 1);\r\n this._arrPopupLayerNames.splice(idx, 1);\r\n this._arrPopupLayers.splice(idx, 1);\r\n this._arrPopupOlLayers.splice(idx, 1);\r\n this._arrPopupContentFunction.splice(idx, 1);\r\n this._selectionLayers.splice(idx, 1);\r\n delete this._selectionLayerLookup[lyr.id];\r\n }\r\n }\r\n\r\n /**\r\n *\r\n * @param {LayerEsriMapServer} lyr - map server layer\r\n * @param {object} [selectionStyle={}] the selection style configuration\r\n * @param {string} [selectionStyle.color=rgba(255,170,0,0.5)] the selection color\r\n * @param {number} [selectionStyle.width=10] the selection width for linear features\r\n * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function\r\n * @returns {object} a reference to the ol selection layer\r\n */\r\n addMapServicePopup(lyr: LayerEsriMapServer, selectionStyle?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction) {\r\n let selectionLayer = this._addPopupLayer(lyr, selectionStyle);\r\n this._esriMapServiceLayers.push(lyr);\r\n\r\n return selectionLayer;\r\n }\r\n\r\n clearSelection() {\r\n this._checkInit();\r\n for (let i = 0; i < this._selectionLayers.length; i++) {\r\n this._selectionLayers[i].getSource().clear();\r\n }\r\n for (let f of this._mapClickFunctions) {\r\n f();\r\n }\r\n };\r\n\r\n /**\r\n * Add a function to be called when the map is clicked but before any popups are implemented\r\n * @param {function} func - the map click function\r\n */\r\n addMapClickFunction(func: Function) {\r\n this._mapClickFunctions.push(func);\r\n }\r\n}\r\nnm.MapPopupCls = MapPopupCls;\r\nexport default MapPopupCls;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/propertiesZoomStyle.d.ts b/dist/olHelpers/propertiesZoomStyle.d.ts index e172c919912ab678a5f1ba77a4224419d1a2c496..9a443856a51f62ba9c1092de9239470b8d804ee8 100644 --- a/dist/olHelpers/propertiesZoomStyle.d.ts +++ b/dist/olHelpers/propertiesZoomStyle.d.ts @@ -11,5 +11,5 @@ import ol = require('custom-ol'); * @param {propertiesZoomStyle|*} styleFunc - style function * @returns {function|*} new function */ -declare function propertiesZoomStyle(styleFunc: any): (feature: ol.Feature, resolution: any) => void; +declare function propertiesZoomStyle(styleFunc: (f: ol.Feature, res: number) => ol.style.Style | ol.style.Style[]): (feature: ol.Feature, zoom: number) => ol.style.Style | ol.style.Style[]; export default propertiesZoomStyle; diff --git a/dist/olHelpers/propertiesZoomStyle.js b/dist/olHelpers/propertiesZoomStyle.js index 9b8608c0dc84bb0e7e189802d8cd42f4b3646cf0..a21ec00321247b0bd126a6561f03b093de1df046 100644 --- a/dist/olHelpers/propertiesZoomStyle.js +++ b/dist/olHelpers/propertiesZoomStyle.js @@ -19,11 +19,8 @@ var nm = provide_1.default('olHelpers'); * @returns {function|*} new function */ function propertiesZoomStyle(styleFunc) { - if (styleFunc == undefined) { - return undefined; - } - return function (feature, resolution) { - styleFunc(feature.getProperties(), zoomResolutionConvert.resolutionToZoom(resolution)); + return function (feature, zoom) { + return styleFunc(feature, zoomResolutionConvert.zoomToResolution(zoom)); }; } nm.propertiesZoomStyle = propertiesZoomStyle; diff --git a/dist/olHelpers/propertiesZoomStyle.js.map b/dist/olHelpers/propertiesZoomStyle.js.map index 35d24ab261503224ad056f6bad820b4341a88c07..a31fe0d5a0a8dbc44f0a7ea5f7d8c59ec82f3bc5 100644 --- a/dist/olHelpers/propertiesZoomStyle.js.map +++ b/dist/olHelpers/propertiesZoomStyle.js.map @@ -1 +1 @@ -{"version":3,"file":"propertiesZoomStyle.js","sourceRoot":"","sources":["../../src/olHelpers/propertiesZoomStyle.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,+DAAiE;AAEjE,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAGhC;;;;;;GAMG;AAEH;;;;GAIG;AACH,6BAA6B,SAAS;IAClC,EAAE,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,CAAA,CAAC;QACxB,MAAM,CAAC,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,UAAU,OAAmB,EAAE,UAAU;QAC5C,SAAS,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3F,CAAC,CAAC;AACN,CAAC;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAC7C,kBAAe,mBAAmB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/14/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport * as zoomResolutionConvert from './zoomResolutionConvert';\r\nimport ol = require('custom-ol');\r\nconst nm = provide('olHelpers');\r\n\r\n\r\n/**\r\n * A style function based on properties and zoom level, wraps normal feature, resolution function\r\n * @callback propertiesZoomStyle\r\n * @param {object} properties the feature properties\r\n * @param {number} zoom level\r\n *\r\n */\r\n\r\n/**\r\n * wrapper to define a style function by properties and zoom level\r\n * @param {propertiesZoomStyle|*} styleFunc - style function\r\n * @returns {function|*} new function\r\n */\r\nfunction propertiesZoomStyle(styleFunc) {\r\n if (styleFunc == undefined){\r\n return undefined;\r\n }\r\n\r\n return function (feature: ol.Feature, resolution) {\r\n styleFunc(feature.getProperties(), zoomResolutionConvert.resolutionToZoom(resolution));\r\n };\r\n}\r\n\r\nnm.propertiesZoomStyle = propertiesZoomStyle;\r\nexport default propertiesZoomStyle;\r\n"]} \ No newline at end of file +{"version":3,"file":"propertiesZoomStyle.js","sourceRoot":"","sources":["../../src/olHelpers/propertiesZoomStyle.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,+DAAiE;AAEjE,IAAM,EAAE,GAAG,iBAAO,CAAC,WAAW,CAAC,CAAC;AAGhC;;;;;;GAMG;AAEH;;;;GAIG;AACH,6BAA6B,SAA0E;IAGnG,MAAM,CAAC,UAAU,OAAmB,EAAE,IAAY;QAC9C,MAAM,CAAC,SAAS,CAAC,OAAO,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5E,CAAC,CAAC;AACN,CAAC;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;AAC7C,kBAAe,mBAAmB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/14/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nimport * as zoomResolutionConvert from './zoomResolutionConvert';\r\nimport ol = require('custom-ol');\r\nconst nm = provide('olHelpers');\r\n\r\n\r\n/**\r\n * A style function based on properties and zoom level, wraps normal feature, resolution function\r\n * @callback propertiesZoomStyle\r\n * @param {object} properties the feature properties\r\n * @param {number} zoom level\r\n *\r\n */\r\n\r\n/**\r\n * wrapper to define a style function by properties and zoom level\r\n * @param {propertiesZoomStyle|*} styleFunc - style function\r\n * @returns {function|*} new function\r\n */\r\nfunction propertiesZoomStyle(styleFunc: (f: ol.Feature, res: number) => ol.style.Style|ol.style.Style[]):\r\n(feature: ol.Feature, zoom: number) => ol.style.Style|ol.style.Style[]\r\n{\r\n return function (feature: ol.Feature, zoom: number): ol.style.Style|ol.style.Style[] {\r\n return styleFunc(feature, zoomResolutionConvert.zoomToResolution(zoom));\r\n };\r\n}\r\n\r\nnm.propertiesZoomStyle = propertiesZoomStyle;\r\nexport default propertiesZoomStyle;\r\n"]} \ No newline at end of file diff --git a/dist/olHelpers/zoomResolutionConvert.d.ts b/dist/olHelpers/zoomResolutionConvert.d.ts index a0814c97e2d920a2710dae3ebd28936c305ddeec..05c190f5ebea8b1c0a87e63ffb15ebb632e34b02 100644 --- a/dist/olHelpers/zoomResolutionConvert.d.ts +++ b/dist/olHelpers/zoomResolutionConvert.d.ts @@ -3,10 +3,10 @@ * @param {number} zoomLevel - the zoom level * @returns {number|*} the map resolution */ -export declare function zoomToResolution(zoomLevel: any): number; +export declare function zoomToResolution(zoomLevel: number): number; /** * Get resolution from the zoom level * @param {number} resolution - the resolution * @returns {number|*} the zoom level */ -export declare function resolutionToZoom(resolution: any): number; +export declare function resolutionToZoom(resolution: number): number; diff --git a/dist/olHelpers/zoomResolutionConvert.js.map b/dist/olHelpers/zoomResolutionConvert.js.map index 30789243489ef2e5e47230fc09946b5256fc3c20..eacf25e56e37924e3e8fb93f727d153dea69d6c9 100644 --- a/dist/olHelpers/zoomResolutionConvert.js.map +++ b/dist/olHelpers/zoomResolutionConvert.js.map @@ -1 +1 @@ -{"version":3,"file":"zoomResolutionConvert.js","sourceRoot":"","sources":["../../src/olHelpers/zoomResolutionConvert.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,IAAM,EAAE,GAAG,iBAAO,CAAC,iCAAiC,CAAC,CAAC;AAEtD,IAAI,cAAc,GAAG;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB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;IAED,MAAM,CAAC,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAED,EAAE,CAAC,gBAAgB,GAAG,gBAAgB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/14/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nconst nm = provide('olHelpers.zoomResolutionConvert');\r\n\r\nlet _zoomResLookup = [\r\n 156543.03392804097, //0\r\n 78271.51696402048, //1\r\n 39135.75848201024, //2\r\n 19567.87924100512, //3\r\n 9783.93962050256, //4\r\n 4891.96981025128, //5\r\n 2445.98490512564, //6\r\n 1222.99245256282, //7\r\n 611.49622628141, //8\r\n 305.748113140705, //9\r\n 152.8740565703525, //10\r\n 76.43702828517625, //11\r\n 38.21851414258813, //12\r\n 19.109257071294063, //13\r\n 9.554628535647032, //14\r\n 4.777314267823516, //15\r\n 2.388657133911758, //16\r\n 1.194328566955879, //17\r\n 0.5971642834779395, //18\r\n 0.29858214173896974, //19\r\n 0.14929107086948487, //20\r\n 0.07464553543474244, //21\r\n 0.03732276771737122, //22\r\n 0.01866138385868561, //23\r\n 0.009330691929342804, //24\r\n 0.004665345964671402, //25\r\n 0.002332672982335701, //26\r\n 0.0011663364911678506, //27\r\n 0.0005831682455839253 //28\r\n];\r\n\r\n/**\r\n * Get the resolution given the zoom level\r\n * @param {number} zoomLevel - the zoom level\r\n * @returns {number|*} the map resolution\r\n */\r\nexport function zoomToResolution(zoomLevel) {\r\n \"use strict\";\r\n\r\n if (typeof zoomLevel == 'number') {\r\n if (zoomLevel % 1 === 0 && zoomLevel >= 0 && zoomLevel <= 28) {\r\n return _zoomResLookup[zoomLevel];\r\n } else {\r\n console.log(`invalid zoom level provided: ${zoomLevel}`);\r\n\r\n return undefined;\r\n }\r\n } else {\r\n return undefined;\r\n }\r\n}\r\nnm.zoomToResolution = zoomToResolution;\r\n\r\n\r\n/**\r\n * Get resolution from the zoom level\r\n * @param {number} resolution - the resolution\r\n * @returns {number|*} the zoom level\r\n */\r\nexport function resolutionToZoom(resolution){\r\n for (let i = 0; i < _zoomResLookup.length; i++){\r\n if (resolution >= _zoomResLookup[i] ){\r\n return i;\r\n }\r\n }\r\n\r\n return 0;\r\n}\r\n\r\nnm.resolutionToZoom = resolutionToZoom;\r\n"]} \ No newline at end of file +{"version":3,"file":"zoomResolutionConvert.js","sourceRoot":"","sources":["../../src/olHelpers/zoomResolutionConvert.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,2CAAsC;AACtC,IAAM,EAAE,GAAG,iBAAO,CAAC,iCAAiC,CAAC,CAAC;AAEtD,IAAI,cAAc,GAAG;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IACnB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,qBAAqB;IACrB,qBAAqB,CAAC,IAAI;CAC7B,CAAC;AAEF;;;;GAIG;AACH,0BAAiC,SAAiB;IAC9C,YAAY,CAAC;IAEb,EAAE,CAAC,CAAC,OAAO,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC;QAC/B,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,CAAC,IAAI,SAAS,IAAI,CAAC,IAAI,SAAS,IAAI,EAAE,CAAC,CAAC,CAAC;YAC3D,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QACrC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,OAAO,CAAC,GAAG,CAAC,kCAAgC,SAAW,CAAC,CAAC;YAEzD,MAAM,CAAC,SAAS,CAAC;QACrB,CAAC;IACL,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,MAAM,CAAC,SAAS,CAAC;IACrB,CAAC;AACL,CAAC;AAdD,4CAcC;AACD,EAAE,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAGvC;;;;GAIG;AACH,0BAAiC,UAAkB;IAC/C,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,EAAC,CAAC;QAC5C,EAAE,CAAC,CAAC,UAAU,IAAI,cAAc,CAAC,CAAC,CAAE,CAAC,CAAA,CAAC;YAClC,MAAM,CAAC,CAAC,CAAC;QACb,CAAC;IACL,CAAC;IAED,MAAM,CAAC,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAED,EAAE,CAAC,gBAAgB,GAAG,gBAAgB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/14/2015.\r\n */\r\n\r\nimport provide from '../util/provide';\r\nconst nm = provide('olHelpers.zoomResolutionConvert');\r\n\r\nlet _zoomResLookup = [\r\n 156543.03392804097, //0\r\n 78271.51696402048, //1\r\n 39135.75848201024, //2\r\n 19567.87924100512, //3\r\n 9783.93962050256, //4\r\n 4891.96981025128, //5\r\n 2445.98490512564, //6\r\n 1222.99245256282, //7\r\n 611.49622628141, //8\r\n 305.748113140705, //9\r\n 152.8740565703525, //10\r\n 76.43702828517625, //11\r\n 38.21851414258813, //12\r\n 19.109257071294063, //13\r\n 9.554628535647032, //14\r\n 4.777314267823516, //15\r\n 2.388657133911758, //16\r\n 1.194328566955879, //17\r\n 0.5971642834779395, //18\r\n 0.29858214173896974, //19\r\n 0.14929107086948487, //20\r\n 0.07464553543474244, //21\r\n 0.03732276771737122, //22\r\n 0.01866138385868561, //23\r\n 0.009330691929342804, //24\r\n 0.004665345964671402, //25\r\n 0.002332672982335701, //26\r\n 0.0011663364911678506, //27\r\n 0.0005831682455839253 //28\r\n];\r\n\r\n/**\r\n * Get the resolution given the zoom level\r\n * @param {number} zoomLevel - the zoom level\r\n * @returns {number|*} the map resolution\r\n */\r\nexport function zoomToResolution(zoomLevel: number): number {\r\n \"use strict\";\r\n\r\n if (typeof zoomLevel == 'number') {\r\n if (zoomLevel % 1 === 0 && zoomLevel >= 0 && zoomLevel <= 28) {\r\n return _zoomResLookup[zoomLevel];\r\n } else {\r\n console.log(`invalid zoom level provided: ${zoomLevel}`);\r\n\r\n return undefined;\r\n }\r\n } else {\r\n return undefined;\r\n }\r\n}\r\nnm.zoomToResolution = zoomToResolution;\r\n\r\n\r\n/**\r\n * Get resolution from the zoom level\r\n * @param {number} resolution - the resolution\r\n * @returns {number|*} the zoom level\r\n */\r\nexport function resolutionToZoom(resolution: number): number{\r\n for (let i = 0; i < _zoomResLookup.length; i++){\r\n if (resolution >= _zoomResLookup[i] ){\r\n return i;\r\n }\r\n }\r\n\r\n return 0;\r\n}\r\n\r\nnm.resolutionToZoom = resolutionToZoom;\r\n"]} \ No newline at end of file diff --git a/dist/react/DatePick.d.ts b/dist/react/DatePick.d.ts index 1f6fb5ddd72f94b6d12fb6f5b0ef5a4de49f5c51..e342e533f9a887e5fadabbf47ca368c21de41513 100644 --- a/dist/react/DatePick.d.ts +++ b/dist/react/DatePick.d.ts @@ -4,17 +4,18 @@ */ import { React } from './reactAndRedux'; import 'jquery-ui'; -/** - * params label, id, initialDate, change callback with value as string - */ -export declare class DatePick extends React.Component<{ +export interface iDatePick { label: string; id?: string; initialDate?: Date; change: (val: string) => any; -}, null> { +} +/** + * params label, id, initialDate, change callback with value as string + */ +export declare class DatePick extends React.Component<iDatePick, null> { defaultId: string; - constructor(props: any, context: any); + constructor(props: iDatePick, context: Object); componentDidMount(): void; render(): JSX.Element; } diff --git a/dist/react/DatePick.jsx.map b/dist/react/DatePick.jsx.map index 68695071978be7c1d1f5609f3b501768145bb56e..22f819120bb57ef8c53d2238fdf4b512d5542635 100644 --- a/dist/react/DatePick.jsx.map +++ b/dist/react/DatePick.jsx.map @@ -1 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AA,EAAE,IAAI,CAAC,CAAA;IACX,CAAC;IACL,eAAC;AAAD,CAAC,AA9BD,CAA8B,qBAAK,CAAC,SAAS,GA8B5C;AA9BY,4BAAQ;AAgCrB,kBAAe,QAAQ,CAAC","sourcesContent":["/**\r\n * Created by glenn on 6/14/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\n\r\nimport {dateToString} from './helpers/dateFormat';\r\n\r\n/**\r\n * params label, id, initialDate, change callback with value as string\r\n */\r\nexport class DatePick extends React.Component<{label: string, id?: string, initialDate?: Date, change: (val: string) => any}, null> {\r\n defaultId: string;\r\n\r\n constructor(props, context){\r\n super(props, context);\r\n this.defaultId = makeGuid();\r\n }\r\n\r\n componentDidMount() {\r\n let $el = $('#' + (this.props.id || this.defaultId));\r\n\r\n $el.datepicker(\r\n {\r\n onSelect: () => {\r\n this.props.change($el.val());\r\n }\r\n }\r\n );\r\n }\r\n\r\n render() {\r\n return <span className=\"date-pick\">\r\n <label>{this.props.label}</label>\r\n <input id={this.props.id || this.defaultId} type=\"text\"\r\n style={{margin: \"0 10px 0 5px\", width: '73px', textAlign: 'center'}}\r\n defaultValue={dateToString(this.props.initialDate || new Date())}\r\n readOnly={true}\r\n />\r\n </span>\r\n }\r\n}\r\n\r\nexport default DatePick;"]} \ No newline at end of file +{"version":3,"file":"DatePick.jsx","sourceRoot":"","sources":["../../src/react/DatePick.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAGH,iDAAsC;AACtC,0BAA6B;AAC7B,qBAAmB;AACnB,6CAAwC;AAExC,mDAAkD;AASlD;;GAEG;AACH;IAA8B,4BAAgC;IAG1D,kBAAY,KAAgB,EAAE,OAAe;QAA7C,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAExB;QADG,KAAI,CAAC,SAAS,GAAG,kBAAQ,EAAE,CAAC;;IAChC,CAAC;IAED,oCAAiB,GAAjB;QAAA,iBAUC;QATG,IAAI,GAAG,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;QAErD,GAAG,CAAC,UAAU,CACV;YACI,QAAQ,EAAE;gBACN,KAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;YACjC,CAAC;SACJ,CACJ,CAAC;IACN,CAAC;IAED,yBAAM,GAAN;QACI,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAC9B;YAAA,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,CAChC;YAAA,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,MAAM,CAChD,KAAK,CAAC,CAAC,EAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAC,CAAC,CACpE,YAAY,CAAC,CAAC,yBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI,IAAI,IAAI,EAAE,CAAC,CAAC,CACjE,QAAQ,CAAC,CAAC,IAAI,CAAC,EAE1B;QAAA,EAAE,IAAI,CAAC,CAAA;IACX,CAAC;IACL,eAAC;AAAD,CAAC,AA9BD,CAA8B,qBAAK,CAAC,SAAS,GA8B5C;AA9BY,4BAAQ;AAgCrB,kBAAe,QAAQ,CAAC","sourcesContent":["/**\r\n * Created by glenn on 6/14/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\n\r\nimport {dateToString} from './helpers/dateFormat';\r\n\r\nexport interface iDatePick{\r\n label: string;\r\n id?: string;\r\n initialDate?: Date;\r\n change: (val: string) => any\r\n}\r\n\r\n/**\r\n * params label, id, initialDate, change callback with value as string\r\n */\r\nexport class DatePick extends React.Component<iDatePick, null> {\r\n defaultId: string;\r\n\r\n constructor(props: iDatePick, context: Object){\r\n super(props, context);\r\n this.defaultId = makeGuid();\r\n }\r\n\r\n componentDidMount() {\r\n let $el = $('#' + (this.props.id || this.defaultId));\r\n\r\n $el.datepicker(\r\n {\r\n onSelect: () => {\r\n this.props.change($el.val());\r\n }\r\n }\r\n );\r\n }\r\n\r\n render() {\r\n return <span className=\"date-pick\">\r\n <label>{this.props.label}</label>\r\n <input id={this.props.id || this.defaultId} type=\"text\"\r\n style={{margin: \"0 10px 0 5px\", width: '73px', textAlign: 'center'}}\r\n defaultValue={dateToString(this.props.initialDate || new Date())}\r\n readOnly={true}\r\n />\r\n </span>\r\n }\r\n}\r\n\r\nexport default DatePick;"]} \ No newline at end of file diff --git a/dist/react/DateRange.d.ts b/dist/react/DateRange.d.ts index 1bbc69766478e203e0210e49f6c7fe85eb94e8b4..73851f173809e78d9750d2a4b63043fb3a5f3557 100644 --- a/dist/react/DateRange.d.ts +++ b/dist/react/DateRange.d.ts @@ -4,14 +4,15 @@ */ import { React } from './reactAndRedux'; import 'jquery-ui'; -export declare class DateRange extends React.Component<{ +export interface iDateRange { maxRange: number; callback: (start: string | Date, end: string | Date) => any; minRange?: number; maxDate?: string | Date; minDate?: string | Date; initialEnd?: string | Date; -}, null> { +} +export declare class DateRange extends React.Component<iDateRange, null> { startId: string; endId: string; startInput: HTMLInputElement; @@ -21,7 +22,7 @@ export declare class DateRange extends React.Component<{ maxRange: number; minRange: number; numDays: number; - constructor(props: any, context: any); + constructor(props: iDateRange, context: Object); setNumDays(): void; componentDidMount(): void; readonly needReset: boolean; diff --git a/dist/react/DateRange.jsx b/dist/react/DateRange.jsx index f9df7d310cf5117c5f587977567cb9dfbd017da4..bd1610a0b6d50ea9a67099a95b49a0947a3fa8f3 100644 --- a/dist/react/DateRange.jsx +++ b/dist/react/DateRange.jsx @@ -19,7 +19,7 @@ var makeGuid_1 = require("../util/makeGuid"); var fixDate = require("./helpers/dateFormat"); var DatePick_1 = require("./DatePick"); function stringToDate(dte) { - if (dte['getTime']) { + if (dte.getTime) { return dte; } else { diff --git a/dist/react/DateRange.jsx.map b/dist/react/DateRange.jsx.map index c8aabcfbf5298d4d83a0921cdc7d6af30152bfdb..4eb02c0a01dceca777a4ec456b98db333110b148 100644 --- a/dist/react/DateRange.jsx.map +++ b/dist/react/DateRange.jsx.map @@ -1 +1 @@ -{"version":3,"file":"DateRange.jsx","sourceRoot":"","sources":["../../src/react/DateRange.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,iDAAsC;AAEtC,qBAAmB;AACnB,6CAAwC;AACxC,8CAAgD;AAChD,uCAAkC;AAElC,sBAAsB,GAAgB;IAClC,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAA,CAAC;QAChB,MAAM,CAAC,GAAW,CAAC;IACvB,CAAC;IAAC,IAAI,CAAC,CAAC;QACJ,MAAM,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC;AACL,CAAC;AAGD;IAA+B,6BAOvB;IAWJ,mBAAY,KAAK,EAAE,OAAO;QAA1B,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAmBxB;QA9BD,aAAO,GAAG,kBAAQ,EAAE,CAAC;QACrB,WAAK,GAAG,kBAAQ,EAAE,CAAC;QAYf,KAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACpD,KAAI,CAAC,QAAQ,GAAG,OAAO,KAAI,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,KAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC;QAEnG,EAA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WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,UAAC,CAAC,IAAM,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA,CAAA,CAAC,CAAC,EACjG;QAAA,EAAE,GAAG,CAAC,CAAC;IACX,CAAC;IACL,gBAAC;AAAD,CAAC,AAnGD,CAA+B,qBAAK,CAAC,SAAS,GAmG7C;AAnGY,8BAAS","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\nimport * as fixDate from './helpers/dateFormat';\r\nimport DatePick from './DatePick';\r\n\r\nfunction stringToDate(dte: string|Date){\r\n if (dte['getTime']){\r\n return dte as Date;\r\n } else {\r\n return new Date(dte);\r\n }\r\n}\r\n\r\n\r\nexport class DateRange extends React.Component<{\r\n maxRange: number,\r\n callback: (start: string|Date, end: string|Date) => any,\r\n minRange?: number,\r\n maxDate?: string|Date,\r\n minDate?: string|Date\r\n initialEnd?: string|Date\r\n}, null> {\r\n startId = makeGuid();\r\n endId = makeGuid();\r\n startInput: HTMLInputElement;\r\n endInput: HTMLInputElement;\r\n start: Date;\r\n end: Date;\r\n maxRange: number;\r\n minRange: number;\r\n numDays: number;\r\n\r\n constructor(props, context) {\r\n super(props, context);\r\n\r\n this.maxRange = Math.round(this.props.maxRange) - 1;\r\n this.minRange = typeof this.props['minRange'] == 'number' ? Math.round(this.props['minRange']) : 1;\r\n\r\n if (this.minRange > this.maxRange) {\r\n throw \"DateRange component: Max range must be greater than min range\";\r\n }\r\n\r\n if (this.props.initialEnd){\r\n this.end = stringToDate(this.props.initialEnd)\r\n } else {\r\n this.end = new Date();\r\n }\r\n\r\n this.end.setHours(0, 0, 0);\r\n this.start = new Date(this.end);\r\n this.start.setDate(this.start.getDate() - this.maxRange);\r\n this.setNumDays();\r\n }\r\n\r\n setNumDays() {\r\n this.numDays = Math.round((this.end.getTime() - this.start.getTime()) / (1000 * 60 * 60 * 24)) + 1;\r\n }\r\n\r\n\r\n componentDidMount() {\r\n this.startInput = document.getElementById(this.startId) as HTMLInputElement;\r\n this.endInput = document.getElementById(this.endId) as HTMLInputElement;\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n get needReset(): boolean {\r\n return this.numDays > this.maxRange || this.numDays < this.minRange;\r\n }\r\n\r\n setStart(s: string) {\r\n this.start = fixDate.stringToDate(s);\r\n this.setNumDays();\r\n\r\n if (this.needReset) {\r\n this.end = new Date(this.start);\r\n\r\n if (this.numDays > this.maxRange) {\r\n this.end.setDate(this.end.getDate() + this.maxRange);\r\n } else {\r\n this.end.setDate(this.end.getDate() + this.minRange - 1);\r\n }\r\n\r\n this.endInput.value = fixDate.dateToString(this.end);\r\n this.setNumDays();\r\n }\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n setEnd(s: string) {\r\n this.end = fixDate.stringToDate(s);\r\n this.setNumDays();\r\n\r\n if (this.needReset) {\r\n this.start = new Date(this.end);\r\n\r\n if (this.numDays > this.maxRange) {\r\n this.start.setDate(this.start.getDate() - this.maxRange);\r\n } else {\r\n this.start.setDate(this.start.getDate() - this.minRange + 1);\r\n }\r\n\r\n this.startInput.value = fixDate.dateToString(this.start);\r\n this.setNumDays();\r\n }\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n render() {\r\n return <div className=\"date-range\">\r\n <DatePick id={this.startId} label=\"Start\" initialDate={this.start} change={(s) => {this.setStart(s)}}/>\r\n <DatePick id={this.endId} label=\"End\" initialDate={this.end} change={(s) => {this.setEnd(s)}}/>\r\n </div>;\r\n }\r\n}\r\n"]} \ No newline at end of file +{"version":3,"file":"DateRange.jsx","sourceRoot":"","sources":["../../src/react/DateRange.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,iDAAsC;AAEtC,qBAAmB;AACnB,6CAAwC;AACxC,8CAAgD;AAChD,uCAAkC;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C;YACjE,CAAC;YAED,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACzD,IAAI,CAAC,UAAU,EAAE,CAAC;QACtB,CAAC;QACD,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9C,CAAC;IAED,0BAAM,GAAN;QAAA,iBAKC;QAJG,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,YAAY,CAC9B;YAAA,CAAC,kBAAQ,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,UAAC,CAAC,IAAM,KAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA,CAAA,CAAC,CAAC,EACrG;YAAA,CAAC,kBAAQ,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,UAAC,CAAC,IAAM,KAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA,CAAA,CAAC,CAAC,EACjG;QAAA,EAAE,GAAG,CAAC,CAAC;IACX,CAAC;IACL,gBAAC;AAAD,CAAC,AA5FD,CAA+B,qBAAK,CAAC,SAAS,GA4F7C;AA5FY,8BAAS","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\nimport * as fixDate from './helpers/dateFormat';\r\nimport DatePick from './DatePick';\r\n\r\nfunction stringToDate(dte: string|Date){\r\n if ((dte as Date).getTime){\r\n return dte as Date;\r\n } else {\r\n return new Date(dte);\r\n }\r\n}\r\n\r\nexport interface iDateRange{\r\n maxRange: number;\r\n callback: (start: string|Date, end: string|Date) => any;\r\n minRange?: number;\r\n maxDate?: string|Date;\r\n minDate?: string|Date;\r\n initialEnd?: string|Date;\r\n}\r\n\r\n\r\nexport class DateRange extends React.Component<iDateRange, null> {\r\n startId = makeGuid();\r\n endId = makeGuid();\r\n startInput: HTMLInputElement;\r\n endInput: HTMLInputElement;\r\n start: Date;\r\n end: Date;\r\n maxRange: number;\r\n minRange: number;\r\n numDays: number;\r\n\r\n constructor(props: iDateRange, context: Object) {\r\n super(props, context);\r\n\r\n this.maxRange = Math.round(this.props.maxRange) - 1;\r\n this.minRange = typeof this.props['minRange'] == 'number' ? Math.round(this.props['minRange']) : 1;\r\n\r\n if (this.minRange > this.maxRange) {\r\n throw \"DateRange component: Max range must be greater than min range\";\r\n }\r\n\r\n if (this.props.initialEnd){\r\n this.end = stringToDate(this.props.initialEnd)\r\n } else {\r\n this.end = new Date();\r\n }\r\n\r\n this.end.setHours(0, 0, 0);\r\n this.start = new Date(this.end);\r\n this.start.setDate(this.start.getDate() - this.maxRange);\r\n this.setNumDays();\r\n }\r\n\r\n setNumDays() {\r\n this.numDays = Math.round((this.end.getTime() - this.start.getTime()) / (1000 * 60 * 60 * 24)) + 1;\r\n }\r\n\r\n\r\n componentDidMount() {\r\n this.startInput = document.getElementById(this.startId) as HTMLInputElement;\r\n this.endInput = document.getElementById(this.endId) as HTMLInputElement;\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n get needReset(): boolean {\r\n return this.numDays > this.maxRange || this.numDays < this.minRange;\r\n }\r\n\r\n setStart(s: string) {\r\n this.start = fixDate.stringToDate(s);\r\n this.setNumDays();\r\n\r\n if (this.needReset) {\r\n this.end = new Date(this.start);\r\n\r\n if (this.numDays > this.maxRange) {\r\n this.end.setDate(this.end.getDate() + this.maxRange);\r\n } else {\r\n this.end.setDate(this.end.getDate() + this.minRange - 1);\r\n }\r\n\r\n this.endInput.value = fixDate.dateToString(this.end);\r\n this.setNumDays();\r\n }\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n setEnd(s: string) {\r\n this.end = fixDate.stringToDate(s);\r\n this.setNumDays();\r\n\r\n if (this.needReset) {\r\n this.start = new Date(this.end);\r\n\r\n if (this.numDays > this.maxRange) {\r\n this.start.setDate(this.start.getDate() - this.maxRange);\r\n } else {\r\n this.start.setDate(this.start.getDate() - this.minRange + 1);\r\n }\r\n\r\n this.startInput.value = fixDate.dateToString(this.start);\r\n this.setNumDays();\r\n }\r\n this.props.callback(this.start, this.end);\r\n }\r\n\r\n render() {\r\n return <div className=\"date-range\">\r\n <DatePick id={this.startId} label=\"Start\" initialDate={this.start} change={(s) => {this.setStart(s)}}/>\r\n <DatePick id={this.endId} label=\"End\" initialDate={this.end} change={(s) => {this.setEnd(s)}}/>\r\n </div>;\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/react/Radio.d.ts b/dist/react/Radio.d.ts index 16e239e80c1737db9c463a4ad8a126563f3b634e..54011fec219fb9c27f31da0aae2dedda8bb41461 100644 --- a/dist/react/Radio.d.ts +++ b/dist/react/Radio.d.ts @@ -4,6 +4,15 @@ */ import { React } from './reactAndRedux'; import 'jquery-ui'; +export interface iRadioItem { + groupId: string; + text: string; + checked: boolean; + inline: boolean; + change: (s: string) => any; + connected?: boolean; + index?: number; +} export declare class Radio extends React.Component<{ title: string; items: string[]; diff --git a/dist/react/Radio.jsx b/dist/react/Radio.jsx index eac19df8163ff1fddc69b25abdcbcb11a1783cbd..710ba696e503c5ab780db971d745dd6186370c1f 100644 --- a/dist/react/Radio.jsx +++ b/dist/react/Radio.jsx @@ -18,8 +18,8 @@ require("jquery-ui"); var makeGuid_1 = require("../util/makeGuid"); var RadioItem = (function (_super) { __extends(RadioItem, _super); - function RadioItem() { - var _this = _super !== null && _super.apply(this, arguments) || this; + function RadioItem(props, context) { + var _this = _super.call(this, props, context) || this; _this.guid = makeGuid_1.default(); return _this; } @@ -27,8 +27,10 @@ var RadioItem = (function (_super) { var _this = this; var style = {}; if (this.props.inline) { - style['display'] = 'inline-block'; - style['padding'] = '0 5px'; + style = { + display: 'inline-block', + padding: '0 5px' + }; } var props = { id: this.guid, @@ -38,13 +40,15 @@ var RadioItem = (function (_super) { onChange: function (evt) { _this.props.change(evt.target.value); evt.target.checked = true; - } + }, + checked: this.props.checked, + defaultChecked: this.props.checked }; if (this.props.connected) { - props['checked'] = this.props.checked; + delete props.defaultChecked; } else { - props['defaultChecked'] = this.props.checked; + delete props.checked; } return <li style={style}> <input {...props}/> @@ -65,8 +69,10 @@ var RadioBase = (function (_super) { var _this = this; var style = {}; if (this.inline) { - style['display'] = 'inline-block'; - style['padding'] = '0 5px'; + style = { + display: 'inline-block', + padding: '0 5px' + }; } var arr = []; for (var i = 0; i < this.props.items.length; i++) { @@ -78,13 +84,14 @@ var RadioBase = (function (_super) { key: this.props.items[i], connected: this.props.connected || false, checked: false, + index: i }; if (typeof this.props.selectedValueOrIndex == 'number') { itemProps.checked = i == this.props.selectedValueOrIndex; - itemProps['index'] = i; } else { itemProps.checked = this.props.items[i] == this.props.selectedValueOrIndex; + delete itemProps.index; } arr.push(<RadioItem {...itemProps}/>); } diff --git a/dist/react/Radio.jsx.map b/dist/react/Radio.jsx.map index 440358b0a0ba336785e793e2eb7c141a3f8469e7..4a2e31ae1686eed501116214005463edf5a60cd1 100644 --- a/dist/react/Radio.jsx.map +++ b/dist/react/Radio.jsx.map @@ -1 +1 @@ -{"version":3,"file":"Radio.jsx","sourceRoot":"","sources":["../../src/react/Radio.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAGH,iDAAsC;AAEtC,qBAAmB;AACnB,6CAAwC;AAExC;IAAwB,6BAA2J;IAAnL;QAAA,qEAiCC;QAhCG,UAAI,GAAW,kBAAQ,EAAE,CAAC;;IAgC9B,CAAC;IA7BG,0BAAM,GAAN;QAAA,iBA4BC;QA3BG,IAAI,KAAK,G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AAC,MAAM,CAAC,CAC1B,oBAAoB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAC9C,SAAS,CAAC,CAAC,KAAK,CAAC,EACnB,CAAA;IACN,CAAC;IACL,YAAC;AAAD,CAAC,AAZD,CAA2B,qBAAK,CAAC,SAAS,GAYzC;AAZY,sBAAK;AAclB;IAAoC,kCAAkI;IAAtK;;IAYA,CAAC;IAVG,+BAAM,GAAN;QACI,MAAM,CAAC,CAAC,SAAS,CACb,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CACxB,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CACxB,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAC9B,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAC1B,oBAAoB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAC/C,SAAS,CAAC,CAAC,IAAI,CAAC,EAClB,CAAA;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AAZD,CAAoC,qBAAK,CAAC,SAAS,GAYlD;AAZY,wCAAc","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\n\r\nclass RadioItem extends React.Component<{ groupId: string, text: string, checked: boolean, inline: boolean, change: (s: string) => any, connected?: boolean, index?: number}, null> {\r\n guid: string = makeGuid();\r\n\r\n\r\n render() {\r\n let style = {};\r\n if (this.props.inline) {\r\n style['display'] = 'inline-block';\r\n style['padding'] = '0 5px';\r\n }\r\n\r\n let props = {\r\n id: this.guid,\r\n type: \"radio\",\r\n name: this.props.groupId,\r\n value: typeof this.props.index == 'undefined' ? this.props.text : this.props.index.toFixed(),\r\n onChange: (evt) => {\r\n this.props.change(evt.target.value);\r\n evt.target.checked = true;\r\n }\r\n };\r\n\r\n if (this.props.connected) {\r\n props['checked'] = this.props.checked\r\n } else {\r\n props['defaultChecked'] = this.props.checked\r\n }\r\n\r\n return <li style={style}>\r\n <input {...props}/>\r\n <label htmlFor={this.guid}>{this.props.text}</label>\r\n </li>;\r\n }\r\n}\r\n\r\nclass RadioBase extends React.Component<\r\n { title: string, items: string[], callback: (val: string) => any, inline?: boolean, selectedValueOrIndex: string|number, connected: boolean}, null> {\r\n inline: boolean;\r\n groupId: string;\r\n\r\n constructor(props, context) {\r\n super(props, context);\r\n this.inline = this.props.inline || false;\r\n this.groupId = this.props.title.toLowerCase().replace(/ /g, '');\r\n }\r\n\r\n render() {\r\n let style = {};\r\n if (this.inline) {\r\n style['display'] = 'inline-block';\r\n style['padding'] = '0 5px';\r\n }\r\n\r\n let arr = [];\r\n\r\n for (let i = 0; i < this.props.items.length; i++) {\r\n\r\n let itemProps = {\r\n groupId: this.groupId,\r\n text: this.props.items[i],\r\n inline: this.props.inline,\r\n change: (s) => (this.props.callback(s)),\r\n key: this.props.items[i],\r\n connected: this.props.connected || false,\r\n checked: false,\r\n\r\n };\r\n\r\n if (typeof this.props.selectedValueOrIndex == 'number'){\r\n itemProps.checked = i == this.props.selectedValueOrIndex;\r\n itemProps['index'] = i;\r\n } else {\r\n itemProps.checked = this.props.items[i] == this.props.selectedValueOrIndex;\r\n }\r\n\r\n arr.push(<RadioItem {...itemProps}/>)\r\n }\r\n\r\n return <div className=\"radio-list\">\r\n <h4>{this.props.title}</h4>\r\n <ul style={{listStyle: 'none'}}>\r\n {arr}\r\n </ul>\r\n </div>\r\n }\r\n}\r\n\r\n\r\nexport class Radio extends React.Component<{ title: string, items: string[], callback: (val: string) => any, inline?: boolean, defaultValue: string }, null> {\r\n\r\n render() {\r\n return <RadioBase\r\n title={this.props.title}\r\n items={this.props.items}\r\n callback={this.props.callback}\r\n inline={this.props.inline}\r\n selectedValueOrIndex={this.props.defaultValue}\r\n connected={false}\r\n />\r\n }\r\n}\r\n\r\nexport class RadioConnected extends React.Component<{ title: string, items: string[], callback: (val: string) => any, inline?: boolean, selectedIndex: number }, null> {\r\n\r\n render() {\r\n return <RadioBase\r\n title={this.props.title}\r\n items={this.props.items}\r\n callback={this.props.callback}\r\n inline={this.props.inline}\r\n selectedValueOrIndex={this.props.selectedIndex}\r\n connected={true}\r\n />\r\n }\r\n}"]} \ No newline at end of file +{"version":3,"file":"Radio.jsx","sourceRoot":"","sources":["../../src/react/Radio.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAGH,iDAAsC;AAEtC,qBAAmB;AACnB,6CAAwC;AAaxC;IAAwB,6BAAiC;IAGrD,mBAAY,KAAiB,EAAE,OAAe;QAA9C,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAExB;QADG,KAAI,CAAC,IAAI,GAAG,kBAAQ,EAAE,CAAA;;IAC1B,CAAC;IAGD,0BAAM,GAAN;QAAA,iBAgCC;QA/BG,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;YACpB,KAAK,GAAG;gBACJ,OAAO,EAAE,cAAc;gBACvB,OAAO,EAAE,OAAO;aACnB,CAAC;QACN,CAAC;QAED,IAAI,KAAK,GAAG;YACR,EAAE,EAAE,IAAI,CAAC,IAAI;YACb,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO;YACxB,KAAK,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;YAC5F,QAAQ,EAAE,UAAC,GAAkC;gBACzC,KAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBACpC,GAAG,CAAC,MAA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aAAa,CAAC,CAC/C,SAAS,CAAC,CAAC,IAAI,CAAC,EAClB,CAAA;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AAZD,CAAoC,qBAAK,CAAC,SAAS,GAYlD;AAZY,wCAAc","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport $ = require('jquery');\r\nimport 'jquery-ui';\r\nimport makeGuid from '../util/makeGuid';\r\nimport {ChangeEvent} from \"react\";\r\n\r\nexport interface iRadioItem{\r\n groupId: string;\r\n text: string;\r\n checked: boolean;\r\n inline: boolean;\r\n change: (s: string) => any;\r\n connected?: boolean;\r\n index?: number\r\n}\r\n\r\nclass RadioItem extends React.Component<iRadioItem, null> {\r\n guid: string;\r\n\r\n constructor(props: iRadioItem, context: Object){\r\n super(props, context);\r\n this.guid = makeGuid()\r\n }\r\n\r\n\r\n render() {\r\n let style = {};\r\n if (this.props.inline) {\r\n style = {\r\n display: 'inline-block',\r\n padding: '0 5px'\r\n };\r\n }\r\n\r\n let props = {\r\n id: this.guid,\r\n type: \"radio\",\r\n name: this.props.groupId,\r\n value: typeof this.props.index == 'undefined' ? this.props.text : this.props.index.toFixed(),\r\n onChange: (evt: ChangeEvent<HTMLInputElement>) => {\r\n this.props.change(evt.target.value);\r\n evt.target.checked = true;\r\n },\r\n checked: this.props.checked,\r\n defaultChecked: this.props.checked\r\n };\r\n\r\n if (this.props.connected) {\r\n delete props.defaultChecked;\r\n } else {\r\n delete props.checked\r\n }\r\n\r\n return <li style={style}>\r\n <input {...props}/>\r\n <label htmlFor={this.guid}>{this.props.text}</label>\r\n </li>;\r\n }\r\n}\r\n\r\ninterface iRadioBase {\r\n title: string;\r\n items: string[];\r\n callback: (val: string) => any;\r\n inline?: boolean;\r\n selectedValueOrIndex: string|number;\r\n connected: boolean;\r\n}\r\n\r\nclass RadioBase extends React.Component<iRadioBase, null> {\r\n inline: boolean;\r\n groupId: string;\r\n\r\n constructor(props: iRadioBase, context: Object) {\r\n super(props, context);\r\n this.inline = this.props.inline || false;\r\n this.groupId = this.props.title.toLowerCase().replace(/ /g, '');\r\n }\r\n\r\n render() {\r\n let style = {};\r\n if (this.inline) {\r\n style = {\r\n display: 'inline-block',\r\n padding: '0 5px'\r\n }\r\n }\r\n\r\n let arr = [];\r\n\r\n for (let i = 0; i < this.props.items.length; i++) {\r\n\r\n let itemProps = {\r\n groupId: this.groupId,\r\n text: this.props.items[i],\r\n inline: this.props.inline,\r\n change: (s: string) => (this.props.callback(s)),\r\n key: this.props.items[i],\r\n connected: this.props.connected || false,\r\n checked: false,\r\n index: i\r\n };\r\n\r\n if (typeof this.props.selectedValueOrIndex == 'number'){\r\n itemProps.checked = i == this.props.selectedValueOrIndex;\r\n } else {\r\n itemProps.checked = this.props.items[i] == this.props.selectedValueOrIndex;\r\n delete itemProps.index\r\n }\r\n\r\n arr.push(<RadioItem {...itemProps}/>)\r\n }\r\n\r\n return <div className=\"radio-list\">\r\n <h4>{this.props.title}</h4>\r\n <ul style={{listStyle: 'none'}}>\r\n {arr}\r\n </ul>\r\n </div>\r\n }\r\n}\r\n\r\n\r\nexport class Radio extends React.Component<{ title: string, items: string[], callback: (val: string) => any, inline?: boolean, defaultValue: string }, null> {\r\n\r\n render() {\r\n return <RadioBase\r\n title={this.props.title}\r\n items={this.props.items}\r\n callback={this.props.callback}\r\n inline={this.props.inline}\r\n selectedValueOrIndex={this.props.defaultValue}\r\n connected={false}\r\n />\r\n }\r\n}\r\n\r\nexport class RadioConnected extends React.Component<{ title: string, items: string[], callback: (val: string) => any, inline?: boolean, selectedIndex: number }, null> {\r\n\r\n render() {\r\n return <RadioBase\r\n title={this.props.title}\r\n items={this.props.items}\r\n callback={this.props.callback}\r\n inline={this.props.inline}\r\n selectedValueOrIndex={this.props.selectedIndex}\r\n connected={true}\r\n />\r\n }\r\n}"]} \ No newline at end of file diff --git a/dist/react/SelectArea.d.ts b/dist/react/SelectArea.d.ts index 910006918857780fa47c7d80c7d775a87f136722..a16fb0f4526fb610a5eeaef0af11f6dd812cd56b 100644 --- a/dist/react/SelectArea.d.ts +++ b/dist/react/SelectArea.d.ts @@ -5,10 +5,11 @@ import { React } from './reactAndRedux'; import ol = require('custom-ol'); import LayerBaseVectorGeoJson from '../layers/LayerBaseVectorGeoJson'; -export declare class SelectArea extends React.Component<{ +export interface iSelectArea { map: ol.Map | (() => ol.Map); callback: (coords: Array<number[]>) => any; -}, null> { +} +export declare class SelectArea extends React.Component<iSelectArea, null> { map: ol.Map; callback: (coords: Array<number[]>) => any; areaOverlay: LayerBaseVectorGeoJson; @@ -17,7 +18,7 @@ export declare class SelectArea extends React.Component<{ cancelId: string; selectButton: HTMLButtonElement; cancelButton: HTMLButtonElement; - constructor(props: any, context: any); + constructor(props: iSelectArea, context: Object); componentDidMount(): void; setArea(): void; cancel(): void; diff --git a/dist/react/SelectArea.jsx.map b/dist/react/SelectArea.jsx.map index 01ad96003b6fa264c1202e3ced1aa54483838de4..d4532ef6fc3952b74b400a95b4aa2d73fc668341 100644 --- a/dist/react/SelectArea.jsx.map +++ b/dist/react/SelectArea.jsx.map @@ -1 +1 @@ -{"version":3,"file":"SelectArea.jsx","sourceRoot":"","sources":["../../src/react/SelectArea.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,iDAAsC;AACtC,8BAAiC;AACjC,2EAAsE;AACtE,wDAA2D;AAC3D,6CAAwC;AACxC,6CAAuC;AAGvC;IAAgC,8BAAmG;IAW/H,oBAAY,KAAK,EAAE,OAAO;QAA1B,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAgDxB;QA9CG,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAC3B,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAE3B,KAAI,CAAC,QAAQ,GAAG,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;QAEpC,KAAI,CAAC,WAAW,GAAG,IAAI,gCAAsB,CAA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EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;YACZ,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACrC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;QAEzC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QAChC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,2BAAM,GAAN;QAAA,iBAWC;QAVG,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAC,MAAM,EAAE,MAAM,EAAC,CAAC,CAChC;YAAA,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;YAChC,KAAI,CAAC,OAAO,EAAE,CAAA;QAClB,CAAC,CAAC,CAAC;YACH,EAAE,MAAM,CACR;YAAA,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;YAChC,KAAI,CAAC,MAAM,EAAE,CAAA;QACjB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC,CAAC;YAC7B,EAAE,MAAM,CACZ;QAAA,EAAE,GAAG,CAAC,CAAA;IACV,CAAC;IACL,iBAAC;AAAD,CAAC,AA5GD,CAAgC,qBAAK,CAAC,SAAS,GA4G9C;AA5GY,gCAAU","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\nimport {React} from './reactAndRedux';\r\nimport ol = require('custom-ol');\r\nimport LayerBaseVectorGeoJson from '../layers/LayerBaseVectorGeoJson';\r\nimport {proj4326, proj3857} from '../olHelpers/projections'\r\nimport makeGuid from '../util/makeGuid';\r\nimport getMap from './helpers/get_map';\r\n\r\n\r\nexport class SelectArea extends React.Component<{ map: ol.Map | (() => ol.Map), callback: (coords: Array<number[]>) => any }, null> {\r\n map: ol.Map;\r\n callback: (coords: Array<number[]>) => any;\r\n areaOverlay: LayerBaseVectorGeoJson;\r\n draw: ol.interaction.Draw;\r\n selectId: string;\r\n cancelId: string;\r\n selectButton: HTMLButtonElement;\r\n cancelButton: HTMLButtonElement;\r\n\r\n\r\n constructor(props, context) {\r\n super(props, context);\r\n\r\n this.selectId = makeGuid();\r\n this.cancelId = makeGuid();\r\n\r\n this.callback = this.props.callback;\r\n\r\n this.areaOverlay = new LayerBaseVectorGeoJson('',\r\n {\r\n style: new ol.style.Style({\r\n fill: new ol.style.Fill({\r\n color: 'rgba(255, 0, 237, 0.1)'\r\n }),\r\n stroke: new ol.style.Stroke({\r\n color: 'rgb(255, 0, 237)',\r\n width: 2\r\n })\r\n }),\r\n transform: {dataProjection: proj4326, featureProjection: proj3857}\r\n });\r\n\r\n this.draw = new ol.interaction.Draw({\r\n source: this.areaOverlay.source,\r\n type: 'Polygon'\r\n });\r\n\r\n this.draw.on('drawend', (evt) => {\r\n this.selectButton.style.display = '';\r\n this.cancelButton.style.display = 'none';\r\n\r\n let geom = evt.feature.getGeometry();\r\n let geomClone = geom.clone();\r\n\r\n geomClone.transform('EPSG:3857', 'EPSG:4326');\r\n\r\n setTimeout(() => {\r\n this.map.removeInteraction(this.draw);\r\n }, 100);\r\n\r\n let outCoords = [];\r\n let ccc = geomClone.getCoordinates()[0];\r\n\r\n for (let cc of ccc) {\r\n outCoords.push([Math.round(cc[0] * 1000000) / 1000000, Math.round(cc[1] * 1000000) / 1000000]);\r\n }\r\n\r\n this.callback(outCoords);\r\n });\r\n }\r\n\r\n\r\n componentDidMount() {\r\n this.selectButton = document.getElementById(this.selectId) as HTMLButtonElement;\r\n this.cancelButton = document.getElementById(this.cancelId) as HTMLButtonElement;\r\n getMap(this.props.map, this.areaOverlay.olLayer).then((m) => {this.map = m})\r\n }\r\n\r\n\r\n setArea() {\r\n if (!this.map) {\r\n return;\r\n }\r\n\r\n this.selectButton.style.display = 'none';\r\n this.cancelButton.style.display = '';\r\n\r\n this.areaOverlay.source.clear();\r\n this.map.addInteraction(this.draw);\r\n this.callback(null);\r\n }\r\n\r\n cancel() {\r\n if (!this.map) {\r\n return;\r\n }\r\n this.selectButton.style.display = '';\r\n this.cancelButton.style.display = 'none';\r\n\r\n this.areaOverlay.source.clear();\r\n this.map.removeInteraction(this.draw);\r\n\r\n this.callback(null);\r\n }\r\n\r\n render() {\r\n return <div style={{margin: '10px'}}>\r\n <button id={this.selectId} onClick={() => {\r\n this.setArea()\r\n }}>Select Area\r\n </button>\r\n <button id={this.cancelId} onClick={() => {\r\n this.cancel()\r\n }} style={{display: 'none'}}>Cancel\r\n </button>\r\n </div>\r\n }\r\n}\r\n"]} \ No newline at end of file +{"version":3,"file":"SelectArea.jsx","sourceRoot":"","sources":["../../src/react/SelectArea.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAEH,iDAAsC;AACtC,8BAAiC;AACjC,2EAAsE;AACtE,wDAA2D;AAC3D,6CAAwC;AACxC,6CAAuC;AAOvC;IAAgC,8BAAkC;IAW9D,oBAAY,KAAkB,EAAE,OAAe;QAA/C,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAgDxB;QA9CG,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAC3B,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAE3B,KAAI,CAAC,QAAQ,GAAG,KAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;QAEpC,KAAI,CAAC,WAAW,GAAG,IAAI,gCAAsB,CAAC,EAAE,EAC5C;YACI,KAAK,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;gBACtB,IAAI,EAAE,IAAI,EAAE,CA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AAY,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACrC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;QAEzC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QAChC,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,2BAAM,GAAN;QAAA,iBAWC;QAVG,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAC,MAAM,EAAE,MAAM,EAAC,CAAC,CAChC;YAAA,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;YAChC,KAAI,CAAC,OAAO,EAAE,CAAA;QAClB,CAAC,CAAC,CAAC;YACH,EAAE,MAAM,CACR;YAAA,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;YAChC,KAAI,CAAC,MAAM,EAAE,CAAA;QACjB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAC,CAAC,CAAC;YAC7B,EAAE,MAAM,CACZ;QAAA,EAAE,GAAG,CAAC,CAAA;IACV,CAAC;IACL,iBAAC;AAAD,CAAC,AA5GD,CAAgC,qBAAK,CAAC,SAAS,GA4G9C;AA5GY,gCAAU","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\n\r\nimport {React} from './reactAndRedux';\r\nimport ol = require('custom-ol');\r\nimport LayerBaseVectorGeoJson from '../layers/LayerBaseVectorGeoJson';\r\nimport {proj4326, proj3857} from '../olHelpers/projections'\r\nimport makeGuid from '../util/makeGuid';\r\nimport getMap from './helpers/get_map';\r\n\r\nexport interface iSelectArea{\r\n map: ol.Map | (() => ol.Map);\r\n callback: (coords: Array<number[]>) => any\r\n}\r\n\r\nexport class SelectArea extends React.Component<iSelectArea, null> {\r\n map: ol.Map;\r\n callback: (coords: Array<number[]>) => any;\r\n areaOverlay: LayerBaseVectorGeoJson;\r\n draw: ol.interaction.Draw;\r\n selectId: string;\r\n cancelId: string;\r\n selectButton: HTMLButtonElement;\r\n cancelButton: HTMLButtonElement;\r\n\r\n\r\n constructor(props: iSelectArea, context: Object) {\r\n super(props, context);\r\n\r\n this.selectId = makeGuid();\r\n this.cancelId = makeGuid();\r\n\r\n this.callback = this.props.callback;\r\n\r\n this.areaOverlay = new LayerBaseVectorGeoJson('',\r\n {\r\n style: new ol.style.Style({\r\n fill: new ol.style.Fill({\r\n color: 'rgba(255, 0, 237, 0.1)'\r\n }),\r\n stroke: new ol.style.Stroke({\r\n color: 'rgb(255, 0, 237)',\r\n width: 2\r\n })\r\n }),\r\n transform: {dataProjection: proj4326, featureProjection: proj3857}\r\n });\r\n\r\n this.draw = new ol.interaction.Draw({\r\n source: this.areaOverlay.source,\r\n type: 'Polygon'\r\n });\r\n\r\n this.draw.on('drawend', (evt: {feature: {getGeometry: () => ol.geom.Polygon}}) => {\r\n this.selectButton.style.display = '';\r\n this.cancelButton.style.display = 'none';\r\n\r\n let geom = evt.feature.getGeometry();\r\n let geomClone = geom.clone();\r\n\r\n geomClone.transform('EPSG:3857', 'EPSG:4326');\r\n\r\n setTimeout(() => {\r\n this.map.removeInteraction(this.draw);\r\n }, 100);\r\n\r\n let outCoords = [];\r\n let ccc = geomClone.getCoordinates()[0];\r\n\r\n for (let cc of ccc) {\r\n outCoords.push([Math.round(cc[0] * 1000000) / 1000000, Math.round(cc[1] * 1000000) / 1000000]);\r\n }\r\n\r\n this.callback(outCoords);\r\n });\r\n }\r\n\r\n\r\n componentDidMount() {\r\n this.selectButton = document.getElementById(this.selectId) as HTMLButtonElement;\r\n this.cancelButton = document.getElementById(this.cancelId) as HTMLButtonElement;\r\n getMap(this.props.map, this.areaOverlay.olLayer).then((m) => {this.map = m})\r\n }\r\n\r\n\r\n setArea() {\r\n if (!this.map) {\r\n return;\r\n }\r\n\r\n this.selectButton.style.display = 'none';\r\n this.cancelButton.style.display = '';\r\n\r\n this.areaOverlay.source.clear();\r\n this.map.addInteraction(this.draw);\r\n this.callback(null);\r\n }\r\n\r\n cancel() {\r\n if (!this.map) {\r\n return;\r\n }\r\n this.selectButton.style.display = '';\r\n this.cancelButton.style.display = 'none';\r\n\r\n this.areaOverlay.source.clear();\r\n this.map.removeInteraction(this.draw);\r\n\r\n this.callback(null);\r\n }\r\n\r\n render() {\r\n return <div style={{margin: '10px'}}>\r\n <button id={this.selectId} onClick={() => {\r\n this.setArea()\r\n }}>Select Area\r\n </button>\r\n <button id={this.cancelId} onClick={() => {\r\n this.cancel()\r\n }} style={{display: 'none'}}>Cancel\r\n </button>\r\n </div>\r\n }\r\n}\r\n"]} \ No newline at end of file diff --git a/dist/react/Slider.d.ts b/dist/react/Slider.d.ts index dcfb415fa1d07e97ff8072070d704e76670406ba..a7a5615c692ff198cf380667a762dcc150f8dcfa 100644 --- a/dist/react/Slider.d.ts +++ b/dist/react/Slider.d.ts @@ -3,12 +3,13 @@ * Created by glenn on 7/6/2017. */ import { React } from './reactAndRedux'; -export declare class Slider extends React.Component<{ +export interface iSlider { change: (d: number) => any; steps?: number; animate?: boolean; value?: number; -}, null> { +} +export declare class Slider extends React.Component<iSlider, null> { uid: string; startUid: string; endUid: string; @@ -22,7 +23,7 @@ export declare class Slider extends React.Component<{ minVal: number; maxVal: number; step: number; - constructor(props: any, context: any); + constructor(props: iSlider, context: Object); componentDidMount(): void; updateRunning(): void; startAnimate(): void; diff --git a/dist/react/Slider.jsx b/dist/react/Slider.jsx index 02cd95d33cd2e95700f39009d91883016cd70085..2aebe5d970cba998e734450877c6b3657571cfa8 100644 --- a/dist/react/Slider.jsx +++ b/dist/react/Slider.jsx @@ -75,17 +75,21 @@ var Slider = (function (_super) { onChange: function (evt) { _this.props.change(parseFloat(evt.target.value)); }, style: { width: '100%' }, max: "100", - step: '0.1' + step: '0.1', + value: this.props.value.toString(), + defaultValue: "0" }; if (this.props.steps) { attrs.max = this.props.steps.toString(); attrs.step = '1'; } if (this.props.value) { - attrs['value'] = this.props.value.toString(); + delete attrs.defaultValue; + // attrs['value'] = this.props.value.toString() } else { - attrs['defaultValue'] = "0"; + delete attrs.value; + // attrs['defaultValue'] = "0"; } var start = null; var stop = null; diff --git a/dist/react/Slider.jsx.map b/dist/react/Slider.jsx.map index 202ac30b7a9f13b87df98c65eb9674df78ce1a51..9d0cc1ec2afd574debeb7fa64b1dcd7e4ba85c44 100644 --- a/dist/react/Slider.jsx.map +++ b/dist/react/Slider.jsx.map @@ -1 +1 @@ -{"version":3,"file":"Slider.jsx","sourceRoot":"","sources":["../../src/react/Slider.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAGH,iDAAsC;AACtC,6CAAwC;AAGxC;IAA4B,0BAAuG;IAe/H,gBAAY,KAAK,EAAE,OAAO;QAA1B,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAMxB;QALG,KAAI,CAAC,GAAG,GAAG,kBAAQ,EAAE,CAAC;QACtB,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAC3B,KAAI,CAAC,MAAM,GAAG,kBAAQ,EAAE,CAAC;QACzB,KAAI,CAAC,WAAW,GAAG,kBAAQ,EAAE,CAAC;QAC9B,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;IACzB,CAAC;IAED,kCAAiB,GAAjB;QACI,IAAI,CAAC,EAAE,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAqB,CAAC;QAChE,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACtC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MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CACpC;YAAA,EAAE,MAAM,CACR;YAAA,EAAE,IAAI,CAAC,CAAC;QACZ,CAAC;QAED,MAAM,CAAC,CAAC,GAAG,CACN;aAAA,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,EAClB;YAAA,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,CAChC;QAAA,EAAE,GAAG,CAAC,CAAA;IACV,CAAC;IAEL,aAAC;AAAD,CAAC,AAnID,CAA4B,qBAAK,CAAC,SAAS,GAmI1C;AAnIY,wBAAM","sourcesContent":["/**\r\n * Created by glenn on 7/6/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport makeGuid from '../util/makeGuid';\r\n\r\n\r\nexport class Slider extends React.Component<{ change: (d: number) => any, steps?: number, animate?: boolean, value?: number}, null> {\r\n uid: string;\r\n startUid: string;\r\n endUid: string;\r\n intervalUid: string;\r\n el: HTMLInputElement;\r\n startButton: HTMLButtonElement;\r\n endButton: HTMLButtonElement;\r\n intervalSelect: HTMLSelectElement;\r\n interval: number;\r\n running: boolean;\r\n minVal: number;\r\n maxVal: number;\r\n step: number;\r\n\r\n constructor(props, context) {\r\n super(props, context);\r\n this.uid = makeGuid();\r\n this.startUid = makeGuid();\r\n this.endUid = makeGuid();\r\n this.intervalUid = makeGuid();\r\n this.running = false;\r\n }\r\n\r\n componentDidMount() {\r\n this.el = document.getElementById(this.uid) as HTMLInputElement;\r\n this.minVal = parseFloat(this.el.min);\r\n this.maxVal = parseFloat(this.el.max);\r\n this.step = parseFloat(this.el.step);\r\n this.startButton = document.getElementById(this.startUid) as HTMLButtonElement;\r\n this.endButton = document.getElementById(this.endUid) as HTMLButtonElement;\r\n this.intervalSelect = document.getElementById(this.intervalUid) as HTMLSelectElement;\r\n }\r\n\r\n updateRunning() {\r\n\r\n this.startButton.disabled = this.running;\r\n this.el.disabled = this.running;\r\n this.endButton.disabled = !this.running;\r\n }\r\n\r\n startAnimate() {\r\n this.running = true;\r\n this.updateRunning();\r\n this.interval = setInterval(() => {\r\n let val = parseFloat(this.el.value);\r\n val += this.step;\r\n if (val > this.maxVal) {\r\n val = this.minVal\r\n }\r\n\r\n this.el.value = val.toString();\r\n this.props.change(val);\r\n console.log(parseFloat(this.el.value));\r\n }, parseInt(this.intervalSelect.value));\r\n }\r\n\r\n stopAnimate() {\r\n clearInterval(this.interval);\r\n this.running = false;\r\n this.updateRunning();\r\n }\r\n\r\n restartAnimate(){\r\n if (this.running){\r\n this.stopAnimate();\r\n this.startAnimate();\r\n }\r\n }\r\n\r\n\r\n render() {\r\n\r\n let attrs = {\r\n id: this.uid,\r\n min: 0,\r\n type: 'range',\r\n onChange: (evt) => {this.props.change(parseFloat(evt.target.value))},\r\n style: {width: '100%'},\r\n max: \"100\",\r\n step: '0.1'\r\n };\r\n\r\n if (this.props.steps){\r\n attrs.max = this.props.steps.toString();\r\n attrs.step = '1';\r\n }\r\n\r\n if (this.props.value){\r\n attrs['value'] = this.props.value.toString()\r\n } else {\r\n attrs['defaultValue'] = \"0\";\r\n }\r\n\r\n\r\n let start = null;\r\n let stop = null;\r\n let intervalSelect = null;\r\n\r\n if (this.props.animate) {\r\n start = <button id={this.startUid} onClick={() => {\r\n this.startAnimate()\r\n }}>Start</button>;\r\n\r\n stop = <button id={this.endUid} onClick={() => {\r\n this.stopAnimate()\r\n }}>Stop</button>;\r\n\r\n intervalSelect = <span>\r\n <label>Interval (s)</label>\r\n <select defaultValue=\"200\" id={this.intervalUid} onChange={() => {this.restartAnimate()}}>\r\n <option value=\"100\">0.1</option>\r\n <option value=\"200\">0.2</option>\r\n <option value=\"300\">0.3</option>\r\n <option value=\"400\">0.4</option>\r\n <option value=\"500\">0.5</option>\r\n <option value=\"600\">0.6</option>\r\n <option value=\"700\">0.7</option>\r\n <option value=\"800\">0.8</option>\r\n <option value=\"900\">0.9</option>\r\n <option value=\"1000\">1.0</option>\r\n </select>\r\n </span>;\r\n }\r\n\r\n return <div>\r\n <input {...attrs}/>\r\n {start}{stop}{intervalSelect}\r\n </div>\r\n }\r\n\r\n}"]} \ No newline at end of file +{"version":3,"file":"Slider.jsx","sourceRoot":"","sources":["../../src/react/Slider.tsx"],"names":[],"mappings":"AAAA;;GAEG;;;;;;;;;;;;;AAGH,iDAAsC;AACtC,6CAAwC;AAWxC;IAA4B,0BAA8B;IAetD,gBAAY,KAAc,EAAE,OAAe;QAA3C,YACI,kBAAM,KAAK,EAAE,OAAO,CAAC,SAMxB;QALG,KAAI,CAAC,GAAG,GAAG,kBAAQ,EAAE,CAAC;QACtB,KAAI,CAAC,QAAQ,GAAG,kBAAQ,EAAE,CAAC;QAC3B,KAAI,CAAC,MAAM,GAAG,kBAAQ,EAAE,CAAC;QACzB,KAAI,CAAC,WAAW,GAAG,kBAAQ,EAAE,CAAC;QAC9B,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;IACzB,CAAC;IAED,kCAAiB,GAAjB;QACI,IAAI,CAAC,EAAE,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAqB,CAAC;QAChE,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,UAAU,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KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,CAC/B;gBAAA,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CACpC;YAAA,EAAE,MAAM,CACR;YAAA,EAAE,IAAI,CAAC,CAAC;QACZ,CAAC;QAED,MAAM,CAAC,CAAC,GAAG,CACN;aAAA,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,EAClB;YAAA,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,cAAc,CAChC;QAAA,EAAE,GAAG,CAAC,CAAA;IACV,CAAC;IAEL,aAAC;AAAD,CAAC,AAvID,CAA4B,qBAAK,CAAC,SAAS,GAuI1C;AAvIY,wBAAM","sourcesContent":["/**\r\n * Created by glenn on 7/6/2017.\r\n */\r\n\r\n\r\nimport {React} from './reactAndRedux';\r\nimport makeGuid from '../util/makeGuid';\r\nimport {ChangeEvent} from \"react\";\r\n\r\n\r\nexport interface iSlider {\r\n change: (d: number) => any;\r\n steps?: number;\r\n animate?: boolean;\r\n value?: number;\r\n}\r\n\r\nexport class Slider extends React.Component<iSlider, null> {\r\n uid: string;\r\n startUid: string;\r\n endUid: string;\r\n intervalUid: string;\r\n el: HTMLInputElement;\r\n startButton: HTMLButtonElement;\r\n endButton: HTMLButtonElement;\r\n intervalSelect: HTMLSelectElement;\r\n interval: number;\r\n running: boolean;\r\n minVal: number;\r\n maxVal: number;\r\n step: number;\r\n\r\n constructor(props: iSlider, context: Object) {\r\n super(props, context);\r\n this.uid = makeGuid();\r\n this.startUid = makeGuid();\r\n this.endUid = makeGuid();\r\n this.intervalUid = makeGuid();\r\n this.running = false;\r\n }\r\n\r\n componentDidMount() {\r\n this.el = document.getElementById(this.uid) as HTMLInputElement;\r\n this.minVal = parseFloat(this.el.min);\r\n this.maxVal = parseFloat(this.el.max);\r\n this.step = parseFloat(this.el.step);\r\n this.startButton = document.getElementById(this.startUid) as HTMLButtonElement;\r\n this.endButton = document.getElementById(this.endUid) as HTMLButtonElement;\r\n this.intervalSelect = document.getElementById(this.intervalUid) as HTMLSelectElement;\r\n }\r\n\r\n updateRunning() {\r\n\r\n this.startButton.disabled = this.running;\r\n this.el.disabled = this.running;\r\n this.endButton.disabled = !this.running;\r\n }\r\n\r\n startAnimate() {\r\n this.running = true;\r\n this.updateRunning();\r\n this.interval = setInterval(() => {\r\n let val = parseFloat(this.el.value);\r\n val += this.step;\r\n if (val > this.maxVal) {\r\n val = this.minVal\r\n }\r\n\r\n this.el.value = val.toString();\r\n this.props.change(val);\r\n console.log(parseFloat(this.el.value));\r\n }, parseInt(this.intervalSelect.value));\r\n }\r\n\r\n stopAnimate() {\r\n clearInterval(this.interval);\r\n this.running = false;\r\n this.updateRunning();\r\n }\r\n\r\n restartAnimate(){\r\n if (this.running){\r\n this.stopAnimate();\r\n this.startAnimate();\r\n }\r\n }\r\n\r\n\r\n render() {\r\n\r\n let attrs = {\r\n id: this.uid,\r\n min: 0,\r\n type: 'range',\r\n onChange: (evt: ChangeEvent<HTMLInputElement>) => {this.props.change(parseFloat(evt.target.value))},\r\n style: {width: '100%'},\r\n max: \"100\",\r\n step: '0.1',\r\n value: this.props.value.toString(),\r\n defaultValue: \"0\"\r\n };\r\n\r\n if (this.props.steps){\r\n attrs.max = this.props.steps.toString();\r\n attrs.step = '1';\r\n }\r\n\r\n if (this.props.value){\r\n delete attrs.defaultValue;\r\n // attrs['value'] = this.props.value.toString()\r\n } else {\r\n delete attrs.value;\r\n // attrs['defaultValue'] = \"0\";\r\n }\r\n\r\n\r\n let start = null;\r\n let stop = null;\r\n let intervalSelect = null;\r\n\r\n if (this.props.animate) {\r\n start = <button id={this.startUid} onClick={() => {\r\n this.startAnimate()\r\n }}>Start</button>;\r\n\r\n stop = <button id={this.endUid} onClick={() => {\r\n this.stopAnimate()\r\n }}>Stop</button>;\r\n\r\n intervalSelect = <span>\r\n <label>Interval (s)</label>\r\n <select defaultValue=\"200\" id={this.intervalUid} onChange={() => {this.restartAnimate()}}>\r\n <option value=\"100\">0.1</option>\r\n <option value=\"200\">0.2</option>\r\n <option value=\"300\">0.3</option>\r\n <option value=\"400\">0.4</option>\r\n <option value=\"500\">0.5</option>\r\n <option value=\"600\">0.6</option>\r\n <option value=\"700\">0.7</option>\r\n <option value=\"800\">0.8</option>\r\n <option value=\"900\">0.9</option>\r\n <option value=\"1000\">1.0</option>\r\n </select>\r\n </span>;\r\n }\r\n\r\n return <div>\r\n <input {...attrs}/>\r\n {start}{stop}{intervalSelect}\r\n </div>\r\n }\r\n\r\n}"]} \ No newline at end of file diff --git a/dist/react/reactAndRedux.d.ts b/dist/react/reactAndRedux.d.ts index 49ee0296673da1ca2e043a9db3d670fcc7a085e8..86bfcded83199fe22b1159e9e4f614a5317fa966 100644 --- a/dist/react/reactAndRedux.d.ts +++ b/dist/react/reactAndRedux.d.ts @@ -5,8 +5,8 @@ export import React = require('react'); export import ReactDom = require('react-dom'); export import ReactRedux = require('react-redux'); export import Redux = require('redux'); -export declare const connect: any; -export declare const Provider: any; +export declare const connect: typeof ReactRedux.connect; +export declare const Provider: typeof ReactRedux.Provider; export declare const combineReducers: typeof Redux.combineReducers; export declare const createStore: Redux.StoreCreator; export interface iAction { diff --git a/dist/react/reactAndRedux.js.map b/dist/react/reactAndRedux.js.map index fece9bab181e0d088a9fd360fcba3cccccbbc300..11cf9e77bb103e165cabb4a038f8e5350544c6ce 100644 --- a/dist/react/reactAndRedux.js.map +++ b/dist/react/reactAndRedux.js.map @@ -1 +1 @@ -{"version":3,"file":"reactAndRedux.js","sourceRoot":"","sources":["../../src/react/reactAndRedux.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,iCAAuC;AACvC,wCAA8C;AAC9C,4CAAkD;AAClD,iCAAuC;AAG1B,QAAA,OAAO,GAAG,kBAAU,CAAC,OAAO,CAAC;AAC7B,QAAA,QAAQ,GAAG,kBAAU,CAAC,QAAQ,CAAC;AAC5C,mDAAmD;AACtC,QAAA,eAAe,GAAG,aAAK,CAAC,eAAe,CAAC;AACxC,QAAA,WAAW,GAAG,aAAK,CAAC,WAAW,CAAC","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\nexport import React = require('react');\r\nexport import ReactDom = require('react-dom');\r\nexport import ReactRedux = require('react-redux');\r\nexport import Redux = require('redux');\r\n\r\n\r\nexport const connect = ReactRedux.connect;\r\nexport const Provider = ReactRedux.Provider;\r\n// export { connect, Provider } from 'react-redux';\r\nexport const combineReducers = Redux.combineReducers;\r\nexport const createStore = Redux.createStore;\r\n\r\n// export {combineReducers, createStore, Store, } from 'redux';\r\n\r\nexport interface iAction{\r\n type: string;\r\n}\r\n"]} \ No newline at end of file +{"version":3,"file":"reactAndRedux.js","sourceRoot":"","sources":["../../src/react/reactAndRedux.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,iCAAuC;AACvC,wCAA8C;AAC9C,4CAAkD;AAClD,iCAAuC;AAI1B,QAAA,OAAO,GAAG,kBAAU,CAAC,OAAO,CAAC;AAC7B,QAAA,QAAQ,GAAG,kBAAU,CAAC,QAAQ,CAAC;AAC5C,mDAAmD;AACtC,QAAA,eAAe,GAAG,aAAK,CAAC,eAAe,CAAC;AACxC,QAAA,WAAW,GAAG,aAAK,CAAC,WAAW,CAAC","sourcesContent":["/**\r\n * Created by glenn on 6/12/2017.\r\n */\r\nexport import React = require('react');\r\nexport import ReactDom = require('react-dom');\r\nexport import ReactRedux = require('react-redux');\r\nexport import Redux = require('redux');\r\n\r\n\r\n\r\nexport const connect = ReactRedux.connect;\r\nexport const Provider = ReactRedux.Provider;\r\n// export { connect, Provider } from 'react-redux';\r\nexport const combineReducers = Redux.combineReducers;\r\nexport const createStore = Redux.createStore;\r\n\r\n// export {combineReducers, createStore, Store, } from 'redux';\r\n\r\nexport interface iAction{\r\n type: string;\r\n}\r\n\r\n\r\n"]} \ No newline at end of file diff --git a/dist/util/checkDefined.js.map b/dist/util/checkDefined.js.map index 24a8169b373d9b13dd9c9f0ca6f24f64e3e43501..29887426808d774dfa91791624e88a144835fcfc 100644 --- a/dist/util/checkDefined.js.map +++ b/dist/util/checkDefined.js.map @@ -1 +1 @@ -{"version":3,"file":"checkDefined.js","sourceRoot":"","sources":["../../src/util/checkDefined.ts"],"names":[],"mappings":";;AAAA,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,mBAAmB,CAAC,CAAC;AAEtC;;;;GAIG;AACH,yBAAiC,KAAK;IAClC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,OAAO,KAAK,KAAK,WAAW,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC;AAC5D,CAAC;AAJD,0CAIC;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AAGrC;;;;GAIG;AACH,2BAAmC,KAAU;IACzC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AACrC,CAAC;AAJD,8CAIC;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC","sourcesContent":["import provide from './provide';\r\nlet nm = provide('util.checkDefined');\r\n\r\n/**\r\n * check if the input is undefined or null\r\n * @param input - input pointer\r\n * @returns true undefined or null\r\n */\r\nexport function undefinedOrNull (input): boolean{\r\n \"use strict\";\r\n\r\n return (typeof input === 'undefined' || input === null);\r\n}\r\n\r\nnm.undefinedOrNull = undefinedOrNull;\r\n\r\n\r\n/**\r\n * check if the input is defined and not null\r\n * @param input - input pointer\r\n * @returns true defined and not null\r\n */\r\nexport function definedAndNotNull (input: any): boolean{\r\n \"use strict\";\r\n\r\n return !(undefinedOrNull(input));\r\n}\r\n\r\nnm.definedAndNotNull = definedAndNotNull;\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"checkDefined.js","sourceRoot":"","sources":["../../src/util/checkDefined.ts"],"names":[],"mappings":";;AAAA,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,mBAAmB,CAAC,CAAC;AAEtC;;;;GAIG;AACH,yBAAiC,KAAU;IACvC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,OAAO,KAAK,KAAK,WAAW,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC;AAC5D,CAAC;AAJD,0CAIC;AAED,EAAE,CAAC,eAAe,GAAG,eAAe,CAAC;AAGrC;;;;GAIG;AACH,2BAAmC,KAAU;IACzC,YAAY,CAAC;IAEb,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AACrC,CAAC;AAJD,8CAIC;AAED,EAAE,CAAC,iBAAiB,GAAG,iBAAiB,CAAC","sourcesContent":["import provide from './provide';\r\nlet nm = provide('util.checkDefined');\r\n\r\n/**\r\n * check if the input is undefined or null\r\n * @param input - input pointer\r\n * @returns true undefined or null\r\n */\r\nexport function undefinedOrNull (input: any): boolean{\r\n \"use strict\";\r\n\r\n return (typeof input === 'undefined' || input === null);\r\n}\r\n\r\nnm.undefinedOrNull = undefinedOrNull;\r\n\r\n\r\n/**\r\n * check if the input is defined and not null\r\n * @param input - input pointer\r\n * @returns true defined and not null\r\n */\r\nexport function definedAndNotNull (input: any): boolean{\r\n \"use strict\";\r\n\r\n return !(undefinedOrNull(input));\r\n}\r\n\r\nnm.definedAndNotNull = definedAndNotNull;\r\n\r\n"]} \ No newline at end of file diff --git a/dist/util/colors.d.ts b/dist/util/colors.d.ts index 3de4c8d86dc7eb0b44ae12dad0485d4711eaaa93..60551f9a6d6c6cc1e751d35397fa0fa830acc8a4 100644 --- a/dist/util/colors.d.ts +++ b/dist/util/colors.d.ts @@ -3,21 +3,21 @@ * @param {string} rgb - rgb color * @returns {string} rbg as hex */ -export declare function rgb2hex(rgb: any): string; +export declare function rgb2hex(rgb: string): string; /** * Convert hex string to RGB or RGBA string * @param {string} hexString - hex color string * @param {number} [alphaVal=undefined] Alpha value * @returns {string} - rgb or rgba color */ -export declare function hexAlphaToRgbOrRgba(hexString: any, alphaVal: any): string; +export declare function hexAlphaToRgbOrRgba(hexString: string, alphaVal: number): string; /** * adds alpha value to rgb string 'rgb(r, b, g)', returns 'rgba(r, g, b, a)' * @param {string} rgb - rgb color * @param {number} alpha - alpha value 0 to 1 * @returns {string} rgba color */ -export declare function rgbToRgba(rgb: any, alpha: any): any; +export declare function rgbToRgba(rgb: string, alpha: number): string; /** * @typedef {function} colorLookupByNumber * @param {number} num - the number to use to retrieve the color @@ -30,7 +30,7 @@ export declare function rgbToRgba(rgb: any, alpha: any): any; * @param {boolean} flipColors - if the colors should be flipped * @returns {colorLookupByNumber} color lookup function */ -export declare function makeBlueGreenRedGradient(minVal: any, maxVal: any, flipColors: any): (theVal: any) => string; +export declare function makeBlueGreenRedGradient(minVal: number, maxVal: number, flipColors?: boolean): (v: number) => string; /** * Create a function that will return colors based on a gradient * @param {number} median - median value @@ -38,4 +38,4 @@ export declare function makeBlueGreenRedGradient(minVal: any, maxVal: any, flipC * @param {boolean} flipColors - if the colors should be flipped * @returns {colorLookupByNumber} color lookup function */ -export declare function makeBlueGreenRedGradientZScore(median: any, stdDev: any, flipColors: any): (theVal: any) => string; +export declare function makeBlueGreenRedGradientZScore(median: number, stdDev: number, flipColors?: boolean): (v: number) => string; diff --git a/dist/util/colors.js b/dist/util/colors.js index 04c1cad8d759b1913927e4b43b011b70a668c939..528b4a53c2a828ea22283c97a1293df497773163 100644 --- a/dist/util/colors.js +++ b/dist/util/colors.js @@ -14,7 +14,14 @@ var nm = provide_1.default('util.colors'); */ function _hex(x) { var hexDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; - return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16]; + if (isNaN(x)) { + return "00"; + } + else { + var m = x; + return hexDigits[(m - m % 16) / 16] + hexDigits[m % 16]; + } + // return isNaN(x as number) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16]; } /** * converts an RGB string to hex @@ -75,6 +82,7 @@ nm.rgbToRgba = rgbToRgba; * @returns {colorLookupByNumber} color lookup function */ function makeBlueGreenRedGradient(minVal, maxVal, flipColors) { + if (flipColors === void 0) { flipColors = false; } if (typeof flipColors != "boolean") { flipColors = false; } @@ -141,6 +149,7 @@ nm.makeBlueGreenRedGradient = makeBlueGreenRedGradient; * @returns {colorLookupByNumber} color lookup function */ function makeBlueGreenRedGradientZScore(median, stdDev, flipColors) { + if (flipColors === void 0) { flipColors = false; } var grd = makeBlueGreenRedGradient(-2.5, 2.5, flipColors); return function (theVal) { var zScore; diff --git a/dist/util/colors.js.map b/dist/util/colors.js.map index 611dc95b6db7b0ec27232836d4024a5a8ec0144a..8382ff948a14c91ae90783af12b3f1ac5d5c4734 100644 --- a/dist/util/colors.js.map +++ b/dist/util/colors.js.map @@ -1 +1 @@ -{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/util/colors.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,qCAAgC;AAChC,oCAAsC;AACtC,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAGhC;;;;;GAKG;AACH,cAAc,CAAC;IACX,IAAI,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAEjG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,S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AE,CAAC,8BAA8B,GAAG,8BAA8B,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/3/2015.\r\n */\r\nimport provide from './provide';\r\nimport * as chk from './checkDefined';\r\nlet nm = provide('util.colors');\r\n\r\n\r\n/**\r\n * helper function to convert to hex\r\n * @param {number|string} x - the number to convert to hex\r\n * @returns {string} number as hex\r\n * @private\r\n */\r\nfunction _hex(x) {\r\n let hexDigits = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\"];\r\n\r\n return isNaN(x) ? \"00\" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16];\r\n}\r\n\r\n/**\r\n * converts an RGB string to hex\r\n * @param {string} rgb - rgb color\r\n * @returns {string} rbg as hex\r\n */\r\nexport function rgb2hex(rgb) {\r\n let rgb1 = rgb.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);\r\n\r\n return (\"#\" + _hex(rgb1[1]) + _hex(rgb1[2]) + _hex(rgb1[3])).toUpperCase();\r\n}\r\n\r\nnm.rgb2hex = rgb2hex;\r\n\r\n\r\n/**\r\n * Convert hex string to RGB or RGBA string\r\n * @param {string} hexString - hex color string\r\n * @param {number} [alphaVal=undefined] Alpha value\r\n * @returns {string} - rgb or rgba color\r\n */\r\nexport function hexAlphaToRgbOrRgba(hexString, alphaVal) {\r\n hexString = ((hexString.charAt(0) == \"#\") ? hexString.substring(1, 7) : hexString);\r\n let r = parseInt(hexString.substring(0, 2), 16).toString() || '0';\r\n let g = parseInt(hexString.substring(2, 4), 16).toString() || '0';\r\n let b = parseInt(hexString.substring(4, 6), 16).toString() || '0';\r\n if (alphaVal) {\r\n return `rgba(${r},${g},${b},${alphaVal})`;\r\n } else {\r\n return `rgba(${r},${g},${b})`;\r\n }\r\n}\r\n\r\nnm.hexAlphaToRgbOrRgba = hexAlphaToRgbOrRgba;\r\n\r\n\r\n/**\r\n * adds alpha value to rgb string 'rgb(r, b, g)', returns 'rgba(r, g, b, a)'\r\n * @param {string} rgb - rgb color\r\n * @param {number} alpha - alpha value 0 to 1\r\n * @returns {string} rgba color\r\n */\r\nexport function rgbToRgba(rgb, alpha) {\r\n let pieces = rgb.split(',');\r\n pieces[0] = pieces[0].replace('rgb', 'rgba');\r\n pieces[2] = pieces[2].replace(')', '');\r\n pieces.push(' ' + alpha.toFixed(1) + ')');\r\n\r\n return pieces.join(',');\r\n}\r\n\r\nnm.rgbToRgba = rgbToRgba;\r\n\r\n\r\n/**\r\n * @typedef {function} colorLookupByNumber\r\n * @param {number} num - the number to use to retrieve the color\r\n * @returns {string} rgb color\r\n */\r\n\r\n\r\n/**\r\n * Make a blue green red gradient\r\n * @param {number} minVal - minimum value\r\n * @param {number} maxVal - maximum value\r\n * @param {boolean} flipColors - if the colors should be flipped\r\n * @returns {colorLookupByNumber} color lookup function\r\n */\r\nexport function makeBlueGreenRedGradient(minVal, maxVal, flipColors) {\r\n\r\n if (typeof flipColors != \"boolean\") {\r\n flipColors = false;\r\n }\r\n\r\n return function (theVal) {\r\n let r, g, b;\r\n let ratio;\r\n\r\n if (chk.undefinedOrNull(theVal)) {\r\n return 'rgb(100,100,100)';\r\n }\r\n\r\n let percent = (theVal - minVal) / (maxVal - minVal);\r\n\r\n if (flipColors == true) {\r\n percent = 1 - percent;\r\n }\r\n\r\n if (percent >= 1) {\r\n r = 255;\r\n g = 0;\r\n b = 0;\r\n } else if (percent <= 0) {\r\n r = 0;\r\n g = 0;\r\n b = 255;\r\n } else if (percent < .25) {\r\n // green up, blue constant\r\n r = 0;\r\n g = Math.floor(255 * percent / 0.25);\r\n b = 255;\r\n } else if (percent < 0.50) {\r\n //blue down, green constant\r\n ratio = (percent - 0.25) / 0.25;\r\n r = 0;\r\n g = 255;\r\n b = 255 - Math.floor(255 * ratio);\r\n } else if (percent < 0.75) {\r\n // red up, green constant\r\n ratio = (percent - 0.5) / 0.25;\r\n r = Math.floor(255 * ratio);\r\n g = 255;\r\n b = 0;\r\n } else {\r\n // green down, red constant\r\n ratio = (percent - 0.75) / 0.25;\r\n r = 255;\r\n g = 255 - Math.floor(255 * ratio);\r\n b = 0;\r\n }\r\n\r\n r = r.toFixed();\r\n g = g.toFixed();\r\n b = b.toFixed();\r\n\r\n return 'rgb(' + r + ',' + g + ',' + b + ')';\r\n };\r\n}\r\n\r\nnm.makeBlueGreenRedGradient = makeBlueGreenRedGradient;\r\n\r\n\r\n/**\r\n * Create a function that will return colors based on a gradient\r\n * @param {number} median - median value\r\n * @param {number} stdDev - standard deviation\r\n * @param {boolean} flipColors - if the colors should be flipped\r\n * @returns {colorLookupByNumber} color lookup function\r\n */\r\nexport function makeBlueGreenRedGradientZScore(median, stdDev, flipColors) {\r\n\r\n let grd = makeBlueGreenRedGradient(-2.5, 2.5, flipColors);\r\n\r\n return function (theVal) {\r\n\r\n let zScore;\r\n if (theVal == null) {\r\n zScore = null;\r\n } else {\r\n zScore = (theVal - median) / stdDev;\r\n }\r\n\r\n return grd(zScore);\r\n };\r\n}\r\n\r\nnm.makeBlueGreenRedGradientZScore = makeBlueGreenRedGradientZScore;\r\n"]} \ No newline at end of file +{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/util/colors.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,qCAAgC;AAChC,oCAAsC;AAEtC,IAAI,EAAE,GAAG,iBAAO,CAAC,aAAa,CAAC,CAAC;AAGhC;;;;;GAKG;AACH,cAAc,CAAgB;IAC1B,IAAI,SAAS,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAEjG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAW,CAAC,CAAC,CAAA,CAAC;QACpB,MAAM,C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;QAAC,IAAI,CAAC,CAAC;YACJ,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,MAAM,CAAC;QACxC,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,CAAC;AACN,CAAC;AAfD,wEAeC;AAED,EAAE,CAAC,8BAA8B,GAAG,8BAA8B,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/3/2015.\r\n */\r\nimport provide from './provide';\r\nimport * as chk from './checkDefined';\r\n\r\nlet nm = provide('util.colors');\r\n\r\n\r\n/**\r\n * helper function to convert to hex\r\n * @param {number|string} x - the number to convert to hex\r\n * @returns {string} number as hex\r\n * @private\r\n */\r\nfunction _hex(x: number|string): string {\r\n let hexDigits = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\"];\r\n\r\n if (isNaN(x as number)){\r\n return \"00\";\r\n } else {\r\n let m = x as number;\r\n return hexDigits[(m - m % 16) / 16] + hexDigits[m % 16];\r\n }\r\n // return isNaN(x as number) ? \"00\" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16];\r\n}\r\n\r\n/**\r\n * converts an RGB string to hex\r\n * @param {string} rgb - rgb color\r\n * @returns {string} rbg as hex\r\n */\r\nexport function rgb2hex(rgb: string): string {\r\n let rgb1 = rgb.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);\r\n\r\n return (\"#\" + _hex(rgb1[1]) + _hex(rgb1[2]) + _hex(rgb1[3])).toUpperCase();\r\n}\r\n\r\nnm.rgb2hex = rgb2hex;\r\n\r\n\r\n/**\r\n * Convert hex string to RGB or RGBA string\r\n * @param {string} hexString - hex color string\r\n * @param {number} [alphaVal=undefined] Alpha value\r\n * @returns {string} - rgb or rgba color\r\n */\r\nexport function hexAlphaToRgbOrRgba(hexString: string, alphaVal: number): string {\r\n hexString = ((hexString.charAt(0) == \"#\") ? hexString.substring(1, 7) : hexString);\r\n let r = parseInt(hexString.substring(0, 2), 16).toString() || '0';\r\n let g = parseInt(hexString.substring(2, 4), 16).toString() || '0';\r\n let b = parseInt(hexString.substring(4, 6), 16).toString() || '0';\r\n if (alphaVal) {\r\n return `rgba(${r},${g},${b},${alphaVal})`;\r\n } else {\r\n return `rgba(${r},${g},${b})`;\r\n }\r\n}\r\n\r\nnm.hexAlphaToRgbOrRgba = hexAlphaToRgbOrRgba;\r\n\r\n\r\n/**\r\n * adds alpha value to rgb string 'rgb(r, b, g)', returns 'rgba(r, g, b, a)'\r\n * @param {string} rgb - rgb color\r\n * @param {number} alpha - alpha value 0 to 1\r\n * @returns {string} rgba color\r\n */\r\nexport function rgbToRgba(rgb: string, alpha: number): string {\r\n let pieces = rgb.split(',');\r\n pieces[0] = pieces[0].replace('rgb', 'rgba');\r\n pieces[2] = pieces[2].replace(')', '');\r\n pieces.push(' ' + alpha.toFixed(1) + ')');\r\n\r\n return pieces.join(',');\r\n}\r\n\r\nnm.rgbToRgba = rgbToRgba;\r\n\r\n\r\n/**\r\n * @typedef {function} colorLookupByNumber\r\n * @param {number} num - the number to use to retrieve the color\r\n * @returns {string} rgb color\r\n */\r\n\r\n\r\n/**\r\n * Make a blue green red gradient\r\n * @param {number} minVal - minimum value\r\n * @param {number} maxVal - maximum value\r\n * @param {boolean} flipColors - if the colors should be flipped\r\n * @returns {colorLookupByNumber} color lookup function\r\n */\r\nexport function makeBlueGreenRedGradient(minVal: number, maxVal: number, flipColors:boolean=false): (v: number) => string {\r\n\r\n if (typeof flipColors != \"boolean\") {\r\n flipColors = false;\r\n }\r\n\r\n return function (theVal: number): string {\r\n let r, g, b;\r\n let ratio;\r\n\r\n if (chk.undefinedOrNull(theVal)) {\r\n return 'rgb(100,100,100)';\r\n }\r\n\r\n let percent = (theVal - minVal) / (maxVal - minVal);\r\n\r\n if (flipColors == true) {\r\n percent = 1 - percent;\r\n }\r\n\r\n if (percent >= 1) {\r\n r = 255;\r\n g = 0;\r\n b = 0;\r\n } else if (percent <= 0) {\r\n r = 0;\r\n g = 0;\r\n b = 255;\r\n } else if (percent < .25) {\r\n // green up, blue constant\r\n r = 0;\r\n g = Math.floor(255 * percent / 0.25);\r\n b = 255;\r\n } else if (percent < 0.50) {\r\n //blue down, green constant\r\n ratio = (percent - 0.25) / 0.25;\r\n r = 0;\r\n g = 255;\r\n b = 255 - Math.floor(255 * ratio);\r\n } else if (percent < 0.75) {\r\n // red up, green constant\r\n ratio = (percent - 0.5) / 0.25;\r\n r = Math.floor(255 * ratio);\r\n g = 255;\r\n b = 0;\r\n } else {\r\n // green down, red constant\r\n ratio = (percent - 0.75) / 0.25;\r\n r = 255;\r\n g = 255 - Math.floor(255 * ratio);\r\n b = 0;\r\n }\r\n\r\n r = r.toFixed();\r\n g = g.toFixed();\r\n b = b.toFixed();\r\n\r\n return 'rgb(' + r + ',' + g + ',' + b + ')';\r\n };\r\n}\r\n\r\nnm.makeBlueGreenRedGradient = makeBlueGreenRedGradient;\r\n\r\n\r\n/**\r\n * Create a function that will return colors based on a gradient\r\n * @param {number} median - median value\r\n * @param {number} stdDev - standard deviation\r\n * @param {boolean} flipColors - if the colors should be flipped\r\n * @returns {colorLookupByNumber} color lookup function\r\n */\r\nexport function makeBlueGreenRedGradientZScore(median: number, stdDev: number, flipColors: boolean = false):(v: number) => string {\r\n\r\n let grd = makeBlueGreenRedGradient(-2.5, 2.5, flipColors);\r\n\r\n return function (theVal: number): string {\r\n\r\n let zScore;\r\n if (theVal == null) {\r\n zScore = null;\r\n } else {\r\n zScore = (theVal - median) / stdDev;\r\n }\r\n\r\n return grd(zScore);\r\n };\r\n}\r\n\r\nnm.makeBlueGreenRedGradientZScore = makeBlueGreenRedGradientZScore;\r\n"]} \ No newline at end of file diff --git a/dist/util/dateConvert.js.map b/dist/util/dateConvert.js.map index d26682faad2b0bb3c84bbaf8bd242869eccdbb98..225888a112d5aafc4ad4fd3a9bccb42778e275c1 100644 --- a/dist/util/date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G,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC;IAC3C,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IACpC,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IAErC,MAAM,CAAC,KAAG,EAAE,GAAG,KAAK,GAAG,GAAG,SAAI,GAAG,SAAM,CAAC;AAC5C,CAAC;AARD,kDAQC;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/4/2015.\r\n */\r\n\r\nimport provide from './provide';\r\nlet nm = provide('util.dateConvert');\r\n\r\nfunction leadingPad(inNum) {\r\n let strNum = inNum.toFixed();\r\n if (strNum.length < 2) {\r\n strNum = '0' + strNum;\r\n }\r\n\r\n return strNum;\r\n}\r\n\r\nnm.leadingPad = leadingPad;\r\n\r\n/**\r\n * Given a date return a string in the format YYYY-mm-dd hh:MM:SS\r\n * @param {Date} dte to convert\r\n * @returns {string} the formatted date string\r\n */\r\nexport function dateToYyyyMmDdHhMmSs(dte: Date): string {\r\n let yr = dte.getFullYear();\r\n let month = leadingPad(dte.getMonth() + 1);\r\n let day = leadingPad(dte.getDate());\r\n let hrs = leadingPad(dte.getHours());\r\n let mns = leadingPad(dte.getMinutes());\r\n let secs = leadingPad(dte.getSeconds());\r\n\r\n return `${yr}-${month}-${day} ${hrs}:${mns}:${secs}`;\r\n}\r\n\r\nnm.dateToYyyyMmDdHhMmSs = dateToYyyyMmDdHhMmSs;\r\n\r\n\r\n/**\r\n * Given a date return a string in the format YYYYmmdd_hh0000\r\n * @param {Date} dte the input date\r\n * @returns {string} the formatted date string\r\n */\r\nexport function dateToYyyyMmDdHh000(dte: Date): string {\r\n\r\n let yr = dte.getFullYear();\r\n let month = leadingPad(dte.getMonth() + 1);\r\n let day = leadingPad(dte.getDate());\r\n let hrs = leadingPad(dte.getHours());\r\n\r\n return `${yr}${month}${day}_${hrs}0000`;\r\n}\r\n\r\nnm.dateToYyyyMmDdHh000 = dateToYyyyMmDdHh000;\r\n"]} \ No newline at end of file +{"version":3,"file":"dateConvert.js","sourceRoot":"","sources":["../../src/util/dateConvert.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,kBAAkB,CAAC,CAAC;AAErC,oBAAoB,KAAa;IAC7B,IAAI,MAAM,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC;IAC7B,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,MAAM,GAAG,GAAG,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,MAAM,CAAC;AAClB,CAAC;AAED,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAE3B;;;;GAIG;AACH,8BAAqC,GAAS;IAC1C,IAAI,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC;IAC3C,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IACpC,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrC,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;IACvC,IAAI,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;IAExC,MAAM,CAAI,EAAE,SAAI,KAAK,SAAI,GAAG,SAAI,GAAG,SAAI,GAAG,SAAI,IAAM,CAAC;AACzD,CAAC;AATD,oDASC;AAED,EAAE,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AAG/C;;;;GAIG;AACH,6BAAoC,GAAS;IAEzC,IAAI,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC;IAC3C,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IACpC,IAAI,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IAErC,MAAM,CAAC,KAAG,EAAE,GAAG,KAAK,GAAG,GAAG,SAAI,GAAG,SAAM,CAAC;AAC5C,CAAC;AARD,kDAQC;AAED,EAAE,CAAC,mBAAmB,GAAG,mBAAmB,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 11/4/2015.\r\n */\r\n\r\nimport provide from './provide';\r\nlet nm = provide('util.dateConvert');\r\n\r\nfunction leadingPad(inNum: number) {\r\n let strNum = inNum.toFixed();\r\n if (strNum.length < 2) {\r\n strNum = '0' + strNum;\r\n }\r\n\r\n return strNum;\r\n}\r\n\r\nnm.leadingPad = leadingPad;\r\n\r\n/**\r\n * Given a date return a string in the format YYYY-mm-dd hh:MM:SS\r\n * @param {Date} dte to convert\r\n * @returns {string} the formatted date string\r\n */\r\nexport function dateToYyyyMmDdHhMmSs(dte: Date): string {\r\n let yr = dte.getFullYear();\r\n let month = leadingPad(dte.getMonth() + 1);\r\n let day = leadingPad(dte.getDate());\r\n let hrs = leadingPad(dte.getHours());\r\n let mns = leadingPad(dte.getMinutes());\r\n let secs = leadingPad(dte.getSeconds());\r\n\r\n return `${yr}-${month}-${day} ${hrs}:${mns}:${secs}`;\r\n}\r\n\r\nnm.dateToYyyyMmDdHhMmSs = dateToYyyyMmDdHhMmSs;\r\n\r\n\r\n/**\r\n * Given a date return a string in the format YYYYmmdd_hh0000\r\n * @param {Date} dte the input date\r\n * @returns {string} the formatted date string\r\n */\r\nexport function dateToYyyyMmDdHh000(dte: Date): string {\r\n\r\n let yr = dte.getFullYear();\r\n let month = leadingPad(dte.getMonth() + 1);\r\n let day = leadingPad(dte.getDate());\r\n let hrs = leadingPad(dte.getHours());\r\n\r\n return `${yr}${month}${day}_${hrs}0000`;\r\n}\r\n\r\nnm.dateToYyyyMmDdHh000 = dateToYyyyMmDdHh000;\r\n"]} \ No newline at end of file diff --git a/dist/util/formatString.js b/dist/util/formatString.js index 6e2719e15300caecfc58832f0f9e12a4cef7ddd7..a7047617504b8bc87c07c06db7fa9c9ade5a3305 100644 --- a/dist/util/formatString.js +++ b/dist/util/formatString.js @@ -3,7 +3,7 @@ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -if (!String.prototype['format']) { +if (!String.prototype.format) { /** * helper function for string replacement to keep code clean * usage @@ -19,7 +19,7 @@ if (!String.prototype['format']) { * aString.format(arrReplacements) * @returns {string} converted string */ - String.prototype['format'] = function () { + String.prototype.format = function () { var args = arguments; for (var i = 0; i < args.length; i++) { args[i] = (args[i] !== null ? args[i] : ''); diff --git a/dist/util/formatString.js.map b/dist/util/formatString.js.map index 0b02e3a2a7970059da885ad24594a440cec8156c..5e3db28cbccfa7c272cccab42395352465d856d5 100644 --- a/dist/util/formatString.js.map +++ b/dist/util/formatString.js.map @@ -1 +1 @@ -{"version":3,"file":"formatString.js","sourceRoot":"","sources":["../../src/util/formatString.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9B;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG;QACzB,IAAI,IAAI,GAAG,SAAS,CAAC;QACrB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACnC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,6CAA6C;QAC7C,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC;YAC/B,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,KAAK,EAAE,MAAM;YACnD,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;QACrE,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC;AAED,kBAAe,SAAS,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 10/30/2015.\r\n */\r\n\r\nif (!String.prototype['format']) {\r\n /**\r\n * helper function for string replacement to keep code clean\r\n * usage\r\n * var aString = 'some{0}stuff{1}replaced';\r\n * var c = 'cat';\r\n * var b = 'bird';\r\n * aString.format(c, b) returns 'somecatstuffbirdreplaced'\r\n * prettier than\r\n * 'some' + c + 'stuff' + b + 'replaced'\r\n * but same effect\r\n * adapted to take a single array that is used for replacement by position ie\r\n * var arrReplacements = [c, b];\r\n * aString.format(arrReplacements)\r\n * @returns {string} converted string\r\n */\r\n String.prototype['format'] = function () {\r\n let args = arguments;\r\n for (let i = 0; i < args.length; i++) {\r\n args[i] = (args[i] !== null ? args[i] : '');\r\n }\r\n\r\n //if the first argument is an array, use that\r\n if (args[0].constructor == Array) {\r\n args = args[0];\r\n }\r\n\r\n return this.replace(/{(\\d+)}/g, function (match, number) {\r\n return typeof args[number] != 'undefined' ? args[number] : match;\r\n });\r\n };\r\n}\r\n\r\nexport default undefined;\r\n"]} \ No newline at end of file +{"version":3,"file":"formatString.js","sourceRoot":"","sources":["../../src/util/formatString.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,EAAE,CAAC,CAAC,CAAO,MAAM,CAAC,SAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAClC;;;;;;;;;;;;;;OAcG;IACG,MAAM,CAAC,SAAU,CAAC,MAAM,GAAG;QAC7B,IAAI,IAAI,GAAG,SAAS,CAAC;QACrB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACnC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;QAChD,CAAC;QAED,6CAA6C;QAC7C,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC;YAC/B,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,UAAU,KAAa,EAAE,MAAc;YACnE,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;QACrE,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC;AAED,kBAAe,SAAS,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 10/30/2015.\r\n */\r\n\r\nif (!(<any>String.prototype).format) {\r\n /**\r\n * helper function for string replacement to keep code clean\r\n * usage\r\n * var aString = 'some{0}stuff{1}replaced';\r\n * var c = 'cat';\r\n * var b = 'bird';\r\n * aString.format(c, b) returns 'somecatstuffbirdreplaced'\r\n * prettier than\r\n * 'some' + c + 'stuff' + b + 'replaced'\r\n * but same effect\r\n * adapted to take a single array that is used for replacement by position ie\r\n * var arrReplacements = [c, b];\r\n * aString.format(arrReplacements)\r\n * @returns {string} converted string\r\n */\r\n (<any>String.prototype).format = function () {\r\n let args = arguments;\r\n for (let i = 0; i < args.length; i++) {\r\n args[i] = (args[i] !== null ? args[i] : '');\r\n }\r\n\r\n //if the first argument is an array, use that\r\n if (args[0].constructor == Array) {\r\n args = args[0];\r\n }\r\n\r\n return this.replace(/{(\\d+)}/g, function (match: string, number: number) {\r\n return typeof args[number] != 'undefined' ? args[number] : match;\r\n });\r\n };\r\n}\r\n\r\nexport default undefined;\r\n"]} \ No newline at end of file diff --git a/dist/util/getUrlParams.js.map b/dist/util/getUrlParams.js.map index 1e461d5af8f95e00a5970e8cc5bf1112948b6f97..2919b6325d21d88ea1ac093cf2602012250f5008 100644 --- a/dist/util/getUrlParams.js.map +++ b/dist/util/getUrlParams.js.map @@ -1 +1 @@ -{"version":3,"file":"getUrlParams.js","sourceRoot":"","sources":["../../src/util/getUrlParams.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAGzB,kBAAkB,QAAa;IAC3B,IAAI,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IAErC,MAAM,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAC7B,CAAC;AAED;;;GAGG;AACH;IACI,YAAY,CAAC;IAEb,IAAI,KAAK,CAAC;IACV,IAAI,EAAE,GAAG,KAAK,CAAC,CAAE,mDAAmD;IACpE,IAAI,MAAM,GAAG,oBAAoB,CAAC;IAClC,IAAI,MAAM,GAAG,UAAU,CAAC;QACpB,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;IAClD,CAAC,CAAC;IACF,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IAEhD,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,OAAO,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAChC;;WAEG;QACH,IAAI,GAAG,GAAI,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAEnC,IAAI,QAAQ,GAAG,IAAI,CAAC;QACpB,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,CAAA,CAAC;YACjB,OAAO;QACX,CAAC;QACD,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAA,CAAC;YACpB,EAAE,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA,CAAC;gBACvB,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;YAC/B,CAAC;YAAC,IAAI,CAAC,CAAC;gBACJ,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;YAC7B,CAAC;QACL,CAAC;QACD,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,OAAO,IAAI,GAAG,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC,CAAA,CAAC;YAClE,QAAQ,GAAG,GAAG,CAAC,WAAW,EAAE,IAAI,MAAM,CAAC;QAC3C,CAAC;QACD,IAAI,CAAC,CAAC;YACF,QAAQ,GAAG,GAAG,CAAC;QACnB,CAAC;QACD,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,SAAS,CAAC;AACrB,CAAC;AAvCD,+BAuCC;AAED,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/23/2016.\r\n */\r\nimport provide from './provide';\r\nlet nm = provide('util');\r\n\r\n\r\nfunction isNumber(checkVal: any): boolean{\r\n let returnVal = parseFloat(checkVal);\r\n\r\n return !isNaN(returnVal);\r\n}\r\n\r\n/**\r\n *\r\n * @returns {object} object representation of url params\r\n */\r\nexport default function getUrlParams() {\r\n \"use strict\";\r\n\r\n let match;\r\n let pl = /\\+/g; // Regex for replacing addition symbol with a space\r\n let search = /([^&=]+)=?([^&]*)/g;\r\n let decode = function (s) {\r\n return decodeURIComponent(s.replace(pl, \" \"));\r\n };\r\n let query = window.location.search.substring(1);\r\n\r\n let urlParams = {};\r\n while (match = search.exec(query)) {\r\n /**\r\n * @type {string}\r\n */\r\n let val = decode(match[2]).trim();\r\n\r\n let typedVal = null;\r\n if (val.length == 0){\r\n // pass\r\n }\r\n else if (isNumber(val)){\r\n if (val.indexOf('.') > -1){\r\n typedVal = parseFloat(val);\r\n } else {\r\n typedVal = parseInt(val);\r\n }\r\n }\r\n else if (val.toLowerCase() == 'false' || val.toLowerCase() == 'true'){\r\n typedVal = val.toLowerCase() == 'true';\r\n }\r\n else {\r\n typedVal = val;\r\n }\r\n urlParams[decode(match[1])] = typedVal;\r\n }\r\n\r\n return urlParams;\r\n}\r\n\r\nnm.getUrlParams = getUrlParams;\r\n\r\n\r\n"]} \ No newline at end of file +{"version":3,"file":"getUrlParams.js","sourceRoot":"","sources":["../../src/util/getUrlParams.ts"],"names":[],"mappings":";;AAAA;;GAEG;AACH,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAGzB,kBAAkB,QAAa;IAC3B,IAAI,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IAErC,MAAM,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAC7B,CAAC;AAED;;;GAGG;AACH;IACI,YAAY,CAAC;IAEb,IAAI,KAAK,CAAC;IACV,IAAI,EAAE,GAAG,KAAK,CAAC,CAAE,mDAAmD;IACpE,IAAI,MAAM,GAAG,oBAAoB,CAAC;IAClC,IAAI,MAAM,GAAG,UAAU,CAAS;QAC5B,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,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AC;AAvCD,+BAuCC;AAED,EAAE,CAAC,YAAY,GAAG,YAAY,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/23/2016.\r\n */\r\nimport provide from './provide';\r\nlet nm = provide('util');\r\n\r\n\r\nfunction isNumber(checkVal: any): boolean{\r\n let returnVal = parseFloat(checkVal);\r\n\r\n return !isNaN(returnVal);\r\n}\r\n\r\n/**\r\n *\r\n * @returns {object} object representation of url params\r\n */\r\nexport default function getUrlParams() {\r\n \"use strict\";\r\n\r\n let match;\r\n let pl = /\\+/g; // Regex for replacing addition symbol with a space\r\n let search = /([^&=]+)=?([^&]*)/g;\r\n let decode = function (s: string) {\r\n return decodeURIComponent(s.replace(pl, \" \"));\r\n };\r\n let query = window.location.search.substring(1);\r\n\r\n let urlParams = {};\r\n while (match = search.exec(query)) {\r\n /**\r\n * @type {string}\r\n */\r\n let val = decode(match[2]).trim();\r\n\r\n let typedVal = null;\r\n if (val.length == 0){\r\n // pass\r\n }\r\n else if (isNumber(val)){\r\n if (val.indexOf('.') > -1){\r\n typedVal = parseFloat(val);\r\n } else {\r\n typedVal = parseInt(val);\r\n }\r\n }\r\n else if (val.toLowerCase() == 'false' || val.toLowerCase() == 'true'){\r\n typedVal = val.toLowerCase() == 'true';\r\n }\r\n else {\r\n typedVal = val;\r\n }\r\n (<any>urlParams)[decode(match[1])] = typedVal;\r\n }\r\n\r\n return urlParams;\r\n}\r\n\r\nnm.getUrlParams = getUrlParams;\r\n\r\n\r\n"]} \ No newline at end of file diff --git a/dist/util/objectHelpers.d.ts b/dist/util/objectHelpers.d.ts index e522831540b5e9032987a15b4df5dc46fddee6c4..c47040637faf609283ed9e2b5c05712b3422b481 100644 --- a/dist/util/objectHelpers.d.ts +++ b/dist/util/objectHelpers.d.ts @@ -8,4 +8,6 @@ export interface keyVals { * @param {object} obj - the input object * @returns {Array<keyVals>} - array of key value pairs */ -export declare function keyValPairs(obj: any): Array<keyVals>; +export declare function keyValPairs(obj: { + [s: string]: any; +}): Array<keyVals>; diff --git a/dist/util/objectHelpers.js.map b/dist/util/objectHelpers.js.map index f8c58e4c9e08a91638df1174d50fc393b6ef46c6..5a82ecbda090297c5a8dd677b11b3dd5452b747a 100644 --- a/dist/util/objectHelpers.js.map +++ b/dist/util/objectHelpers.js.map @@ -1 +1 @@ -{"version":3,"file":"objectHelpers.js","sourceRoot":"","sources":["../../src/util/objectHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAWzB;;;;;GAKG;AACH,qBAA4B,GAAG;IAC3B,IAAI,QAAQ,GAAmB,EAAE,CAAC;IAClC,GAAG,CAAC,CAAY,UAAgB,EAAhB,KAAA,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAhB,cAAgB,EAAhB,IAAgB;QAA3B,IAAI,GAAG,SAAA;QACR,QAAQ,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;KAElD;IACD,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACxB,YAAY,CAAC;QAEb,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,QAAQ,CAAC;AACpB,CAAC;AAbD,kCAaC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/7/2016.\r\n */\r\n\r\nimport provide from './provide';\r\nlet nm = provide('util');\r\n\r\n\r\nexport interface keyVals {\r\n key: string;\r\n value: Object\r\n}\r\n\r\n\r\n\r\n\r\n/**\r\n * iterate over the key value pairs of an object\r\n * @example for (let x:KeyValuePair of keyValPairs(object)){..}\r\n * @param {object} obj - the input object\r\n * @returns {Array<keyVals>} - array of key value pairs\r\n */\r\nexport function keyValPairs(obj): Array<keyVals> {\r\n let outArray: Array<keyVals> = [];\r\n for (let key of Object.keys(obj)) {\r\n outArray.push({'key': key, 'value': obj[key]});\r\n\r\n }\r\n outArray.sort(function (a, b) {\r\n \"use strict\";\r\n\r\n return a > b ? 1 : -1;\r\n });\r\n\r\n return outArray;\r\n}\r\n\r\nnm.keyValPairs = keyValPairs;\r\n"]} \ No newline at end of file +{"version":3,"file":"objectHelpers.js","sourceRoot":"","sources":["../../src/util/objectHelpers.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAEH,qCAAgC;AAChC,IAAI,EAAE,GAAG,iBAAO,CAAC,MAAM,CAAC,CAAC;AAWzB;;;;;GAKG;AACH,qBAA4B,GAAuB;IAC/C,IAAI,QAAQ,GAAmB,EAAE,CAAC;IAClC,GAAG,CAAC,CAAY,UAAgB,EAAhB,KAAA,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAhB,cAAgB,EAAhB,IAAgB;QAA3B,IAAI,GAAG,SAAA;QACR,QAAQ,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,GAAG,CAAC,EAAC,CAAC,CAAC;KAElD;IACD,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;QACxB,YAAY,CAAC;QAEb,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,QAAQ,CAAC;AACpB,CAAC;AAbD,kCAaC;AAED,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 6/7/2016.\r\n */\r\n\r\nimport provide from './provide';\r\nlet nm = provide('util');\r\n\r\n\r\nexport interface keyVals {\r\n key: string;\r\n value: Object\r\n}\r\n\r\n\r\n\r\n\r\n/**\r\n * iterate over the key value pairs of an object\r\n * @example for (let x:KeyValuePair of keyValPairs(object)){..}\r\n * @param {object} obj - the input object\r\n * @returns {Array<keyVals>} - array of key value pairs\r\n */\r\nexport function keyValPairs(obj: {[s: string]: any}): Array<keyVals> {\r\n let outArray: Array<keyVals> = [];\r\n for (let key of Object.keys(obj)) {\r\n outArray.push({'key': key, 'value': obj[key]});\r\n\r\n }\r\n outArray.sort(function (a, b) {\r\n \"use strict\";\r\n\r\n return a > b ? 1 : -1;\r\n });\r\n\r\n return outArray;\r\n}\r\n\r\nnm.keyValPairs = keyValPairs;\r\n"]} \ No newline at end of file diff --git a/dist/util/provide.d.ts b/dist/util/provide.d.ts index d38ea8bd7e85a40c2e857d7eaaf665086bfaf5df..eea7f93767a87e22edb969d4ec97a3f99eb91a35 100644 --- a/dist/util/provide.d.ts +++ b/dist/util/provide.d.ts @@ -1,10 +1,7 @@ -/** - * Created by gavorhes on 12/10/2015. - */ /** * create a namespace on the gv object * @param {string} namespace to create * @returns {object} object representing the namespace */ -declare function provide(namespace: any): any; +declare function provide(namespace: string): any; export default provide; diff --git a/dist/util/provide.js b/dist/util/provide.js index 9d5827e06dc93714f5b96bb1f6ca38c6d8d11a7f..51256d50f5debeefc9bc2a30e1199a81c1bd5ad6 100644 --- a/dist/util/provide.js +++ b/dist/util/provide.js @@ -10,11 +10,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); */ function provide(namespace) { "use strict"; - if (typeof window['gv'] == 'undefined') { - window['gv'] = {}; + if (typeof window.gv == 'undefined') { + window.gv = {}; } var parts = namespace.split('.'); - var nameSpace = window['gv']; + var nameSpace = window.gv; for (var i = 0; i < parts.length; i++) { var newObject = nameSpace[parts[i]]; if (typeof newObject == 'undefined') { @@ -25,6 +25,6 @@ function provide(namespace) { return nameSpace; } provide('util'); -window['gv'].util.provide = provide; +window.gv.util.provide = provide; exports.default = provide; //# sourceMappingURL=provide.js.map \ No newline at end of file diff --git a/dist/util/provide.js.map b/dist/util/provide.js.map index 2b3ac02abfcd3e85c17c58d1cda2f3e24f5c45ab..fc75f0d7a23f4921b2713e2b295b25ed34db3d84 100644 --- a/dist/util/provide.js.map +++ b/dist/util/provide.js.map @@ -1 +1 @@ -{"version":3,"file":"provide.js","sourceRoot":"","sources":["../../src/util/provide.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAGH;;;;GAIG;AACH,iBAAiB,SAAS;IACtB,YAAY,CAAC;IACb,EAAE,CAAC,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,CAAA,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IACtB,CAAC;IAED,IAAI,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAE7B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAC,CAAC,EAAE,CAAC,GAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAC,CAAC;QAChC,IAAI,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAEpC,EAAE,CAAC,CAAC,OAAO,SAAS,IAAI,WAAW,CAAC,CAAA,CAAC;YACjC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;QAC7B,CAAC;QAED,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC;AACrB,CAAC;AAED,OAAO,CAAC,MAAM,CAAC,CAAC;AAChB,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AAEpC,kBAAe,OAAO,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/10/2015.\r\n */\r\n\r\n\r\n/**\r\n * create a namespace on the gv object\r\n * @param {string} namespace to create\r\n * @returns {object} object representing the namespace\r\n */\r\nfunction provide(namespace){\r\n \"use strict\";\r\n if (typeof window['gv'] == 'undefined'){\r\n window['gv'] = {};\r\n }\r\n\r\n let parts = namespace.split('.');\r\n let nameSpace = window['gv'];\r\n\r\n for (let i=0; i< parts.length; i++){\r\n let newObject = nameSpace[parts[i]];\r\n\r\n if (typeof newObject == 'undefined'){\r\n nameSpace[parts[i]] = {};\r\n }\r\n\r\n nameSpace = nameSpace[parts[i]];\r\n }\r\n\r\n return nameSpace;\r\n}\r\n\r\nprovide('util');\r\nwindow['gv'].util.provide = provide;\r\n\r\nexport default provide;\r\n"]} \ No newline at end of file +{"version":3,"file":"provide.js","sourceRoot":"","sources":["../../src/util/provide.ts"],"names":[],"mappings":"AAAA;;GAEG;;;AAGH;;;;GAIG;AACH,iBAAiB,SAAiB;IAC9B,YAAY,CAAC;IACb,EAAE,CAAC,CAAC,OAAa,MAAO,CAAC,EAAE,IAAI,WAAW,CAAC,CAAA,CAAC;QAClC,MAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IAC1B,CAAC;IAED,IAAI,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,SAAS,GAAS,MAAO,CAAC,EAAE,CAAC;IAEjC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAC,CAAC,EAAE,CAAC,GAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAC,CAAC;QAChC,IAAI,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAEpC,EAAE,CAAC,CAAC,OAAO,SAAS,IAAI,WAAW,CAAC,CAAA,CAAC;YACjC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;QAC7B,CAAC;QAED,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC;AACrB,CAAC;AAED,OAAO,CAAC,MAAM,CAAC,CAAC;AACV,MAAO,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;AAExC,kBAAe,OAAO,CAAC","sourcesContent":["/**\r\n * Created by gavorhes on 12/10/2015.\r\n */\r\n\r\ndeclare const window: Window;\r\n/**\r\n * create a namespace on the gv object\r\n * @param {string} namespace to create\r\n * @returns {object} object representing the namespace\r\n */\r\nfunction provide(namespace: string){\r\n \"use strict\";\r\n if (typeof (<any>window).gv == 'undefined'){\r\n (<any>window).gv = {};\r\n }\r\n\r\n let parts = namespace.split('.');\r\n let nameSpace = (<any>window).gv;\r\n\r\n for (let i=0; i< parts.length; i++){\r\n let newObject = nameSpace[parts[i]];\r\n\r\n if (typeof newObject == 'undefined'){\r\n nameSpace[parts[i]] = {};\r\n }\r\n\r\n nameSpace = nameSpace[parts[i]];\r\n }\r\n\r\n return nameSpace;\r\n}\r\n\r\nprovide('util');\r\n(<any>window).gv.util.provide = provide;\r\n\r\nexport default provide;\r\n"]} \ No newline at end of file diff --git a/doc/assets/js/search.js b/doc/assets/js/search.js index d2551c8524106581ee482583209c8fd41763dfe2..c414d2c9ddd3eb155cfa9faaa21f6e8eba1e7112 100644 --- a/doc/assets/js/search.js +++ b/doc/assets/js/search.js @@ -1 +1 @@ -var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":64,"name":"provide","url":"globals.html#provide","classes":"tsd-kind-function"},{"id":1,"kind":32,"name":"nm","url":"globals.html#nm","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":2,"kind":64,"name":"undefinedOrNull","url":"globals.html#undefinedornull","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"definedAndNotNull","url":"globals.html#definedandnotnull","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"_hex","url":"globals.html#_hex","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":5,"kind":64,"name":"rgb2hex","url":"globals.html#rgb2hex","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"hexAlphaToRgbOrRgba","url":"globals.html#hexalphatorgborrgba","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"rgbToRgba","url":"globals.html#rgbtorgba","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"makeBlueGreenRedGradient","url":"globals.html#makebluegreenredgradient","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"makeBlueGreenRedGradientZScore","url":"globals.html#makebluegreenredgradientzscore","classes":"tsd-kind-function"},{"id":10,"kind":32,"name":"_zoomResLookup","url":"globals.html#_zoomreslookup","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":11,"kind":64,"name":"zoomToResolution","url":"globals.html#zoomtoresolution","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"resolutionToZoom","url":"globals.html#resolutiontozoom","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"makeGuid","url":"globals.html#makeguid","classes":"tsd-kind-function"},{"id":14,"kind":256,"name":"LayerBaseOptions","url":"interfaces/layerbaseoptions.html","classes":"tsd-kind-interface"},{"id":15,"kind":1024,"name":"id","url":"interfaces/layerbaseoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":16,"kind":1024,"name":"name","url":"interfaces/layerbaseoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":17,"kind":1024,"name":"opacity","url":"interfaces/layerbaseoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":18,"kind":1024,"name":"visible","url":"interfaces/layerbaseoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":19,"kind":1024,"name":"minZoom","url":"interfaces/layerbaseoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":20,"kind":1024,"name":"maxZoom","url":"interfaces/layerbaseoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":21,"kind":1024,"name":"params","url":"interfaces/layerbaseoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":22,"kind":1024,"name":"zIndex","url":"interfaces/layerbaseoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":23,"kind":1024,"name":"loadCallback","url":"interfaces/layerbaseoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":24,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbaseoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":25,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbaseoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":26,"kind":1024,"name":"legendContent","url":"interfaces/layerbaseoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":27,"kind":128,"name":"LayerBase","url":"classes/layerbase.html","classes":"tsd-kind-class"},{"id":28,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbase.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":29,"kind":1024,"name":"_url","url":"classes/layerbase.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":30,"kind":1024,"name":"_opacity","url":"classes/layerbase.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":31,"kind":1024,"name":"_minZoom","url":"classes/layerbase.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":32,"kind":1024,"name":"_maxZoom","url":"classes/layerbase.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":33,"kind":1024,"name":"_visible","url":"classes/layerbase.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":34,"kind":1024,"name":"_loaded","url":"classes/layerbase.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":35,"kind":1024,"name":"_zIndex","url":"classes/layerbase.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":36,"kind":1024,"name":"_legendContent","url":"classes/layerbase.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":37,"kind":1024,"name":"_params","url":"classes/layerbase.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":38,"kind":1024,"name":"_id","url":"classes/layerbase.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":39,"kind":1024,"name":"_name","url":"classes/layerbase.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":40,"kind":1024,"name":"_source","url":"classes/layerbase.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":41,"kind":1024,"name":"_animate","url":"classes/layerbase.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":42,"kind":1024,"name":"_legendCollapse","url":"classes/layerbase.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":43,"kind":1024,"name":"_maxResolution","url":"classes/layerbase.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":44,"kind":1024,"name":"_minResolution","url":"classes/layerbase.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":45,"kind":1024,"name":"_$legendDiv","url":"classes/layerbase.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":46,"kind":1024,"name":"loadCallback","url":"classes/layerbase.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBase"},{"id":47,"kind":1024,"name":"_olLayer","url":"classes/layerbase.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":48,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbase.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":49,"kind":512,"name":"constructor","url":"classes/layerbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerBase"},{"id":50,"kind":2048,"name":"_load","url":"classes/layerbase.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":51,"kind":2048,"name":"getLegendDiv","url":"classes/layerbase.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":52,"kind":2048,"name":"_addLegendContent","url":"classes/layerbase.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerBase"},{"id":53,"kind":2048,"name":"addLegendContent","url":"classes/layerbase.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":54,"kind":2048,"name":"applyCollapse","url":"classes/layerbase.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":55,"kind":2048,"name":"refresh","url":"classes/layerbase.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":56,"kind":262144,"name":"id","url":"classes/layerbase.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":57,"kind":262144,"name":"animate","url":"classes/layerbase.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":58,"kind":262144,"name":"legendContent","url":"classes/layerbase.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":59,"kind":262144,"name":"params","url":"classes/layerbase.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":60,"kind":262144,"name":"minResolution","url":"classes/layerbase.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":61,"kind":262144,"name":"maxResolution","url":"classes/layerbase.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":62,"kind":262144,"name":"minZoom","url":"classes/layerbase.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":63,"kind":262144,"name":"maxZoom","url":"classes/layerbase.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":64,"kind":262144,"name":"url","url":"classes/layerbase.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":65,"kind":262144,"name":"visible","url":"classes/layerbase.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":66,"kind":2048,"name":"setVisible","url":"classes/layerbase.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":67,"kind":262144,"name":"opacity","url":"classes/layerbase.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":68,"kind":262144,"name":"name","url":"classes/layerbase.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":69,"kind":262144,"name":"loaded","url":"classes/layerbase.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":70,"kind":262144,"name":"source","url":"classes/layerbase.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":71,"kind":2048,"name":"getSource","url":"classes/layerbase.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":72,"kind":262144,"name":"zIndex","url":"classes/layerbase.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":73,"kind":2048,"name":"setZIndex","url":"classes/layerbase.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":74,"kind":262144,"name":"olLayer","url":"classes/layerbase.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":75,"kind":2048,"name":"getOlLayer","url":"classes/layerbase.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":76,"kind":128,"name":"MapInteractionBase","url":"classes/mapinteractionbase.html","classes":"tsd-kind-class"},{"id":77,"kind":1024,"name":"_map","url":"classes/mapinteractionbase.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":78,"kind":1024,"name":"_initialized","url":"classes/mapinteractionbase.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":79,"kind":1024,"name":"_subtype","url":"classes/mapinteractionbase.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":80,"kind":512,"name":"constructor","url":"classes/mapinteractionbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":81,"kind":2048,"name":"init","url":"classes/mapinteractionbase.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":82,"kind":262144,"name":"map","url":"classes/mapinteractionbase.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":83,"kind":262144,"name":"initialized","url":"classes/mapinteractionbase.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":84,"kind":2048,"name":"_checkInit","url":"classes/mapinteractionbase.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"MapInteractionBase"},{"id":85,"kind":2048,"name":"checkInit","url":"classes/mapinteractionbase.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":86,"kind":256,"name":"extentObject","url":"interfaces/extentobject.html","classes":"tsd-kind-interface"},{"id":87,"kind":1024,"name":"minX","url":"interfaces/extentobject.html#minx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":88,"kind":1024,"name":"minY","url":"interfaces/extentobject.html#miny","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":89,"kind":1024,"name":"maxX","url":"interfaces/extentobject.html#maxx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":90,"kind":1024,"name":"maxY","url":"interfaces/extentobject.html#maxy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":91,"kind":256,"name":"mapMoveCallbackFunction","url":"interfaces/mapmovecallbackfunction.html","classes":"tsd-kind-interface"},{"id":92,"kind":128,"name":"MapMoveCls","url":"classes/mapmovecls.html","classes":"tsd-kind-class"},{"id":93,"kind":1024,"name":"_mapExtent","url":"classes/mapmovecls.html#_mapextent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":94,"kind":1024,"name":"_zoomLevel","url":"classes/mapmovecls.html#_zoomlevel","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":95,"kind":1024,"name":"_lookupLayer","url":"classes/mapmovecls.html#_lookuplayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":96,"kind":1024,"name":"_arrLayer","url":"classes/mapmovecls.html#_arrlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":97,"kind":1024,"name":"_arrLyrTimeout","url":"classes/mapmovecls.html#_arrlyrtimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":98,"kind":1024,"name":"_mapMoveCallbackTimeout","url":"classes/mapmovecls.html#_mapmovecallbacktimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":99,"kind":1024,"name":"_mapMoveCallbackDelays","url":"classes/mapmovecls.html#_mapmovecallbackdelays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":100,"kind":1024,"name":"_mapMoveCallbacksLookup","url":"classes/mapmovecls.html#_mapmovecallbackslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":101,"kind":1024,"name":"_mapMoveCallbackContext","url":"classes/mapmovecls.html#_mapmovecallbackcontext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":102,"kind":1024,"name":"_mapMoveCallbacks","url":"classes/mapmovecls.html#_mapmovecallbacks","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":103,"kind":1024,"name":"_arrLyrRequest","url":"classes/mapmovecls.html#_arrlyrrequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":104,"kind":512,"name":"constructor","url":"classes/mapmovecls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":105,"kind":2048,"name":"init","url":"classes/mapmovecls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":106,"kind":2048,"name":"_updateMapExtent","url":"classes/mapmovecls.html#_updatemapextent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":107,"kind":262144,"name":"mapExtent","url":"classes/mapmovecls.html#mapextent","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapMoveCls"},{"id":108,"kind":2048,"name":"triggerLyrLoad","url":"classes/mapmovecls.html#triggerlyrload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":109,"kind":2048,"name":"triggerMoveCallback","url":"classes/mapmovecls.html#triggermovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":110,"kind":2048,"name":"addVectorLayer","url":"classes/mapmovecls.html#addvectorlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":111,"kind":2048,"name":"addCallback","url":"classes/mapmovecls.html#addcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":112,"kind":1024,"name":"_map","url":"classes/mapmovecls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":113,"kind":1024,"name":"_initialized","url":"classes/mapmovecls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":114,"kind":1024,"name":"_subtype","url":"classes/mapmovecls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":115,"kind":262144,"name":"map","url":"classes/mapmovecls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":116,"kind":262144,"name":"initialized","url":"classes/mapmovecls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":117,"kind":2048,"name":"_checkInit","url":"classes/mapmovecls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapMoveCls"},{"id":118,"kind":2048,"name":"checkInit","url":"classes/mapmovecls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":119,"kind":32,"name":"mapMove","url":"globals.html#mapmove","classes":"tsd-kind-variable"},{"id":120,"kind":256,"name":"makeMapMoveParams","url":"interfaces/makemapmoveparams.html","classes":"tsd-kind-interface"},{"id":121,"kind":256,"name":"LayerBaseVectorOptions","url":"interfaces/layerbasevectoroptions.html","classes":"tsd-kind-interface"},{"id":122,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoroptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":123,"kind":1024,"name":"style","url":"interfaces/layerbasevectoroptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":124,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoroptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":125,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoroptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":126,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoroptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":127,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoroptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":128,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoroptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":129,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoroptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorOptions.renderOrder"},{"id":130,"kind":1024,"name":"id","url":"interfaces/layerbasevectoroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":131,"kind":1024,"name":"name","url":"interfaces/layerbasevectoroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":132,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":133,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":134,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":135,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":136,"kind":1024,"name":"params","url":"interfaces/layerbasevectoroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":137,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":138,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":139,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":140,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":141,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":142,"kind":128,"name":"LayerBaseVector","url":"classes/layerbasevector.html","classes":"tsd-kind-class"},{"id":143,"kind":1024,"name":"_olLayer","url":"classes/layerbasevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":144,"kind":1024,"name":"_source","url":"classes/layerbasevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":145,"kind":1024,"name":"_style","url":"classes/layerbasevector.html#_style","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":146,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevector.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":147,"kind":1024,"name":"_onDemand","url":"classes/layerbasevector.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":148,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevector.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":149,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevector.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":150,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevector.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":151,"kind":1024,"name":"_mapMove","url":"classes/layerbasevector.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":152,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevector.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":153,"kind":1024,"name":"_projection4326","url":"classes/layerbasevector.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":154,"kind":512,"name":"constructor","url":"classes/layerbasevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":155,"kind":2048,"name":"addFeatures","url":"classes/layerbasevector.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":156,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevector.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":157,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevector.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":158,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevector.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":159,"kind":2048,"name":"clear","url":"classes/layerbasevector.html#clear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":160,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevector.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":161,"kind":262144,"name":"autoLoad","url":"classes/layerbasevector.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":162,"kind":262144,"name":"style","url":"classes/layerbasevector.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":163,"kind":262144,"name":"mapCrs","url":"classes/layerbasevector.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":164,"kind":262144,"name":"mapProj","url":"classes/layerbasevector.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":165,"kind":262144,"name":"mapMove","url":"classes/layerbasevector.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":166,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevector.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":167,"kind":262144,"name":"visible","url":"classes/layerbasevector.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":168,"kind":262144,"name":"source","url":"classes/layerbasevector.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":169,"kind":262144,"name":"features","url":"classes/layerbasevector.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":170,"kind":262144,"name":"olLayer","url":"classes/layerbasevector.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":171,"kind":2048,"name":"setZIndex","url":"classes/layerbasevector.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVector"},{"id":172,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevector.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":173,"kind":1024,"name":"_url","url":"classes/layerbasevector.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":174,"kind":1024,"name":"_opacity","url":"classes/layerbasevector.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":175,"kind":1024,"name":"_minZoom","url":"classes/layerbasevector.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":176,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevector.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":177,"kind":1024,"name":"_visible","url":"classes/layerbasevector.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":178,"kind":1024,"name":"_loaded","url":"classes/layerbasevector.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":179,"kind":1024,"name":"_zIndex","url":"classes/layerbasevector.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":180,"kind":1024,"name":"_legendContent","url":"classes/layerbasevector.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":181,"kind":1024,"name":"_params","url":"classes/layerbasevector.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":182,"kind":1024,"name":"_id","url":"classes/layerbasevector.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":183,"kind":1024,"name":"_name","url":"classes/layerbasevector.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":184,"kind":1024,"name":"_animate","url":"classes/layerbasevector.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":185,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevector.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":186,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevector.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":187,"kind":1024,"name":"_minResolution","url":"classes/layerbasevector.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":188,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevector.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":189,"kind":1024,"name":"loadCallback","url":"classes/layerbasevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":190,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevector.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":191,"kind":2048,"name":"_load","url":"classes/layerbasevector.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":192,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevector.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":193,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevector.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVector"},{"id":194,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevector.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":195,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevector.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":196,"kind":2048,"name":"refresh","url":"classes/layerbasevector.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":197,"kind":262144,"name":"id","url":"classes/layerbasevector.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":198,"kind":262144,"name":"animate","url":"classes/layerbasevector.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":199,"kind":262144,"name":"legendContent","url":"classes/layerbasevector.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":200,"kind":262144,"name":"params","url":"classes/layerbasevector.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":201,"kind":262144,"name":"minResolution","url":"classes/layerbasevector.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":202,"kind":262144,"name":"maxResolution","url":"classes/layerbasevector.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":203,"kind":262144,"name":"minZoom","url":"classes/layerbasevector.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":204,"kind":262144,"name":"maxZoom","url":"classes/layerbasevector.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":205,"kind":262144,"name":"url","url":"classes/layerbasevector.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":206,"kind":2048,"name":"setVisible","url":"classes/layerbasevector.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":207,"kind":262144,"name":"opacity","url":"classes/layerbasevector.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":208,"kind":262144,"name":"name","url":"classes/layerbasevector.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":209,"kind":262144,"name":"loaded","url":"classes/layerbasevector.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":210,"kind":2048,"name":"getSource","url":"classes/layerbasevector.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":211,"kind":262144,"name":"zIndex","url":"classes/layerbasevector.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":212,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevector.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":213,"kind":32,"name":"proj4326","url":"globals.html#proj4326","classes":"tsd-kind-variable"},{"id":214,"kind":32,"name":"proj3857","url":"globals.html#proj3857","classes":"tsd-kind-variable"},{"id":215,"kind":32,"name":"proj3070","url":"globals.html#proj3070","classes":"tsd-kind-variable"},{"id":216,"kind":256,"name":"crsTransform","url":"interfaces/crstransform.html","classes":"tsd-kind-interface"},{"id":217,"kind":1024,"name":"dataProjection","url":"interfaces/crstransform.html#dataprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":218,"kind":1024,"name":"featureProjection","url":"interfaces/crstransform.html#featureprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":219,"kind":256,"name":"LayerBaseVectorGeoJsonOptions","url":"interfaces/layerbasevectorgeojsonoptions.html","classes":"tsd-kind-interface"},{"id":220,"kind":1024,"name":"transform","url":"interfaces/layerbasevectorgeojsonoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorGeoJsonOptions"},{"id":221,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"LayerBaseVectorGeoJsonOptions"},{"id":222,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectorgeojsonoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":223,"kind":1024,"name":"style","url":"interfaces/layerbasevectorgeojsonoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":224,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":225,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":226,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":227,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":228,"kind":65536,"name":"__type","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorGeoJsonOptions.renderOrder"},{"id":229,"kind":1024,"name":"id","url":"interfaces/layerbasevectorgeojsonoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":230,"kind":1024,"name":"name","url":"interfaces/layerbasevectorgeojsonoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":231,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectorgeojsonoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":232,"kind":1024,"name":"visible","url":"interfaces/layerbasevectorgeojsonoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":233,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":234,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":235,"kind":1024,"name":"params","url":"interfaces/layerbasevectorgeojsonoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":236,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectorgeojsonoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":237,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectorgeojsonoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":238,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":239,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":240,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":241,"kind":128,"name":"LayerBaseVectorGeoJson","url":"classes/layerbasevectorgeojson.html","classes":"tsd-kind-class"},{"id":242,"kind":1024,"name":"_geoJsonFormat","url":"classes/layerbasevectorgeojson.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":243,"kind":1024,"name":"_transform","url":"classes/layerbasevectorgeojson.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":244,"kind":512,"name":"constructor","url":"classes/layerbasevectorgeojson.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":245,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectorgeojson.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":246,"kind":2048,"name":"_load","url":"classes/layerbasevectorgeojson.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":247,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectorgeojson.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":248,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectorgeojson.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":249,"kind":1024,"name":"_source","url":"classes/layerbasevectorgeojson.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":250,"kind":1024,"name":"_style","url":"classes/layerbasevectorgeojson.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":251,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectorgeojson.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":252,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectorgeojson.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":253,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectorgeojson.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":254,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":255,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectorgeojson.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":256,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectorgeojson.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":257,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectorgeojson.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":258,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectorgeojson.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":259,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectorgeojson.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":260,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":261,"kind":2048,"name":"clear","url":"classes/layerbasevectorgeojson.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":262,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectorgeojson.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":263,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectorgeojson.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":264,"kind":262144,"name":"style","url":"classes/layerbasevectorgeojson.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":265,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectorgeojson.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":266,"kind":262144,"name":"mapProj","url":"classes/layerbasevectorgeojson.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":267,"kind":262144,"name":"mapMove","url":"classes/layerbasevectorgeojson.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":268,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectorgeojson.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":269,"kind":262144,"name":"visible","url":"classes/layerbasevectorgeojson.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":270,"kind":262144,"name":"source","url":"classes/layerbasevectorgeojson.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":271,"kind":262144,"name":"features","url":"classes/layerbasevectorgeojson.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":272,"kind":262144,"name":"olLayer","url":"classes/layerbasevectorgeojson.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":273,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectorgeojson.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":274,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectorgeojson.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":275,"kind":1024,"name":"_url","url":"classes/layerbasevectorgeojson.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":276,"kind":1024,"name":"_opacity","url":"classes/layerbasevectorgeojson.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":277,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectorgeojson.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":278,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectorgeojson.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":279,"kind":1024,"name":"_visible","url":"classes/layerbasevectorgeojson.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":280,"kind":1024,"name":"_loaded","url":"classes/layerbasevectorgeojson.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":281,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectorgeojson.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":282,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectorgeojson.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":283,"kind":1024,"name":"_params","url":"classes/layerbasevectorgeojson.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":284,"kind":1024,"name":"_id","url":"classes/layerbasevectorgeojson.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":285,"kind":1024,"name":"_name","url":"classes/layerbasevectorgeojson.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":286,"kind":1024,"name":"_animate","url":"classes/layerbasevectorgeojson.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":287,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectorgeojson.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":288,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectorgeojson.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":289,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectorgeojson.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":290,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectorgeojson.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":291,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectorgeojson.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":292,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectorgeojson.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":293,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectorgeojson.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":294,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectorgeojson.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorGeoJson"},{"id":295,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectorgeojson.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":296,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectorgeojson.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":297,"kind":2048,"name":"refresh","url":"classes/layerbasevectorgeojson.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":298,"kind":262144,"name":"id","url":"classes/layerbasevectorgeojson.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":299,"kind":262144,"name":"animate","url":"classes/layerbasevectorgeojson.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":300,"kind":262144,"name":"legendContent","url":"classes/layerbasevectorgeojson.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":301,"kind":262144,"name":"params","url":"classes/layerbasevectorgeojson.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":302,"kind":262144,"name":"minResolution","url":"classes/layerbasevectorgeojson.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":303,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectorgeojson.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":304,"kind":262144,"name":"minZoom","url":"classes/layerbasevectorgeojson.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":305,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectorgeojson.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":306,"kind":262144,"name":"url","url":"classes/layerbasevectorgeojson.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":307,"kind":2048,"name":"setVisible","url":"classes/layerbasevectorgeojson.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":308,"kind":262144,"name":"opacity","url":"classes/layerbasevectorgeojson.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":309,"kind":262144,"name":"name","url":"classes/layerbasevectorgeojson.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":310,"kind":262144,"name":"loaded","url":"classes/layerbasevectorgeojson.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":311,"kind":2048,"name":"getSource","url":"classes/layerbasevectorgeojson.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":312,"kind":262144,"name":"zIndex","url":"classes/layerbasevectorgeojson.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":313,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectorgeojson.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":314,"kind":64,"name":"propertiesZoomStyle","url":"globals.html#propertieszoomstyle","classes":"tsd-kind-function"},{"id":315,"kind":256,"name":"EsriResponse","url":"interfaces/esriresponse.html","classes":"tsd-kind-interface"},{"id":316,"kind":1024,"name":"drawingInfo","url":"interfaces/esriresponse.html#drawinginfo","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriResponse"},{"id":317,"kind":65536,"name":"__type","url":"interfaces/esriresponse.html#drawinginfo.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"EsriResponse.drawingInfo"},{"id":318,"kind":32,"name":"renderer","url":"interfaces/esriresponse.html#drawinginfo.__type.renderer","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriResponse.drawingInfo.__type"},{"id":319,"kind":1024,"name":"geometryType","url":"interfaces/esriresponse.html#geometrytype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriResponse"},{"id":320,"kind":256,"name":"EsriRenderer","url":"interfaces/esrirenderer.html","classes":"tsd-kind-interface"},{"id":321,"kind":1024,"name":"type","url":"interfaces/esrirenderer.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":322,"kind":1024,"name":"symbol","url":"interfaces/esrirenderer.html#symbol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":323,"kind":1024,"name":"uniqueValueInfos","url":"interfaces/esrirenderer.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":324,"kind":256,"name":"EsriSymbol","url":"interfaces/esrisymbol.html","classes":"tsd-kind-interface"},{"id":325,"kind":1024,"name":"size","url":"interfaces/esrisymbol.html#size","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":326,"kind":1024,"name":"type","url":"interfaces/esrisymbol.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":327,"kind":1024,"name":"outline","url":"interfaces/esrisymbol.html#outline","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":328,"kind":65536,"name":"__type","url":"interfaces/esrisymbol.html#outline.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"EsriSymbol.outline"},{"id":329,"kind":32,"name":"color","url":"interfaces/esrisymbol.html#outline.__type.color-1","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriSymbol.outline.__type"},{"id":330,"kind":32,"name":"width","url":"interfaces/esrisymbol.html#outline.__type.width","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriSymbol.outline.__type"},{"id":331,"kind":1024,"name":"color","url":"interfaces/esrisymbol.html#color","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":332,"kind":1024,"name":"width","url":"interfaces/esrisymbol.html#width-1","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":333,"kind":128,"name":"CommonSymbol","url":"classes/commonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":334,"kind":1024,"name":"legendHtml","url":"classes/commonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":335,"kind":1024,"name":"opacity","url":"classes/commonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":336,"kind":1024,"name":"symbolObj","url":"classes/commonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":337,"kind":1024,"name":"olStyle","url":"classes/commonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":338,"kind":512,"name":"constructor","url":"classes/commonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":339,"kind":256,"name":"ICommonSymbol","url":"interfaces/icommonsymbol.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":340,"kind":512,"name":"constructor","url":"interfaces/icommonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-interface tsd-is-not-exported","parent":"ICommonSymbol"},{"id":341,"kind":128,"name":"PointSymbol","url":"classes/pointsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":342,"kind":512,"name":"constructor","url":"classes/pointsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PointSymbol"},{"id":343,"kind":1024,"name":"legendHtml","url":"classes/pointsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":344,"kind":1024,"name":"opacity","url":"classes/pointsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":345,"kind":1024,"name":"symbolObj","url":"classes/pointsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":346,"kind":1024,"name":"olStyle","url":"classes/pointsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":347,"kind":128,"name":"LineSymbol","url":"classes/linesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":348,"kind":512,"name":"constructor","url":"classes/linesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"LineSymbol"},{"id":349,"kind":1024,"name":"legendHtml","url":"classes/linesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":350,"kind":1024,"name":"opacity","url":"classes/linesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":351,"kind":1024,"name":"symbolObj","url":"classes/linesymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":352,"kind":1024,"name":"olStyle","url":"classes/linesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":353,"kind":128,"name":"PolygonSymbol","url":"classes/polygonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":354,"kind":512,"name":"constructor","url":"classes/polygonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PolygonSymbol"},{"id":355,"kind":1024,"name":"legendHtml","url":"classes/polygonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":356,"kind":1024,"name":"opacity","url":"classes/polygonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":357,"kind":1024,"name":"symbolObj","url":"classes/polygonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":358,"kind":1024,"name":"olStyle","url":"classes/polygonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":359,"kind":128,"name":"SymbolGenerator","url":"classes/symbolgenerator.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":360,"kind":1024,"name":"opacity","url":"classes/symbolgenerator.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":361,"kind":1024,"name":"renderer","url":"classes/symbolgenerator.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":362,"kind":1024,"name":"legendHtml","url":"classes/symbolgenerator.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":363,"kind":1024,"name":"olStyle","url":"classes/symbolgenerator.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":364,"kind":512,"name":"constructor","url":"classes/symbolgenerator.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":365,"kind":128,"name":"SingleSymbol","url":"classes/singlesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":366,"kind":1024,"name":"symbol","url":"classes/singlesymbol.html#symbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SingleSymbol"},{"id":367,"kind":512,"name":"constructor","url":"classes/singlesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"SingleSymbol"},{"id":368,"kind":1024,"name":"opacity","url":"classes/singlesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":369,"kind":1024,"name":"renderer","url":"classes/singlesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":370,"kind":1024,"name":"legendHtml","url":"classes/singlesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":371,"kind":1024,"name":"olStyle","url":"classes/singlesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":372,"kind":128,"name":"UniqueValueSymbol","url":"classes/uniquevaluesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":373,"kind":1024,"name":"propertyName","url":"classes/uniquevaluesymbol.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":374,"kind":1024,"name":"defaultSymbol","url":"classes/uniquevaluesymbol.html#defaultsymbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":375,"kind":1024,"name":"defaultStyle","url":"classes/uniquevaluesymbol.html#defaultstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":376,"kind":1024,"name":"defaultLabelHtml","url":"classes/uniquevaluesymbol.html#defaultlabelhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":377,"kind":1024,"name":"labelArray","url":"classes/uniquevaluesymbol.html#labelarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":378,"kind":1024,"name":"legendArray","url":"classes/uniquevaluesymbol.html#legendarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":379,"kind":1024,"name":"propertyStyleLookup","url":"classes/uniquevaluesymbol.html#propertystylelookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":380,"kind":1024,"name":"valueArray","url":"classes/uniquevaluesymbol.html#valuearray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":381,"kind":1024,"name":"uniqueValueInfos","url":"classes/uniquevaluesymbol.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":382,"kind":512,"name":"constructor","url":"classes/uniquevaluesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":383,"kind":1024,"name":"opacity","url":"classes/uniquevaluesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":384,"kind":1024,"name":"renderer","url":"classes/uniquevaluesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":385,"kind":1024,"name":"legendHtml","url":"classes/uniquevaluesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":386,"kind":1024,"name":"olStyle","url":"classes/uniquevaluesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":387,"kind":64,"name":"_colorArrayToRgba","url":"globals.html#_colorarraytorgba","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":388,"kind":64,"name":"htmlEscape","url":"globals.html#htmlescape","classes":"tsd-kind-function tsd-is-not-exported"},{"id":389,"kind":64,"name":"makeFeatureServiceLegendAndSymbol","url":"globals.html#makefeatureservicelegendandsymbol","classes":"tsd-kind-function"},{"id":390,"kind":64,"name":"mapServiceLegendItem","url":"globals.html#mapservicelegenditem","classes":"tsd-kind-function tsd-is-not-exported"},{"id":391,"kind":64,"name":"makeMapServiceLegend","url":"globals.html#makemapservicelegend","classes":"tsd-kind-function"},{"id":392,"kind":256,"name":"LayerEsriMapServerOptions","url":"interfaces/layeresrimapserveroptions.html","classes":"tsd-kind-interface"},{"id":393,"kind":1024,"name":"addPopup","url":"interfaces/layeresrimapserveroptions.html#addpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":394,"kind":1024,"name":"showLayers","url":"interfaces/layeresrimapserveroptions.html#showlayers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":395,"kind":1024,"name":"id","url":"interfaces/layeresrimapserveroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":396,"kind":1024,"name":"name","url":"interfaces/layeresrimapserveroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":397,"kind":1024,"name":"opacity","url":"interfaces/layeresrimapserveroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":398,"kind":1024,"name":"visible","url":"interfaces/layeresrimapserveroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":399,"kind":1024,"name":"minZoom","url":"interfaces/layeresrimapserveroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":400,"kind":1024,"name":"maxZoom","url":"interfaces/layeresrimapserveroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":401,"kind":1024,"name":"params","url":"interfaces/layeresrimapserveroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":402,"kind":1024,"name":"zIndex","url":"interfaces/layeresrimapserveroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":403,"kind":1024,"name":"loadCallback","url":"interfaces/layeresrimapserveroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":404,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresrimapserveroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":405,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresrimapserveroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":406,"kind":1024,"name":"legendContent","url":"interfaces/layeresrimapserveroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":407,"kind":128,"name":"LayerEsriMapServer","url":"classes/layeresrimapserver.html","classes":"tsd-kind-class"},{"id":408,"kind":1024,"name":"_esriFormat","url":"classes/layeresrimapserver.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":409,"kind":1024,"name":"_popupRequest","url":"classes/layeresrimapserver.html#_popuprequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":410,"kind":512,"name":"constructor","url":"classes/layeresrimapserver.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":411,"kind":2048,"name":"addLegendContent","url":"classes/layeresrimapserver.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":412,"kind":2048,"name":"getPopupInfo","url":"classes/layeresrimapserver.html#getpopupinfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":413,"kind":262144,"name":"source","url":"classes/layeresrimapserver.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":414,"kind":262144,"name":"olLayer","url":"classes/layeresrimapserver.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":415,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresrimapserver.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":416,"kind":1024,"name":"_url","url":"classes/layeresrimapserver.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":417,"kind":1024,"name":"_opacity","url":"classes/layeresrimapserver.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":418,"kind":1024,"name":"_minZoom","url":"classes/layeresrimapserver.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":419,"kind":1024,"name":"_maxZoom","url":"classes/layeresrimapserver.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":420,"kind":1024,"name":"_visible","url":"classes/layeresrimapserver.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":421,"kind":1024,"name":"_loaded","url":"classes/layeresrimapserver.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":422,"kind":1024,"name":"_zIndex","url":"classes/layeresrimapserver.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":423,"kind":1024,"name":"_legendContent","url":"classes/layeresrimapserver.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":424,"kind":1024,"name":"_params","url":"classes/layeresrimapserver.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":425,"kind":1024,"name":"_id","url":"classes/layeresrimapserver.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":426,"kind":1024,"name":"_name","url":"classes/layeresrimapserver.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":427,"kind":1024,"name":"_source","url":"classes/layeresrimapserver.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":428,"kind":1024,"name":"_animate","url":"classes/layeresrimapserver.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":429,"kind":1024,"name":"_legendCollapse","url":"classes/layeresrimapserver.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":430,"kind":1024,"name":"_maxResolution","url":"classes/layeresrimapserver.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":431,"kind":1024,"name":"_minResolution","url":"classes/layeresrimapserver.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":432,"kind":1024,"name":"_$legendDiv","url":"classes/layeresrimapserver.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":433,"kind":1024,"name":"loadCallback","url":"classes/layeresrimapserver.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":434,"kind":1024,"name":"_olLayer","url":"classes/layeresrimapserver.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":435,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresrimapserver.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":436,"kind":2048,"name":"_load","url":"classes/layeresrimapserver.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":437,"kind":2048,"name":"getLegendDiv","url":"classes/layeresrimapserver.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":438,"kind":2048,"name":"_addLegendContent","url":"classes/layeresrimapserver.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriMapServer"},{"id":439,"kind":2048,"name":"applyCollapse","url":"classes/layeresrimapserver.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":440,"kind":2048,"name":"refresh","url":"classes/layeresrimapserver.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":441,"kind":262144,"name":"id","url":"classes/layeresrimapserver.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":442,"kind":262144,"name":"animate","url":"classes/layeresrimapserver.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":443,"kind":262144,"name":"legendContent","url":"classes/layeresrimapserver.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":444,"kind":262144,"name":"params","url":"classes/layeresrimapserver.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":445,"kind":262144,"name":"minResolution","url":"classes/layeresrimapserver.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":446,"kind":262144,"name":"maxResolution","url":"classes/layeresrimapserver.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":447,"kind":262144,"name":"minZoom","url":"classes/layeresrimapserver.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":448,"kind":262144,"name":"maxZoom","url":"classes/layeresrimapserver.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":449,"kind":262144,"name":"url","url":"classes/layeresrimapserver.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":450,"kind":262144,"name":"visible","url":"classes/layeresrimapserver.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":451,"kind":2048,"name":"setVisible","url":"classes/layeresrimapserver.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":452,"kind":262144,"name":"opacity","url":"classes/layeresrimapserver.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":453,"kind":262144,"name":"name","url":"classes/layeresrimapserver.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":454,"kind":262144,"name":"loaded","url":"classes/layeresrimapserver.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":455,"kind":2048,"name":"getSource","url":"classes/layeresrimapserver.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":456,"kind":262144,"name":"zIndex","url":"classes/layeresrimapserver.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":457,"kind":2048,"name":"setZIndex","url":"classes/layeresrimapserver.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":458,"kind":2048,"name":"getOlLayer","url":"classes/layeresrimapserver.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":459,"kind":256,"name":"popupChangedFunction","url":"interfaces/popupchangedfunction.html","classes":"tsd-kind-interface"},{"id":460,"kind":256,"name":"popupCallback","url":"interfaces/popupcallback.html","classes":"tsd-kind-interface"},{"id":461,"kind":256,"name":"mapEvent","url":"interfaces/mapevent.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":462,"kind":1024,"name":"coordinate","url":"interfaces/mapevent.html#coordinate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":463,"kind":1024,"name":"pixel","url":"interfaces/mapevent.html#pixel","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":464,"kind":1024,"name":"dragging","url":"interfaces/mapevent.html#dragging","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":465,"kind":1024,"name":"originalEvent","url":"interfaces/mapevent.html#originalevent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":466,"kind":128,"name":"FeatureLayerProperties","url":"classes/featurelayerproperties.html","classes":"tsd-kind-class"},{"id":467,"kind":1024,"name":"feature","url":"classes/featurelayerproperties.html#feature","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":468,"kind":1024,"name":"layer","url":"classes/featurelayerproperties.html#layer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":469,"kind":1024,"name":"layerIndex","url":"classes/featurelayerproperties.html#layerindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":470,"kind":1024,"name":"selectionLayer","url":"classes/featurelayerproperties.html#selectionlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":471,"kind":1024,"name":"popupContent","url":"classes/featurelayerproperties.html#popupcontent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":472,"kind":1024,"name":"esriLayerName","url":"classes/featurelayerproperties.html#esrilayername","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":473,"kind":512,"name":"constructor","url":"classes/featurelayerproperties.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":474,"kind":262144,"name":"layerName","url":"classes/featurelayerproperties.html#layername","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":475,"kind":128,"name":"MapPopupCls","url":"classes/mappopupcls.html","classes":"tsd-kind-class"},{"id":476,"kind":512,"name":"constructor","url":"classes/mappopupcls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":477,"kind":2048,"name":"init","url":"classes/mappopupcls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":478,"kind":2048,"name":"_triggerFeatSelect","url":"classes/mappopupcls.html#_triggerfeatselect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":479,"kind":2048,"name":"addMapServicePopupContent","url":"classes/mappopupcls.html#addmapservicepopupcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":480,"kind":2048,"name":"_featuresAtPixel","url":"classes/mappopupcls.html#_featuresatpixel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":481,"kind":2048,"name":"closePopup","url":"classes/mappopupcls.html#closepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":482,"kind":2048,"name":"addPopupChangedFunction","url":"classes/mappopupcls.html#addpopupchangedfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":483,"kind":2048,"name":"_addPopupLayer","url":"classes/mappopupcls.html#_addpopuplayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":484,"kind":2048,"name":"addVectorPopup","url":"classes/mappopupcls.html#addvectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":485,"kind":2048,"name":"removeVectorPopup","url":"classes/mappopupcls.html#removevectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":486,"kind":2048,"name":"addMapServicePopup","url":"classes/mappopupcls.html#addmapservicepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":487,"kind":2048,"name":"clearSelection","url":"classes/mappopupcls.html#clearselection","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":488,"kind":2048,"name":"addMapClickFunction","url":"classes/mappopupcls.html#addmapclickfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":489,"kind":1024,"name":"_map","url":"classes/mappopupcls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":490,"kind":1024,"name":"_initialized","url":"classes/mappopupcls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":491,"kind":1024,"name":"_subtype","url":"classes/mappopupcls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":492,"kind":262144,"name":"map","url":"classes/mappopupcls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":493,"kind":262144,"name":"initialized","url":"classes/mappopupcls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":494,"kind":2048,"name":"_checkInit","url":"classes/mappopupcls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapPopupCls"},{"id":495,"kind":2048,"name":"checkInit","url":"classes/mappopupcls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":496,"kind":32,"name":"mapPopup","url":"globals.html#mappopup","classes":"tsd-kind-variable"},{"id":497,"kind":128,"name":"LayerItsInventory","url":"classes/layeritsinventory.html","classes":"tsd-kind-class"},{"id":498,"kind":512,"name":"constructor","url":"classes/layeritsinventory.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":499,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layeritsinventory.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":500,"kind":1024,"name":"_geoJsonFormat","url":"classes/layeritsinventory.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":501,"kind":1024,"name":"_transform","url":"classes/layeritsinventory.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":502,"kind":2048,"name":"addFeatures","url":"classes/layeritsinventory.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":503,"kind":2048,"name":"_load","url":"classes/layeritsinventory.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":504,"kind":2048,"name":"mapMoveCallback","url":"classes/layeritsinventory.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":505,"kind":1024,"name":"_olLayer","url":"classes/layeritsinventory.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":506,"kind":1024,"name":"_source","url":"classes/layeritsinventory.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":507,"kind":1024,"name":"_style","url":"classes/layeritsinventory.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":508,"kind":1024,"name":"_autoLoad","url":"classes/layeritsinventory.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":509,"kind":1024,"name":"_onDemand","url":"classes/layeritsinventory.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":510,"kind":1024,"name":"_onDemandDelay","url":"classes/layeritsinventory.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":511,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layeritsinventory.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":512,"kind":1024,"name":"_mapMoveParams","url":"classes/layeritsinventory.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":513,"kind":1024,"name":"_mapMove","url":"classes/layeritsinventory.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":514,"kind":1024,"name":"_projectionMap","url":"classes/layeritsinventory.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":515,"kind":1024,"name":"_projection4326","url":"classes/layeritsinventory.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":516,"kind":2048,"name":"mapMoveBefore","url":"classes/layeritsinventory.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":517,"kind":2048,"name":"clear","url":"classes/layeritsinventory.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":518,"kind":262144,"name":"onDemandDelay","url":"classes/layeritsinventory.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":519,"kind":262144,"name":"autoLoad","url":"classes/layeritsinventory.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":520,"kind":262144,"name":"style","url":"classes/layeritsinventory.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":521,"kind":262144,"name":"mapCrs","url":"classes/layeritsinventory.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":522,"kind":262144,"name":"mapProj","url":"classes/layeritsinventory.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":523,"kind":262144,"name":"mapMove","url":"classes/layeritsinventory.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":524,"kind":262144,"name":"mapMoveParams","url":"classes/layeritsinventory.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":525,"kind":262144,"name":"visible","url":"classes/layeritsinventory.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":526,"kind":262144,"name":"source","url":"classes/layeritsinventory.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":527,"kind":262144,"name":"features","url":"classes/layeritsinventory.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":528,"kind":262144,"name":"olLayer","url":"classes/layeritsinventory.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":529,"kind":2048,"name":"setZIndex","url":"classes/layeritsinventory.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":530,"kind":1024,"name":"_legendCheckbox","url":"classes/layeritsinventory.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":531,"kind":1024,"name":"_url","url":"classes/layeritsinventory.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":532,"kind":1024,"name":"_opacity","url":"classes/layeritsinventory.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":533,"kind":1024,"name":"_minZoom","url":"classes/layeritsinventory.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":534,"kind":1024,"name":"_maxZoom","url":"classes/layeritsinventory.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":535,"kind":1024,"name":"_visible","url":"classes/layeritsinventory.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":536,"kind":1024,"name":"_loaded","url":"classes/layeritsinventory.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":537,"kind":1024,"name":"_zIndex","url":"classes/layeritsinventory.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":538,"kind":1024,"name":"_legendContent","url":"classes/layeritsinventory.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":539,"kind":1024,"name":"_params","url":"classes/layeritsinventory.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":540,"kind":1024,"name":"_id","url":"classes/layeritsinventory.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":541,"kind":1024,"name":"_name","url":"classes/layeritsinventory.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":542,"kind":1024,"name":"_animate","url":"classes/layeritsinventory.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":543,"kind":1024,"name":"_legendCollapse","url":"classes/layeritsinventory.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":544,"kind":1024,"name":"_maxResolution","url":"classes/layeritsinventory.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":545,"kind":1024,"name":"_minResolution","url":"classes/layeritsinventory.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":546,"kind":1024,"name":"_$legendDiv","url":"classes/layeritsinventory.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":547,"kind":1024,"name":"loadCallback","url":"classes/layeritsinventory.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":548,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeritsinventory.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":549,"kind":2048,"name":"getLegendDiv","url":"classes/layeritsinventory.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":550,"kind":2048,"name":"_addLegendContent","url":"classes/layeritsinventory.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerItsInventory"},{"id":551,"kind":2048,"name":"addLegendContent","url":"classes/layeritsinventory.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":552,"kind":2048,"name":"applyCollapse","url":"classes/layeritsinventory.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":553,"kind":2048,"name":"refresh","url":"classes/layeritsinventory.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":554,"kind":262144,"name":"id","url":"classes/layeritsinventory.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":555,"kind":262144,"name":"animate","url":"classes/layeritsinventory.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":556,"kind":262144,"name":"legendContent","url":"classes/layeritsinventory.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":557,"kind":262144,"name":"params","url":"classes/layeritsinventory.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":558,"kind":262144,"name":"minResolution","url":"classes/layeritsinventory.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":559,"kind":262144,"name":"maxResolution","url":"classes/layeritsinventory.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":560,"kind":262144,"name":"minZoom","url":"classes/layeritsinventory.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":561,"kind":262144,"name":"maxZoom","url":"classes/layeritsinventory.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":562,"kind":262144,"name":"url","url":"classes/layeritsinventory.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":563,"kind":2048,"name":"setVisible","url":"classes/layeritsinventory.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":564,"kind":262144,"name":"opacity","url":"classes/layeritsinventory.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":565,"kind":262144,"name":"name","url":"classes/layeritsinventory.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":566,"kind":262144,"name":"loaded","url":"classes/layeritsinventory.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":567,"kind":2048,"name":"getSource","url":"classes/layeritsinventory.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":568,"kind":262144,"name":"zIndex","url":"classes/layeritsinventory.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":569,"kind":2048,"name":"getOlLayer","url":"classes/layeritsinventory.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":570,"kind":64,"name":"checkStyleNumber","url":"globals.html#checkstylenumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":571,"kind":64,"name":"defineStyle","url":"globals.html#definestyle","classes":"tsd-kind-function tsd-is-not-exported"},{"id":572,"kind":64,"name":"defineLegend","url":"globals.html#definelegend","classes":"tsd-kind-function tsd-is-not-exported"},{"id":573,"kind":128,"name":"ItsLayerCollection","url":"classes/itslayercollection.html","classes":"tsd-kind-class"},{"id":574,"kind":1024,"name":"_map","url":"classes/itslayercollection.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":575,"kind":1024,"name":"_layers","url":"classes/itslayercollection.html#_layers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":576,"kind":512,"name":"constructor","url":"classes/itslayercollection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":577,"kind":262144,"name":"layers","url":"classes/itslayercollection.html#layers","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":578,"kind":32,"name":"itsConfig","url":"globals.html#itsconfig","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":579,"kind":128,"name":"LayerGroup","url":"classes/layergroup.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":580,"kind":1024,"name":"groupLayers","url":"classes/layergroup.html#grouplayers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":581,"kind":1024,"name":"groupLayersLookup","url":"classes/layergroup.html#grouplayerslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":582,"kind":1024,"name":"groupGroupsLookup","url":"classes/layergroup.html#groupgroupslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":583,"kind":1024,"name":"groupGroups","url":"classes/layergroup.html#groupgroups","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":584,"kind":1024,"name":"itemIdArray","url":"classes/layergroup.html#itemidarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":585,"kind":1024,"name":"groupId","url":"classes/layergroup.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":586,"kind":1024,"name":"groupName","url":"classes/layergroup.html#groupname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":587,"kind":1024,"name":"allLayerArray","url":"classes/layergroup.html#alllayerarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":588,"kind":1024,"name":"parent","url":"classes/layergroup.html#parent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":589,"kind":1024,"name":"allGroupArray","url":"classes/layergroup.html#allgrouparray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":590,"kind":1024,"name":"allGroupLookup","url":"classes/layergroup.html#allgrouplookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":591,"kind":1024,"name":"allLayerLookup","url":"classes/layergroup.html#alllayerlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":592,"kind":1024,"name":"collapse","url":"classes/layergroup.html#collapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":593,"kind":1024,"name":"addCheck","url":"classes/layergroup.html#addcheck","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":594,"kind":1024,"name":"layerParentLookup","url":"classes/layergroup.html#layerparentlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":595,"kind":512,"name":"constructor","url":"classes/layergroup.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":596,"kind":2048,"name":"addGroup","url":"classes/layergroup.html#addgroup","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":597,"kind":2048,"name":"addLegendLayer","url":"classes/layergroup.html#addlegendlayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":598,"kind":2048,"name":"getLegendHtml","url":"classes/layergroup.html#getlegendhtml","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":599,"kind":2048,"name":"_buildLegend","url":"classes/layergroup.html#_buildlegend","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":600,"kind":128,"name":"LayerLegend","url":"classes/layerlegend.html","classes":"tsd-kind-class"},{"id":601,"kind":1024,"name":"$divElement","url":"classes/layerlegend.html#_divelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":602,"kind":1024,"name":"_legendItems","url":"classes/layerlegend.html#_legenditems","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":603,"kind":1024,"name":"layerGroup","url":"classes/layerlegend.html#layergroup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":604,"kind":1024,"name":"legendId","url":"classes/layerlegend.html#legendid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":605,"kind":512,"name":"constructor","url":"classes/layerlegend.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerLegend"},{"id":606,"kind":2048,"name":"_buildTree","url":"classes/layerlegend.html#_buildtree","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerLegend"},{"id":607,"kind":256,"name":"TipSliderConfig","url":"interfaces/tipsliderconfig.html","classes":"tsd-kind-interface"},{"id":608,"kind":1024,"name":"label","url":"interfaces/tipsliderconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":609,"kind":1024,"name":"yearOptions","url":"interfaces/tipsliderconfig.html#yearoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":610,"kind":256,"name":"TipPresetConfig","url":"interfaces/tippresetconfig.html","classes":"tsd-kind-interface"},{"id":611,"kind":1024,"name":"label","url":"interfaces/tippresetconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":612,"kind":1024,"name":"presets","url":"interfaces/tippresetconfig.html#presets","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":613,"kind":256,"name":"ChangeResponse","url":"interfaces/changeresponse.html","classes":"tsd-kind-interface"},{"id":614,"kind":1024,"name":"paramWeights","url":"interfaces/changeresponse.html#paramweights","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":615,"kind":1024,"name":"region","url":"interfaces/changeresponse.html#region","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":616,"kind":1024,"name":"mmVersion","url":"interfaces/changeresponse.html#mmversion","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":617,"kind":256,"name":"ChangeCallback","url":"interfaces/changecallback.html","classes":"tsd-kind-interface"},{"id":618,"kind":128,"name":"TipPresets","url":"classes/tippresets.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":619,"kind":1024,"name":"label","url":"classes/tippresets.html#label","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":620,"kind":1024,"name":"presets","url":"classes/tippresets.html#presets","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":621,"kind":1024,"name":"domId","url":"classes/tippresets.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":622,"kind":512,"name":"constructor","url":"classes/tippresets.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":623,"kind":128,"name":"_Slider","url":"classes/_slider.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":624,"kind":1024,"name":"_min","url":"classes/_slider.html#_min","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":625,"kind":1024,"name":"_max","url":"classes/_slider.html#_max","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":626,"kind":1024,"name":"_locked","url":"classes/_slider.html#_locked","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":627,"kind":1024,"name":"atMin","url":"classes/_slider.html#atmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":628,"kind":1024,"name":"atMax","url":"classes/_slider.html#atmax","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":629,"kind":1024,"name":"_weightDefault","url":"classes/_slider.html#_weightdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":630,"kind":1024,"name":"_weight","url":"classes/_slider.html#_weight","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":631,"kind":1024,"name":"html","url":"classes/_slider.html#html","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":632,"kind":1024,"name":"domId","url":"classes/_slider.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":633,"kind":1024,"name":"name","url":"classes/_slider.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":634,"kind":1024,"name":"labelLow","url":"classes/_slider.html#labellow","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":635,"kind":1024,"name":"labelHigh","url":"classes/_slider.html#labelhigh","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":636,"kind":1024,"name":"labelVal","url":"classes/_slider.html#labelval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":637,"kind":1024,"name":"slider","url":"classes/_slider.html#slider","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":638,"kind":1024,"name":"selectionBox","url":"classes/_slider.html#selectionbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":639,"kind":1024,"name":"chk","url":"classes/_slider.html#chk","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":640,"kind":1024,"name":"selectedParam","url":"classes/_slider.html#selectedparam","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":641,"kind":1024,"name":"selectedParamDefault","url":"classes/_slider.html#selectedparamdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":642,"kind":1024,"name":"_dropdownSelection","url":"classes/_slider.html#_dropdownselection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":643,"kind":512,"name":"constructor","url":"classes/_slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":644,"kind":2048,"name":"addToDom","url":"classes/_slider.html#addtodom","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":645,"kind":2048,"name":"increment","url":"classes/_slider.html#increment","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":646,"kind":2048,"name":"setValAndDropDown","url":"classes/_slider.html#setvalanddropdown","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":647,"kind":262144,"name":"locked","url":"classes/_slider.html#locked","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":648,"kind":262144,"name":"min","url":"classes/_slider.html#min","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":649,"kind":262144,"name":"max","url":"classes/_slider.html#max","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":650,"kind":262144,"name":"weight","url":"classes/_slider.html#weight","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":651,"kind":128,"name":"TipSliders","url":"classes/tipsliders.html","classes":"tsd-kind-class"},{"id":652,"kind":1024,"name":"$container","url":"classes/tipsliders.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":653,"kind":1024,"name":"reservedPercent","url":"classes/tipsliders.html#reservedpercent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":654,"kind":1024,"name":"lockedCount","url":"classes/tipsliders.html#lockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":655,"kind":1024,"name":"notLockedCount","url":"classes/tipsliders.html#notlockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":656,"kind":512,"name":"constructor","url":"classes/tipsliders.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"TipSliders"},{"id":657,"kind":2048,"name":"_runChangedCallback","url":"classes/tipsliders.html#_runchangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":658,"kind":262144,"name":"changedCallback","url":"classes/tipsliders.html#changedcallback","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"TipSliders"},{"id":659,"kind":2048,"name":"setPresetValues","url":"classes/tipsliders.html#setpresetvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":660,"kind":2048,"name":"_splitSliderArray","url":"classes/tipsliders.html#_splitsliderarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":661,"kind":2048,"name":"_handleRemainder","url":"classes/tipsliders.html#_handleremainder","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":662,"kind":2048,"name":"setValues","url":"classes/tipsliders.html#setvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":663,"kind":2048,"name":"getSum","url":"classes/tipsliders.html#getsum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":664,"kind":2048,"name":"getParams","url":"classes/tipsliders.html#getparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":665,"kind":2048,"name":"_addEventListeners","url":"classes/tipsliders.html#_addeventlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":666,"kind":262144,"name":"paramWeightsRegionVersion","url":"classes/tipsliders.html#paramweightsregionversion","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"TipSliders"},{"id":667,"kind":128,"name":"DayRange","url":"classes/dayrange.html","classes":"tsd-kind-class"},{"id":668,"kind":1024,"name":"_workingDayRange","url":"classes/dayrange.html#_workingdayrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":669,"kind":1024,"name":"_$startDate","url":"classes/dayrange.html#__startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":670,"kind":1024,"name":"_$endDate","url":"classes/dayrange.html#__enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":671,"kind":1024,"name":"_maxDateRange","url":"classes/dayrange.html#_maxdaterange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":672,"kind":1024,"name":"_startDate","url":"classes/dayrange.html#_startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":673,"kind":1024,"name":"_endDate","url":"classes/dayrange.html#_enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":674,"kind":512,"name":"constructor","url":"classes/dayrange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"DayRange"},{"id":675,"kind":262144,"name":"startDate","url":"classes/dayrange.html#startdate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":676,"kind":262144,"name":"endDate","url":"classes/dayrange.html#enddate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":677,"kind":256,"name":"rangeChangedCallback","url":"interfaces/rangechangedcallback.html","classes":"tsd-kind-interface"},{"id":678,"kind":32,"name":"mouseIn","url":"globals.html#mousein","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":679,"kind":32,"name":"mouseDown","url":"globals.html#mousedown","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":680,"kind":32,"name":"timeout","url":"globals.html#timeout","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":681,"kind":32,"name":"dragged","url":"globals.html#dragged","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":682,"kind":32,"name":"lastVal","url":"globals.html#lastval","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":683,"kind":64,"name":"triggerCallback","url":"globals.html#triggercallback","classes":"tsd-kind-function tsd-is-not-exported"},{"id":684,"kind":64,"name":"rangeChange","url":"globals.html#rangechange","classes":"tsd-kind-function"},{"id":685,"kind":256,"name":"changeFunction","url":"interfaces/changefunction.html","classes":"tsd-kind-interface"},{"id":686,"kind":256,"name":"mediaRangeConfig","url":"interfaces/mediarangeconfig.html","classes":"tsd-kind-interface"},{"id":687,"kind":1024,"name":"min","url":"interfaces/mediarangeconfig.html#min","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":688,"kind":1024,"name":"max","url":"interfaces/mediarangeconfig.html#max","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":689,"kind":1024,"name":"val","url":"interfaces/mediarangeconfig.html#val","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":690,"kind":1024,"name":"step","url":"interfaces/mediarangeconfig.html#step","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":691,"kind":1024,"name":"playInterval","url":"interfaces/mediarangeconfig.html#playinterval","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":692,"kind":1024,"name":"showAsDate","url":"interfaces/mediarangeconfig.html#showasdate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":693,"kind":128,"name":"MediaControl","url":"classes/mediacontrol.html","classes":"tsd-kind-class"},{"id":694,"kind":1024,"name":"_container","url":"classes/mediacontrol.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":695,"kind":1024,"name":"_min","url":"classes/mediacontrol.html#_min","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":696,"kind":1024,"name":"_max","url":"classes/mediacontrol.html#_max","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":697,"kind":1024,"name":"_playInterval","url":"classes/mediacontrol.html#_playinterval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":698,"kind":1024,"name":"_step","url":"classes/mediacontrol.html#_step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":699,"kind":1024,"name":"_currentValue","url":"classes/mediacontrol.html#_currentvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":700,"kind":1024,"name":"_playing","url":"classes/mediacontrol.html#_playing","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":701,"kind":1024,"name":"_$btnStop","url":"classes/mediacontrol.html#__btnstop","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":702,"kind":1024,"name":"_$slider","url":"classes/mediacontrol.html#__slider","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":703,"kind":1024,"name":"_$valLabelVal","url":"classes/mediacontrol.html#__vallabelval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":704,"kind":1024,"name":"_$valLabelMin","url":"classes/mediacontrol.html#__vallabelmin","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":705,"kind":1024,"name":"_$valLabelMax","url":"classes/mediacontrol.html#__vallabelmax","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":706,"kind":1024,"name":"_interval","url":"classes/mediacontrol.html#_interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":707,"kind":1024,"name":"_showAsDate","url":"classes/mediacontrol.html#_showasdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":708,"kind":1024,"name":"_changeFunc","url":"classes/mediacontrol.html#_changefunc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":709,"kind":512,"name":"constructor","url":"classes/mediacontrol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MediaControl"},{"id":710,"kind":2048,"name":"stopPlaying","url":"classes/mediacontrol.html#stopplaying","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":711,"kind":262144,"name":"playing","url":"classes/mediacontrol.html#playing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":712,"kind":262144,"name":"min","url":"classes/mediacontrol.html#min","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":713,"kind":262144,"name":"max","url":"classes/mediacontrol.html#max","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":714,"kind":262144,"name":"step","url":"classes/mediacontrol.html#step","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":715,"kind":262144,"name":"currentValue","url":"classes/mediacontrol.html#currentvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"MediaControl"},{"id":716,"kind":2048,"name":"setMinMaxValueStep","url":"classes/mediacontrol.html#setminmaxvaluestep","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":717,"kind":262144,"name":"changeFunction","url":"classes/mediacontrol.html#changefunction","classes":"tsd-kind-set-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":718,"kind":64,"name":"timeToLocalDateString","url":"globals.html#timetolocaldatestring","classes":"tsd-kind-function tsd-is-not-exported"},{"id":719,"kind":256,"name":"selectChangeCallback","url":"interfaces/selectchangecallback.html","classes":"tsd-kind-interface"},{"id":720,"kind":256,"name":"contentGenerator","url":"interfaces/contentgenerator.html","classes":"tsd-kind-interface"},{"id":721,"kind":128,"name":"SelectBoxBase","url":"classes/selectboxbase.html","classes":"tsd-kind-class"},{"id":722,"kind":1024,"name":"_$container","url":"classes/selectboxbase.html#__container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":723,"kind":1024,"name":"$label","url":"classes/selectboxbase.html#_label","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":724,"kind":1024,"name":"_box","url":"classes/selectboxbase.html#_box","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":725,"kind":1024,"name":"_changeListeners","url":"classes/selectboxbase.html#_changelisteners","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":726,"kind":512,"name":"constructor","url":"classes/selectboxbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":727,"kind":262144,"name":"box","url":"classes/selectboxbase.html#box","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":728,"kind":2048,"name":"changed","url":"classes/selectboxbase.html#changed","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":729,"kind":2048,"name":"addChangeListener","url":"classes/selectboxbase.html#addchangelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":730,"kind":262144,"name":"selectedValue","url":"classes/selectboxbase.html#selectedvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":731,"kind":262144,"name":"selectedText","url":"classes/selectboxbase.html#selectedtext","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":732,"kind":256,"name":"LayerBaseVectorEsriOptions","url":"interfaces/layerbasevectoresrioptions.html","classes":"tsd-kind-interface"},{"id":733,"kind":1024,"name":"format","url":"interfaces/layerbasevectoresrioptions.html#format","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":734,"kind":1024,"name":"outSR","url":"interfaces/layerbasevectoresrioptions.html#outsr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":735,"kind":1024,"name":"where","url":"interfaces/layerbasevectoresrioptions.html#where","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":736,"kind":1024,"name":"outFields","url":"interfaces/layerbasevectoresrioptions.html#outfields","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":737,"kind":1024,"name":"useEsriStyle","url":"interfaces/layerbasevectoresrioptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":738,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoresrioptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":739,"kind":1024,"name":"style","url":"interfaces/layerbasevectoresrioptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":740,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoresrioptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":741,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoresrioptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":742,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoresrioptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":743,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoresrioptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":744,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoresrioptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":745,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoresrioptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorEsriOptions.renderOrder"},{"id":746,"kind":1024,"name":"id","url":"interfaces/layerbasevectoresrioptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":747,"kind":1024,"name":"name","url":"interfaces/layerbasevectoresrioptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":748,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoresrioptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":749,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoresrioptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":750,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoresrioptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":751,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoresrioptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":752,"kind":1024,"name":"params","url":"interfaces/layerbasevectoresrioptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":753,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoresrioptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":754,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoresrioptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":755,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoresrioptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":756,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoresrioptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":757,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoresrioptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":758,"kind":128,"name":"LayerBaseVectorEsri","url":"classes/layerbasevectoresri.html","classes":"tsd-kind-class"},{"id":759,"kind":1024,"name":"_outSR","url":"classes/layerbasevectoresri.html#_outsr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":760,"kind":1024,"name":"_esriFormat","url":"classes/layerbasevectoresri.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":761,"kind":1024,"name":"_urlCopy","url":"classes/layerbasevectoresri.html#_urlcopy","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":762,"kind":1024,"name":"_useEsriStyle","url":"classes/layerbasevectoresri.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":763,"kind":512,"name":"constructor","url":"classes/layerbasevectoresri.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":764,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectoresri.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":765,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectoresri.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":766,"kind":2048,"name":"_load","url":"classes/layerbasevectoresri.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":767,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":768,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectoresri.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":769,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectoresri.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":770,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectoresri.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":771,"kind":1024,"name":"_source","url":"classes/layerbasevectoresri.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":772,"kind":1024,"name":"_style","url":"classes/layerbasevectoresri.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":773,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectoresri.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":774,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectoresri.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":775,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectoresri.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":776,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":777,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectoresri.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":778,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectoresri.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":779,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectoresri.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":780,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectoresri.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":781,"kind":2048,"name":"clear","url":"classes/layerbasevectoresri.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":782,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectoresri.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":783,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectoresri.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":784,"kind":262144,"name":"style","url":"classes/layerbasevectoresri.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":785,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectoresri.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":786,"kind":262144,"name":"mapProj","url":"classes/layerbasevectoresri.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":787,"kind":262144,"name":"mapMove","url":"classes/layerbasevectoresri.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":788,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectoresri.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":789,"kind":262144,"name":"visible","url":"classes/layerbasevectoresri.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":790,"kind":262144,"name":"source","url":"classes/layerbasevectoresri.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":791,"kind":262144,"name":"features","url":"classes/layerbasevectoresri.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":792,"kind":262144,"name":"olLayer","url":"classes/layerbasevectoresri.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":793,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectoresri.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":794,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectoresri.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":795,"kind":1024,"name":"_url","url":"classes/layerbasevectoresri.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":796,"kind":1024,"name":"_opacity","url":"classes/layerbasevectoresri.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":797,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectoresri.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":798,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectoresri.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":799,"kind":1024,"name":"_visible","url":"classes/layerbasevectoresri.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":800,"kind":1024,"name":"_loaded","url":"classes/layerbasevectoresri.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":801,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectoresri.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":802,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectoresri.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":803,"kind":1024,"name":"_params","url":"classes/layerbasevectoresri.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":804,"kind":1024,"name":"_id","url":"classes/layerbasevectoresri.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":805,"kind":1024,"name":"_name","url":"classes/layerbasevectoresri.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":806,"kind":1024,"name":"_animate","url":"classes/layerbasevectoresri.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":807,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectoresri.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":808,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectoresri.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":809,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectoresri.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":810,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectoresri.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":811,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectoresri.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":812,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectoresri.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":813,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectoresri.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":814,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectoresri.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorEsri"},{"id":815,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectoresri.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":816,"kind":2048,"name":"refresh","url":"classes/layerbasevectoresri.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":817,"kind":262144,"name":"id","url":"classes/layerbasevectoresri.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":818,"kind":262144,"name":"animate","url":"classes/layerbasevectoresri.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":819,"kind":262144,"name":"legendContent","url":"classes/layerbasevectoresri.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":820,"kind":262144,"name":"params","url":"classes/layerbasevectoresri.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":821,"kind":262144,"name":"minResolution","url":"classes/layerbasevectoresri.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":822,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectoresri.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":823,"kind":262144,"name":"minZoom","url":"classes/layerbasevectoresri.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":824,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectoresri.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":825,"kind":262144,"name":"url","url":"classes/layerbasevectoresri.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":826,"kind":2048,"name":"setVisible","url":"classes/layerbasevectoresri.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":827,"kind":262144,"name":"opacity","url":"classes/layerbasevectoresri.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":828,"kind":262144,"name":"name","url":"classes/layerbasevectoresri.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":829,"kind":262144,"name":"loaded","url":"classes/layerbasevectoresri.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":830,"kind":2048,"name":"getSource","url":"classes/layerbasevectoresri.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":831,"kind":262144,"name":"zIndex","url":"classes/layerbasevectoresri.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":832,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectoresri.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":833,"kind":32,"name":"layers","url":"globals.html#layers","classes":"tsd-kind-variable"},{"id":834,"kind":128,"name":"LayerBaseXyzTile","url":"classes/layerbasexyztile.html","classes":"tsd-kind-class"},{"id":835,"kind":512,"name":"constructor","url":"classes/layerbasexyztile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":836,"kind":262144,"name":"source","url":"classes/layerbasexyztile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":837,"kind":262144,"name":"olLayer","url":"classes/layerbasexyztile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":838,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasexyztile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":839,"kind":1024,"name":"_url","url":"classes/layerbasexyztile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":840,"kind":1024,"name":"_opacity","url":"classes/layerbasexyztile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":841,"kind":1024,"name":"_minZoom","url":"classes/layerbasexyztile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":842,"kind":1024,"name":"_maxZoom","url":"classes/layerbasexyztile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":843,"kind":1024,"name":"_visible","url":"classes/layerbasexyztile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":844,"kind":1024,"name":"_loaded","url":"classes/layerbasexyztile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":845,"kind":1024,"name":"_zIndex","url":"classes/layerbasexyztile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":846,"kind":1024,"name":"_legendContent","url":"classes/layerbasexyztile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":847,"kind":1024,"name":"_params","url":"classes/layerbasexyztile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":848,"kind":1024,"name":"_id","url":"classes/layerbasexyztile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":849,"kind":1024,"name":"_name","url":"classes/layerbasexyztile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":850,"kind":1024,"name":"_source","url":"classes/layerbasexyztile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":851,"kind":1024,"name":"_animate","url":"classes/layerbasexyztile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":852,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasexyztile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":853,"kind":1024,"name":"_maxResolution","url":"classes/layerbasexyztile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":854,"kind":1024,"name":"_minResolution","url":"classes/layerbasexyztile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":855,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasexyztile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":856,"kind":1024,"name":"loadCallback","url":"classes/layerbasexyztile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":857,"kind":1024,"name":"_olLayer","url":"classes/layerbasexyztile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":858,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasexyztile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":859,"kind":2048,"name":"_load","url":"classes/layerbasexyztile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":860,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasexyztile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":861,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasexyztile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseXyzTile"},{"id":862,"kind":2048,"name":"addLegendContent","url":"classes/layerbasexyztile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":863,"kind":2048,"name":"applyCollapse","url":"classes/layerbasexyztile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":864,"kind":2048,"name":"refresh","url":"classes/layerbasexyztile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":865,"kind":262144,"name":"id","url":"classes/layerbasexyztile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":866,"kind":262144,"name":"animate","url":"classes/layerbasexyztile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":867,"kind":262144,"name":"legendContent","url":"classes/layerbasexyztile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":868,"kind":262144,"name":"params","url":"classes/layerbasexyztile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":869,"kind":262144,"name":"minResolution","url":"classes/layerbasexyztile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":870,"kind":262144,"name":"maxResolution","url":"classes/layerbasexyztile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":871,"kind":262144,"name":"minZoom","url":"classes/layerbasexyztile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":872,"kind":262144,"name":"maxZoom","url":"classes/layerbasexyztile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":873,"kind":262144,"name":"url","url":"classes/layerbasexyztile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":874,"kind":262144,"name":"visible","url":"classes/layerbasexyztile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":875,"kind":2048,"name":"setVisible","url":"classes/layerbasexyztile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":876,"kind":262144,"name":"opacity","url":"classes/layerbasexyztile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":877,"kind":262144,"name":"name","url":"classes/layerbasexyztile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":878,"kind":262144,"name":"loaded","url":"classes/layerbasexyztile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":879,"kind":2048,"name":"getSource","url":"classes/layerbasexyztile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":880,"kind":262144,"name":"zIndex","url":"classes/layerbasexyztile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":881,"kind":2048,"name":"setZIndex","url":"classes/layerbasexyztile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":882,"kind":2048,"name":"getOlLayer","url":"classes/layerbasexyztile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":883,"kind":256,"name":"LayerEsriTileOptions","url":"interfaces/layeresritileoptions.html","classes":"tsd-kind-interface"},{"id":884,"kind":1024,"name":"useEsriStyle","url":"interfaces/layeresritileoptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriTileOptions"},{"id":885,"kind":1024,"name":"id","url":"interfaces/layeresritileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":886,"kind":1024,"name":"name","url":"interfaces/layeresritileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":887,"kind":1024,"name":"opacity","url":"interfaces/layeresritileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":888,"kind":1024,"name":"visible","url":"interfaces/layeresritileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":889,"kind":1024,"name":"minZoom","url":"interfaces/layeresritileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":890,"kind":1024,"name":"maxZoom","url":"interfaces/layeresritileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":891,"kind":1024,"name":"params","url":"interfaces/layeresritileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":892,"kind":1024,"name":"zIndex","url":"interfaces/layeresritileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":893,"kind":1024,"name":"loadCallback","url":"interfaces/layeresritileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":894,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresritileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":895,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresritileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":896,"kind":1024,"name":"legendContent","url":"interfaces/layeresritileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":897,"kind":128,"name":"LayerEsriTile","url":"classes/layeresritile.html","classes":"tsd-kind-class"},{"id":898,"kind":1024,"name":"_useEsriStyle","url":"classes/layeresritile.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriTile"},{"id":899,"kind":512,"name":"constructor","url":"classes/layeresritile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":900,"kind":2048,"name":"addLegendContent","url":"classes/layeresritile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":901,"kind":262144,"name":"source","url":"classes/layeresritile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":902,"kind":262144,"name":"olLayer","url":"classes/layeresritile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":903,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresritile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":904,"kind":1024,"name":"_url","url":"classes/layeresritile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":905,"kind":1024,"name":"_opacity","url":"classes/layeresritile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":906,"kind":1024,"name":"_minZoom","url":"classes/layeresritile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":907,"kind":1024,"name":"_maxZoom","url":"classes/layeresritile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":908,"kind":1024,"name":"_visible","url":"classes/layeresritile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":909,"kind":1024,"name":"_loaded","url":"classes/layeresritile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":910,"kind":1024,"name":"_zIndex","url":"classes/layeresritile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":911,"kind":1024,"name":"_legendContent","url":"classes/layeresritile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":912,"kind":1024,"name":"_params","url":"classes/layeresritile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":913,"kind":1024,"name":"_id","url":"classes/layeresritile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":914,"kind":1024,"name":"_name","url":"classes/layeresritile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":915,"kind":1024,"name":"_source","url":"classes/layeresritile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":916,"kind":1024,"name":"_animate","url":"classes/layeresritile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":917,"kind":1024,"name":"_legendCollapse","url":"classes/layeresritile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":918,"kind":1024,"name":"_maxResolution","url":"classes/layeresritile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":919,"kind":1024,"name":"_minResolution","url":"classes/layeresritile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":920,"kind":1024,"name":"_$legendDiv","url":"classes/layeresritile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":921,"kind":1024,"name":"loadCallback","url":"classes/layeresritile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":922,"kind":1024,"name":"_olLayer","url":"classes/layeresritile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":923,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresritile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":924,"kind":2048,"name":"_load","url":"classes/layeresritile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":925,"kind":2048,"name":"getLegendDiv","url":"classes/layeresritile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":926,"kind":2048,"name":"_addLegendContent","url":"classes/layeresritile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriTile"},{"id":927,"kind":2048,"name":"applyCollapse","url":"classes/layeresritile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":928,"kind":2048,"name":"refresh","url":"classes/layeresritile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":929,"kind":262144,"name":"id","url":"classes/layeresritile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":930,"kind":262144,"name":"animate","url":"classes/layeresritile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":931,"kind":262144,"name":"legendContent","url":"classes/layeresritile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":932,"kind":262144,"name":"params","url":"classes/layeresritile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":933,"kind":262144,"name":"minResolution","url":"classes/layeresritile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":934,"kind":262144,"name":"maxResolution","url":"classes/layeresritile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":935,"kind":262144,"name":"minZoom","url":"classes/layeresritile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":936,"kind":262144,"name":"maxZoom","url":"classes/layeresritile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":937,"kind":262144,"name":"url","url":"classes/layeresritile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":938,"kind":262144,"name":"visible","url":"classes/layeresritile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":939,"kind":2048,"name":"setVisible","url":"classes/layeresritile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":940,"kind":262144,"name":"opacity","url":"classes/layeresritile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":941,"kind":262144,"name":"name","url":"classes/layeresritile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":942,"kind":262144,"name":"loaded","url":"classes/layeresritile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":943,"kind":2048,"name":"getSource","url":"classes/layeresritile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":944,"kind":262144,"name":"zIndex","url":"classes/layeresritile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":945,"kind":2048,"name":"setZIndex","url":"classes/layeresritile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":946,"kind":2048,"name":"getOlLayer","url":"classes/layeresritile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":947,"kind":128,"name":"RealEarthAnimateVector","url":"classes/realearthanimatevector.html","classes":"tsd-kind-class"},{"id":948,"kind":1024,"name":"_dataCache","url":"classes/realearthanimatevector.html#_datacache","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":949,"kind":1024,"name":"_source","url":"classes/realearthanimatevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":950,"kind":1024,"name":"_rawTimesLookup","url":"classes/realearthanimatevector.html#_rawtimeslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":951,"kind":65536,"name":"__type","url":"classes/realearthanimatevector.html#_rawtimeslookup.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"RealEarthAnimateVector._rawTimesLookup"},{"id":952,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatevector.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":953,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":954,"kind":1024,"name":"_lyr","url":"classes/realearthanimatevector.html#_lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":955,"kind":512,"name":"constructor","url":"classes/realearthanimatevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":956,"kind":2048,"name":"timeInit","url":"classes/realearthanimatevector.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":957,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatevector.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":958,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatevector.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":959,"kind":2048,"name":"_loadAtTimeIndex","url":"classes/realearthanimatevector.html#_loadattimeindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":960,"kind":2048,"name":"_loadFeatures","url":"classes/realearthanimatevector.html#_loadfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":961,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatevector.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":962,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatevector.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":963,"kind":1024,"name":"_localDates","url":"classes/realearthanimatevector.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":964,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatevector.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":965,"kind":1024,"name":"_products","url":"classes/realearthanimatevector.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":966,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":967,"kind":1024,"name":"localTimes","url":"classes/realearthanimatevector.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":968,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatevector.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":969,"kind":1024,"name":"lyr","url":"classes/realearthanimatevector.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":970,"kind":256,"name":"LayerVectorRealEarthOptions","url":"interfaces/layervectorrealearthoptions.html","classes":"tsd-kind-interface"},{"id":971,"kind":1024,"name":"products","url":"interfaces/layervectorrealearthoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":972,"kind":1024,"name":"animate","url":"interfaces/layervectorrealearthoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":973,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layervectorrealearthoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":974,"kind":1024,"name":"transform","url":"interfaces/layervectorrealearthoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":975,"kind":1024,"name":"mapMoveObj","url":"interfaces/layervectorrealearthoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":976,"kind":1024,"name":"autoLoad","url":"interfaces/layervectorrealearthoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":977,"kind":1024,"name":"style","url":"interfaces/layervectorrealearthoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":978,"kind":1024,"name":"onDemand","url":"interfaces/layervectorrealearthoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":979,"kind":1024,"name":"onDemandDelay","url":"interfaces/layervectorrealearthoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":980,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layervectorrealearthoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":981,"kind":1024,"name":"renderOrder","url":"interfaces/layervectorrealearthoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":982,"kind":65536,"name":"__type","url":"interfaces/layervectorrealearthoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerVectorRealEarthOptions.renderOrder"},{"id":983,"kind":1024,"name":"id","url":"interfaces/layervectorrealearthoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":984,"kind":1024,"name":"name","url":"interfaces/layervectorrealearthoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":985,"kind":1024,"name":"opacity","url":"interfaces/layervectorrealearthoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":986,"kind":1024,"name":"visible","url":"interfaces/layervectorrealearthoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":987,"kind":1024,"name":"minZoom","url":"interfaces/layervectorrealearthoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":988,"kind":1024,"name":"maxZoom","url":"interfaces/layervectorrealearthoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":989,"kind":1024,"name":"params","url":"interfaces/layervectorrealearthoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":990,"kind":1024,"name":"zIndex","url":"interfaces/layervectorrealearthoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":991,"kind":1024,"name":"loadCallback","url":"interfaces/layervectorrealearthoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":992,"kind":1024,"name":"legendCollapse","url":"interfaces/layervectorrealearthoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":993,"kind":1024,"name":"legendCheckbox","url":"interfaces/layervectorrealearthoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":994,"kind":1024,"name":"legendContent","url":"interfaces/layervectorrealearthoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":995,"kind":128,"name":"LayerVectorRealEarth","url":"classes/layervectorrealearth.html","classes":"tsd-kind-class"},{"id":996,"kind":1024,"name":"_products","url":"classes/layervectorrealearth.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":997,"kind":1024,"name":"animator","url":"classes/layervectorrealearth.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":998,"kind":512,"name":"constructor","url":"classes/layervectorrealearth.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":999,"kind":2048,"name":"setLayerTime","url":"classes/layervectorrealearth.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":1000,"kind":2048,"name":"_load","url":"classes/layervectorrealearth.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":1001,"kind":1024,"name":"_geoJsonFormat","url":"classes/layervectorrealearth.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1002,"kind":1024,"name":"_transform","url":"classes/layervectorrealearth.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1003,"kind":2048,"name":"addFeatures","url":"classes/layervectorrealearth.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1004,"kind":2048,"name":"mapMoveCallback","url":"classes/layervectorrealearth.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1005,"kind":1024,"name":"_olLayer","url":"classes/layervectorrealearth.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1006,"kind":1024,"name":"_source","url":"classes/layervectorrealearth.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1007,"kind":1024,"name":"_style","url":"classes/layervectorrealearth.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1008,"kind":1024,"name":"_autoLoad","url":"classes/layervectorrealearth.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1009,"kind":1024,"name":"_onDemand","url":"classes/layervectorrealearth.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1010,"kind":1024,"name":"_onDemandDelay","url":"classes/layervectorrealearth.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1011,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1012,"kind":1024,"name":"_mapMoveParams","url":"classes/layervectorrealearth.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1013,"kind":1024,"name":"_mapMove","url":"classes/layervectorrealearth.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1014,"kind":1024,"name":"_projectionMap","url":"classes/layervectorrealearth.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1015,"kind":1024,"name":"_projection4326","url":"classes/layervectorrealearth.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1016,"kind":2048,"name":"mapMoveBefore","url":"classes/layervectorrealearth.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1017,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1018,"kind":2048,"name":"clear","url":"classes/layervectorrealearth.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1019,"kind":262144,"name":"onDemandDelay","url":"classes/layervectorrealearth.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1020,"kind":262144,"name":"autoLoad","url":"classes/layervectorrealearth.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1021,"kind":262144,"name":"style","url":"classes/layervectorrealearth.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1022,"kind":262144,"name":"mapCrs","url":"classes/layervectorrealearth.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1023,"kind":262144,"name":"mapProj","url":"classes/layervectorrealearth.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1024,"kind":262144,"name":"mapMove","url":"classes/layervectorrealearth.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1025,"kind":262144,"name":"mapMoveParams","url":"classes/layervectorrealearth.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1026,"kind":262144,"name":"visible","url":"classes/layervectorrealearth.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1027,"kind":262144,"name":"source","url":"classes/layervectorrealearth.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1028,"kind":262144,"name":"features","url":"classes/layervectorrealearth.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1029,"kind":262144,"name":"olLayer","url":"classes/layervectorrealearth.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1030,"kind":2048,"name":"setZIndex","url":"classes/layervectorrealearth.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1031,"kind":1024,"name":"_legendCheckbox","url":"classes/layervectorrealearth.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1032,"kind":1024,"name":"_url","url":"classes/layervectorrealearth.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1033,"kind":1024,"name":"_opacity","url":"classes/layervectorrealearth.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1034,"kind":1024,"name":"_minZoom","url":"classes/layervectorrealearth.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1035,"kind":1024,"name":"_maxZoom","url":"classes/layervectorrealearth.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1036,"kind":1024,"name":"_visible","url":"classes/layervectorrealearth.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1037,"kind":1024,"name":"_loaded","url":"classes/layervectorrealearth.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1038,"kind":1024,"name":"_zIndex","url":"classes/layervectorrealearth.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1039,"kind":1024,"name":"_legendContent","url":"classes/layervectorrealearth.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1040,"kind":1024,"name":"_params","url":"classes/layervectorrealearth.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1041,"kind":1024,"name":"_id","url":"classes/layervectorrealearth.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1042,"kind":1024,"name":"_name","url":"classes/layervectorrealearth.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1043,"kind":1024,"name":"_animate","url":"classes/layervectorrealearth.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1044,"kind":1024,"name":"_legendCollapse","url":"classes/layervectorrealearth.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1045,"kind":1024,"name":"_maxResolution","url":"classes/layervectorrealearth.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1046,"kind":1024,"name":"_minResolution","url":"classes/layervectorrealearth.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1047,"kind":1024,"name":"_$legendDiv","url":"classes/layervectorrealearth.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1048,"kind":1024,"name":"loadCallback","url":"classes/layervectorrealearth.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1049,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layervectorrealearth.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1050,"kind":2048,"name":"getLegendDiv","url":"classes/layervectorrealearth.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1051,"kind":2048,"name":"_addLegendContent","url":"classes/layervectorrealearth.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerVectorRealEarth"},{"id":1052,"kind":2048,"name":"addLegendContent","url":"classes/layervectorrealearth.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1053,"kind":2048,"name":"applyCollapse","url":"classes/layervectorrealearth.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1054,"kind":2048,"name":"refresh","url":"classes/layervectorrealearth.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1055,"kind":262144,"name":"id","url":"classes/layervectorrealearth.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1056,"kind":262144,"name":"animate","url":"classes/layervectorrealearth.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1057,"kind":262144,"name":"legendContent","url":"classes/layervectorrealearth.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1058,"kind":262144,"name":"params","url":"classes/layervectorrealearth.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1059,"kind":262144,"name":"minResolution","url":"classes/layervectorrealearth.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1060,"kind":262144,"name":"maxResolution","url":"classes/layervectorrealearth.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1061,"kind":262144,"name":"minZoom","url":"classes/layervectorrealearth.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1062,"kind":262144,"name":"maxZoom","url":"classes/layervectorrealearth.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1063,"kind":262144,"name":"url","url":"classes/layervectorrealearth.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1064,"kind":2048,"name":"setVisible","url":"classes/layervectorrealearth.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1065,"kind":262144,"name":"opacity","url":"classes/layervectorrealearth.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1066,"kind":262144,"name":"name","url":"classes/layervectorrealearth.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1067,"kind":262144,"name":"loaded","url":"classes/layervectorrealearth.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1068,"kind":2048,"name":"getSource","url":"classes/layervectorrealearth.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1069,"kind":262144,"name":"zIndex","url":"classes/layervectorrealearth.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1070,"kind":2048,"name":"getOlLayer","url":"classes/layervectorrealearth.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1071,"kind":256,"name":"IRealEarthAnimate","url":"interfaces/irealearthanimate.html","classes":"tsd-kind-interface"},{"id":1072,"kind":2048,"name":"setLayerTime","url":"interfaces/irealearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IRealEarthAnimate"},{"id":1073,"kind":256,"name":"timesLoadedCallback","url":"interfaces/timesloadedcallback.html","classes":"tsd-kind-interface"},{"id":1074,"kind":128,"name":"RealEarthAnimate","url":"classes/realearthanimate.html","classes":"tsd-kind-class"},{"id":1075,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimate.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1076,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimate.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1077,"kind":1024,"name":"_localDates","url":"classes/realearthanimate.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1078,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimate.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1079,"kind":1024,"name":"_products","url":"classes/realearthanimate.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1080,"kind":1024,"name":"loadCallback","url":"classes/realearthanimate.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1081,"kind":1024,"name":"localTimes","url":"classes/realearthanimate.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1082,"kind":1024,"name":"_currentTime","url":"classes/realearthanimate.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1083,"kind":1024,"name":"lyr","url":"classes/realearthanimate.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1084,"kind":512,"name":"constructor","url":"classes/realearthanimate.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1085,"kind":2048,"name":"timeInit","url":"classes/realearthanimate.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1086,"kind":2048,"name":"_loadDates","url":"classes/realearthanimate.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1087,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimate.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1088,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1089,"kind":32,"name":"offsetMinutes","url":"globals.html#offsetminutes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":1090,"kind":128,"name":"RealEarthAnimateTile","url":"classes/realearthanimatetile.html","classes":"tsd-kind-class"},{"id":1091,"kind":1024,"name":"_sourceUrls","url":"classes/realearthanimatetile.html#_sourceurls","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1092,"kind":1024,"name":"_source","url":"classes/realearthanimatetile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1093,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatetile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1094,"kind":512,"name":"constructor","url":"classes/realearthanimatetile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1095,"kind":2048,"name":"timeInit","url":"classes/realearthanimatetile.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1096,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatetile.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1097,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatetile.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateTile"},{"id":1098,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatetile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1099,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatetile.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1100,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatetile.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1101,"kind":1024,"name":"_localDates","url":"classes/realearthanimatetile.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1102,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatetile.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1103,"kind":1024,"name":"_products","url":"classes/realearthanimatetile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1104,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatetile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1105,"kind":1024,"name":"localTimes","url":"classes/realearthanimatetile.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1106,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatetile.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1107,"kind":1024,"name":"lyr","url":"classes/realearthanimatetile.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1108,"kind":256,"name":"LayerRealEarthTileOptions","url":"interfaces/layerrealearthtileoptions.html","classes":"tsd-kind-interface"},{"id":1109,"kind":1024,"name":"products","url":"interfaces/layerrealearthtileoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1110,"kind":1024,"name":"animate","url":"interfaces/layerrealearthtileoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1111,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layerrealearthtileoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1112,"kind":1024,"name":"id","url":"interfaces/layerrealearthtileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1113,"kind":1024,"name":"name","url":"interfaces/layerrealearthtileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1114,"kind":1024,"name":"opacity","url":"interfaces/layerrealearthtileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1115,"kind":1024,"name":"visible","url":"interfaces/layerrealearthtileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1116,"kind":1024,"name":"minZoom","url":"interfaces/layerrealearthtileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1117,"kind":1024,"name":"maxZoom","url":"interfaces/layerrealearthtileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1118,"kind":1024,"name":"params","url":"interfaces/layerrealearthtileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1119,"kind":1024,"name":"zIndex","url":"interfaces/layerrealearthtileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1120,"kind":1024,"name":"loadCallback","url":"interfaces/layerrealearthtileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1121,"kind":1024,"name":"legendCollapse","url":"interfaces/layerrealearthtileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1122,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerrealearthtileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1123,"kind":1024,"name":"legendContent","url":"interfaces/layerrealearthtileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1124,"kind":128,"name":"LayerRealEarthTile","url":"classes/layerrealearthtile.html","classes":"tsd-kind-class"},{"id":1125,"kind":1024,"name":"_products","url":"classes/layerrealearthtile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1126,"kind":1024,"name":"animator","url":"classes/layerrealearthtile.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1127,"kind":512,"name":"constructor","url":"classes/layerrealearthtile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1128,"kind":2048,"name":"setLayerTime","url":"classes/layerrealearthtile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1129,"kind":2048,"name":"_load","url":"classes/layerrealearthtile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1130,"kind":262144,"name":"source","url":"classes/layerrealearthtile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1131,"kind":262144,"name":"olLayer","url":"classes/layerrealearthtile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1132,"kind":1024,"name":"_legendCheckbox","url":"classes/layerrealearthtile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1133,"kind":1024,"name":"_url","url":"classes/layerrealearthtile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1134,"kind":1024,"name":"_opacity","url":"classes/layerrealearthtile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1135,"kind":1024,"name":"_minZoom","url":"classes/layerrealearthtile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1136,"kind":1024,"name":"_maxZoom","url":"classes/layerrealearthtile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1137,"kind":1024,"name":"_visible","url":"classes/layerrealearthtile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1138,"kind":1024,"name":"_loaded","url":"classes/layerrealearthtile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1139,"kind":1024,"name":"_zIndex","url":"classes/layerrealearthtile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1140,"kind":1024,"name":"_legendContent","url":"classes/layerrealearthtile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1141,"kind":1024,"name":"_params","url":"classes/layerrealearthtile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1142,"kind":1024,"name":"_id","url":"classes/layerrealearthtile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1143,"kind":1024,"name":"_name","url":"classes/layerrealearthtile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1144,"kind":1024,"name":"_source","url":"classes/layerrealearthtile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1145,"kind":1024,"name":"_animate","url":"classes/layerrealearthtile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1146,"kind":1024,"name":"_legendCollapse","url":"classes/layerrealearthtile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1147,"kind":1024,"name":"_maxResolution","url":"classes/layerrealearthtile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1148,"kind":1024,"name":"_minResolution","url":"classes/layerrealearthtile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1149,"kind":1024,"name":"_$legendDiv","url":"classes/layerrealearthtile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1150,"kind":1024,"name":"loadCallback","url":"classes/layerrealearthtile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1151,"kind":1024,"name":"_olLayer","url":"classes/layerrealearthtile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1152,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerrealearthtile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1153,"kind":2048,"name":"getLegendDiv","url":"classes/layerrealearthtile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1154,"kind":2048,"name":"_addLegendContent","url":"classes/layerrealearthtile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerRealEarthTile"},{"id":1155,"kind":2048,"name":"addLegendContent","url":"classes/layerrealearthtile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1156,"kind":2048,"name":"applyCollapse","url":"classes/layerrealearthtile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1157,"kind":2048,"name":"refresh","url":"classes/layerrealearthtile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1158,"kind":262144,"name":"id","url":"classes/layerrealearthtile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1159,"kind":262144,"name":"animate","url":"classes/layerrealearthtile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1160,"kind":262144,"name":"legendContent","url":"classes/layerrealearthtile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1161,"kind":262144,"name":"params","url":"classes/layerrealearthtile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1162,"kind":262144,"name":"minResolution","url":"classes/layerrealearthtile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1163,"kind":262144,"name":"maxResolution","url":"classes/layerrealearthtile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1164,"kind":262144,"name":"minZoom","url":"classes/layerrealearthtile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1165,"kind":262144,"name":"maxZoom","url":"classes/layerrealearthtile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1166,"kind":262144,"name":"url","url":"classes/layerrealearthtile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1167,"kind":262144,"name":"visible","url":"classes/layerrealearthtile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1168,"kind":2048,"name":"setVisible","url":"classes/layerrealearthtile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1169,"kind":262144,"name":"opacity","url":"classes/layerrealearthtile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1170,"kind":262144,"name":"name","url":"classes/layerrealearthtile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1171,"kind":262144,"name":"loaded","url":"classes/layerrealearthtile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1172,"kind":2048,"name":"getSource","url":"classes/layerrealearthtile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1173,"kind":262144,"name":"zIndex","url":"classes/layerrealearthtile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1174,"kind":2048,"name":"setZIndex","url":"classes/layerrealearthtile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1175,"kind":2048,"name":"getOlLayer","url":"classes/layerrealearthtile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1176,"kind":64,"name":"calculateExtent","url":"globals.html#calculateextent","classes":"tsd-kind-function"},{"id":1177,"kind":64,"name":"fitToMap","url":"globals.html#fittomap","classes":"tsd-kind-function"},{"id":1178,"kind":128,"name":"LayerSwipe","url":"classes/layerswipe.html","classes":"tsd-kind-class"},{"id":1179,"kind":1024,"name":"leftLayers","url":"classes/layerswipe.html#leftlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1180,"kind":1024,"name":"rightLayers","url":"classes/layerswipe.html#rightlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1181,"kind":1024,"name":"_percentRight","url":"classes/layerswipe.html#_percentright","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1182,"kind":1024,"name":"_map","url":"classes/layerswipe.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1183,"kind":1024,"name":"$mapElement","url":"classes/layerswipe.html#_mapelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1184,"kind":1024,"name":"$swiper","url":"classes/layerswipe.html#_swiper","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1185,"kind":1024,"name":"dragging","url":"classes/layerswipe.html#dragging","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1186,"kind":1024,"name":"offset","url":"classes/layerswipe.html#offset","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1187,"kind":512,"name":"constructor","url":"classes/layerswipe.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1188,"kind":2048,"name":"addLeftLayer","url":"classes/layerswipe.html#addleftlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1189,"kind":2048,"name":"addRightLayer","url":"classes/layerswipe.html#addrightlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1190,"kind":262144,"name":"percentRight","url":"classes/layerswipe.html#percentright","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1191,"kind":256,"name":"quickMapOptions","url":"interfaces/quickmapoptions.html","classes":"tsd-kind-interface"},{"id":1192,"kind":1024,"name":"divId","url":"interfaces/quickmapoptions.html#divid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1193,"kind":1024,"name":"center","url":"interfaces/quickmapoptions.html#center","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1194,"kind":65536,"name":"__type","url":"interfaces/quickmapoptions.html#center.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"quickMapOptions.center"},{"id":1195,"kind":32,"name":"x","url":"interfaces/quickmapoptions.html#center.__type.x","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1196,"kind":32,"name":"y","url":"interfaces/quickmapoptions.html#center.__type.y","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1197,"kind":1024,"name":"zoom","url":"interfaces/quickmapoptions.html#zoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1198,"kind":1024,"name":"minZoom","url":"interfaces/quickmapoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1199,"kind":1024,"name":"maxZoom","url":"interfaces/quickmapoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1200,"kind":1024,"name":"baseSwitcher","url":"interfaces/quickmapoptions.html#baseswitcher","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1201,"kind":1024,"name":"fullScreen","url":"interfaces/quickmapoptions.html#fullscreen","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1202,"kind":64,"name":"quickMapBase","url":"globals.html#quickmapbase","classes":"tsd-kind-function"},{"id":1203,"kind":64,"name":"quickMap","url":"globals.html#quickmap","classes":"tsd-kind-function"},{"id":1204,"kind":64,"name":"quickMapMulti","url":"globals.html#quickmapmulti","classes":"tsd-kind-function"},{"id":1205,"kind":128,"name":"SortedFeatures","url":"classes/sortedfeatures.html","classes":"tsd-kind-class"},{"id":1206,"kind":1024,"name":"sortedFeatures","url":"classes/sortedfeatures.html#sortedfeatures-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1207,"kind":1024,"name":"propertyName","url":"classes/sortedfeatures.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1208,"kind":1024,"name":"_propertyType","url":"classes/sortedfeatures.html#_propertytype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1209,"kind":512,"name":"constructor","url":"classes/sortedfeatures.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1210,"kind":2048,"name":"getFeature","url":"classes/sortedfeatures.html#getfeature","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1211,"kind":256,"name":"iAction","url":"interfaces/iaction.html","classes":"tsd-kind-interface"},{"id":1212,"kind":1024,"name":"type","url":"interfaces/iaction.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iAction"},{"id":1213,"kind":32,"name":"connect","url":"globals.html#connect","classes":"tsd-kind-variable"},{"id":1214,"kind":32,"name":"Provider","url":"globals.html#provider","classes":"tsd-kind-variable"},{"id":1215,"kind":32,"name":"combineReducers","url":"globals.html#combinereducers","classes":"tsd-kind-variable"},{"id":1216,"kind":32,"name":"createStore","url":"globals.html#createstore","classes":"tsd-kind-variable"},{"id":1217,"kind":64,"name":"stringToDate","url":"globals.html#stringtodate","classes":"tsd-kind-function"},{"id":1218,"kind":64,"name":"dateToString","url":"globals.html#datetostring","classes":"tsd-kind-function"},{"id":1219,"kind":128,"name":"DatePick","url":"classes/datepick.html","classes":"tsd-kind-class"},{"id":1220,"kind":1024,"name":"defaultId","url":"classes/datepick.html#defaultid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DatePick"},{"id":1221,"kind":512,"name":"constructor","url":"classes/datepick.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"DatePick"},{"id":1222,"kind":2048,"name":"componentDidMount","url":"classes/datepick.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DatePick"},{"id":1223,"kind":2048,"name":"render","url":"classes/datepick.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DatePick"},{"id":1224,"kind":2048,"name":"setState","url":"classes/datepick.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"DatePick"},{"id":1225,"kind":2048,"name":"forceUpdate","url":"classes/datepick.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1226,"kind":1024,"name":"props","url":"classes/datepick.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1227,"kind":1024,"name":"state","url":"classes/datepick.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1228,"kind":1024,"name":"context","url":"classes/datepick.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1229,"kind":1024,"name":"refs","url":"classes/datepick.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1230,"kind":65536,"name":"__type","url":"classes/datepick.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"DatePick.refs"},{"id":1231,"kind":128,"name":"DateRange","url":"classes/daterange.html","classes":"tsd-kind-class"},{"id":1232,"kind":1024,"name":"startId","url":"classes/daterange.html#startid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1233,"kind":1024,"name":"endId","url":"classes/daterange.html#endid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1234,"kind":1024,"name":"startInput","url":"classes/daterange.html#startinput","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1235,"kind":1024,"name":"endInput","url":"classes/daterange.html#endinput","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1236,"kind":1024,"name":"start","url":"classes/daterange.html#start","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1237,"kind":1024,"name":"end","url":"classes/daterange.html#end","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1238,"kind":1024,"name":"maxRange","url":"classes/daterange.html#maxrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1239,"kind":1024,"name":"minRange","url":"classes/daterange.html#minrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1240,"kind":1024,"name":"numDays","url":"classes/daterange.html#numdays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1241,"kind":512,"name":"constructor","url":"classes/daterange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"DateRange"},{"id":1242,"kind":2048,"name":"setNumDays","url":"classes/daterange.html#setnumdays","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1243,"kind":2048,"name":"componentDidMount","url":"classes/daterange.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1244,"kind":262144,"name":"needReset","url":"classes/daterange.html#needreset","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DateRange"},{"id":1245,"kind":2048,"name":"setStart","url":"classes/daterange.html#setstart","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1246,"kind":2048,"name":"setEnd","url":"classes/daterange.html#setend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1247,"kind":2048,"name":"render","url":"classes/daterange.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DateRange"},{"id":1248,"kind":2048,"name":"setState","url":"classes/daterange.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"DateRange"},{"id":1249,"kind":2048,"name":"forceUpdate","url":"classes/daterange.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1250,"kind":1024,"name":"props","url":"classes/daterange.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1251,"kind":1024,"name":"state","url":"classes/daterange.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1252,"kind":1024,"name":"context","url":"classes/daterange.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1253,"kind":1024,"name":"refs","url":"classes/daterange.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1254,"kind":65536,"name":"__type","url":"classes/daterange.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"DateRange.refs"},{"id":1255,"kind":64,"name":"default","url":"globals.html#default","classes":"tsd-kind-function"},{"id":1256,"kind":128,"name":"RadioItem","url":"classes/radioitem.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":1257,"kind":1024,"name":"guid","url":"classes/radioitem.html#guid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioItem"},{"id":1258,"kind":2048,"name":"render","url":"classes/radioitem.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioItem"},{"id":1259,"kind":512,"name":"constructor","url":"classes/radioitem.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1260,"kind":2048,"name":"setState","url":"classes/radioitem.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1261,"kind":2048,"name":"forceUpdate","url":"classes/radioitem.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1262,"kind":1024,"name":"props","url":"classes/radioitem.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1263,"kind":1024,"name":"state","url":"classes/radioitem.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1264,"kind":1024,"name":"context","url":"classes/radioitem.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1265,"kind":1024,"name":"refs","url":"classes/radioitem.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1266,"kind":65536,"name":"__type","url":"classes/radioitem.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioItem.refs"},{"id":1267,"kind":128,"name":"RadioBase","url":"classes/radiobase.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":1268,"kind":1024,"name":"inline","url":"classes/radiobase.html#inline","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioBase"},{"id":1269,"kind":1024,"name":"groupId","url":"classes/radiobase.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioBase"},{"id":1270,"kind":512,"name":"constructor","url":"classes/radiobase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioBase"},{"id":1271,"kind":2048,"name":"render","url":"classes/radiobase.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioBase"},{"id":1272,"kind":2048,"name":"setState","url":"classes/radiobase.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1273,"kind":2048,"name":"forceUpdate","url":"classes/radiobase.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1274,"kind":1024,"name":"props","url":"classes/radiobase.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1275,"kind":1024,"name":"state","url":"classes/radiobase.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1276,"kind":1024,"name":"context","url":"classes/radiobase.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1277,"kind":1024,"name":"refs","url":"classes/radiobase.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1278,"kind":65536,"name":"__type","url":"classes/radiobase.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioBase.refs"},{"id":1279,"kind":128,"name":"Radio","url":"classes/radio.html","classes":"tsd-kind-class"},{"id":1280,"kind":2048,"name":"render","url":"classes/radio.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Radio"},{"id":1281,"kind":512,"name":"constructor","url":"classes/radio.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1282,"kind":2048,"name":"setState","url":"classes/radio.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Radio"},{"id":1283,"kind":2048,"name":"forceUpdate","url":"classes/radio.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1284,"kind":1024,"name":"props","url":"classes/radio.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1285,"kind":1024,"name":"state","url":"classes/radio.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1286,"kind":1024,"name":"context","url":"classes/radio.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1287,"kind":1024,"name":"refs","url":"classes/radio.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1288,"kind":65536,"name":"__type","url":"classes/radio.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"Radio.refs"},{"id":1289,"kind":128,"name":"RadioConnected","url":"classes/radioconnected.html","classes":"tsd-kind-class"},{"id":1290,"kind":2048,"name":"render","url":"classes/radioconnected.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RadioConnected"},{"id":1291,"kind":512,"name":"constructor","url":"classes/radioconnected.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1292,"kind":2048,"name":"setState","url":"classes/radioconnected.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"RadioConnected"},{"id":1293,"kind":2048,"name":"forceUpdate","url":"classes/radioconnected.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1294,"kind":1024,"name":"props","url":"classes/radioconnected.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1295,"kind":1024,"name":"state","url":"classes/radioconnected.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1296,"kind":1024,"name":"context","url":"classes/radioconnected.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1297,"kind":1024,"name":"refs","url":"classes/radioconnected.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1298,"kind":65536,"name":"__type","url":"classes/radioconnected.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioConnected.refs"},{"id":1299,"kind":128,"name":"SelectArea","url":"classes/selectarea.html","classes":"tsd-kind-class"},{"id":1300,"kind":1024,"name":"map","url":"classes/selectarea.html#map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1301,"kind":1024,"name":"callback","url":"classes/selectarea.html#callback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1302,"kind":65536,"name":"__type","url":"classes/selectarea.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"SelectArea.callback"},{"id":1303,"kind":1024,"name":"areaOverlay","url":"classes/selectarea.html#areaoverlay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1304,"kind":1024,"name":"draw","url":"classes/selectarea.html#draw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1305,"kind":1024,"name":"selectId","url":"classes/selectarea.html#selectid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1306,"kind":1024,"name":"cancelId","url":"classes/selectarea.html#cancelid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1307,"kind":1024,"name":"selectButton","url":"classes/selectarea.html#selectbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1308,"kind":1024,"name":"cancelButton","url":"classes/selectarea.html#cancelbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1309,"kind":512,"name":"constructor","url":"classes/selectarea.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"SelectArea"},{"id":1310,"kind":2048,"name":"componentDidMount","url":"classes/selectarea.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1311,"kind":2048,"name":"setArea","url":"classes/selectarea.html#setarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1312,"kind":2048,"name":"cancel","url":"classes/selectarea.html#cancel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1313,"kind":2048,"name":"render","url":"classes/selectarea.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"SelectArea"},{"id":1314,"kind":2048,"name":"setState","url":"classes/selectarea.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"SelectArea"},{"id":1315,"kind":2048,"name":"forceUpdate","url":"classes/selectarea.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1316,"kind":1024,"name":"props","url":"classes/selectarea.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1317,"kind":1024,"name":"state","url":"classes/selectarea.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1318,"kind":1024,"name":"context","url":"classes/selectarea.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1319,"kind":1024,"name":"refs","url":"classes/selectarea.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1320,"kind":65536,"name":"__type","url":"classes/selectarea.html#refs.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"SelectArea.refs"},{"id":1321,"kind":128,"name":"Slider","url":"classes/slider.html","classes":"tsd-kind-class"},{"id":1322,"kind":1024,"name":"uid","url":"classes/slider.html#uid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1323,"kind":1024,"name":"startUid","url":"classes/slider.html#startuid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1324,"kind":1024,"name":"endUid","url":"classes/slider.html#enduid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1325,"kind":1024,"name":"intervalUid","url":"classes/slider.html#intervaluid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1326,"kind":1024,"name":"el","url":"classes/slider.html#el","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1327,"kind":1024,"name":"startButton","url":"classes/slider.html#startbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1328,"kind":1024,"name":"endButton","url":"classes/slider.html#endbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1329,"kind":1024,"name":"intervalSelect","url":"classes/slider.html#intervalselect","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1330,"kind":1024,"name":"interval","url":"classes/slider.html#interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1331,"kind":1024,"name":"running","url":"classes/slider.html#running","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1332,"kind":1024,"name":"minVal","url":"classes/slider.html#minval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1333,"kind":1024,"name":"maxVal","url":"classes/slider.html#maxval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1334,"kind":1024,"name":"step","url":"classes/slider.html#step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1335,"kind":512,"name":"constructor","url":"classes/slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"Slider"},{"id":1336,"kind":2048,"name":"componentDidMount","url":"classes/slider.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1337,"kind":2048,"name":"updateRunning","url":"classes/slider.html#updaterunning","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1338,"kind":2048,"name":"startAnimate","url":"classes/slider.html#startanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1339,"kind":2048,"name":"stopAnimate","url":"classes/slider.html#stopanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1340,"kind":2048,"name":"restartAnimate","url":"classes/slider.html#restartanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1341,"kind":2048,"name":"render","url":"classes/slider.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Slider"},{"id":1342,"kind":2048,"name":"setState","url":"classes/slider.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Slider"},{"id":1343,"kind":2048,"name":"forceUpdate","url":"classes/slider.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1344,"kind":1024,"name":"props","url":"classes/slider.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1345,"kind":1024,"name":"state","url":"classes/slider.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1346,"kind":1024,"name":"context","url":"classes/slider.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1347,"kind":1024,"name":"refs","url":"classes/slider.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1348,"kind":65536,"name":"__type","url":"classes/slider.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"Slider.refs"},{"id":1349,"kind":2,"name":"checkDefined","url":"modules/checkdefined.html","classes":"tsd-kind-module"},{"id":1350,"kind":32,"name":"undefinedOrNull","url":"modules/checkdefined.html#undefinedornull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1351,"kind":32,"name":"definedAndNotNull","url":"modules/checkdefined.html#definedandnotnull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1352,"kind":64,"name":"leadingPad","url":"globals.html#leadingpad","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1353,"kind":64,"name":"dateToYyyyMmDdHhMmSs","url":"globals.html#datetoyyyymmddhhmmss","classes":"tsd-kind-function"},{"id":1354,"kind":64,"name":"dateToYyyyMmDdHh000","url":"globals.html#datetoyyyymmddhh000","classes":"tsd-kind-function"},{"id":1355,"kind":64,"name":"isNumber","url":"globals.html#isnumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1356,"kind":64,"name":"getUrlParams","url":"globals.html#geturlparams","classes":"tsd-kind-function"},{"id":1357,"kind":256,"name":"keyVals","url":"interfaces/keyvals.html","classes":"tsd-kind-interface"},{"id":1358,"kind":1024,"name":"key","url":"interfaces/keyvals.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1359,"kind":1024,"name":"value","url":"interfaces/keyvals.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1360,"kind":64,"name":"keyValPairs","url":"globals.html#keyvalpairs","classes":"tsd-kind-function"}]}; \ No newline at end of file +var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":64,"name":"provide","url":"globals.html#provide","classes":"tsd-kind-function"},{"id":1,"kind":32,"name":"nm","url":"globals.html#nm","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":2,"kind":64,"name":"undefinedOrNull","url":"globals.html#undefinedornull","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"definedAndNotNull","url":"globals.html#definedandnotnull","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"_hex","url":"globals.html#_hex","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":5,"kind":64,"name":"rgb2hex","url":"globals.html#rgb2hex","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"hexAlphaToRgbOrRgba","url":"globals.html#hexalphatorgborrgba","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"rgbToRgba","url":"globals.html#rgbtorgba","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"makeBlueGreenRedGradient","url":"globals.html#makebluegreenredgradient","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"makeBlueGreenRedGradientZScore","url":"globals.html#makebluegreenredgradientzscore","classes":"tsd-kind-function"},{"id":10,"kind":32,"name":"_zoomResLookup","url":"globals.html#_zoomreslookup","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":11,"kind":64,"name":"zoomToResolution","url":"globals.html#zoomtoresolution","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"resolutionToZoom","url":"globals.html#resolutiontozoom","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"makeGuid","url":"globals.html#makeguid","classes":"tsd-kind-function"},{"id":14,"kind":256,"name":"LayerBaseOptions","url":"interfaces/layerbaseoptions.html","classes":"tsd-kind-interface"},{"id":15,"kind":1024,"name":"id","url":"interfaces/layerbaseoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":16,"kind":1024,"name":"name","url":"interfaces/layerbaseoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":17,"kind":1024,"name":"opacity","url":"interfaces/layerbaseoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":18,"kind":1024,"name":"visible","url":"interfaces/layerbaseoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":19,"kind":1024,"name":"minZoom","url":"interfaces/layerbaseoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":20,"kind":1024,"name":"maxZoom","url":"interfaces/layerbaseoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":21,"kind":1024,"name":"params","url":"interfaces/layerbaseoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":22,"kind":1024,"name":"zIndex","url":"interfaces/layerbaseoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":23,"kind":1024,"name":"loadCallback","url":"interfaces/layerbaseoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":24,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbaseoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":25,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbaseoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":26,"kind":1024,"name":"legendContent","url":"interfaces/layerbaseoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":27,"kind":128,"name":"LayerBase","url":"classes/layerbase.html","classes":"tsd-kind-class"},{"id":28,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbase.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":29,"kind":1024,"name":"_url","url":"classes/layerbase.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":30,"kind":1024,"name":"_opacity","url":"classes/layerbase.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":31,"kind":1024,"name":"_minZoom","url":"classes/layerbase.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":32,"kind":1024,"name":"_maxZoom","url":"classes/layerbase.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":33,"kind":1024,"name":"_visible","url":"classes/layerbase.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":34,"kind":1024,"name":"_loaded","url":"classes/layerbase.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":35,"kind":1024,"name":"_zIndex","url":"classes/layerbase.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":36,"kind":1024,"name":"_legendContent","url":"classes/layerbase.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":37,"kind":1024,"name":"_params","url":"classes/layerbase.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":38,"kind":1024,"name":"_id","url":"classes/layerbase.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":39,"kind":1024,"name":"_name","url":"classes/layerbase.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":40,"kind":1024,"name":"_source","url":"classes/layerbase.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":41,"kind":1024,"name":"_animate","url":"classes/layerbase.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":42,"kind":1024,"name":"_legendCollapse","url":"classes/layerbase.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":43,"kind":1024,"name":"_maxResolution","url":"classes/layerbase.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":44,"kind":1024,"name":"_minResolution","url":"classes/layerbase.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":45,"kind":1024,"name":"_$legendDiv","url":"classes/layerbase.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":46,"kind":1024,"name":"loadCallback","url":"classes/layerbase.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBase"},{"id":47,"kind":1024,"name":"_olLayer","url":"classes/layerbase.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":48,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbase.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":49,"kind":512,"name":"constructor","url":"classes/layerbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerBase"},{"id":50,"kind":2048,"name":"_load","url":"classes/layerbase.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":51,"kind":2048,"name":"getLegendDiv","url":"classes/layerbase.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":52,"kind":2048,"name":"_addLegendContent","url":"classes/layerbase.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerBase"},{"id":53,"kind":2048,"name":"addLegendContent","url":"classes/layerbase.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":54,"kind":2048,"name":"applyCollapse","url":"classes/layerbase.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":55,"kind":2048,"name":"refresh","url":"classes/layerbase.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":56,"kind":262144,"name":"id","url":"classes/layerbase.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":57,"kind":262144,"name":"animate","url":"classes/layerbase.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":58,"kind":262144,"name":"legendContent","url":"classes/layerbase.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":59,"kind":262144,"name":"params","url":"classes/layerbase.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":60,"kind":262144,"name":"minResolution","url":"classes/layerbase.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":61,"kind":262144,"name":"maxResolution","url":"classes/layerbase.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":62,"kind":262144,"name":"minZoom","url":"classes/layerbase.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":63,"kind":262144,"name":"maxZoom","url":"classes/layerbase.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":64,"kind":262144,"name":"url","url":"classes/layerbase.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":65,"kind":262144,"name":"visible","url":"classes/layerbase.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":66,"kind":2048,"name":"setVisible","url":"classes/layerbase.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":67,"kind":262144,"name":"opacity","url":"classes/layerbase.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":68,"kind":262144,"name":"name","url":"classes/layerbase.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":69,"kind":262144,"name":"loaded","url":"classes/layerbase.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":70,"kind":262144,"name":"source","url":"classes/layerbase.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":71,"kind":2048,"name":"getSource","url":"classes/layerbase.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":72,"kind":262144,"name":"zIndex","url":"classes/layerbase.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":73,"kind":2048,"name":"setZIndex","url":"classes/layerbase.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":74,"kind":262144,"name":"olLayer","url":"classes/layerbase.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":75,"kind":2048,"name":"getOlLayer","url":"classes/layerbase.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":76,"kind":128,"name":"MapInteractionBase","url":"classes/mapinteractionbase.html","classes":"tsd-kind-class"},{"id":77,"kind":1024,"name":"_map","url":"classes/mapinteractionbase.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":78,"kind":1024,"name":"_initialized","url":"classes/mapinteractionbase.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":79,"kind":1024,"name":"_subtype","url":"classes/mapinteractionbase.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":80,"kind":512,"name":"constructor","url":"classes/mapinteractionbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":81,"kind":2048,"name":"init","url":"classes/mapinteractionbase.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":82,"kind":262144,"name":"map","url":"classes/mapinteractionbase.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":83,"kind":262144,"name":"initialized","url":"classes/mapinteractionbase.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":84,"kind":2048,"name":"_checkInit","url":"classes/mapinteractionbase.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"MapInteractionBase"},{"id":85,"kind":2048,"name":"checkInit","url":"classes/mapinteractionbase.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":86,"kind":256,"name":"extentObject","url":"interfaces/extentobject.html","classes":"tsd-kind-interface"},{"id":87,"kind":1024,"name":"minX","url":"interfaces/extentobject.html#minx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":88,"kind":1024,"name":"minY","url":"interfaces/extentobject.html#miny","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":89,"kind":1024,"name":"maxX","url":"interfaces/extentobject.html#maxx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":90,"kind":1024,"name":"maxY","url":"interfaces/extentobject.html#maxy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":91,"kind":256,"name":"mapMoveCallbackFunction","url":"interfaces/mapmovecallbackfunction.html","classes":"tsd-kind-interface"},{"id":92,"kind":128,"name":"MapMoveCls","url":"classes/mapmovecls.html","classes":"tsd-kind-class"},{"id":93,"kind":1024,"name":"_mapExtent","url":"classes/mapmovecls.html#_mapextent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":94,"kind":1024,"name":"_zoomLevel","url":"classes/mapmovecls.html#_zoomlevel","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":95,"kind":1024,"name":"_lookupLayer","url":"classes/mapmovecls.html#_lookuplayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":96,"kind":1024,"name":"_arrLayer","url":"classes/mapmovecls.html#_arrlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":97,"kind":1024,"name":"_arrLyrTimeout","url":"classes/mapmovecls.html#_arrlyrtimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":98,"kind":1024,"name":"_mapMoveCallbackTimeout","url":"classes/mapmovecls.html#_mapmovecallbacktimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":99,"kind":1024,"name":"_mapMoveCallbackDelays","url":"classes/mapmovecls.html#_mapmovecallbackdelays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":100,"kind":1024,"name":"_mapMoveCallbacksLookup","url":"classes/mapmovecls.html#_mapmovecallbackslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":101,"kind":1024,"name":"_mapMoveCallbackContext","url":"classes/mapmovecls.html#_mapmovecallbackcontext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":102,"kind":1024,"name":"_mapMoveCallbacks","url":"classes/mapmovecls.html#_mapmovecallbacks","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":103,"kind":1024,"name":"_arrLyrRequest","url":"classes/mapmovecls.html#_arrlyrrequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":104,"kind":512,"name":"constructor","url":"classes/mapmovecls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":105,"kind":2048,"name":"init","url":"classes/mapmovecls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":106,"kind":2048,"name":"_updateMapExtent","url":"classes/mapmovecls.html#_updatemapextent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":107,"kind":262144,"name":"mapExtent","url":"classes/mapmovecls.html#mapextent","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapMoveCls"},{"id":108,"kind":2048,"name":"triggerLyrLoad","url":"classes/mapmovecls.html#triggerlyrload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":109,"kind":2048,"name":"triggerMoveCallback","url":"classes/mapmovecls.html#triggermovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":110,"kind":2048,"name":"addVectorLayer","url":"classes/mapmovecls.html#addvectorlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":111,"kind":2048,"name":"addCallback","url":"classes/mapmovecls.html#addcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":112,"kind":1024,"name":"_map","url":"classes/mapmovecls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":113,"kind":1024,"name":"_initialized","url":"classes/mapmovecls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":114,"kind":1024,"name":"_subtype","url":"classes/mapmovecls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":115,"kind":262144,"name":"map","url":"classes/mapmovecls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":116,"kind":262144,"name":"initialized","url":"classes/mapmovecls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":117,"kind":2048,"name":"_checkInit","url":"classes/mapmovecls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapMoveCls"},{"id":118,"kind":2048,"name":"checkInit","url":"classes/mapmovecls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":119,"kind":32,"name":"mapMove","url":"globals.html#mapmove","classes":"tsd-kind-variable"},{"id":120,"kind":256,"name":"makeMapMoveParams","url":"interfaces/makemapmoveparams.html","classes":"tsd-kind-interface"},{"id":121,"kind":256,"name":"LayerBaseVectorOptions","url":"interfaces/layerbasevectoroptions.html","classes":"tsd-kind-interface"},{"id":122,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoroptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":123,"kind":1024,"name":"style","url":"interfaces/layerbasevectoroptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":124,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoroptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":125,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoroptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":126,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoroptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":127,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoroptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":128,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoroptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":129,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoroptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorOptions.renderOrder"},{"id":130,"kind":1024,"name":"id","url":"interfaces/layerbasevectoroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":131,"kind":1024,"name":"name","url":"interfaces/layerbasevectoroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":132,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":133,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":134,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":135,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":136,"kind":1024,"name":"params","url":"interfaces/layerbasevectoroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":137,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":138,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":139,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":140,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":141,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":142,"kind":128,"name":"LayerBaseVector","url":"classes/layerbasevector.html","classes":"tsd-kind-class"},{"id":143,"kind":1024,"name":"_olLayer","url":"classes/layerbasevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":144,"kind":1024,"name":"_source","url":"classes/layerbasevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":145,"kind":1024,"name":"_style","url":"classes/layerbasevector.html#_style","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":146,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevector.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":147,"kind":1024,"name":"_onDemand","url":"classes/layerbasevector.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":148,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevector.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":149,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevector.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":150,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevector.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":151,"kind":1024,"name":"_mapMove","url":"classes/layerbasevector.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":152,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevector.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":153,"kind":1024,"name":"_projection4326","url":"classes/layerbasevector.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":154,"kind":512,"name":"constructor","url":"classes/layerbasevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":155,"kind":2048,"name":"addFeatures","url":"classes/layerbasevector.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":156,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevector.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":157,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevector.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":158,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevector.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":159,"kind":2048,"name":"clear","url":"classes/layerbasevector.html#clear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":160,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevector.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":161,"kind":262144,"name":"autoLoad","url":"classes/layerbasevector.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":162,"kind":262144,"name":"style","url":"classes/layerbasevector.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":163,"kind":262144,"name":"mapCrs","url":"classes/layerbasevector.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":164,"kind":262144,"name":"mapProj","url":"classes/layerbasevector.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":165,"kind":262144,"name":"mapMove","url":"classes/layerbasevector.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":166,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevector.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":167,"kind":262144,"name":"visible","url":"classes/layerbasevector.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":168,"kind":262144,"name":"source","url":"classes/layerbasevector.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":169,"kind":262144,"name":"features","url":"classes/layerbasevector.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":170,"kind":262144,"name":"olLayer","url":"classes/layerbasevector.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":171,"kind":2048,"name":"setZIndex","url":"classes/layerbasevector.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVector"},{"id":172,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevector.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":173,"kind":1024,"name":"_url","url":"classes/layerbasevector.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":174,"kind":1024,"name":"_opacity","url":"classes/layerbasevector.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":175,"kind":1024,"name":"_minZoom","url":"classes/layerbasevector.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":176,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevector.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":177,"kind":1024,"name":"_visible","url":"classes/layerbasevector.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":178,"kind":1024,"name":"_loaded","url":"classes/layerbasevector.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":179,"kind":1024,"name":"_zIndex","url":"classes/layerbasevector.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":180,"kind":1024,"name":"_legendContent","url":"classes/layerbasevector.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":181,"kind":1024,"name":"_params","url":"classes/layerbasevector.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":182,"kind":1024,"name":"_id","url":"classes/layerbasevector.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":183,"kind":1024,"name":"_name","url":"classes/layerbasevector.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":184,"kind":1024,"name":"_animate","url":"classes/layerbasevector.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":185,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevector.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":186,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevector.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":187,"kind":1024,"name":"_minResolution","url":"classes/layerbasevector.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":188,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevector.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":189,"kind":1024,"name":"loadCallback","url":"classes/layerbasevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":190,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevector.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":191,"kind":2048,"name":"_load","url":"classes/layerbasevector.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":192,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevector.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":193,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevector.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVector"},{"id":194,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevector.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":195,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevector.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":196,"kind":2048,"name":"refresh","url":"classes/layerbasevector.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":197,"kind":262144,"name":"id","url":"classes/layerbasevector.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":198,"kind":262144,"name":"animate","url":"classes/layerbasevector.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":199,"kind":262144,"name":"legendContent","url":"classes/layerbasevector.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":200,"kind":262144,"name":"params","url":"classes/layerbasevector.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":201,"kind":262144,"name":"minResolution","url":"classes/layerbasevector.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":202,"kind":262144,"name":"maxResolution","url":"classes/layerbasevector.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":203,"kind":262144,"name":"minZoom","url":"classes/layerbasevector.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":204,"kind":262144,"name":"maxZoom","url":"classes/layerbasevector.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":205,"kind":262144,"name":"url","url":"classes/layerbasevector.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":206,"kind":2048,"name":"setVisible","url":"classes/layerbasevector.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":207,"kind":262144,"name":"opacity","url":"classes/layerbasevector.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":208,"kind":262144,"name":"name","url":"classes/layerbasevector.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":209,"kind":262144,"name":"loaded","url":"classes/layerbasevector.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":210,"kind":2048,"name":"getSource","url":"classes/layerbasevector.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":211,"kind":262144,"name":"zIndex","url":"classes/layerbasevector.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":212,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevector.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":213,"kind":32,"name":"proj4326","url":"globals.html#proj4326","classes":"tsd-kind-variable"},{"id":214,"kind":32,"name":"proj3857","url":"globals.html#proj3857","classes":"tsd-kind-variable"},{"id":215,"kind":32,"name":"proj3070","url":"globals.html#proj3070","classes":"tsd-kind-variable"},{"id":216,"kind":256,"name":"crsTransform","url":"interfaces/crstransform.html","classes":"tsd-kind-interface"},{"id":217,"kind":1024,"name":"dataProjection","url":"interfaces/crstransform.html#dataprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":218,"kind":1024,"name":"featureProjection","url":"interfaces/crstransform.html#featureprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":219,"kind":256,"name":"LayerBaseVectorGeoJsonOptions","url":"interfaces/layerbasevectorgeojsonoptions.html","classes":"tsd-kind-interface"},{"id":220,"kind":1024,"name":"transform","url":"interfaces/layerbasevectorgeojsonoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorGeoJsonOptions"},{"id":221,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"LayerBaseVectorGeoJsonOptions"},{"id":222,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectorgeojsonoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":223,"kind":1024,"name":"style","url":"interfaces/layerbasevectorgeojsonoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":224,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":225,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":226,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":227,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":228,"kind":65536,"name":"__type","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorGeoJsonOptions.renderOrder"},{"id":229,"kind":1024,"name":"id","url":"interfaces/layerbasevectorgeojsonoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":230,"kind":1024,"name":"name","url":"interfaces/layerbasevectorgeojsonoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":231,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectorgeojsonoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":232,"kind":1024,"name":"visible","url":"interfaces/layerbasevectorgeojsonoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":233,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":234,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":235,"kind":1024,"name":"params","url":"interfaces/layerbasevectorgeojsonoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":236,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectorgeojsonoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":237,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectorgeojsonoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":238,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":239,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":240,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":241,"kind":128,"name":"LayerBaseVectorGeoJson","url":"classes/layerbasevectorgeojson.html","classes":"tsd-kind-class"},{"id":242,"kind":1024,"name":"_geoJsonFormat","url":"classes/layerbasevectorgeojson.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":243,"kind":1024,"name":"_transform","url":"classes/layerbasevectorgeojson.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":244,"kind":512,"name":"constructor","url":"classes/layerbasevectorgeojson.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":245,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectorgeojson.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":246,"kind":2048,"name":"_load","url":"classes/layerbasevectorgeojson.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":247,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectorgeojson.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":248,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectorgeojson.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":249,"kind":1024,"name":"_source","url":"classes/layerbasevectorgeojson.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":250,"kind":1024,"name":"_style","url":"classes/layerbasevectorgeojson.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":251,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectorgeojson.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":252,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectorgeojson.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":253,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectorgeojson.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":254,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":255,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectorgeojson.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":256,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectorgeojson.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":257,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectorgeojson.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":258,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectorgeojson.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":259,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectorgeojson.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":260,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":261,"kind":2048,"name":"clear","url":"classes/layerbasevectorgeojson.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":262,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectorgeojson.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":263,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectorgeojson.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":264,"kind":262144,"name":"style","url":"classes/layerbasevectorgeojson.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":265,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectorgeojson.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":266,"kind":262144,"name":"mapProj","url":"classes/layerbasevectorgeojson.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":267,"kind":262144,"name":"mapMove","url":"classes/layerbasevectorgeojson.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":268,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectorgeojson.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":269,"kind":262144,"name":"visible","url":"classes/layerbasevectorgeojson.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":270,"kind":262144,"name":"source","url":"classes/layerbasevectorgeojson.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":271,"kind":262144,"name":"features","url":"classes/layerbasevectorgeojson.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":272,"kind":262144,"name":"olLayer","url":"classes/layerbasevectorgeojson.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":273,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectorgeojson.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":274,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectorgeojson.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":275,"kind":1024,"name":"_url","url":"classes/layerbasevectorgeojson.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":276,"kind":1024,"name":"_opacity","url":"classes/layerbasevectorgeojson.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":277,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectorgeojson.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":278,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectorgeojson.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":279,"kind":1024,"name":"_visible","url":"classes/layerbasevectorgeojson.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":280,"kind":1024,"name":"_loaded","url":"classes/layerbasevectorgeojson.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":281,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectorgeojson.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":282,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectorgeojson.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":283,"kind":1024,"name":"_params","url":"classes/layerbasevectorgeojson.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":284,"kind":1024,"name":"_id","url":"classes/layerbasevectorgeojson.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":285,"kind":1024,"name":"_name","url":"classes/layerbasevectorgeojson.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":286,"kind":1024,"name":"_animate","url":"classes/layerbasevectorgeojson.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":287,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectorgeojson.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":288,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectorgeojson.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":289,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectorgeojson.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":290,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectorgeojson.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":291,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectorgeojson.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":292,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectorgeojson.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":293,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectorgeojson.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":294,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectorgeojson.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorGeoJson"},{"id":295,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectorgeojson.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":296,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectorgeojson.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":297,"kind":2048,"name":"refresh","url":"classes/layerbasevectorgeojson.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":298,"kind":262144,"name":"id","url":"classes/layerbasevectorgeojson.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":299,"kind":262144,"name":"animate","url":"classes/layerbasevectorgeojson.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":300,"kind":262144,"name":"legendContent","url":"classes/layerbasevectorgeojson.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":301,"kind":262144,"name":"params","url":"classes/layerbasevectorgeojson.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":302,"kind":262144,"name":"minResolution","url":"classes/layerbasevectorgeojson.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":303,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectorgeojson.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":304,"kind":262144,"name":"minZoom","url":"classes/layerbasevectorgeojson.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":305,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectorgeojson.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":306,"kind":262144,"name":"url","url":"classes/layerbasevectorgeojson.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":307,"kind":2048,"name":"setVisible","url":"classes/layerbasevectorgeojson.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":308,"kind":262144,"name":"opacity","url":"classes/layerbasevectorgeojson.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":309,"kind":262144,"name":"name","url":"classes/layerbasevectorgeojson.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":310,"kind":262144,"name":"loaded","url":"classes/layerbasevectorgeojson.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":311,"kind":2048,"name":"getSource","url":"classes/layerbasevectorgeojson.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":312,"kind":262144,"name":"zIndex","url":"classes/layerbasevectorgeojson.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":313,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectorgeojson.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":314,"kind":64,"name":"propertiesZoomStyle","url":"globals.html#propertieszoomstyle","classes":"tsd-kind-function"},{"id":315,"kind":256,"name":"iEsriResponse","url":"interfaces/esriresponse.html","classes":"tsd-kind-interface"},{"id":316,"kind":1024,"name":"drawingInfo","url":"interfaces/esriresponse.html#drawinginfo","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriResponse"},{"id":317,"kind":65536,"name":"__type","url":"interfaces/esriresponse.html#drawinginfo.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"iEsriResponse.drawingInfo"},{"id":318,"kind":32,"name":"renderer","url":"interfaces/esriresponse.html#drawinginfo.__type.renderer","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriResponse.drawingInfo.__type"},{"id":319,"kind":1024,"name":"geometryType","url":"interfaces/esriresponse.html#geometrytype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriResponse"},{"id":320,"kind":256,"name":"iEsriRenderer","url":"interfaces/esrirenderer.html","classes":"tsd-kind-interface"},{"id":321,"kind":1024,"name":"type","url":"interfaces/esrirenderer.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":322,"kind":1024,"name":"symbol","url":"interfaces/esrirenderer.html#symbol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":323,"kind":1024,"name":"uniqueValueInfos","url":"interfaces/esrirenderer.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":324,"kind":256,"name":"iEsriSymbol","url":"interfaces/esrisymbol.html","classes":"tsd-kind-interface"},{"id":325,"kind":1024,"name":"size","url":"interfaces/esrisymbol.html#size","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":326,"kind":1024,"name":"type","url":"interfaces/esrisymbol.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":327,"kind":1024,"name":"outline","url":"interfaces/esrisymbol.html#outline","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":328,"kind":65536,"name":"__type","url":"interfaces/esrisymbol.html#outline.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"iEsriSymbol.outline"},{"id":329,"kind":32,"name":"color","url":"interfaces/esrisymbol.html#outline.__type.color-1","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriSymbol.outline.__type"},{"id":330,"kind":32,"name":"width","url":"interfaces/esrisymbol.html#outline.__type.width","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriSymbol.outline.__type"},{"id":331,"kind":1024,"name":"color","url":"interfaces/esrisymbol.html#color","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":332,"kind":1024,"name":"width","url":"interfaces/esrisymbol.html#width-1","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":333,"kind":128,"name":"CommonSymbol","url":"classes/commonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":334,"kind":1024,"name":"legendHtml","url":"classes/commonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":335,"kind":1024,"name":"opacity","url":"classes/commonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":336,"kind":1024,"name":"symbolObj","url":"classes/commonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":337,"kind":1024,"name":"olStyle","url":"classes/commonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":338,"kind":512,"name":"constructor","url":"classes/commonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":339,"kind":256,"name":"ICommonSymbol","url":"interfaces/icommonsymbol.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":340,"kind":512,"name":"constructor","url":"interfaces/icommonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-interface tsd-is-not-exported","parent":"ICommonSymbol"},{"id":341,"kind":128,"name":"PointSymbol","url":"classes/pointsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":342,"kind":512,"name":"constructor","url":"classes/pointsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PointSymbol"},{"id":343,"kind":1024,"name":"legendHtml","url":"classes/pointsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":344,"kind":1024,"name":"opacity","url":"classes/pointsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":345,"kind":1024,"name":"symbolObj","url":"classes/pointsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":346,"kind":1024,"name":"olStyle","url":"classes/pointsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":347,"kind":128,"name":"LineSymbol","url":"classes/linesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":348,"kind":512,"name":"constructor","url":"classes/linesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"LineSymbol"},{"id":349,"kind":1024,"name":"legendHtml","url":"classes/linesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":350,"kind":1024,"name":"opacity","url":"classes/linesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":351,"kind":1024,"name":"symbolObj","url":"classes/linesymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":352,"kind":1024,"name":"olStyle","url":"classes/linesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":353,"kind":128,"name":"PolygonSymbol","url":"classes/polygonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":354,"kind":512,"name":"constructor","url":"classes/polygonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PolygonSymbol"},{"id":355,"kind":1024,"name":"legendHtml","url":"classes/polygonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":356,"kind":1024,"name":"opacity","url":"classes/polygonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":357,"kind":1024,"name":"symbolObj","url":"classes/polygonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":358,"kind":1024,"name":"olStyle","url":"classes/polygonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":359,"kind":128,"name":"SymbolGenerator","url":"classes/symbolgenerator.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":360,"kind":1024,"name":"opacity","url":"classes/symbolgenerator.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":361,"kind":1024,"name":"renderer","url":"classes/symbolgenerator.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":362,"kind":1024,"name":"legendHtml","url":"classes/symbolgenerator.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":363,"kind":1024,"name":"olStyle","url":"classes/symbolgenerator.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":364,"kind":512,"name":"constructor","url":"classes/symbolgenerator.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":365,"kind":128,"name":"SingleSymbol","url":"classes/singlesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":366,"kind":1024,"name":"symbol","url":"classes/singlesymbol.html#symbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SingleSymbol"},{"id":367,"kind":512,"name":"constructor","url":"classes/singlesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"SingleSymbol"},{"id":368,"kind":1024,"name":"opacity","url":"classes/singlesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":369,"kind":1024,"name":"renderer","url":"classes/singlesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":370,"kind":1024,"name":"legendHtml","url":"classes/singlesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":371,"kind":1024,"name":"olStyle","url":"classes/singlesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":372,"kind":128,"name":"UniqueValueSymbol","url":"classes/uniquevaluesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":373,"kind":1024,"name":"propertyName","url":"classes/uniquevaluesymbol.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":374,"kind":1024,"name":"defaultSymbol","url":"classes/uniquevaluesymbol.html#defaultsymbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":375,"kind":1024,"name":"defaultStyle","url":"classes/uniquevaluesymbol.html#defaultstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":376,"kind":1024,"name":"defaultLabelHtml","url":"classes/uniquevaluesymbol.html#defaultlabelhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":377,"kind":1024,"name":"labelArray","url":"classes/uniquevaluesymbol.html#labelarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":378,"kind":1024,"name":"legendArray","url":"classes/uniquevaluesymbol.html#legendarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":379,"kind":1024,"name":"propertyStyleLookup","url":"classes/uniquevaluesymbol.html#propertystylelookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":380,"kind":1024,"name":"valueArray","url":"classes/uniquevaluesymbol.html#valuearray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":381,"kind":1024,"name":"uniqueValueInfos","url":"classes/uniquevaluesymbol.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":382,"kind":512,"name":"constructor","url":"classes/uniquevaluesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":383,"kind":1024,"name":"opacity","url":"classes/uniquevaluesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":384,"kind":1024,"name":"renderer","url":"classes/uniquevaluesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":385,"kind":1024,"name":"legendHtml","url":"classes/uniquevaluesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":386,"kind":1024,"name":"olStyle","url":"classes/uniquevaluesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":387,"kind":64,"name":"_colorArrayToRgba","url":"globals.html#_colorarraytorgba","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":388,"kind":64,"name":"htmlEscape","url":"globals.html#htmlescape","classes":"tsd-kind-function tsd-is-not-exported"},{"id":389,"kind":64,"name":"makeFeatureServiceLegendAndSymbol","url":"globals.html#makefeatureservicelegendandsymbol","classes":"tsd-kind-function"},{"id":390,"kind":64,"name":"mapServiceLegendItem","url":"globals.html#mapservicelegenditem","classes":"tsd-kind-function tsd-is-not-exported"},{"id":391,"kind":64,"name":"makeMapServiceLegend","url":"globals.html#makemapservicelegend","classes":"tsd-kind-function"},{"id":392,"kind":256,"name":"LayerEsriMapServerOptions","url":"interfaces/layeresrimapserveroptions.html","classes":"tsd-kind-interface"},{"id":393,"kind":1024,"name":"addPopup","url":"interfaces/layeresrimapserveroptions.html#addpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":394,"kind":1024,"name":"showLayers","url":"interfaces/layeresrimapserveroptions.html#showlayers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":395,"kind":1024,"name":"id","url":"interfaces/layeresrimapserveroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":396,"kind":1024,"name":"name","url":"interfaces/layeresrimapserveroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":397,"kind":1024,"name":"opacity","url":"interfaces/layeresrimapserveroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":398,"kind":1024,"name":"visible","url":"interfaces/layeresrimapserveroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":399,"kind":1024,"name":"minZoom","url":"interfaces/layeresrimapserveroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":400,"kind":1024,"name":"maxZoom","url":"interfaces/layeresrimapserveroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":401,"kind":1024,"name":"params","url":"interfaces/layeresrimapserveroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":402,"kind":1024,"name":"zIndex","url":"interfaces/layeresrimapserveroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":403,"kind":1024,"name":"loadCallback","url":"interfaces/layeresrimapserveroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":404,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresrimapserveroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":405,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresrimapserveroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":406,"kind":1024,"name":"legendContent","url":"interfaces/layeresrimapserveroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":407,"kind":128,"name":"LayerEsriMapServer","url":"classes/layeresrimapserver.html","classes":"tsd-kind-class"},{"id":408,"kind":1024,"name":"_esriFormat","url":"classes/layeresrimapserver.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":409,"kind":1024,"name":"_popupRequest","url":"classes/layeresrimapserver.html#_popuprequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":410,"kind":512,"name":"constructor","url":"classes/layeresrimapserver.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":411,"kind":2048,"name":"addLegendContent","url":"classes/layeresrimapserver.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":412,"kind":2048,"name":"getPopupInfo","url":"classes/layeresrimapserver.html#getpopupinfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":413,"kind":262144,"name":"source","url":"classes/layeresrimapserver.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":414,"kind":262144,"name":"olLayer","url":"classes/layeresrimapserver.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":415,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresrimapserver.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":416,"kind":1024,"name":"_url","url":"classes/layeresrimapserver.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":417,"kind":1024,"name":"_opacity","url":"classes/layeresrimapserver.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":418,"kind":1024,"name":"_minZoom","url":"classes/layeresrimapserver.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":419,"kind":1024,"name":"_maxZoom","url":"classes/layeresrimapserver.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":420,"kind":1024,"name":"_visible","url":"classes/layeresrimapserver.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":421,"kind":1024,"name":"_loaded","url":"classes/layeresrimapserver.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":422,"kind":1024,"name":"_zIndex","url":"classes/layeresrimapserver.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":423,"kind":1024,"name":"_legendContent","url":"classes/layeresrimapserver.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":424,"kind":1024,"name":"_params","url":"classes/layeresrimapserver.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":425,"kind":1024,"name":"_id","url":"classes/layeresrimapserver.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":426,"kind":1024,"name":"_name","url":"classes/layeresrimapserver.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":427,"kind":1024,"name":"_source","url":"classes/layeresrimapserver.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":428,"kind":1024,"name":"_animate","url":"classes/layeresrimapserver.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":429,"kind":1024,"name":"_legendCollapse","url":"classes/layeresrimapserver.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":430,"kind":1024,"name":"_maxResolution","url":"classes/layeresrimapserver.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":431,"kind":1024,"name":"_minResolution","url":"classes/layeresrimapserver.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":432,"kind":1024,"name":"_$legendDiv","url":"classes/layeresrimapserver.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":433,"kind":1024,"name":"loadCallback","url":"classes/layeresrimapserver.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":434,"kind":1024,"name":"_olLayer","url":"classes/layeresrimapserver.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":435,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresrimapserver.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":436,"kind":2048,"name":"_load","url":"classes/layeresrimapserver.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":437,"kind":2048,"name":"getLegendDiv","url":"classes/layeresrimapserver.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":438,"kind":2048,"name":"_addLegendContent","url":"classes/layeresrimapserver.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriMapServer"},{"id":439,"kind":2048,"name":"applyCollapse","url":"classes/layeresrimapserver.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":440,"kind":2048,"name":"refresh","url":"classes/layeresrimapserver.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":441,"kind":262144,"name":"id","url":"classes/layeresrimapserver.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":442,"kind":262144,"name":"animate","url":"classes/layeresrimapserver.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":443,"kind":262144,"name":"legendContent","url":"classes/layeresrimapserver.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":444,"kind":262144,"name":"params","url":"classes/layeresrimapserver.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":445,"kind":262144,"name":"minResolution","url":"classes/layeresrimapserver.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":446,"kind":262144,"name":"maxResolution","url":"classes/layeresrimapserver.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":447,"kind":262144,"name":"minZoom","url":"classes/layeresrimapserver.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":448,"kind":262144,"name":"maxZoom","url":"classes/layeresrimapserver.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":449,"kind":262144,"name":"url","url":"classes/layeresrimapserver.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":450,"kind":262144,"name":"visible","url":"classes/layeresrimapserver.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":451,"kind":2048,"name":"setVisible","url":"classes/layeresrimapserver.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":452,"kind":262144,"name":"opacity","url":"classes/layeresrimapserver.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":453,"kind":262144,"name":"name","url":"classes/layeresrimapserver.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":454,"kind":262144,"name":"loaded","url":"classes/layeresrimapserver.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":455,"kind":2048,"name":"getSource","url":"classes/layeresrimapserver.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":456,"kind":262144,"name":"zIndex","url":"classes/layeresrimapserver.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":457,"kind":2048,"name":"setZIndex","url":"classes/layeresrimapserver.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":458,"kind":2048,"name":"getOlLayer","url":"classes/layeresrimapserver.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":459,"kind":256,"name":"popupChangedFunction","url":"interfaces/popupchangedfunction.html","classes":"tsd-kind-interface"},{"id":460,"kind":256,"name":"popupCallback","url":"interfaces/popupcallback.html","classes":"tsd-kind-interface"},{"id":461,"kind":256,"name":"mapEvent","url":"interfaces/mapevent.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":462,"kind":1024,"name":"coordinate","url":"interfaces/mapevent.html#coordinate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":463,"kind":1024,"name":"pixel","url":"interfaces/mapevent.html#pixel","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":464,"kind":1024,"name":"dragging","url":"interfaces/mapevent.html#dragging","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":465,"kind":1024,"name":"originalEvent","url":"interfaces/mapevent.html#originalevent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":466,"kind":128,"name":"FeatureLayerProperties","url":"classes/featurelayerproperties.html","classes":"tsd-kind-class"},{"id":467,"kind":1024,"name":"feature","url":"classes/featurelayerproperties.html#feature","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":468,"kind":1024,"name":"layer","url":"classes/featurelayerproperties.html#layer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":469,"kind":1024,"name":"layerIndex","url":"classes/featurelayerproperties.html#layerindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":470,"kind":1024,"name":"selectionLayer","url":"classes/featurelayerproperties.html#selectionlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":471,"kind":1024,"name":"popupContent","url":"classes/featurelayerproperties.html#popupcontent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":472,"kind":1024,"name":"esriLayerName","url":"classes/featurelayerproperties.html#esrilayername","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":473,"kind":512,"name":"constructor","url":"classes/featurelayerproperties.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":474,"kind":262144,"name":"layerName","url":"classes/featurelayerproperties.html#layername","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":475,"kind":128,"name":"MapPopupCls","url":"classes/mappopupcls.html","classes":"tsd-kind-class"},{"id":476,"kind":512,"name":"constructor","url":"classes/mappopupcls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":477,"kind":2048,"name":"init","url":"classes/mappopupcls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":478,"kind":2048,"name":"_triggerFeatSelect","url":"classes/mappopupcls.html#_triggerfeatselect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":479,"kind":2048,"name":"addMapServicePopupContent","url":"classes/mappopupcls.html#addmapservicepopupcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":480,"kind":2048,"name":"_featuresAtPixel","url":"classes/mappopupcls.html#_featuresatpixel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":481,"kind":2048,"name":"closePopup","url":"classes/mappopupcls.html#closepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":482,"kind":2048,"name":"addPopupChangedFunction","url":"classes/mappopupcls.html#addpopupchangedfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":483,"kind":2048,"name":"_addPopupLayer","url":"classes/mappopupcls.html#_addpopuplayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":484,"kind":2048,"name":"addVectorPopup","url":"classes/mappopupcls.html#addvectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":485,"kind":2048,"name":"removeVectorPopup","url":"classes/mappopupcls.html#removevectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":486,"kind":2048,"name":"addMapServicePopup","url":"classes/mappopupcls.html#addmapservicepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":487,"kind":2048,"name":"clearSelection","url":"classes/mappopupcls.html#clearselection","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":488,"kind":2048,"name":"addMapClickFunction","url":"classes/mappopupcls.html#addmapclickfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":489,"kind":1024,"name":"_map","url":"classes/mappopupcls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":490,"kind":1024,"name":"_initialized","url":"classes/mappopupcls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":491,"kind":1024,"name":"_subtype","url":"classes/mappopupcls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":492,"kind":262144,"name":"map","url":"classes/mappopupcls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":493,"kind":262144,"name":"initialized","url":"classes/mappopupcls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":494,"kind":2048,"name":"_checkInit","url":"classes/mappopupcls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapPopupCls"},{"id":495,"kind":2048,"name":"checkInit","url":"classes/mappopupcls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":496,"kind":32,"name":"mapPopup","url":"globals.html#mappopup","classes":"tsd-kind-variable"},{"id":497,"kind":128,"name":"LayerItsInventory","url":"classes/layeritsinventory.html","classes":"tsd-kind-class"},{"id":498,"kind":512,"name":"constructor","url":"classes/layeritsinventory.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":499,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layeritsinventory.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":500,"kind":1024,"name":"_geoJsonFormat","url":"classes/layeritsinventory.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":501,"kind":1024,"name":"_transform","url":"classes/layeritsinventory.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":502,"kind":2048,"name":"addFeatures","url":"classes/layeritsinventory.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":503,"kind":2048,"name":"_load","url":"classes/layeritsinventory.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":504,"kind":2048,"name":"mapMoveCallback","url":"classes/layeritsinventory.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":505,"kind":1024,"name":"_olLayer","url":"classes/layeritsinventory.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":506,"kind":1024,"name":"_source","url":"classes/layeritsinventory.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":507,"kind":1024,"name":"_style","url":"classes/layeritsinventory.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":508,"kind":1024,"name":"_autoLoad","url":"classes/layeritsinventory.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":509,"kind":1024,"name":"_onDemand","url":"classes/layeritsinventory.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":510,"kind":1024,"name":"_onDemandDelay","url":"classes/layeritsinventory.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":511,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layeritsinventory.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":512,"kind":1024,"name":"_mapMoveParams","url":"classes/layeritsinventory.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":513,"kind":1024,"name":"_mapMove","url":"classes/layeritsinventory.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":514,"kind":1024,"name":"_projectionMap","url":"classes/layeritsinventory.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":515,"kind":1024,"name":"_projection4326","url":"classes/layeritsinventory.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":516,"kind":2048,"name":"mapMoveBefore","url":"classes/layeritsinventory.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":517,"kind":2048,"name":"clear","url":"classes/layeritsinventory.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":518,"kind":262144,"name":"onDemandDelay","url":"classes/layeritsinventory.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":519,"kind":262144,"name":"autoLoad","url":"classes/layeritsinventory.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":520,"kind":262144,"name":"style","url":"classes/layeritsinventory.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":521,"kind":262144,"name":"mapCrs","url":"classes/layeritsinventory.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":522,"kind":262144,"name":"mapProj","url":"classes/layeritsinventory.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":523,"kind":262144,"name":"mapMove","url":"classes/layeritsinventory.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":524,"kind":262144,"name":"mapMoveParams","url":"classes/layeritsinventory.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":525,"kind":262144,"name":"visible","url":"classes/layeritsinventory.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":526,"kind":262144,"name":"source","url":"classes/layeritsinventory.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":527,"kind":262144,"name":"features","url":"classes/layeritsinventory.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":528,"kind":262144,"name":"olLayer","url":"classes/layeritsinventory.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":529,"kind":2048,"name":"setZIndex","url":"classes/layeritsinventory.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":530,"kind":1024,"name":"_legendCheckbox","url":"classes/layeritsinventory.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":531,"kind":1024,"name":"_url","url":"classes/layeritsinventory.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":532,"kind":1024,"name":"_opacity","url":"classes/layeritsinventory.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":533,"kind":1024,"name":"_minZoom","url":"classes/layeritsinventory.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":534,"kind":1024,"name":"_maxZoom","url":"classes/layeritsinventory.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":535,"kind":1024,"name":"_visible","url":"classes/layeritsinventory.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":536,"kind":1024,"name":"_loaded","url":"classes/layeritsinventory.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":537,"kind":1024,"name":"_zIndex","url":"classes/layeritsinventory.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":538,"kind":1024,"name":"_legendContent","url":"classes/layeritsinventory.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":539,"kind":1024,"name":"_params","url":"classes/layeritsinventory.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":540,"kind":1024,"name":"_id","url":"classes/layeritsinventory.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":541,"kind":1024,"name":"_name","url":"classes/layeritsinventory.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":542,"kind":1024,"name":"_animate","url":"classes/layeritsinventory.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":543,"kind":1024,"name":"_legendCollapse","url":"classes/layeritsinventory.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":544,"kind":1024,"name":"_maxResolution","url":"classes/layeritsinventory.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":545,"kind":1024,"name":"_minResolution","url":"classes/layeritsinventory.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":546,"kind":1024,"name":"_$legendDiv","url":"classes/layeritsinventory.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":547,"kind":1024,"name":"loadCallback","url":"classes/layeritsinventory.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":548,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeritsinventory.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":549,"kind":2048,"name":"getLegendDiv","url":"classes/layeritsinventory.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":550,"kind":2048,"name":"_addLegendContent","url":"classes/layeritsinventory.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerItsInventory"},{"id":551,"kind":2048,"name":"addLegendContent","url":"classes/layeritsinventory.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":552,"kind":2048,"name":"applyCollapse","url":"classes/layeritsinventory.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":553,"kind":2048,"name":"refresh","url":"classes/layeritsinventory.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":554,"kind":262144,"name":"id","url":"classes/layeritsinventory.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":555,"kind":262144,"name":"animate","url":"classes/layeritsinventory.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":556,"kind":262144,"name":"legendContent","url":"classes/layeritsinventory.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":557,"kind":262144,"name":"params","url":"classes/layeritsinventory.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":558,"kind":262144,"name":"minResolution","url":"classes/layeritsinventory.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":559,"kind":262144,"name":"maxResolution","url":"classes/layeritsinventory.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":560,"kind":262144,"name":"minZoom","url":"classes/layeritsinventory.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":561,"kind":262144,"name":"maxZoom","url":"classes/layeritsinventory.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":562,"kind":262144,"name":"url","url":"classes/layeritsinventory.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":563,"kind":2048,"name":"setVisible","url":"classes/layeritsinventory.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":564,"kind":262144,"name":"opacity","url":"classes/layeritsinventory.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":565,"kind":262144,"name":"name","url":"classes/layeritsinventory.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":566,"kind":262144,"name":"loaded","url":"classes/layeritsinventory.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":567,"kind":2048,"name":"getSource","url":"classes/layeritsinventory.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":568,"kind":262144,"name":"zIndex","url":"classes/layeritsinventory.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":569,"kind":2048,"name":"getOlLayer","url":"classes/layeritsinventory.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":570,"kind":64,"name":"checkStyleNumber","url":"globals.html#checkstylenumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":571,"kind":64,"name":"defineStyle","url":"globals.html#definestyle","classes":"tsd-kind-function tsd-is-not-exported"},{"id":572,"kind":64,"name":"defineLegend","url":"globals.html#definelegend","classes":"tsd-kind-function tsd-is-not-exported"},{"id":573,"kind":128,"name":"ItsLayerCollection","url":"classes/itslayercollection.html","classes":"tsd-kind-class"},{"id":574,"kind":1024,"name":"_map","url":"classes/itslayercollection.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":575,"kind":1024,"name":"_layers","url":"classes/itslayercollection.html#_layers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":576,"kind":512,"name":"constructor","url":"classes/itslayercollection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":577,"kind":262144,"name":"layers","url":"classes/itslayercollection.html#layers","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":578,"kind":32,"name":"itsConfig","url":"globals.html#itsconfig","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":579,"kind":128,"name":"LayerGroup","url":"classes/layergroup.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":580,"kind":1024,"name":"groupLayers","url":"classes/layergroup.html#grouplayers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":581,"kind":1024,"name":"groupLayersLookup","url":"classes/layergroup.html#grouplayerslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":582,"kind":1024,"name":"groupGroupsLookup","url":"classes/layergroup.html#groupgroupslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":583,"kind":1024,"name":"groupGroups","url":"classes/layergroup.html#groupgroups","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":584,"kind":1024,"name":"itemIdArray","url":"classes/layergroup.html#itemidarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":585,"kind":1024,"name":"groupId","url":"classes/layergroup.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":586,"kind":1024,"name":"groupName","url":"classes/layergroup.html#groupname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":587,"kind":1024,"name":"allLayerArray","url":"classes/layergroup.html#alllayerarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":588,"kind":1024,"name":"parent","url":"classes/layergroup.html#parent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":589,"kind":1024,"name":"allGroupArray","url":"classes/layergroup.html#allgrouparray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":590,"kind":1024,"name":"allGroupLookup","url":"classes/layergroup.html#allgrouplookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":591,"kind":1024,"name":"allLayerLookup","url":"classes/layergroup.html#alllayerlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":592,"kind":1024,"name":"collapse","url":"classes/layergroup.html#collapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":593,"kind":1024,"name":"addCheck","url":"classes/layergroup.html#addcheck","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":594,"kind":1024,"name":"layerParentLookup","url":"classes/layergroup.html#layerparentlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":595,"kind":512,"name":"constructor","url":"classes/layergroup.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":596,"kind":2048,"name":"addGroup","url":"classes/layergroup.html#addgroup","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":597,"kind":2048,"name":"addLegendLayer","url":"classes/layergroup.html#addlegendlayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":598,"kind":2048,"name":"getLegendHtml","url":"classes/layergroup.html#getlegendhtml","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":599,"kind":2048,"name":"_buildLegend","url":"classes/layergroup.html#_buildlegend","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":600,"kind":128,"name":"LayerLegend","url":"classes/layerlegend.html","classes":"tsd-kind-class"},{"id":601,"kind":1024,"name":"$divElement","url":"classes/layerlegend.html#_divelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":602,"kind":1024,"name":"_legendItems","url":"classes/layerlegend.html#_legenditems","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":603,"kind":1024,"name":"layerGroup","url":"classes/layerlegend.html#layergroup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":604,"kind":1024,"name":"legendId","url":"classes/layerlegend.html#legendid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":605,"kind":512,"name":"constructor","url":"classes/layerlegend.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerLegend"},{"id":606,"kind":2048,"name":"_buildTree","url":"classes/layerlegend.html#_buildtree","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerLegend"},{"id":607,"kind":256,"name":"TipSliderConfig","url":"interfaces/tipsliderconfig.html","classes":"tsd-kind-interface"},{"id":608,"kind":1024,"name":"label","url":"interfaces/tipsliderconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":609,"kind":1024,"name":"yearOptions","url":"interfaces/tipsliderconfig.html#yearoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":610,"kind":256,"name":"TipPresetConfig","url":"interfaces/tippresetconfig.html","classes":"tsd-kind-interface"},{"id":611,"kind":1024,"name":"label","url":"interfaces/tippresetconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":612,"kind":1024,"name":"presets","url":"interfaces/tippresetconfig.html#presets","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":613,"kind":256,"name":"ChangeResponse","url":"interfaces/changeresponse.html","classes":"tsd-kind-interface"},{"id":614,"kind":1024,"name":"paramWeights","url":"interfaces/changeresponse.html#paramweights","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":615,"kind":1024,"name":"region","url":"interfaces/changeresponse.html#region","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":616,"kind":1024,"name":"mmVersion","url":"interfaces/changeresponse.html#mmversion","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":617,"kind":256,"name":"ChangeCallback","url":"interfaces/changecallback.html","classes":"tsd-kind-interface"},{"id":618,"kind":128,"name":"TipPresets","url":"classes/tippresets.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":619,"kind":1024,"name":"label","url":"classes/tippresets.html#label","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":620,"kind":1024,"name":"presets","url":"classes/tippresets.html#presets","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":621,"kind":1024,"name":"domId","url":"classes/tippresets.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":622,"kind":512,"name":"constructor","url":"classes/tippresets.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":623,"kind":128,"name":"_Slider","url":"classes/_slider.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":624,"kind":1024,"name":"_min","url":"classes/_slider.html#_min","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":625,"kind":1024,"name":"_max","url":"classes/_slider.html#_max","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":626,"kind":1024,"name":"_locked","url":"classes/_slider.html#_locked","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":627,"kind":1024,"name":"atMin","url":"classes/_slider.html#atmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":628,"kind":1024,"name":"atMax","url":"classes/_slider.html#atmax","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":629,"kind":1024,"name":"_weightDefault","url":"classes/_slider.html#_weightdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":630,"kind":1024,"name":"_weight","url":"classes/_slider.html#_weight","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":631,"kind":1024,"name":"html","url":"classes/_slider.html#html","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":632,"kind":1024,"name":"domId","url":"classes/_slider.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":633,"kind":1024,"name":"name","url":"classes/_slider.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":634,"kind":1024,"name":"labelLow","url":"classes/_slider.html#labellow","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":635,"kind":1024,"name":"labelHigh","url":"classes/_slider.html#labelhigh","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":636,"kind":1024,"name":"labelVal","url":"classes/_slider.html#labelval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":637,"kind":1024,"name":"slider","url":"classes/_slider.html#slider","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":638,"kind":1024,"name":"selectionBox","url":"classes/_slider.html#selectionbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":639,"kind":1024,"name":"chk","url":"classes/_slider.html#chk","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":640,"kind":1024,"name":"selectedParam","url":"classes/_slider.html#selectedparam","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":641,"kind":1024,"name":"selectedParamDefault","url":"classes/_slider.html#selectedparamdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":642,"kind":1024,"name":"_dropdownSelection","url":"classes/_slider.html#_dropdownselection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":643,"kind":512,"name":"constructor","url":"classes/_slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":644,"kind":2048,"name":"addToDom","url":"classes/_slider.html#addtodom","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":645,"kind":2048,"name":"increment","url":"classes/_slider.html#increment","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":646,"kind":2048,"name":"setValAndDropDown","url":"classes/_slider.html#setvalanddropdown","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":647,"kind":262144,"name":"locked","url":"classes/_slider.html#locked","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":648,"kind":262144,"name":"min","url":"classes/_slider.html#min","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":649,"kind":262144,"name":"max","url":"classes/_slider.html#max","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":650,"kind":262144,"name":"weight","url":"classes/_slider.html#weight","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":651,"kind":128,"name":"TipSliders","url":"classes/tipsliders.html","classes":"tsd-kind-class"},{"id":652,"kind":1024,"name":"$container","url":"classes/tipsliders.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":653,"kind":1024,"name":"reservedPercent","url":"classes/tipsliders.html#reservedpercent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":654,"kind":1024,"name":"lockedCount","url":"classes/tipsliders.html#lockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":655,"kind":1024,"name":"notLockedCount","url":"classes/tipsliders.html#notlockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":656,"kind":512,"name":"constructor","url":"classes/tipsliders.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"TipSliders"},{"id":657,"kind":2048,"name":"_runChangedCallback","url":"classes/tipsliders.html#_runchangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":658,"kind":262144,"name":"changedCallback","url":"classes/tipsliders.html#changedcallback","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"TipSliders"},{"id":659,"kind":2048,"name":"setPresetValues","url":"classes/tipsliders.html#setpresetvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":660,"kind":2048,"name":"_splitSliderArray","url":"classes/tipsliders.html#_splitsliderarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":661,"kind":2048,"name":"_handleRemainder","url":"classes/tipsliders.html#_handleremainder","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":662,"kind":2048,"name":"setValues","url":"classes/tipsliders.html#setvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":663,"kind":2048,"name":"getSum","url":"classes/tipsliders.html#getsum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":664,"kind":2048,"name":"getParams","url":"classes/tipsliders.html#getparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":665,"kind":2048,"name":"_addEventListeners","url":"classes/tipsliders.html#_addeventlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":666,"kind":262144,"name":"paramWeightsRegionVersion","url":"classes/tipsliders.html#paramweightsregionversion","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"TipSliders"},{"id":667,"kind":128,"name":"DayRange","url":"classes/dayrange.html","classes":"tsd-kind-class"},{"id":668,"kind":1024,"name":"_workingDayRange","url":"classes/dayrange.html#_workingdayrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":669,"kind":1024,"name":"_$startDate","url":"classes/dayrange.html#__startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":670,"kind":1024,"name":"_$endDate","url":"classes/dayrange.html#__enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":671,"kind":1024,"name":"_maxDateRange","url":"classes/dayrange.html#_maxdaterange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":672,"kind":1024,"name":"_startDate","url":"classes/dayrange.html#_startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":673,"kind":1024,"name":"_endDate","url":"classes/dayrange.html#_enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":674,"kind":512,"name":"constructor","url":"classes/dayrange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"DayRange"},{"id":675,"kind":262144,"name":"startDate","url":"classes/dayrange.html#startdate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":676,"kind":262144,"name":"endDate","url":"classes/dayrange.html#enddate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":677,"kind":256,"name":"rangeChangedCallback","url":"interfaces/rangechangedcallback.html","classes":"tsd-kind-interface"},{"id":678,"kind":32,"name":"mouseIn","url":"globals.html#mousein","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":679,"kind":32,"name":"mouseDown","url":"globals.html#mousedown","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":680,"kind":32,"name":"timeout","url":"globals.html#timeout","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":681,"kind":32,"name":"dragged","url":"globals.html#dragged","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":682,"kind":32,"name":"lastVal","url":"globals.html#lastval","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":683,"kind":64,"name":"triggerCallback","url":"globals.html#triggercallback","classes":"tsd-kind-function tsd-is-not-exported"},{"id":684,"kind":64,"name":"rangeChange","url":"globals.html#rangechange","classes":"tsd-kind-function"},{"id":685,"kind":256,"name":"changeFunction","url":"interfaces/changefunction.html","classes":"tsd-kind-interface"},{"id":686,"kind":256,"name":"mediaRangeConfig","url":"interfaces/mediarangeconfig.html","classes":"tsd-kind-interface"},{"id":687,"kind":1024,"name":"min","url":"interfaces/mediarangeconfig.html#min","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":688,"kind":1024,"name":"max","url":"interfaces/mediarangeconfig.html#max","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":689,"kind":1024,"name":"val","url":"interfaces/mediarangeconfig.html#val","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":690,"kind":1024,"name":"step","url":"interfaces/mediarangeconfig.html#step","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":691,"kind":1024,"name":"playInterval","url":"interfaces/mediarangeconfig.html#playinterval","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":692,"kind":1024,"name":"showAsDate","url":"interfaces/mediarangeconfig.html#showasdate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":693,"kind":128,"name":"MediaControl","url":"classes/mediacontrol.html","classes":"tsd-kind-class"},{"id":694,"kind":1024,"name":"_container","url":"classes/mediacontrol.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":695,"kind":1024,"name":"_min","url":"classes/mediacontrol.html#_min","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":696,"kind":1024,"name":"_max","url":"classes/mediacontrol.html#_max","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":697,"kind":1024,"name":"_playInterval","url":"classes/mediacontrol.html#_playinterval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":698,"kind":1024,"name":"_step","url":"classes/mediacontrol.html#_step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":699,"kind":1024,"name":"_currentValue","url":"classes/mediacontrol.html#_currentvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":700,"kind":1024,"name":"_playing","url":"classes/mediacontrol.html#_playing","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":701,"kind":1024,"name":"_$btnStop","url":"classes/mediacontrol.html#__btnstop","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":702,"kind":1024,"name":"_$slider","url":"classes/mediacontrol.html#__slider","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":703,"kind":1024,"name":"_$valLabelVal","url":"classes/mediacontrol.html#__vallabelval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":704,"kind":1024,"name":"_$valLabelMin","url":"classes/mediacontrol.html#__vallabelmin","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":705,"kind":1024,"name":"_$valLabelMax","url":"classes/mediacontrol.html#__vallabelmax","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":706,"kind":1024,"name":"_interval","url":"classes/mediacontrol.html#_interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":707,"kind":1024,"name":"_showAsDate","url":"classes/mediacontrol.html#_showasdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":708,"kind":1024,"name":"_changeFunc","url":"classes/mediacontrol.html#_changefunc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":709,"kind":512,"name":"constructor","url":"classes/mediacontrol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MediaControl"},{"id":710,"kind":2048,"name":"stopPlaying","url":"classes/mediacontrol.html#stopplaying","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":711,"kind":262144,"name":"playing","url":"classes/mediacontrol.html#playing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":712,"kind":262144,"name":"min","url":"classes/mediacontrol.html#min","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":713,"kind":262144,"name":"max","url":"classes/mediacontrol.html#max","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":714,"kind":262144,"name":"step","url":"classes/mediacontrol.html#step","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":715,"kind":262144,"name":"currentValue","url":"classes/mediacontrol.html#currentvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"MediaControl"},{"id":716,"kind":2048,"name":"setMinMaxValueStep","url":"classes/mediacontrol.html#setminmaxvaluestep","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":717,"kind":262144,"name":"changeFunction","url":"classes/mediacontrol.html#changefunction","classes":"tsd-kind-set-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":718,"kind":64,"name":"timeToLocalDateString","url":"globals.html#timetolocaldatestring","classes":"tsd-kind-function tsd-is-not-exported"},{"id":719,"kind":256,"name":"selectChangeCallback","url":"interfaces/selectchangecallback.html","classes":"tsd-kind-interface"},{"id":720,"kind":256,"name":"contentGenerator","url":"interfaces/contentgenerator.html","classes":"tsd-kind-interface"},{"id":721,"kind":128,"name":"SelectBoxBase","url":"classes/selectboxbase.html","classes":"tsd-kind-class"},{"id":722,"kind":1024,"name":"_$container","url":"classes/selectboxbase.html#__container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":723,"kind":1024,"name":"$label","url":"classes/selectboxbase.html#_label","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":724,"kind":1024,"name":"_box","url":"classes/selectboxbase.html#_box","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":725,"kind":1024,"name":"_changeListeners","url":"classes/selectboxbase.html#_changelisteners","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":726,"kind":512,"name":"constructor","url":"classes/selectboxbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":727,"kind":262144,"name":"box","url":"classes/selectboxbase.html#box","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":728,"kind":2048,"name":"changed","url":"classes/selectboxbase.html#changed","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":729,"kind":2048,"name":"addChangeListener","url":"classes/selectboxbase.html#addchangelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":730,"kind":262144,"name":"selectedValue","url":"classes/selectboxbase.html#selectedvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":731,"kind":262144,"name":"selectedText","url":"classes/selectboxbase.html#selectedtext","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":732,"kind":256,"name":"LayerBaseVectorEsriOptions","url":"interfaces/layerbasevectoresrioptions.html","classes":"tsd-kind-interface"},{"id":733,"kind":1024,"name":"format","url":"interfaces/layerbasevectoresrioptions.html#format","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":734,"kind":1024,"name":"outSR","url":"interfaces/layerbasevectoresrioptions.html#outsr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":735,"kind":1024,"name":"where","url":"interfaces/layerbasevectoresrioptions.html#where","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":736,"kind":1024,"name":"outFields","url":"interfaces/layerbasevectoresrioptions.html#outfields","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":737,"kind":1024,"name":"useEsriStyle","url":"interfaces/layerbasevectoresrioptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":738,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoresrioptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":739,"kind":1024,"name":"style","url":"interfaces/layerbasevectoresrioptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":740,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoresrioptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":741,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoresrioptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":742,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoresrioptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":743,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoresrioptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":744,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoresrioptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":745,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoresrioptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorEsriOptions.renderOrder"},{"id":746,"kind":1024,"name":"id","url":"interfaces/layerbasevectoresrioptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":747,"kind":1024,"name":"name","url":"interfaces/layerbasevectoresrioptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":748,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoresrioptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":749,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoresrioptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":750,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoresrioptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":751,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoresrioptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":752,"kind":1024,"name":"params","url":"interfaces/layerbasevectoresrioptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":753,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoresrioptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":754,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoresrioptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":755,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoresrioptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":756,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoresrioptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":757,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoresrioptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":758,"kind":128,"name":"LayerBaseVectorEsri","url":"classes/layerbasevectoresri.html","classes":"tsd-kind-class"},{"id":759,"kind":1024,"name":"_outSR","url":"classes/layerbasevectoresri.html#_outsr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":760,"kind":1024,"name":"_esriFormat","url":"classes/layerbasevectoresri.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":761,"kind":1024,"name":"_urlCopy","url":"classes/layerbasevectoresri.html#_urlcopy","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":762,"kind":1024,"name":"_useEsriStyle","url":"classes/layerbasevectoresri.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":763,"kind":512,"name":"constructor","url":"classes/layerbasevectoresri.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":764,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectoresri.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":765,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectoresri.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":766,"kind":2048,"name":"_load","url":"classes/layerbasevectoresri.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":767,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":768,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectoresri.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":769,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectoresri.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":770,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectoresri.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":771,"kind":1024,"name":"_source","url":"classes/layerbasevectoresri.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":772,"kind":1024,"name":"_style","url":"classes/layerbasevectoresri.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":773,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectoresri.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":774,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectoresri.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":775,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectoresri.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":776,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":777,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectoresri.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":778,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectoresri.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":779,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectoresri.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":780,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectoresri.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":781,"kind":2048,"name":"clear","url":"classes/layerbasevectoresri.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":782,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectoresri.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":783,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectoresri.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":784,"kind":262144,"name":"style","url":"classes/layerbasevectoresri.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":785,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectoresri.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":786,"kind":262144,"name":"mapProj","url":"classes/layerbasevectoresri.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":787,"kind":262144,"name":"mapMove","url":"classes/layerbasevectoresri.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":788,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectoresri.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":789,"kind":262144,"name":"visible","url":"classes/layerbasevectoresri.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":790,"kind":262144,"name":"source","url":"classes/layerbasevectoresri.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":791,"kind":262144,"name":"features","url":"classes/layerbasevectoresri.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":792,"kind":262144,"name":"olLayer","url":"classes/layerbasevectoresri.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":793,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectoresri.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":794,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectoresri.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":795,"kind":1024,"name":"_url","url":"classes/layerbasevectoresri.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":796,"kind":1024,"name":"_opacity","url":"classes/layerbasevectoresri.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":797,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectoresri.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":798,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectoresri.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":799,"kind":1024,"name":"_visible","url":"classes/layerbasevectoresri.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":800,"kind":1024,"name":"_loaded","url":"classes/layerbasevectoresri.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":801,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectoresri.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":802,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectoresri.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":803,"kind":1024,"name":"_params","url":"classes/layerbasevectoresri.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":804,"kind":1024,"name":"_id","url":"classes/layerbasevectoresri.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":805,"kind":1024,"name":"_name","url":"classes/layerbasevectoresri.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":806,"kind":1024,"name":"_animate","url":"classes/layerbasevectoresri.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":807,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectoresri.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":808,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectoresri.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":809,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectoresri.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":810,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectoresri.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":811,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectoresri.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":812,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectoresri.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":813,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectoresri.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":814,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectoresri.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorEsri"},{"id":815,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectoresri.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":816,"kind":2048,"name":"refresh","url":"classes/layerbasevectoresri.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":817,"kind":262144,"name":"id","url":"classes/layerbasevectoresri.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":818,"kind":262144,"name":"animate","url":"classes/layerbasevectoresri.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":819,"kind":262144,"name":"legendContent","url":"classes/layerbasevectoresri.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":820,"kind":262144,"name":"params","url":"classes/layerbasevectoresri.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":821,"kind":262144,"name":"minResolution","url":"classes/layerbasevectoresri.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":822,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectoresri.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":823,"kind":262144,"name":"minZoom","url":"classes/layerbasevectoresri.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":824,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectoresri.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":825,"kind":262144,"name":"url","url":"classes/layerbasevectoresri.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":826,"kind":2048,"name":"setVisible","url":"classes/layerbasevectoresri.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":827,"kind":262144,"name":"opacity","url":"classes/layerbasevectoresri.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":828,"kind":262144,"name":"name","url":"classes/layerbasevectoresri.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":829,"kind":262144,"name":"loaded","url":"classes/layerbasevectoresri.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":830,"kind":2048,"name":"getSource","url":"classes/layerbasevectoresri.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":831,"kind":262144,"name":"zIndex","url":"classes/layerbasevectoresri.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":832,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectoresri.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":833,"kind":32,"name":"layers","url":"globals.html#layers","classes":"tsd-kind-variable"},{"id":834,"kind":128,"name":"LayerBaseXyzTile","url":"classes/layerbasexyztile.html","classes":"tsd-kind-class"},{"id":835,"kind":512,"name":"constructor","url":"classes/layerbasexyztile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":836,"kind":262144,"name":"source","url":"classes/layerbasexyztile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":837,"kind":262144,"name":"olLayer","url":"classes/layerbasexyztile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":838,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasexyztile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":839,"kind":1024,"name":"_url","url":"classes/layerbasexyztile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":840,"kind":1024,"name":"_opacity","url":"classes/layerbasexyztile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":841,"kind":1024,"name":"_minZoom","url":"classes/layerbasexyztile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":842,"kind":1024,"name":"_maxZoom","url":"classes/layerbasexyztile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":843,"kind":1024,"name":"_visible","url":"classes/layerbasexyztile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":844,"kind":1024,"name":"_loaded","url":"classes/layerbasexyztile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":845,"kind":1024,"name":"_zIndex","url":"classes/layerbasexyztile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":846,"kind":1024,"name":"_legendContent","url":"classes/layerbasexyztile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":847,"kind":1024,"name":"_params","url":"classes/layerbasexyztile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":848,"kind":1024,"name":"_id","url":"classes/layerbasexyztile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":849,"kind":1024,"name":"_name","url":"classes/layerbasexyztile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":850,"kind":1024,"name":"_source","url":"classes/layerbasexyztile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":851,"kind":1024,"name":"_animate","url":"classes/layerbasexyztile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":852,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasexyztile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":853,"kind":1024,"name":"_maxResolution","url":"classes/layerbasexyztile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":854,"kind":1024,"name":"_minResolution","url":"classes/layerbasexyztile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":855,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasexyztile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":856,"kind":1024,"name":"loadCallback","url":"classes/layerbasexyztile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":857,"kind":1024,"name":"_olLayer","url":"classes/layerbasexyztile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":858,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasexyztile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":859,"kind":2048,"name":"_load","url":"classes/layerbasexyztile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":860,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasexyztile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":861,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasexyztile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseXyzTile"},{"id":862,"kind":2048,"name":"addLegendContent","url":"classes/layerbasexyztile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":863,"kind":2048,"name":"applyCollapse","url":"classes/layerbasexyztile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":864,"kind":2048,"name":"refresh","url":"classes/layerbasexyztile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":865,"kind":262144,"name":"id","url":"classes/layerbasexyztile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":866,"kind":262144,"name":"animate","url":"classes/layerbasexyztile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":867,"kind":262144,"name":"legendContent","url":"classes/layerbasexyztile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":868,"kind":262144,"name":"params","url":"classes/layerbasexyztile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":869,"kind":262144,"name":"minResolution","url":"classes/layerbasexyztile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":870,"kind":262144,"name":"maxResolution","url":"classes/layerbasexyztile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":871,"kind":262144,"name":"minZoom","url":"classes/layerbasexyztile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":872,"kind":262144,"name":"maxZoom","url":"classes/layerbasexyztile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":873,"kind":262144,"name":"url","url":"classes/layerbasexyztile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":874,"kind":262144,"name":"visible","url":"classes/layerbasexyztile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":875,"kind":2048,"name":"setVisible","url":"classes/layerbasexyztile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":876,"kind":262144,"name":"opacity","url":"classes/layerbasexyztile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":877,"kind":262144,"name":"name","url":"classes/layerbasexyztile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":878,"kind":262144,"name":"loaded","url":"classes/layerbasexyztile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":879,"kind":2048,"name":"getSource","url":"classes/layerbasexyztile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":880,"kind":262144,"name":"zIndex","url":"classes/layerbasexyztile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":881,"kind":2048,"name":"setZIndex","url":"classes/layerbasexyztile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":882,"kind":2048,"name":"getOlLayer","url":"classes/layerbasexyztile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":883,"kind":256,"name":"LayerEsriTileOptions","url":"interfaces/layeresritileoptions.html","classes":"tsd-kind-interface"},{"id":884,"kind":1024,"name":"useEsriStyle","url":"interfaces/layeresritileoptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriTileOptions"},{"id":885,"kind":1024,"name":"id","url":"interfaces/layeresritileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":886,"kind":1024,"name":"name","url":"interfaces/layeresritileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":887,"kind":1024,"name":"opacity","url":"interfaces/layeresritileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":888,"kind":1024,"name":"visible","url":"interfaces/layeresritileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":889,"kind":1024,"name":"minZoom","url":"interfaces/layeresritileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":890,"kind":1024,"name":"maxZoom","url":"interfaces/layeresritileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":891,"kind":1024,"name":"params","url":"interfaces/layeresritileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":892,"kind":1024,"name":"zIndex","url":"interfaces/layeresritileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":893,"kind":1024,"name":"loadCallback","url":"interfaces/layeresritileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":894,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresritileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":895,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresritileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":896,"kind":1024,"name":"legendContent","url":"interfaces/layeresritileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":897,"kind":128,"name":"LayerEsriTile","url":"classes/layeresritile.html","classes":"tsd-kind-class"},{"id":898,"kind":1024,"name":"_useEsriStyle","url":"classes/layeresritile.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriTile"},{"id":899,"kind":512,"name":"constructor","url":"classes/layeresritile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":900,"kind":2048,"name":"addLegendContent","url":"classes/layeresritile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":901,"kind":262144,"name":"source","url":"classes/layeresritile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":902,"kind":262144,"name":"olLayer","url":"classes/layeresritile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":903,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresritile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":904,"kind":1024,"name":"_url","url":"classes/layeresritile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":905,"kind":1024,"name":"_opacity","url":"classes/layeresritile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":906,"kind":1024,"name":"_minZoom","url":"classes/layeresritile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":907,"kind":1024,"name":"_maxZoom","url":"classes/layeresritile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":908,"kind":1024,"name":"_visible","url":"classes/layeresritile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":909,"kind":1024,"name":"_loaded","url":"classes/layeresritile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":910,"kind":1024,"name":"_zIndex","url":"classes/layeresritile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":911,"kind":1024,"name":"_legendContent","url":"classes/layeresritile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":912,"kind":1024,"name":"_params","url":"classes/layeresritile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":913,"kind":1024,"name":"_id","url":"classes/layeresritile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":914,"kind":1024,"name":"_name","url":"classes/layeresritile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":915,"kind":1024,"name":"_source","url":"classes/layeresritile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":916,"kind":1024,"name":"_animate","url":"classes/layeresritile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":917,"kind":1024,"name":"_legendCollapse","url":"classes/layeresritile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":918,"kind":1024,"name":"_maxResolution","url":"classes/layeresritile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":919,"kind":1024,"name":"_minResolution","url":"classes/layeresritile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":920,"kind":1024,"name":"_$legendDiv","url":"classes/layeresritile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":921,"kind":1024,"name":"loadCallback","url":"classes/layeresritile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":922,"kind":1024,"name":"_olLayer","url":"classes/layeresritile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":923,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresritile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":924,"kind":2048,"name":"_load","url":"classes/layeresritile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":925,"kind":2048,"name":"getLegendDiv","url":"classes/layeresritile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":926,"kind":2048,"name":"_addLegendContent","url":"classes/layeresritile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriTile"},{"id":927,"kind":2048,"name":"applyCollapse","url":"classes/layeresritile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":928,"kind":2048,"name":"refresh","url":"classes/layeresritile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":929,"kind":262144,"name":"id","url":"classes/layeresritile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":930,"kind":262144,"name":"animate","url":"classes/layeresritile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":931,"kind":262144,"name":"legendContent","url":"classes/layeresritile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":932,"kind":262144,"name":"params","url":"classes/layeresritile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":933,"kind":262144,"name":"minResolution","url":"classes/layeresritile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":934,"kind":262144,"name":"maxResolution","url":"classes/layeresritile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":935,"kind":262144,"name":"minZoom","url":"classes/layeresritile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":936,"kind":262144,"name":"maxZoom","url":"classes/layeresritile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":937,"kind":262144,"name":"url","url":"classes/layeresritile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":938,"kind":262144,"name":"visible","url":"classes/layeresritile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":939,"kind":2048,"name":"setVisible","url":"classes/layeresritile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":940,"kind":262144,"name":"opacity","url":"classes/layeresritile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":941,"kind":262144,"name":"name","url":"classes/layeresritile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":942,"kind":262144,"name":"loaded","url":"classes/layeresritile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":943,"kind":2048,"name":"getSource","url":"classes/layeresritile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":944,"kind":262144,"name":"zIndex","url":"classes/layeresritile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":945,"kind":2048,"name":"setZIndex","url":"classes/layeresritile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":946,"kind":2048,"name":"getOlLayer","url":"classes/layeresritile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":947,"kind":128,"name":"RealEarthAnimateVector","url":"classes/realearthanimatevector.html","classes":"tsd-kind-class"},{"id":948,"kind":1024,"name":"_dataCache","url":"classes/realearthanimatevector.html#_datacache","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":949,"kind":1024,"name":"_source","url":"classes/realearthanimatevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":950,"kind":1024,"name":"_rawTimesLookup","url":"classes/realearthanimatevector.html#_rawtimeslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":951,"kind":65536,"name":"__type","url":"classes/realearthanimatevector.html#_rawtimeslookup.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"RealEarthAnimateVector._rawTimesLookup"},{"id":952,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatevector.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":953,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":954,"kind":1024,"name":"_lyr","url":"classes/realearthanimatevector.html#_lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":955,"kind":512,"name":"constructor","url":"classes/realearthanimatevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":956,"kind":2048,"name":"timeInit","url":"classes/realearthanimatevector.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":957,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatevector.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":958,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatevector.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":959,"kind":2048,"name":"_loadAtTimeIndex","url":"classes/realearthanimatevector.html#_loadattimeindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":960,"kind":2048,"name":"_loadFeatures","url":"classes/realearthanimatevector.html#_loadfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":961,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatevector.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":962,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatevector.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":963,"kind":1024,"name":"_localDates","url":"classes/realearthanimatevector.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":964,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatevector.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":965,"kind":1024,"name":"_products","url":"classes/realearthanimatevector.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":966,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":967,"kind":1024,"name":"localTimes","url":"classes/realearthanimatevector.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":968,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatevector.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":969,"kind":1024,"name":"lyr","url":"classes/realearthanimatevector.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":970,"kind":256,"name":"LayerVectorRealEarthOptions","url":"interfaces/layervectorrealearthoptions.html","classes":"tsd-kind-interface"},{"id":971,"kind":1024,"name":"products","url":"interfaces/layervectorrealearthoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":972,"kind":1024,"name":"animate","url":"interfaces/layervectorrealearthoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":973,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layervectorrealearthoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":974,"kind":1024,"name":"transform","url":"interfaces/layervectorrealearthoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":975,"kind":1024,"name":"mapMoveObj","url":"interfaces/layervectorrealearthoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":976,"kind":1024,"name":"autoLoad","url":"interfaces/layervectorrealearthoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":977,"kind":1024,"name":"style","url":"interfaces/layervectorrealearthoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":978,"kind":1024,"name":"onDemand","url":"interfaces/layervectorrealearthoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":979,"kind":1024,"name":"onDemandDelay","url":"interfaces/layervectorrealearthoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":980,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layervectorrealearthoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":981,"kind":1024,"name":"renderOrder","url":"interfaces/layervectorrealearthoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":982,"kind":65536,"name":"__type","url":"interfaces/layervectorrealearthoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerVectorRealEarthOptions.renderOrder"},{"id":983,"kind":1024,"name":"id","url":"interfaces/layervectorrealearthoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":984,"kind":1024,"name":"name","url":"interfaces/layervectorrealearthoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":985,"kind":1024,"name":"opacity","url":"interfaces/layervectorrealearthoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":986,"kind":1024,"name":"visible","url":"interfaces/layervectorrealearthoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":987,"kind":1024,"name":"minZoom","url":"interfaces/layervectorrealearthoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":988,"kind":1024,"name":"maxZoom","url":"interfaces/layervectorrealearthoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":989,"kind":1024,"name":"params","url":"interfaces/layervectorrealearthoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":990,"kind":1024,"name":"zIndex","url":"interfaces/layervectorrealearthoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":991,"kind":1024,"name":"loadCallback","url":"interfaces/layervectorrealearthoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":992,"kind":1024,"name":"legendCollapse","url":"interfaces/layervectorrealearthoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":993,"kind":1024,"name":"legendCheckbox","url":"interfaces/layervectorrealearthoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":994,"kind":1024,"name":"legendContent","url":"interfaces/layervectorrealearthoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":995,"kind":128,"name":"LayerVectorRealEarth","url":"classes/layervectorrealearth.html","classes":"tsd-kind-class"},{"id":996,"kind":1024,"name":"_products","url":"classes/layervectorrealearth.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":997,"kind":1024,"name":"animator","url":"classes/layervectorrealearth.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":998,"kind":512,"name":"constructor","url":"classes/layervectorrealearth.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":999,"kind":2048,"name":"setLayerTime","url":"classes/layervectorrealearth.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":1000,"kind":2048,"name":"_load","url":"classes/layervectorrealearth.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":1001,"kind":1024,"name":"_geoJsonFormat","url":"classes/layervectorrealearth.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1002,"kind":1024,"name":"_transform","url":"classes/layervectorrealearth.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1003,"kind":2048,"name":"addFeatures","url":"classes/layervectorrealearth.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1004,"kind":2048,"name":"mapMoveCallback","url":"classes/layervectorrealearth.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1005,"kind":1024,"name":"_olLayer","url":"classes/layervectorrealearth.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1006,"kind":1024,"name":"_source","url":"classes/layervectorrealearth.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1007,"kind":1024,"name":"_style","url":"classes/layervectorrealearth.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1008,"kind":1024,"name":"_autoLoad","url":"classes/layervectorrealearth.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1009,"kind":1024,"name":"_onDemand","url":"classes/layervectorrealearth.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1010,"kind":1024,"name":"_onDemandDelay","url":"classes/layervectorrealearth.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1011,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1012,"kind":1024,"name":"_mapMoveParams","url":"classes/layervectorrealearth.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1013,"kind":1024,"name":"_mapMove","url":"classes/layervectorrealearth.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1014,"kind":1024,"name":"_projectionMap","url":"classes/layervectorrealearth.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1015,"kind":1024,"name":"_projection4326","url":"classes/layervectorrealearth.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1016,"kind":2048,"name":"mapMoveBefore","url":"classes/layervectorrealearth.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1017,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1018,"kind":2048,"name":"clear","url":"classes/layervectorrealearth.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1019,"kind":262144,"name":"onDemandDelay","url":"classes/layervectorrealearth.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1020,"kind":262144,"name":"autoLoad","url":"classes/layervectorrealearth.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1021,"kind":262144,"name":"style","url":"classes/layervectorrealearth.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1022,"kind":262144,"name":"mapCrs","url":"classes/layervectorrealearth.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1023,"kind":262144,"name":"mapProj","url":"classes/layervectorrealearth.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1024,"kind":262144,"name":"mapMove","url":"classes/layervectorrealearth.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1025,"kind":262144,"name":"mapMoveParams","url":"classes/layervectorrealearth.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1026,"kind":262144,"name":"visible","url":"classes/layervectorrealearth.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1027,"kind":262144,"name":"source","url":"classes/layervectorrealearth.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1028,"kind":262144,"name":"features","url":"classes/layervectorrealearth.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1029,"kind":262144,"name":"olLayer","url":"classes/layervectorrealearth.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1030,"kind":2048,"name":"setZIndex","url":"classes/layervectorrealearth.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1031,"kind":1024,"name":"_legendCheckbox","url":"classes/layervectorrealearth.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1032,"kind":1024,"name":"_url","url":"classes/layervectorrealearth.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1033,"kind":1024,"name":"_opacity","url":"classes/layervectorrealearth.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1034,"kind":1024,"name":"_minZoom","url":"classes/layervectorrealearth.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1035,"kind":1024,"name":"_maxZoom","url":"classes/layervectorrealearth.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1036,"kind":1024,"name":"_visible","url":"classes/layervectorrealearth.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1037,"kind":1024,"name":"_loaded","url":"classes/layervectorrealearth.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1038,"kind":1024,"name":"_zIndex","url":"classes/layervectorrealearth.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1039,"kind":1024,"name":"_legendContent","url":"classes/layervectorrealearth.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1040,"kind":1024,"name":"_params","url":"classes/layervectorrealearth.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1041,"kind":1024,"name":"_id","url":"classes/layervectorrealearth.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1042,"kind":1024,"name":"_name","url":"classes/layervectorrealearth.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1043,"kind":1024,"name":"_animate","url":"classes/layervectorrealearth.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1044,"kind":1024,"name":"_legendCollapse","url":"classes/layervectorrealearth.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1045,"kind":1024,"name":"_maxResolution","url":"classes/layervectorrealearth.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1046,"kind":1024,"name":"_minResolution","url":"classes/layervectorrealearth.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1047,"kind":1024,"name":"_$legendDiv","url":"classes/layervectorrealearth.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1048,"kind":1024,"name":"loadCallback","url":"classes/layervectorrealearth.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1049,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layervectorrealearth.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1050,"kind":2048,"name":"getLegendDiv","url":"classes/layervectorrealearth.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1051,"kind":2048,"name":"_addLegendContent","url":"classes/layervectorrealearth.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerVectorRealEarth"},{"id":1052,"kind":2048,"name":"addLegendContent","url":"classes/layervectorrealearth.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1053,"kind":2048,"name":"applyCollapse","url":"classes/layervectorrealearth.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1054,"kind":2048,"name":"refresh","url":"classes/layervectorrealearth.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1055,"kind":262144,"name":"id","url":"classes/layervectorrealearth.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1056,"kind":262144,"name":"animate","url":"classes/layervectorrealearth.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1057,"kind":262144,"name":"legendContent","url":"classes/layervectorrealearth.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1058,"kind":262144,"name":"params","url":"classes/layervectorrealearth.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1059,"kind":262144,"name":"minResolution","url":"classes/layervectorrealearth.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1060,"kind":262144,"name":"maxResolution","url":"classes/layervectorrealearth.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1061,"kind":262144,"name":"minZoom","url":"classes/layervectorrealearth.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1062,"kind":262144,"name":"maxZoom","url":"classes/layervectorrealearth.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1063,"kind":262144,"name":"url","url":"classes/layervectorrealearth.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1064,"kind":2048,"name":"setVisible","url":"classes/layervectorrealearth.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1065,"kind":262144,"name":"opacity","url":"classes/layervectorrealearth.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1066,"kind":262144,"name":"name","url":"classes/layervectorrealearth.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1067,"kind":262144,"name":"loaded","url":"classes/layervectorrealearth.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1068,"kind":2048,"name":"getSource","url":"classes/layervectorrealearth.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1069,"kind":262144,"name":"zIndex","url":"classes/layervectorrealearth.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1070,"kind":2048,"name":"getOlLayer","url":"classes/layervectorrealearth.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1071,"kind":256,"name":"IRealEarthAnimate","url":"interfaces/irealearthanimate.html","classes":"tsd-kind-interface"},{"id":1072,"kind":2048,"name":"setLayerTime","url":"interfaces/irealearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IRealEarthAnimate"},{"id":1073,"kind":256,"name":"timesLoadedCallback","url":"interfaces/timesloadedcallback.html","classes":"tsd-kind-interface"},{"id":1074,"kind":128,"name":"RealEarthAnimate","url":"classes/realearthanimate.html","classes":"tsd-kind-class"},{"id":1075,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimate.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1076,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimate.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1077,"kind":1024,"name":"_localDates","url":"classes/realearthanimate.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1078,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimate.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1079,"kind":1024,"name":"_products","url":"classes/realearthanimate.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1080,"kind":1024,"name":"loadCallback","url":"classes/realearthanimate.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1081,"kind":1024,"name":"localTimes","url":"classes/realearthanimate.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1082,"kind":1024,"name":"_currentTime","url":"classes/realearthanimate.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1083,"kind":1024,"name":"lyr","url":"classes/realearthanimate.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1084,"kind":512,"name":"constructor","url":"classes/realearthanimate.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1085,"kind":2048,"name":"timeInit","url":"classes/realearthanimate.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1086,"kind":2048,"name":"_loadDates","url":"classes/realearthanimate.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1087,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimate.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1088,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1089,"kind":32,"name":"offsetMinutes","url":"globals.html#offsetminutes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":1090,"kind":128,"name":"RealEarthAnimateTile","url":"classes/realearthanimatetile.html","classes":"tsd-kind-class"},{"id":1091,"kind":1024,"name":"_sourceUrls","url":"classes/realearthanimatetile.html#_sourceurls","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1092,"kind":1024,"name":"_source","url":"classes/realearthanimatetile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1093,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatetile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1094,"kind":512,"name":"constructor","url":"classes/realearthanimatetile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1095,"kind":2048,"name":"timeInit","url":"classes/realearthanimatetile.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1096,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatetile.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1097,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatetile.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateTile"},{"id":1098,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatetile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1099,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatetile.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1100,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatetile.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1101,"kind":1024,"name":"_localDates","url":"classes/realearthanimatetile.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1102,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatetile.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1103,"kind":1024,"name":"_products","url":"classes/realearthanimatetile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1104,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatetile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1105,"kind":1024,"name":"localTimes","url":"classes/realearthanimatetile.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1106,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatetile.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1107,"kind":1024,"name":"lyr","url":"classes/realearthanimatetile.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1108,"kind":256,"name":"LayerRealEarthTileOptions","url":"interfaces/layerrealearthtileoptions.html","classes":"tsd-kind-interface"},{"id":1109,"kind":1024,"name":"products","url":"interfaces/layerrealearthtileoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1110,"kind":1024,"name":"animate","url":"interfaces/layerrealearthtileoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1111,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layerrealearthtileoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1112,"kind":1024,"name":"id","url":"interfaces/layerrealearthtileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1113,"kind":1024,"name":"name","url":"interfaces/layerrealearthtileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1114,"kind":1024,"name":"opacity","url":"interfaces/layerrealearthtileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1115,"kind":1024,"name":"visible","url":"interfaces/layerrealearthtileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1116,"kind":1024,"name":"minZoom","url":"interfaces/layerrealearthtileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1117,"kind":1024,"name":"maxZoom","url":"interfaces/layerrealearthtileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1118,"kind":1024,"name":"params","url":"interfaces/layerrealearthtileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1119,"kind":1024,"name":"zIndex","url":"interfaces/layerrealearthtileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1120,"kind":1024,"name":"loadCallback","url":"interfaces/layerrealearthtileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1121,"kind":1024,"name":"legendCollapse","url":"interfaces/layerrealearthtileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1122,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerrealearthtileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1123,"kind":1024,"name":"legendContent","url":"interfaces/layerrealearthtileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1124,"kind":128,"name":"LayerRealEarthTile","url":"classes/layerrealearthtile.html","classes":"tsd-kind-class"},{"id":1125,"kind":1024,"name":"_products","url":"classes/layerrealearthtile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1126,"kind":1024,"name":"animator","url":"classes/layerrealearthtile.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1127,"kind":512,"name":"constructor","url":"classes/layerrealearthtile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1128,"kind":2048,"name":"setLayerTime","url":"classes/layerrealearthtile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1129,"kind":2048,"name":"_load","url":"classes/layerrealearthtile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1130,"kind":262144,"name":"source","url":"classes/layerrealearthtile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1131,"kind":262144,"name":"olLayer","url":"classes/layerrealearthtile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1132,"kind":1024,"name":"_legendCheckbox","url":"classes/layerrealearthtile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1133,"kind":1024,"name":"_url","url":"classes/layerrealearthtile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1134,"kind":1024,"name":"_opacity","url":"classes/layerrealearthtile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1135,"kind":1024,"name":"_minZoom","url":"classes/layerrealearthtile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1136,"kind":1024,"name":"_maxZoom","url":"classes/layerrealearthtile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1137,"kind":1024,"name":"_visible","url":"classes/layerrealearthtile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1138,"kind":1024,"name":"_loaded","url":"classes/layerrealearthtile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1139,"kind":1024,"name":"_zIndex","url":"classes/layerrealearthtile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1140,"kind":1024,"name":"_legendContent","url":"classes/layerrealearthtile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1141,"kind":1024,"name":"_params","url":"classes/layerrealearthtile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1142,"kind":1024,"name":"_id","url":"classes/layerrealearthtile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1143,"kind":1024,"name":"_name","url":"classes/layerrealearthtile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1144,"kind":1024,"name":"_source","url":"classes/layerrealearthtile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1145,"kind":1024,"name":"_animate","url":"classes/layerrealearthtile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1146,"kind":1024,"name":"_legendCollapse","url":"classes/layerrealearthtile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1147,"kind":1024,"name":"_maxResolution","url":"classes/layerrealearthtile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1148,"kind":1024,"name":"_minResolution","url":"classes/layerrealearthtile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1149,"kind":1024,"name":"_$legendDiv","url":"classes/layerrealearthtile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1150,"kind":1024,"name":"loadCallback","url":"classes/layerrealearthtile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1151,"kind":1024,"name":"_olLayer","url":"classes/layerrealearthtile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1152,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerrealearthtile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1153,"kind":2048,"name":"getLegendDiv","url":"classes/layerrealearthtile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1154,"kind":2048,"name":"_addLegendContent","url":"classes/layerrealearthtile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerRealEarthTile"},{"id":1155,"kind":2048,"name":"addLegendContent","url":"classes/layerrealearthtile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1156,"kind":2048,"name":"applyCollapse","url":"classes/layerrealearthtile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1157,"kind":2048,"name":"refresh","url":"classes/layerrealearthtile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1158,"kind":262144,"name":"id","url":"classes/layerrealearthtile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1159,"kind":262144,"name":"animate","url":"classes/layerrealearthtile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1160,"kind":262144,"name":"legendContent","url":"classes/layerrealearthtile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1161,"kind":262144,"name":"params","url":"classes/layerrealearthtile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1162,"kind":262144,"name":"minResolution","url":"classes/layerrealearthtile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1163,"kind":262144,"name":"maxResolution","url":"classes/layerrealearthtile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1164,"kind":262144,"name":"minZoom","url":"classes/layerrealearthtile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1165,"kind":262144,"name":"maxZoom","url":"classes/layerrealearthtile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1166,"kind":262144,"name":"url","url":"classes/layerrealearthtile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1167,"kind":262144,"name":"visible","url":"classes/layerrealearthtile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1168,"kind":2048,"name":"setVisible","url":"classes/layerrealearthtile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1169,"kind":262144,"name":"opacity","url":"classes/layerrealearthtile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1170,"kind":262144,"name":"name","url":"classes/layerrealearthtile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1171,"kind":262144,"name":"loaded","url":"classes/layerrealearthtile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1172,"kind":2048,"name":"getSource","url":"classes/layerrealearthtile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1173,"kind":262144,"name":"zIndex","url":"classes/layerrealearthtile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1174,"kind":2048,"name":"setZIndex","url":"classes/layerrealearthtile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1175,"kind":2048,"name":"getOlLayer","url":"classes/layerrealearthtile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1176,"kind":64,"name":"calculateExtent","url":"globals.html#calculateextent","classes":"tsd-kind-function"},{"id":1177,"kind":64,"name":"fitToMap","url":"globals.html#fittomap","classes":"tsd-kind-function"},{"id":1178,"kind":128,"name":"LayerSwipe","url":"classes/layerswipe.html","classes":"tsd-kind-class"},{"id":1179,"kind":1024,"name":"leftLayers","url":"classes/layerswipe.html#leftlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1180,"kind":1024,"name":"rightLayers","url":"classes/layerswipe.html#rightlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1181,"kind":1024,"name":"_percentRight","url":"classes/layerswipe.html#_percentright","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1182,"kind":1024,"name":"_map","url":"classes/layerswipe.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1183,"kind":1024,"name":"$mapElement","url":"classes/layerswipe.html#_mapelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1184,"kind":1024,"name":"$swiper","url":"classes/layerswipe.html#_swiper","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1185,"kind":1024,"name":"dragging","url":"classes/layerswipe.html#dragging","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1186,"kind":1024,"name":"offset","url":"classes/layerswipe.html#offset","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1187,"kind":512,"name":"constructor","url":"classes/layerswipe.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1188,"kind":2048,"name":"addLeftLayer","url":"classes/layerswipe.html#addleftlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1189,"kind":2048,"name":"addRightLayer","url":"classes/layerswipe.html#addrightlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1190,"kind":262144,"name":"percentRight","url":"classes/layerswipe.html#percentright","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1191,"kind":256,"name":"quickMapOptions","url":"interfaces/quickmapoptions.html","classes":"tsd-kind-interface"},{"id":1192,"kind":1024,"name":"divId","url":"interfaces/quickmapoptions.html#divid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1193,"kind":1024,"name":"center","url":"interfaces/quickmapoptions.html#center","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1194,"kind":65536,"name":"__type","url":"interfaces/quickmapoptions.html#center.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"quickMapOptions.center"},{"id":1195,"kind":32,"name":"x","url":"interfaces/quickmapoptions.html#center.__type.x","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1196,"kind":32,"name":"y","url":"interfaces/quickmapoptions.html#center.__type.y","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1197,"kind":1024,"name":"zoom","url":"interfaces/quickmapoptions.html#zoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1198,"kind":1024,"name":"minZoom","url":"interfaces/quickmapoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1199,"kind":1024,"name":"maxZoom","url":"interfaces/quickmapoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1200,"kind":1024,"name":"baseSwitcher","url":"interfaces/quickmapoptions.html#baseswitcher","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1201,"kind":1024,"name":"fullScreen","url":"interfaces/quickmapoptions.html#fullscreen","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1202,"kind":64,"name":"quickMapBase","url":"globals.html#quickmapbase","classes":"tsd-kind-function"},{"id":1203,"kind":64,"name":"quickMap","url":"globals.html#quickmap","classes":"tsd-kind-function"},{"id":1204,"kind":64,"name":"quickMapMulti","url":"globals.html#quickmapmulti","classes":"tsd-kind-function"},{"id":1205,"kind":128,"name":"SortedFeatures","url":"classes/sortedfeatures.html","classes":"tsd-kind-class"},{"id":1206,"kind":1024,"name":"sortedFeatures","url":"classes/sortedfeatures.html#sortedfeatures-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1207,"kind":1024,"name":"propertyName","url":"classes/sortedfeatures.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1208,"kind":1024,"name":"_propertyType","url":"classes/sortedfeatures.html#_propertytype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1209,"kind":512,"name":"constructor","url":"classes/sortedfeatures.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1210,"kind":2048,"name":"getFeature","url":"classes/sortedfeatures.html#getfeature","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1211,"kind":256,"name":"iAction","url":"interfaces/iaction.html","classes":"tsd-kind-interface"},{"id":1212,"kind":1024,"name":"type","url":"interfaces/iaction.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iAction"},{"id":1213,"kind":32,"name":"connect","url":"globals.html#connect","classes":"tsd-kind-variable"},{"id":1214,"kind":32,"name":"Provider","url":"globals.html#provider","classes":"tsd-kind-variable"},{"id":1215,"kind":32,"name":"combineReducers","url":"globals.html#combinereducers","classes":"tsd-kind-variable"},{"id":1216,"kind":32,"name":"createStore","url":"globals.html#createstore","classes":"tsd-kind-variable"},{"id":1217,"kind":64,"name":"stringToDate","url":"globals.html#stringtodate","classes":"tsd-kind-function"},{"id":1218,"kind":64,"name":"dateToString","url":"globals.html#datetostring","classes":"tsd-kind-function"},{"id":1219,"kind":128,"name":"DatePick","url":"classes/datepick.html","classes":"tsd-kind-class"},{"id":1220,"kind":1024,"name":"defaultId","url":"classes/datepick.html#defaultid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DatePick"},{"id":1221,"kind":512,"name":"constructor","url":"classes/datepick.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"DatePick"},{"id":1222,"kind":2048,"name":"componentDidMount","url":"classes/datepick.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DatePick"},{"id":1223,"kind":2048,"name":"render","url":"classes/datepick.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DatePick"},{"id":1224,"kind":2048,"name":"setState","url":"classes/datepick.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"DatePick"},{"id":1225,"kind":2048,"name":"forceUpdate","url":"classes/datepick.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1226,"kind":1024,"name":"props","url":"classes/datepick.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1227,"kind":1024,"name":"state","url":"classes/datepick.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1228,"kind":1024,"name":"context","url":"classes/datepick.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1229,"kind":1024,"name":"refs","url":"classes/datepick.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DatePick"},{"id":1230,"kind":65536,"name":"__type","url":"classes/datepick.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"DatePick.refs"},{"id":1231,"kind":128,"name":"DateRange","url":"classes/daterange.html","classes":"tsd-kind-class"},{"id":1232,"kind":1024,"name":"startId","url":"classes/daterange.html#startid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1233,"kind":1024,"name":"endId","url":"classes/daterange.html#endid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1234,"kind":1024,"name":"startInput","url":"classes/daterange.html#startinput","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1235,"kind":1024,"name":"endInput","url":"classes/daterange.html#endinput","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1236,"kind":1024,"name":"start","url":"classes/daterange.html#start","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1237,"kind":1024,"name":"end","url":"classes/daterange.html#end","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1238,"kind":1024,"name":"maxRange","url":"classes/daterange.html#maxrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1239,"kind":1024,"name":"minRange","url":"classes/daterange.html#minrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1240,"kind":1024,"name":"numDays","url":"classes/daterange.html#numdays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DateRange"},{"id":1241,"kind":512,"name":"constructor","url":"classes/daterange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"DateRange"},{"id":1242,"kind":2048,"name":"setNumDays","url":"classes/daterange.html#setnumdays","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1243,"kind":2048,"name":"componentDidMount","url":"classes/daterange.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1244,"kind":262144,"name":"needReset","url":"classes/daterange.html#needreset","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DateRange"},{"id":1245,"kind":2048,"name":"setStart","url":"classes/daterange.html#setstart","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1246,"kind":2048,"name":"setEnd","url":"classes/daterange.html#setend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DateRange"},{"id":1247,"kind":2048,"name":"render","url":"classes/daterange.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"DateRange"},{"id":1248,"kind":2048,"name":"setState","url":"classes/daterange.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"DateRange"},{"id":1249,"kind":2048,"name":"forceUpdate","url":"classes/daterange.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1250,"kind":1024,"name":"props","url":"classes/daterange.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1251,"kind":1024,"name":"state","url":"classes/daterange.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1252,"kind":1024,"name":"context","url":"classes/daterange.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1253,"kind":1024,"name":"refs","url":"classes/daterange.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"DateRange"},{"id":1254,"kind":65536,"name":"__type","url":"classes/daterange.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"DateRange.refs"},{"id":1255,"kind":64,"name":"default","url":"globals.html#default","classes":"tsd-kind-function"},{"id":1256,"kind":128,"name":"RadioItem","url":"classes/radioitem.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":1257,"kind":1024,"name":"guid","url":"classes/radioitem.html#guid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioItem"},{"id":1258,"kind":2048,"name":"render","url":"classes/radioitem.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioItem"},{"id":1259,"kind":512,"name":"constructor","url":"classes/radioitem.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1260,"kind":2048,"name":"setState","url":"classes/radioitem.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1261,"kind":2048,"name":"forceUpdate","url":"classes/radioitem.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1262,"kind":1024,"name":"props","url":"classes/radioitem.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1263,"kind":1024,"name":"state","url":"classes/radioitem.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1264,"kind":1024,"name":"context","url":"classes/radioitem.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1265,"kind":1024,"name":"refs","url":"classes/radioitem.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioItem"},{"id":1266,"kind":65536,"name":"__type","url":"classes/radioitem.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioItem.refs"},{"id":1267,"kind":128,"name":"RadioBase","url":"classes/radiobase.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":1268,"kind":1024,"name":"inline","url":"classes/radiobase.html#inline","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioBase"},{"id":1269,"kind":1024,"name":"groupId","url":"classes/radiobase.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"RadioBase"},{"id":1270,"kind":512,"name":"constructor","url":"classes/radiobase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioBase"},{"id":1271,"kind":2048,"name":"render","url":"classes/radiobase.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"RadioBase"},{"id":1272,"kind":2048,"name":"setState","url":"classes/radiobase.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1273,"kind":2048,"name":"forceUpdate","url":"classes/radiobase.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1274,"kind":1024,"name":"props","url":"classes/radiobase.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1275,"kind":1024,"name":"state","url":"classes/radiobase.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1276,"kind":1024,"name":"context","url":"classes/radiobase.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1277,"kind":1024,"name":"refs","url":"classes/radiobase.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"RadioBase"},{"id":1278,"kind":65536,"name":"__type","url":"classes/radiobase.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioBase.refs"},{"id":1279,"kind":128,"name":"Radio","url":"classes/radio.html","classes":"tsd-kind-class"},{"id":1280,"kind":2048,"name":"render","url":"classes/radio.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Radio"},{"id":1281,"kind":512,"name":"constructor","url":"classes/radio.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1282,"kind":2048,"name":"setState","url":"classes/radio.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Radio"},{"id":1283,"kind":2048,"name":"forceUpdate","url":"classes/radio.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1284,"kind":1024,"name":"props","url":"classes/radio.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1285,"kind":1024,"name":"state","url":"classes/radio.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1286,"kind":1024,"name":"context","url":"classes/radio.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1287,"kind":1024,"name":"refs","url":"classes/radio.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Radio"},{"id":1288,"kind":65536,"name":"__type","url":"classes/radio.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"Radio.refs"},{"id":1289,"kind":128,"name":"RadioConnected","url":"classes/radioconnected.html","classes":"tsd-kind-class"},{"id":1290,"kind":2048,"name":"render","url":"classes/radioconnected.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RadioConnected"},{"id":1291,"kind":512,"name":"constructor","url":"classes/radioconnected.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1292,"kind":2048,"name":"setState","url":"classes/radioconnected.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"RadioConnected"},{"id":1293,"kind":2048,"name":"forceUpdate","url":"classes/radioconnected.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1294,"kind":1024,"name":"props","url":"classes/radioconnected.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1295,"kind":1024,"name":"state","url":"classes/radioconnected.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1296,"kind":1024,"name":"context","url":"classes/radioconnected.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1297,"kind":1024,"name":"refs","url":"classes/radioconnected.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RadioConnected"},{"id":1298,"kind":65536,"name":"__type","url":"classes/radioconnected.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"RadioConnected.refs"},{"id":1299,"kind":128,"name":"SelectArea","url":"classes/selectarea.html","classes":"tsd-kind-class"},{"id":1300,"kind":1024,"name":"map","url":"classes/selectarea.html#map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1301,"kind":1024,"name":"callback","url":"classes/selectarea.html#callback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1302,"kind":65536,"name":"__type","url":"classes/selectarea.html#callback.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"SelectArea.callback"},{"id":1303,"kind":1024,"name":"areaOverlay","url":"classes/selectarea.html#areaoverlay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1304,"kind":1024,"name":"draw","url":"classes/selectarea.html#draw","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1305,"kind":1024,"name":"selectId","url":"classes/selectarea.html#selectid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1306,"kind":1024,"name":"cancelId","url":"classes/selectarea.html#cancelid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1307,"kind":1024,"name":"selectButton","url":"classes/selectarea.html#selectbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1308,"kind":1024,"name":"cancelButton","url":"classes/selectarea.html#cancelbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectArea"},{"id":1309,"kind":512,"name":"constructor","url":"classes/selectarea.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"SelectArea"},{"id":1310,"kind":2048,"name":"componentDidMount","url":"classes/selectarea.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1311,"kind":2048,"name":"setArea","url":"classes/selectarea.html#setarea","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1312,"kind":2048,"name":"cancel","url":"classes/selectarea.html#cancel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectArea"},{"id":1313,"kind":2048,"name":"render","url":"classes/selectarea.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"SelectArea"},{"id":1314,"kind":2048,"name":"setState","url":"classes/selectarea.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"SelectArea"},{"id":1315,"kind":2048,"name":"forceUpdate","url":"classes/selectarea.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1316,"kind":1024,"name":"props","url":"classes/selectarea.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1317,"kind":1024,"name":"state","url":"classes/selectarea.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1318,"kind":1024,"name":"context","url":"classes/selectarea.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1319,"kind":1024,"name":"refs","url":"classes/selectarea.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"SelectArea"},{"id":1320,"kind":65536,"name":"__type","url":"classes/selectarea.html#refs.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"SelectArea.refs"},{"id":1321,"kind":128,"name":"Slider","url":"classes/slider.html","classes":"tsd-kind-class"},{"id":1322,"kind":1024,"name":"uid","url":"classes/slider.html#uid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1323,"kind":1024,"name":"startUid","url":"classes/slider.html#startuid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1324,"kind":1024,"name":"endUid","url":"classes/slider.html#enduid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1325,"kind":1024,"name":"intervalUid","url":"classes/slider.html#intervaluid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1326,"kind":1024,"name":"el","url":"classes/slider.html#el","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1327,"kind":1024,"name":"startButton","url":"classes/slider.html#startbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1328,"kind":1024,"name":"endButton","url":"classes/slider.html#endbutton","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1329,"kind":1024,"name":"intervalSelect","url":"classes/slider.html#intervalselect","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1330,"kind":1024,"name":"interval","url":"classes/slider.html#interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1331,"kind":1024,"name":"running","url":"classes/slider.html#running","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1332,"kind":1024,"name":"minVal","url":"classes/slider.html#minval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1333,"kind":1024,"name":"maxVal","url":"classes/slider.html#maxval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1334,"kind":1024,"name":"step","url":"classes/slider.html#step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Slider"},{"id":1335,"kind":512,"name":"constructor","url":"classes/slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"Slider"},{"id":1336,"kind":2048,"name":"componentDidMount","url":"classes/slider.html#componentdidmount","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1337,"kind":2048,"name":"updateRunning","url":"classes/slider.html#updaterunning","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1338,"kind":2048,"name":"startAnimate","url":"classes/slider.html#startanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1339,"kind":2048,"name":"stopAnimate","url":"classes/slider.html#stopanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1340,"kind":2048,"name":"restartAnimate","url":"classes/slider.html#restartanimate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Slider"},{"id":1341,"kind":2048,"name":"render","url":"classes/slider.html#render","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Slider"},{"id":1342,"kind":2048,"name":"setState","url":"classes/slider.html#setstate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Slider"},{"id":1343,"kind":2048,"name":"forceUpdate","url":"classes/slider.html#forceupdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1344,"kind":1024,"name":"props","url":"classes/slider.html#props","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1345,"kind":1024,"name":"state","url":"classes/slider.html#state","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1346,"kind":1024,"name":"context","url":"classes/slider.html#context","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1347,"kind":1024,"name":"refs","url":"classes/slider.html#refs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"Slider"},{"id":1348,"kind":65536,"name":"__type","url":"classes/slider.html#refs.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"Slider.refs"},{"id":1349,"kind":2,"name":"checkDefined","url":"modules/checkdefined.html","classes":"tsd-kind-module"},{"id":1350,"kind":32,"name":"undefinedOrNull","url":"modules/checkdefined.html#undefinedornull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1351,"kind":32,"name":"definedAndNotNull","url":"modules/checkdefined.html#definedandnotnull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1352,"kind":64,"name":"leadingPad","url":"globals.html#leadingpad","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1353,"kind":64,"name":"dateToYyyyMmDdHhMmSs","url":"globals.html#datetoyyyymmddhhmmss","classes":"tsd-kind-function"},{"id":1354,"kind":64,"name":"dateToYyyyMmDdHh000","url":"globals.html#datetoyyyymmddhh000","classes":"tsd-kind-function"},{"id":1355,"kind":64,"name":"isNumber","url":"globals.html#isnumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1356,"kind":64,"name":"getUrlParams","url":"globals.html#geturlparams","classes":"tsd-kind-function"},{"id":1357,"kind":256,"name":"keyVals","url":"interfaces/keyvals.html","classes":"tsd-kind-interface"},{"id":1358,"kind":1024,"name":"key","url":"interfaces/keyvals.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1359,"kind":1024,"name":"value","url":"interfaces/keyvals.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1360,"kind":64,"name":"keyValPairs","url":"globals.html#keyvalpairs","classes":"tsd-kind-function"}]}; \ No newline at end of file diff --git a/src/collections/ItsLayerCollection.ts b/src/collections/ItsLayerCollection.ts index c0848845fa69c0937e7734861d5163fd751754ee..002831c603639612a2830eeb32d1a750933e2abc 100644 --- a/src/collections/ItsLayerCollection.ts +++ b/src/collections/ItsLayerCollection.ts @@ -78,7 +78,7 @@ let itsConfig = [ legendCollapse: true, itsLineConfig: { prop: 'owner', - //defaultName: 'Other', + defaultName: 'Other', //defaultWidth: 7, defaultColor: colors.hexAlphaToRgbOrRgba('#747474', 0.8), lineArray: [ diff --git a/src/collections/LayerLegend.ts b/src/collections/LayerLegend.ts index 0d5106b37e2c01e84d6bf034851e4fb66b963906..22bfb02f37f4e14a410f24b1800a051ea32c4601 100644 --- a/src/collections/LayerLegend.ts +++ b/src/collections/LayerLegend.ts @@ -8,6 +8,22 @@ import mapMove from '../olHelpers/mapMove'; let nm = provide('collections'); import $ = require('jquery'); +import {LayerBase} from "../layers"; + + + +export interface iLegendItem{ + groupName: string; + collapse: boolean; + addCheck: boolean; + items: iLegendItem[] +} + +export interface iLegendOptions{ + layerDivClasses?: string[] + legendTitle?: string + scaleDependent?: boolean +} class LayerGroup { groupLayers: any; @@ -22,8 +38,8 @@ class LayerGroup { allGroupArray: any; allGroupLookup: any; allLayerLookup: any; - collapse: any; - addCheck: any; + collapse: boolean; + addCheck: boolean; layerParentLookup: any; /** @@ -34,7 +50,7 @@ class LayerGroup { * @param {boolean} [groupConfig.addCheck=true] - if the group should have a checkbox controlling visibility of all layers * @param {LayerGroup} [parent=undefined] - the parent group */ - constructor(groupConfig?, parent?) { + constructor(groupConfig?: iLegendItem, parent?: LayerGroup) { this.groupLayers = []; this.groupLayersLookup = {}; this.groupGroups = []; @@ -70,7 +86,7 @@ class LayerGroup { * @param {Array<LayerGroup>} parents parent groups * @returns {LayerGroup} the layer group just added */ - addGroup(groupConfig, parents) { + addGroup(groupConfig: iLegendItem, parents: string[]) { let parent; if (parents.length > 0) { parent = parents[parents.length - 1]; @@ -104,7 +120,7 @@ class LayerGroup { * @param {LayerBase} newLayer the layer to be added * @param {Array} parents array */ - addLegendLayer(newLayer, parents) { + addLegendLayer(newLayer: LayerBase, parents: string[]) { let parent; if (parents.length > 0) { parent = parents[parents.length - 1]; @@ -132,7 +148,9 @@ class LayerGroup { } - getLegendHtml(legendId, options) { + + + getLegendHtml(legendId: string, options: iLegendOptions) { let legendHtml = `<ul id="${legendId}" class="legend-container">`; @@ -154,7 +172,7 @@ class LayerGroup { * @static * @returns {string} html string */ - _buildLegend(itemIds, theGroup, layerDivClasses) { + _buildLegend(itemIds: string[], theGroup: LayerGroup, layerDivClasses: string[]): string { if (itemIds.length == 0) { return ''; @@ -205,6 +223,8 @@ class LayerGroup { } } + + /** * a wrapper to make a legend */ @@ -224,15 +244,13 @@ class LayerLegend { * @param {string} [options.legendTitle=Legend] the legend title * @param {boolean} [options.scaleDependent=true] if legend display is scale dependent */ - constructor(legendItems, divId, options) { + constructor(legendItems: iLegendItem[], divId: string, options: iLegendOptions = {}) { for (let i of legendItems) { if (typeof i == 'undefined') { throw 'undefined item passed in array to legend constructor'; } } - options = options || {}; - options.legendTitle = typeof options.legendTitle == 'string' ? options.legendTitle : 'Legend'; options.scaleDependent = typeof options.scaleDependent == 'boolean' ? options.scaleDependent : true; options.layerDivClasses = options.layerDivClasses || []; @@ -324,7 +342,7 @@ class LayerLegend { * @param {Array} [parents=[]] the ordered list of groups in which this item is a member * @private */ - _buildTree(legendItems, parents?) { + _buildTree(legendItems: iLegendItem[], parents?: string[]) { if (legendItems.length == 0) { return; diff --git a/src/collections/Sliders.ts b/src/collections/Sliders.ts index 25bfed12af3b6b457b35f91f463c3a443c4161cb..3c1f778f7b7f967ceee52d54eb879fd666e03d3f 100644 --- a/src/collections/Sliders.ts +++ b/src/collections/Sliders.ts @@ -124,7 +124,7 @@ class _Slider { * add html to dom * @param {jQuery} $container - container element */ - addToDom($container) { + addToDom($container: JQuery) { $container.append(this.html); this.labelLow = $(`#${this.domId}_low`); this.labelHigh = $(`#${this.domId}_high`); @@ -139,7 +139,7 @@ class _Slider { * @param {number} delta change delta * @returns {number} the remainder not able to be allocated to this slider */ - increment(delta) { + increment(delta: number): number { let remainder = 0; delta = Number(delta.toFixed(1)); @@ -435,7 +435,7 @@ export class TipSliders { * @param {string} skipDomId - this dom id * @private */ - _handleRemainder(remain, skipDomId) { + _handleRemainder(remain: number, skipDomId: string) { remain = Number(remain.toFixed(1)); if (remain == 0) { @@ -489,7 +489,7 @@ export class TipSliders { * * @param {object} keyValList key and value list */ - setValues(keyValList) { + setValues(keyValList: {[s:string]: [number, string]}) { this.resetting = true; for (let k in keyValList) { if (keyValList.hasOwnProperty(k)) { @@ -518,7 +518,7 @@ export class TipSliders { * @returns {object} lookup with parameter weights */ getParams() { - let paramWeights = {}; + let paramWeights: {[s: string]: number} = {}; for (let i = 0; i < this._sliderList.length; i++) { let sld = this._sliderList[i]; paramWeights[sld.selectedParam] = Number(sld.weight.toFixed(1)); diff --git a/src/domUtil/SelectBoxBase.ts b/src/domUtil/SelectBoxBase.ts index 392cd468ffba7d83a4f9c927b3bf7628fde58a7e..d43dbae6d6818e550d157779da225a2c66fb9bf1 100644 --- a/src/domUtil/SelectBoxBase.ts +++ b/src/domUtil/SelectBoxBase.ts @@ -36,7 +36,7 @@ export class SelectBoxBase{ * @param {string} labelContent * @param {contentGenerator} [contentGen=undefined] */ - constructor(parent, labelContent, contentGen?: contentGenerator){ + constructor(parent: JQuery, labelContent: string, contentGen?: contentGenerator){ let guidTop = makeGuid(); let guid = makeGuid(); diff --git a/src/domUtil/media-control.ts b/src/domUtil/media-control.ts index 048c75b0a0b15bf1669c9c66d4e06a57c4991b66..2f087c0718c2796096707920c5aac57c44f7c48d 100644 --- a/src/domUtil/media-control.ts +++ b/src/domUtil/media-control.ts @@ -13,7 +13,7 @@ let nm = provide('domUtil'); * @param {number} tm */ -function timeToLocalDateString(tm) { +function timeToLocalDateString(tm: number) { "use strict"; let d = new Date(tm); let p1 = d.toLocaleTimeString().split(' '); @@ -23,11 +23,11 @@ function timeToLocalDateString(tm) { return d.toLocaleDateString() + '<br>' + p2.join(':') + ' ' + p1[1]; } -export interface changeFunction{ +export interface changeFunction { (newVal?: number): void; } -export interface mediaRangeConfig{ +export interface mediaRangeConfig { min?: number; max?: number; val?: number; @@ -37,7 +37,6 @@ export interface mediaRangeConfig{ } - export class MediaControl { _container: JQuery; _min: number; @@ -64,10 +63,11 @@ export class MediaControl { * @param changeFunc * @param mediaConfig */ - constructor( - element: JQuery|HTMLElement|string, - changeFunc: changeFunction = (): void => {return;}, - mediaConfig: mediaRangeConfig = {}) { + constructor(element: JQuery | HTMLElement | string, + changeFunc: changeFunction = (): void => { + return; + }, + mediaConfig: mediaRangeConfig = {}) { mediaConfig.min = typeof mediaConfig.min == 'number' ? mediaConfig.min : 0; mediaConfig.max = typeof mediaConfig.max == 'number' ? mediaConfig.max : 100; @@ -76,10 +76,10 @@ export class MediaControl { mediaConfig.playInterval = typeof mediaConfig.playInterval == 'number' ? mediaConfig.playInterval : 500; mediaConfig.showAsDate = typeof mediaConfig.showAsDate == 'boolean' ? mediaConfig.showAsDate : false; - if (typeof element == 'string'){ + if (typeof element == 'string') { this._container = $('#' + element); } - else if (typeof element['style'] !== 'undefined'){ + else if (typeof (element as HTMLElement).style !== 'undefined') { this._container = $(element); } else { this._container = element as JQuery; @@ -125,7 +125,9 @@ export class MediaControl { this.setMinMaxValueStep(mediaConfig.min, mediaConfig.max, mediaConfig.val, mediaConfig.step); - rangeChange(this._$slider,(newVal) => { this.currentValue = newVal;}, 100); + rangeChange(this._$slider, (newVal) => { + this.currentValue = newVal; + }, 100); let ___this = this; @@ -163,13 +165,13 @@ export class MediaControl { }); } - stopPlaying(){ - if (this._playing){ + stopPlaying() { + if (this._playing) { this._$btnStop.trigger('click'); } } - get playing(){ + get playing() { return this._playing; } @@ -214,12 +216,12 @@ export class MediaControl { * @param {number} [newValue=newMin] the value to set * @param {number} [newStep=(newMax-newMin)/20] step value */ - setMinMaxValueStep(newMin, newMax, newValue, newStep) { + setMinMaxValueStep(newMin: number, newMax: number, newValue: number, newStep: number) { this._min = newMin; this._max = newMax; newValue = typeof newValue == 'number' ? newValue : newMin; - newStep = typeof newStep == 'number' ? newStep : (newMax-newMin)/20; + newStep = typeof newStep == 'number' ? newStep : (newMax - newMin) / 20; this._currentValue = newValue; this._step = newStep; diff --git a/src/domUtil/range-change.ts b/src/domUtil/range-change.ts index b121056b28f3dd4a0f1bac671ae14600864b332d..a29178825b8b2c45be8168e6251e2be72d679fe5 100644 --- a/src/domUtil/range-change.ts +++ b/src/domUtil/range-change.ts @@ -1,13 +1,14 @@ import provide from '../util/provide'; import $ = require('jquery'); +import {ChangeEvent} from "react"; const nm = provide('domUtil'); let mouseIn = false; let mouseDown = false; -let timeout = null; +let timeout: number = null; let dragged = false; -let lastVal; +let lastVal: number; /** @@ -28,7 +29,7 @@ export interface rangeChangedCallback{ * @param ratio ratio from low to high, 0 to 1 * @param evt the original event */ - (newValue: number, ratio: number, evt: Event): any + (newValue: number, ratio: number, evt: ChangeEvent<HTMLInputElement>): any } @@ -36,7 +37,7 @@ export interface rangeChangedCallback{ * Created by gavorhes on 11/2/2015. */ -function triggerCallback(callback: rangeChangedCallback, evt) { +function triggerCallback(callback: rangeChangedCallback, evt: ChangeEvent<HTMLInputElement>) { "use strict"; let val = parseFloat(this.value); diff --git a/src/layers/LayerBase.ts b/src/layers/LayerBase.ts index 36da55df78136db2f927580b035cb4e09ecba069..118867cf644eef34c176b285301c84314c9603e3 100644 --- a/src/layers/LayerBase.ts +++ b/src/layers/LayerBase.ts @@ -184,11 +184,11 @@ export abstract class LayerBase { * add additional content to the legend * @param {string} [additionalContent=] - additonal content to add */ - addLegendContent(additionalContent) { + addLegendContent(additionalContent: string) { this._addLegendContent(additionalContent); } - applyCollapse() { + applyCollapse(): void { if (this._applyCollapseCalled) { console.log('collapse already applied'); diff --git a/src/layers/LayerBaseVector.ts b/src/layers/LayerBaseVector.ts index f18759c63968c13c8d397781b2b7f200da6d69a9..ca0b1521bf58a2a580654147c1c9c2c6226b08e4 100644 --- a/src/layers/LayerBaseVector.ts +++ b/src/layers/LayerBaseVector.ts @@ -14,7 +14,7 @@ export interface makeMapMoveParams { * @param extent * @param zoomLevel */ - (lyr: LayerBaseVector, extent: Array<number>, zoomLevel?: number): any + (lyr: LayerBaseVector, extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel?: number): any } @@ -132,7 +132,6 @@ export class LayerBaseVector extends LayerBase { this.olLayer.setZIndex(this._zIndex); - this._projectionMap = null; this._projection4326 = new ol.proj.Projection({code: "EPSG:4326"}); } @@ -141,7 +140,7 @@ export class LayerBaseVector extends LayerBase { * dummy to be overridden * @param {object} featureCollection - geojson or esrijson object */ - addFeatures(featureCollection) { + addFeatures(featureCollection: Object) { console.log('Layer vector base addFeatures is a placeholder and does nothing'); } @@ -151,7 +150,7 @@ export class LayerBaseVector extends LayerBase { * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution' * @returns {boolean} if the call should proceed */ - mapMoveBefore(zoom, evtType) { + mapMoveBefore(zoom: number, evtType: string) { if (this.minZoom !== undefined) { if (zoom < this.minZoom) { return false; @@ -176,7 +175,7 @@ export class LayerBaseVector extends LayerBase { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent, zoomLevel) { + mapMoveMakeGetParams(extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel: number) { this._mapMoveParams = {}; $.extend(this._mapMoveParams, this.params); $.extend(this._mapMoveParams, this._mapMoveMakeGetParams(this, extent, zoomLevel)); @@ -186,7 +185,7 @@ export class LayerBaseVector extends LayerBase { * callback function on map move * @param {object} d - the json response */ - mapMoveCallback(d) { + mapMoveCallback(d: Object) { if (this.source) { this._source.clear(); } diff --git a/src/layers/LayerBaseVectorEsri.ts b/src/layers/LayerBaseVectorEsri.ts index 2309031c070ee80e6848b980a8e00dc4821404c0..053ede559bcdd1f29372e01bb65404b4e8f78b5c 100644 --- a/src/layers/LayerBaseVectorEsri.ts +++ b/src/layers/LayerBaseVectorEsri.ts @@ -117,7 +117,7 @@ export class LayerBaseVectorEsri extends LayerBaseVector { * add feature collection * @param {object} featureCollection - features as esrijson */ - addFeatures(featureCollection) { + addFeatures(featureCollection: Object) { let feats = this._esriFormat.readFeatures(featureCollection); this.source.addFeatures(feats); } @@ -150,7 +150,7 @@ export class LayerBaseVectorEsri extends LayerBaseVector { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent, zoomLevel) { + mapMoveMakeGetParams(extent: {minX: number, minY: number, maxX: number, maxY: number}, zoomLevel: number) { super.mapMoveMakeGetParams(extent, zoomLevel); this.mapMoveParams['geometry'] = `${extent.minX},${extent.minY},${extent.maxX},${extent.maxY}`; this.mapMoveParams['geometryType'] = 'esriGeometryEnvelope'; @@ -168,7 +168,7 @@ export class LayerBaseVectorEsri extends LayerBaseVector { * @param {string} [evtType=undefined] undefined for initial load, otherwise one of 'change:center', 'change:resolution' * @returns {boolean} if the call should proceed */ - mapMoveBefore(zoom, evtType) { + mapMoveBefore(zoom: number, evtType: string) { return super.mapMoveBefore(zoom, evtType); //if (super.mapMoveBefore(zoom, evtType)){ // //place holder for additional processing @@ -182,7 +182,7 @@ export class LayerBaseVectorEsri extends LayerBaseVector { * callback function on map move * @param {object} d - the json response */ - mapMoveCallback(d) { + mapMoveCallback(d: Object) { super.mapMoveCallback(d); this.source.addFeatures(this._esriFormat.readFeatures(d)); } diff --git a/src/layers/LayerBaseVectorGeoJson.ts b/src/layers/LayerBaseVectorGeoJson.ts index 620341a31133475f792f64341c4820dcc4287fc3..7fb04dd7da342e5b7356c6b1dc72168ac0d9ed32 100644 --- a/src/layers/LayerBaseVectorGeoJson.ts +++ b/src/layers/LayerBaseVectorGeoJson.ts @@ -117,7 +117,7 @@ export class LayerBaseVectorGeoJson extends LayerBaseVector { * @param {object} d the json response * @override */ - mapMoveCallback(d) { + mapMoveCallback(d: Object) { super.mapMoveCallback(d); this._source.addFeatures(this._geoJsonFormat.readFeatures(d, {featureProjection: this._transform.featureProjection, dataProjection: this._transform.dataProjection})); diff --git a/src/layers/LayerEsriMapServer.ts b/src/layers/LayerEsriMapServer.ts index dcf8e35086d1d7ad76968ea890850dff7950220c..1be3cadb790ef95af98baf715754523f1052bded 100644 --- a/src/layers/LayerEsriMapServer.ts +++ b/src/layers/LayerEsriMapServer.ts @@ -43,7 +43,7 @@ export class LayerEsriMapServer extends LayerBase { * @param {boolean} [options.addPopup=false] if a popup should be added * @param {undefined|Array<number>} [options.showLayers=undefined] if a popup should be added */ - constructor(url, options: LayerEsriMapServerOptions = {}) { + constructor(url: string, options: LayerEsriMapServerOptions = {}) { super(url, options); this._source = new ol.source.TileArcGISRest( @@ -95,7 +95,7 @@ export class LayerEsriMapServer extends LayerBase { } - getPopupInfo(queryParams) { + getPopupInfo(queryParams: {[s: string]: any}) { if (!this.visible) { return; } diff --git a/src/layers/LayerItsInventory.ts b/src/layers/LayerItsInventory.ts index 5d9fb6f9613825ac267529e4fddf5bbc7c1a911c..ff184850705e48c6a3bec6c9ef4ebefd01eff46e 100644 --- a/src/layers/LayerItsInventory.ts +++ b/src/layers/LayerItsInventory.ts @@ -2,7 +2,7 @@ * Created by gavorhes on 12/8/2015. */ -import LayerBaseVectorGeoJson from './LayerBaseVectorGeoJson'; +import {LayerBaseVectorGeoJson, LayerBaseVectorGeoJsonOptions} from './LayerBaseVectorGeoJson'; import mapPopup from '../olHelpers/mapPopup'; import provide from '../util/provide'; import ol = require('custom-ol'); @@ -12,7 +12,40 @@ import {proj4326, proj3857} from '../olHelpers/projections' let nm = provide('layers'); -function checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { +export interface iLineStyle { + color: string; + width?: number +} + +export interface iMultiConfig { + prop: string; + defaultName: string; +} + +export interface iIconConfig extends iMultiConfig { + defaultIcon: string; + iconArray: string[][] +} + +export interface iLineConfig extends iMultiConfig { + defaultColor: string; + defaultWidth?: number; + lineArray: any[][] +} + +export interface iLayerItsInventory extends LayerBaseVectorGeoJsonOptions { + itsType: string; + addPopup?: boolean; + itsIcon?: string; + itsLineStyle?: iLineStyle; + itsIconConfig?: iIconConfig; + itsLineConfig?: iLineConfig +} + + + + +function checkStyleNumber(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig) { "use strict"; //make sure one and only one configuration is defined; @@ -84,7 +117,7 @@ function checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width] * @returns {*} undefined, style, or style function */ -function defineStyle(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) : ol.style.Style|Array<ol.style.Style>|ol.StyleFunction{ +function defineStyle(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig): ol.style.Style | Array<ol.style.Style> | ol.StyleFunction { "use strict"; checkStyleNumber(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig); @@ -157,29 +190,7 @@ function defineStyle(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) : ol.s } } -/** - * - * @param {string} [itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/ - * - * @param {object} [itsLineStyle=undefined] A single line style - * @param {string} itsLineStyle.color the line color as rgb or hex - * @param {number} [itsLineStyle.width=5] the line width - * - * @param {object} [itsIconConfig=undefined] The icon subtype configuration - * @param {string} itsIconConfig.prop The property used to define icon attribute symbolization - * @param {string} itsIconConfig.defaultName The default name to be used if no other match is found - * @param {string} itsIconConfig.defaultIcon The default icon to be used for no other matches - * @param {object} [itsIconConfig.iconArray=[]] an array, items with format [property, name, img] - * - * @param {object} [itsLineConfig=undefined] The property used to define icon attribute symbolization - * @param {string} itsLineConfig.prop The property used to define icon attribute symbolization - * @param {string} [itsLineConfig.defaultName=Other] The default name to be used if no other match is found - * @param {string} [itsLineConfig.defaultColor=red] The default line color to be used for no other matches - * @param {number} [itsLineConfig.defaultWidth=5] The default line width to be used for no other matches - * @param {object} [itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width] - * @returns {string} html to be added to the legend - */ -function defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { +function defineLegend(itsIcon: string, itsLineStyle: iLineStyle, itsIconConfig: iIconConfig, itsLineConfig: iLineConfig) { "use strict"; let iconHeight = 17; @@ -199,8 +210,10 @@ function defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { for (let a of itsIconConfig.iconArray) { outHtml += `<li><span class="legend-layer-subitem">${a[1]}</span><img src="${_iconUrlRoot + a[2]}" class="legend-layer-icon" height="${iconHeight}">`; } + outHtml += `<li><span class="legend-layer-subitem">${itsIconConfig.defaultName}</span>` + `<img src="${_iconUrlRoot + itsIconConfig.defaultIcon}" class="legend-layer-icon" height="${iconHeight}"></li>`; + outHtml += '</ul>'; return outHtml; @@ -221,6 +234,7 @@ function defineLegend(itsIcon, itsLineStyle, itsIconConfig, itsLineConfig) { } } + /** * Its Layer class * @augments LayerBaseVectorGeoJson @@ -271,7 +285,7 @@ class LayerItsInventory extends LayerBaseVectorGeoJson { * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5] */ - constructor(options) { + constructor(options: iLayerItsInventory) { if (typeof options.itsType !== 'string') { throw 'its type must be defined'; } @@ -301,8 +315,8 @@ class LayerItsInventory extends LayerBaseVectorGeoJson { options.addPopup = typeof options.addPopup == 'boolean' ? options.addPopup : true; if (options.addPopup) { - mapPopup.addVectorPopup(this, function (props) { - return `<iframe src="https://transportal.cee.wisc.edu/its/inventory/?feature=${props['featureGuid']}" ` + + mapPopup.addVectorPopup(this, function (props: { featureGuid: string }) { + return `<iframe src="https://transportal.cee.wisc.edu/its/inventory/?feature=${props.featureGuid}" ` + `height="250" width="350"></iframe>`; }); } @@ -318,7 +332,7 @@ class LayerItsInventory extends LayerBaseVectorGeoJson { * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ - mapMoveMakeGetParams(extent, zoomLevel) { + mapMoveMakeGetParams(extent: { minX: number, minY: number, maxX: number, maxY: number }, zoomLevel: number) { super.mapMoveMakeGetParams(extent, zoomLevel); let lowerLeft = new ol.geom.Point([extent.minX, extent.minY]); lowerLeft.transform(this.mapProj, this._projection4326); diff --git a/src/mixin/RealEarthAnimateVector.ts b/src/mixin/RealEarthAnimateVector.ts index f45566368e1fc1da1f51584e29059ae2e308cee4..e2f9ac4bdff1bb4f76b4e4660a19415a7ff15de7 100644 --- a/src/mixin/RealEarthAnimateVector.ts +++ b/src/mixin/RealEarthAnimateVector.ts @@ -98,7 +98,7 @@ class RealEarthAnimateVector extends RealEarthAnimate { * @param {object} geojObj - the geojson object * @private */ - _loadFeatures(geojObj) { + _loadFeatures(geojObj: Object) { this._source.addFeatures(this._lyr._geoJsonFormat.readFeatures(geojObj, {featureProjection: this._lyr._transform.featureProjection, dataProjection: this._lyr._transform.dataProjection})); } diff --git a/src/olHelpers/SortedFeatures.ts b/src/olHelpers/SortedFeatures.ts index aa17bc1ba791bad8696e445cd305935d0e22c215..d9812ae49b5f5e0bb38ee35c4ccd98326ac61517 100644 --- a/src/olHelpers/SortedFeatures.ts +++ b/src/olHelpers/SortedFeatures.ts @@ -57,7 +57,7 @@ export class SortedFeatures { * @param {Array} [sortedFeatures=this.sortedFeatures] - the candidate features * @returns {ol.Feature|undefined} the feature matching the lookup */ - getFeature(propertyValue, exactMatch: boolean = false, sortedFeatures? :Array<ol.Feature>): ol.Feature { + getFeature(propertyValue: number|string, exactMatch: boolean = false, sortedFeatures? :Array<ol.Feature>): ol.Feature { if (typeof sortedFeatures == 'undefined'){ sortedFeatures = this.sortedFeatures; } diff --git a/src/olHelpers/esriToOlStyle.ts b/src/olHelpers/esriToOlStyle.ts index c1fea864573e1749fa5aa1e676a67def63eda845..8c78ed93c5e026b2b88106c8a780a327f7d63303 100644 --- a/src/olHelpers/esriToOlStyle.ts +++ b/src/olHelpers/esriToOlStyle.ts @@ -5,12 +5,6 @@ import provide from '../util/provide'; import ol = require('custom-ol'); const nm = provide('olHelpers.esriToOlStyle'); -/** - * This callback is displayed as part of the Requester class. - * @callback styleFunc - * @param {ol.Feature} feat - openlayers feature - * @param {number} resolution - map resolution - */ /** * @@ -19,7 +13,7 @@ const nm = provide('olHelpers.esriToOlStyle'); * @returns {string} rgba string * @private */ -function _colorArrayToRgba(colorArray, opacity) { +function _colorArrayToRgba(colorArray: [number, number, number], opacity: number): string { "use strict"; return `rgba(${colorArray[0]},${colorArray[1]},${colorArray[2]},${opacity})`; @@ -30,7 +24,7 @@ function _colorArrayToRgba(colorArray, opacity) { * @param {string} str - input string * @returns {string} escaped string */ -function htmlEscape(str) { +function htmlEscape(str: string): string { return String(str) .replace(/&/g, '&') .replace(/"/g, '"') @@ -42,43 +36,49 @@ function htmlEscape(str) { nm.htmlEscape = htmlEscape; -export interface EsriResponse{ +export interface iEsriResponse{ drawingInfo: { - renderer: EsriRenderer + renderer: iEsriRenderer; + transparency: number }, geometryType: string } -export interface EsriRenderer{ + +export interface iEsriRenderer{ type: string; - symbol: EsriSymbol; - uniqueValueInfos: Array<{label: string, value: any, symbol: EsriSymbol}>; + symbol: iEsriSymbol; + uniqueValueInfos: Array<{label: string, value: any, symbol: iEsriSymbol}>; + field1: string; + defaultSymbol: iEsriSymbol; + defaultLabel: string; } -export interface EsriSymbol{ +export interface iEsriSymbol{ size: number; type: string; outline:{ - color: string; + color: [number, number, number]; width: number; }, - color: string; + color: [number, number, number]; width: number; + imageData: string } class CommonSymbol { legendHtml: string; opacity: number; - symbolObj: EsriSymbol; - olStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction; + symbolObj: iEsriSymbol; + olStyle: ol.style.Style; /** * * @param symbolObj * @param {number} opacity */ - constructor(symbolObj: EsriSymbol, opacity: number) { + constructor(symbolObj: iEsriSymbol, opacity: number) { this.symbolObj = symbolObj; this.opacity = opacity; this.olStyle = undefined; @@ -87,12 +87,12 @@ class CommonSymbol { } interface ICommonSymbol{ - new (symbolObj: EsriSymbol, opacity: number): CommonSymbol + new (symbolObj: iEsriSymbol, opacity: number): CommonSymbol } class PointSymbol extends CommonSymbol { - constructor(symbolObj: EsriSymbol, opacity: number) { + constructor(symbolObj: iEsriSymbol, opacity: number) { super(symbolObj, opacity); switch (this.symbolObj.type) { case 'esriSMS': @@ -127,7 +127,7 @@ class PointSymbol extends CommonSymbol { } class LineSymbol extends CommonSymbol { - constructor(symbolObj: EsriSymbol, opacity: number) { + constructor(symbolObj: iEsriSymbol, opacity: number) { super(symbolObj, opacity); switch (this.symbolObj.type) { case 'esriSLS': @@ -160,7 +160,7 @@ class LineSymbol extends CommonSymbol { } class PolygonSymbol extends CommonSymbol { - constructor(symbolObj: EsriSymbol, opacity: number) { + constructor(symbolObj: iEsriSymbol, opacity: number) { super(symbolObj, opacity); switch (this.symbolObj['type']) { case 'esriSFS': @@ -198,13 +198,17 @@ class PolygonSymbol extends CommonSymbol { } } +export interface iStyleFunc{ + (f: ol.Feature): ol.style.Style| ol.style.Style[] +} + class SymbolGenerator { opacity: number; - renderer: EsriRenderer; + renderer: iEsriRenderer; legendHtml: string; - olStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction; + olStyle: iStyleFunc | ol.style.Style; - constructor(esriResponse: EsriResponse) { + constructor(esriResponse: iEsriResponse) { this.opacity = (100 - (esriResponse['drawingInfo']['transparency'] || 0)) / 100; this.renderer = esriResponse.drawingInfo.renderer; this.olStyle = undefined; @@ -213,13 +217,13 @@ class SymbolGenerator { } class SingleSymbol extends SymbolGenerator { - symbol: EsriSymbol; + symbol: iEsriSymbol; /** * * @param {object} esriResponse - layer info * @param SymbolClass - the symbol class to use */ - constructor(esriResponse, SymbolClass: ICommonSymbol) { + constructor(esriResponse: iEsriResponse, SymbolClass: ICommonSymbol) { super(esriResponse); this.symbol = this.renderer.symbol; let symbolObj = new SymbolClass(this.symbol, this.opacity); @@ -231,25 +235,25 @@ class SingleSymbol extends SymbolGenerator { class UniqueValueSymbol extends SymbolGenerator { propertyName: string; - defaultSymbol: EsriSymbol; - defaultStyle: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction; + defaultSymbol: iEsriSymbol; + defaultStyle: ol.style.Style; defaultLabelHtml: string; labelArray: Array<string>; legendArray: Array<string>; - propertyStyleLookup: Object; + propertyStyleLookup: {[s: string]: ol.style.Style}; valueArray: Array<any>; - uniqueValueInfos: Array<{label: string, value: any, symbol: EsriSymbol}>; + uniqueValueInfos: Array<{label: string, value: any, symbol: iEsriSymbol}>; /** * * @param {object} esriResponse - layer info * @param SymbolClass - the Symbol class definition */ - constructor(esriResponse: EsriResponse, SymbolClass: ICommonSymbol) { + constructor(esriResponse: iEsriResponse, SymbolClass: ICommonSymbol) { super(esriResponse); - this.uniqueValueInfos = this.renderer['uniqueValueInfos']; - this.propertyName = this.renderer['field1']; - this.defaultSymbol = this.renderer['defaultSymbol']; + this.uniqueValueInfos = this.renderer.uniqueValueInfos; + this.propertyName = this.renderer.field1; + this.defaultSymbol = this.renderer.defaultSymbol; if (this.defaultSymbol) { @@ -274,19 +278,15 @@ class UniqueValueSymbol extends SymbolGenerator { this.propertyStyleLookup[uniqueVal['value']] = uniqueSym.olStyle; } - - this.olStyle = (feature: ol.Feature) => { + this.olStyle = (feature: ol.Feature): ol.style.Style[] => { let checkProperties = feature.getProperties(); let checkProperty = checkProperties[this.propertyName]; - let returnValue; if (this.propertyStyleLookup[checkProperty] !== undefined) { - returnValue = [this.propertyStyleLookup[checkProperty]]; + return [this.propertyStyleLookup[checkProperty]]; } else { - returnValue = [this.defaultStyle]; + return [this.defaultStyle]; } - - return returnValue; }; if (this.defaultLabelHtml !== null) { @@ -301,26 +301,7 @@ class UniqueValueSymbol extends SymbolGenerator { } } - - - - - - - -/** - * style and legend object - * @typedef {object} styleAndLegend - * @property {styleFunc} style - style function - * @property {string} legend - legend content - */ - -/** - * - * @param {object} esriResponse - layer info - * @returns {styleAndLegend} style and legend object - */ -export function makeFeatureServiceLegendAndSymbol(esriResponse: EsriResponse) { +export function makeFeatureServiceLegendAndSymbol(esriResponse: iEsriResponse): {style: iStyleFunc | ol.style.Style, legend: string} { "use strict"; let renderer = esriResponse.drawingInfo.renderer; let symbolLegendOut: SymbolGenerator = null; @@ -372,13 +353,18 @@ export function makeFeatureServiceLegendAndSymbol(esriResponse: EsriResponse) { nm.makeFeatureServiceLegendAndSymbol = makeFeatureServiceLegendAndSymbol; +export interface iMapServiceLegend{ + layerName: string; + legend: {label: string, imageData: string}[] +} + /** * * @param {object} lyrObject - the layer as defined in the response * @param {boolean} [skipLayerNameAndExpander=false] use only icons * @returns {string} legend html */ -function mapServiceLegendItem(lyrObject, skipLayerNameAndExpander: boolean = false) { +function mapServiceLegendItem(lyrObject: iMapServiceLegend, skipLayerNameAndExpander: boolean = false) { skipLayerNameAndExpander = typeof skipLayerNameAndExpander == 'boolean' ? skipLayerNameAndExpander : false; @@ -418,7 +404,7 @@ function mapServiceLegendItem(lyrObject, skipLayerNameAndExpander: boolean = fal * @param {object} esriResponse - layer info * @returns {string} legend content */ -export function makeMapServiceLegend(esriResponse) { +export function makeMapServiceLegend(esriResponse: {layers: iMapServiceLegend[]}) { "use strict"; let newLegendHtml = ''; diff --git a/src/olHelpers/extentUtil.ts b/src/olHelpers/extentUtil.ts index acf83b683ffe6d86bed42d8af046da57c3fb892d..f46d3058e75cf58f5e217bc4538b1f45d6ecb274 100644 --- a/src/olHelpers/extentUtil.ts +++ b/src/olHelpers/extentUtil.ts @@ -25,11 +25,7 @@ export function calculateExtent(layers: ol.layer.Vector[]|LayerBaseVector[]): ol for (let lyr of layers) { - /** - * - * @type {ol.layer.Vector} - */ - let olLayer = lyr['olLayer'] || lyr; + let olLayer: ol.layer.Vector = (lyr as LayerBaseVector).olLayer || lyr as ol.layer.Vector; if (olLayer.getSource().getFeatures().length > 0) { diff --git a/src/olHelpers/layerSwipe.ts b/src/olHelpers/layerSwipe.ts index 47a1f9454754819999c59679d69f11ce104c0dda..c7addc0044a6709ccabda513a7a170afc7cc86fb 100644 --- a/src/olHelpers/layerSwipe.ts +++ b/src/olHelpers/layerSwipe.ts @@ -84,13 +84,13 @@ class LayerSwipe { * * @param {LayerBase|*} lyr - layer to be added to left side */ - addLeftLayer(lyr) { + addLeftLayer(lyr: LayerBase) { if (this.leftLayers.indexOf(lyr) != -1){ return; } - lyr.olLayer.on('precompose', (event) => { + lyr.olLayer.on('precompose', (event: {context: CanvasRenderingContext2D}) => { let ctx = event['context']; let width = ctx.canvas.width * (this.percentRight / 100); @@ -100,7 +100,7 @@ class LayerSwipe { ctx.clip(); }); - lyr.olLayer.on('postcompose', function (event) { + lyr.olLayer.on('postcompose', function (event: {context: CanvasRenderingContext2D}) { let ctx = event['context']; ctx.restore(); }); @@ -113,13 +113,13 @@ class LayerSwipe { * * @param {LayerBase|*} lyr - layer to be added to right side */ - addRightLayer(lyr) { + addRightLayer(lyr: LayerBase) { if (this.rightLayers.indexOf(lyr) != -1){ return; } - lyr.olLayer.on('precompose', (event) => { + lyr.olLayer.on('precompose', (event: {context: CanvasRenderingContext2D}) => { let ctx = event['context']; let width = ctx.canvas.width * (this.percentRight / 100); @@ -129,7 +129,7 @@ class LayerSwipe { ctx.clip(); }); - lyr.olLayer.on('postcompose', function (event) { + lyr.olLayer.on('postcompose', function (event: {context: CanvasRenderingContext2D}) { let ctx = event['context']; ctx.restore(); }); diff --git a/src/olHelpers/mapMoveCls.ts b/src/olHelpers/mapMoveCls.ts index a6b1a3940af19982c17dd5ea558047d9697b674a..4bff55bf13ba46396a3c2000271fe162f7bb0eb9 100644 --- a/src/olHelpers/mapMoveCls.ts +++ b/src/olHelpers/mapMoveCls.ts @@ -33,12 +33,12 @@ export interface mapMoveCallbackFunction{ export class MapMoveCls extends MapInteractionBase { _mapExtent: extentObject; _zoomLevel: number; - _lookupLayer: Object; + _lookupLayer: {[s: string]: LayerBaseVector}; _arrLayer: Array<LayerBaseVector>; _arrLyrTimeout: Array<number>; _mapMoveCallbackTimeout: Array<number>; _mapMoveCallbackDelays: Array<number>; - _mapMoveCallbacksLookup: Object; + _mapMoveCallbacksLookup: {[s: string]: mapMoveCallbackFunction}; _mapMoveCallbackContext: Array<Object>; _mapMoveCallbacks: Array<mapMoveCallbackFunction>; _arrLyrRequest: Array<any>; @@ -71,7 +71,7 @@ export class MapMoveCls extends MapInteractionBase { init(theMap: ol.Map){ super.init(theMap); - this.map.getView().on(['change:center', 'change:resolution'], (e) =>{ + this.map.getView().on(['change:center', 'change:resolution'], (e: {type: string}) =>{ this._updateMapExtent(); @@ -149,7 +149,7 @@ export class MapMoveCls extends MapInteractionBase { let __this = this; callbackFunc = function () { - function innerFunction(theLayer, theIndex) { + function innerFunction(theLayer: LayerBaseVector, theIndex: number) { let _innerThis = this; this._arrLyrRequest[theIndex] = $.get( theLayer.url, @@ -274,7 +274,7 @@ export class MapMoveCls extends MapInteractionBase { } this._mapMoveCallbacks.push(func); - this._mapMoveCallbacksLookup[functionId] = functionId; + this._mapMoveCallbacksLookup[functionId] = func; this._mapMoveCallbackDelays.push(typeof delay == 'number' ? delay : 50); this._mapMoveCallbackContext.push(checkDefined.definedAndNotNull(context) ? context : null); this._mapMoveCallbackTimeout.push(null); diff --git a/src/olHelpers/mapPopupCls.ts b/src/olHelpers/mapPopupCls.ts index d69c78e04ebbf7e5b1d3c1a50d6cb1fe7e0f2043..3c6eeeb59114942996bb93faa7db12e6b9dc284d 100644 --- a/src/olHelpers/mapPopupCls.ts +++ b/src/olHelpers/mapPopupCls.ts @@ -7,6 +7,7 @@ import propertiesZoomStyle from '../olHelpers/propertiesZoomStyle'; import provide from '../util/provide'; import ol = require('custom-ol'); import {LayerBaseVector} from "../layers/LayerBaseVector"; +import {LayerBase} from "../layers/LayerBase"; import LayerEsriMapServer from "../layers/LayerEsriMapServer"; import $ = require('jquery'); @@ -89,7 +90,7 @@ export class MapPopupCls extends MapInteractionBase { private _popupCoordinate: ol.Coordinate; private _popupChangedFunctions: Array<popupChangedFunction>; private _mapClickFunctions: Array<Function>; - private _selectionLayerLookup: Object; + private _selectionLayerLookup: {[s: string]: ol.layer.Vector}; private _arrPopupLayerIds: Array<string>; private _arrPopupLayerNames: Array<string>; private _arrPopupOlLayers: Array<ol.layer.Vector>; @@ -187,7 +188,7 @@ export class MapPopupCls extends MapInteractionBase { }); // display popup on click - this._map.on('singleclick', (evt) => { + this._map.on('singleclick', (evt: {coordinate: [number, number], pixel: ol.Pixel}) => { this.closePopup(); this._popupCoordinate = evt['coordinate']; @@ -292,7 +293,7 @@ export class MapPopupCls extends MapInteractionBase { }); //change mouse cursor when over marker - this._map.on('pointermove', (evt) => { + this._map.on('pointermove', (evt: {dragging: boolean, originalEvent: Event}) => { if (evt['dragging']) { return; } @@ -368,7 +369,7 @@ export class MapPopupCls extends MapInteractionBase { * @private */ _featuresAtPixel(pixel: ol.Pixel): Array<FeatureLayerProperties> { - let layerFeatureObjectArray = []; + let layerFeatureObjectArray: FeatureLayerProperties[] = []; this.map.forEachFeatureAtPixel(pixel, (feature: ol.Feature, layer: ol.layer.Vector) => { let lyrIndex = this._arrPopupOlLayers.indexOf(layer); @@ -413,7 +414,7 @@ export class MapPopupCls extends MapInteractionBase { * @returns the new selection layer * @private */ - _addPopupLayer(lyr: LayerBaseVector, selectionStyle: {color?: string, width?: number, olStyle?: ol.style.Style}): ol.layer.Vector { + _addPopupLayer(lyr: LayerBaseVector|LayerEsriMapServer, selectionStyle: {color?: string, width?: number, olStyle?: ol.style.Style}): ol.layer.Vector { this._checkInit(); selectionStyle = selectionStyle || {}; @@ -485,7 +486,7 @@ export class MapPopupCls extends MapInteractionBase { * * @param {LayerBase} lyr - layer */ - removeVectorPopup(lyr) { + removeVectorPopup(lyr: LayerBase) { let idx = this._arrPopupLayerIds.indexOf(lyr.id); if (idx > -1) { @@ -508,7 +509,7 @@ export class MapPopupCls extends MapInteractionBase { * @param {object|function} [selectionStyle.olStyle=undefined] an openlayers style object or function * @returns {object} a reference to the ol selection layer */ - addMapServicePopup(lyr, selectionStyle?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction) { + addMapServicePopup(lyr: LayerEsriMapServer, selectionStyle?: ol.style.Style|Array<ol.style.Style>|ol.StyleFunction) { let selectionLayer = this._addPopupLayer(lyr, selectionStyle); this._esriMapServiceLayers.push(lyr); diff --git a/src/olHelpers/propertiesZoomStyle.ts b/src/olHelpers/propertiesZoomStyle.ts index 1fe09275e584eeaa2bb3ef50841287174b2c2d39..5db699318bf911264c6adba77ff4f38d26caddbb 100644 --- a/src/olHelpers/propertiesZoomStyle.ts +++ b/src/olHelpers/propertiesZoomStyle.ts @@ -21,13 +21,11 @@ const nm = provide('olHelpers'); * @param {propertiesZoomStyle|*} styleFunc - style function * @returns {function|*} new function */ -function propertiesZoomStyle(styleFunc) { - if (styleFunc == undefined){ - return undefined; - } - - return function (feature: ol.Feature, resolution) { - styleFunc(feature.getProperties(), zoomResolutionConvert.resolutionToZoom(resolution)); +function propertiesZoomStyle(styleFunc: (f: ol.Feature, res: number) => ol.style.Style|ol.style.Style[]): +(feature: ol.Feature, zoom: number) => ol.style.Style|ol.style.Style[] +{ + return function (feature: ol.Feature, zoom: number): ol.style.Style|ol.style.Style[] { + return styleFunc(feature, zoomResolutionConvert.zoomToResolution(zoom)); }; } diff --git a/src/olHelpers/zoomResolutionConvert.ts b/src/olHelpers/zoomResolutionConvert.ts index 68211e299dd00d32c41132b56ae135b5b390455e..f5f971916988b391f77e7b664c96cee8a6dbf459 100644 --- a/src/olHelpers/zoomResolutionConvert.ts +++ b/src/olHelpers/zoomResolutionConvert.ts @@ -42,7 +42,7 @@ let _zoomResLookup = [ * @param {number} zoomLevel - the zoom level * @returns {number|*} the map resolution */ -export function zoomToResolution(zoomLevel) { +export function zoomToResolution(zoomLevel: number): number { "use strict"; if (typeof zoomLevel == 'number') { @@ -65,7 +65,7 @@ nm.zoomToResolution = zoomToResolution; * @param {number} resolution - the resolution * @returns {number|*} the zoom level */ -export function resolutionToZoom(resolution){ +export function resolutionToZoom(resolution: number): number{ for (let i = 0; i < _zoomResLookup.length; i++){ if (resolution >= _zoomResLookup[i] ){ return i; diff --git a/src/react/DatePick.tsx b/src/react/DatePick.tsx index 7d6da01a82ff5e2ded1a68a810af711becea65b7..61b2075acbb87f0daf9feed0ce283be1139125a9 100644 --- a/src/react/DatePick.tsx +++ b/src/react/DatePick.tsx @@ -10,13 +10,20 @@ import makeGuid from '../util/makeGuid'; import {dateToString} from './helpers/dateFormat'; +export interface iDatePick{ + label: string; + id?: string; + initialDate?: Date; + change: (val: string) => any +} + /** * params label, id, initialDate, change callback with value as string */ -export class DatePick extends React.Component<{label: string, id?: string, initialDate?: Date, change: (val: string) => any}, null> { +export class DatePick extends React.Component<iDatePick, null> { defaultId: string; - constructor(props, context){ + constructor(props: iDatePick, context: Object){ super(props, context); this.defaultId = makeGuid(); } diff --git a/src/react/DateRange.tsx b/src/react/DateRange.tsx index addf5e54c9c9af60c0eba1e094e68e143ea8725f..904f0aa6f30a938f9caad46e1c75cc92516cb301 100644 --- a/src/react/DateRange.tsx +++ b/src/react/DateRange.tsx @@ -10,22 +10,24 @@ import * as fixDate from './helpers/dateFormat'; import DatePick from './DatePick'; function stringToDate(dte: string|Date){ - if (dte['getTime']){ + if ((dte as Date).getTime){ return dte as Date; } else { return new Date(dte); } } +export interface iDateRange{ + maxRange: number; + callback: (start: string|Date, end: string|Date) => any; + minRange?: number; + maxDate?: string|Date; + minDate?: string|Date; + initialEnd?: string|Date; +} + -export class DateRange extends React.Component<{ - maxRange: number, - callback: (start: string|Date, end: string|Date) => any, - minRange?: number, - maxDate?: string|Date, - minDate?: string|Date - initialEnd?: string|Date -}, null> { +export class DateRange extends React.Component<iDateRange, null> { startId = makeGuid(); endId = makeGuid(); startInput: HTMLInputElement; @@ -36,7 +38,7 @@ export class DateRange extends React.Component<{ minRange: number; numDays: number; - constructor(props, context) { + constructor(props: iDateRange, context: Object) { super(props, context); this.maxRange = Math.round(this.props.maxRange) - 1; diff --git a/src/react/Radio.tsx b/src/react/Radio.tsx index ba222881fd792b3180e1f2d4cc131a60d3bb0767..13526f3043ea1c6fe83937619797ed0d9bb27a44 100644 --- a/src/react/Radio.tsx +++ b/src/react/Radio.tsx @@ -7,16 +7,34 @@ import {React} from './reactAndRedux'; import $ = require('jquery'); import 'jquery-ui'; import makeGuid from '../util/makeGuid'; +import {ChangeEvent} from "react"; -class RadioItem extends React.Component<{ groupId: string, text: string, checked: boolean, inline: boolean, change: (s: string) => any, connected?: boolean, index?: number}, null> { - guid: string = makeGuid(); +export interface iRadioItem{ + groupId: string; + text: string; + checked: boolean; + inline: boolean; + change: (s: string) => any; + connected?: boolean; + index?: number +} + +class RadioItem extends React.Component<iRadioItem, null> { + guid: string; + + constructor(props: iRadioItem, context: Object){ + super(props, context); + this.guid = makeGuid() + } render() { let style = {}; if (this.props.inline) { - style['display'] = 'inline-block'; - style['padding'] = '0 5px'; + style = { + display: 'inline-block', + padding: '0 5px' + }; } let props = { @@ -24,16 +42,18 @@ class RadioItem extends React.Component<{ groupId: string, text: string, checked type: "radio", name: this.props.groupId, value: typeof this.props.index == 'undefined' ? this.props.text : this.props.index.toFixed(), - onChange: (evt) => { + onChange: (evt: ChangeEvent<HTMLInputElement>) => { this.props.change(evt.target.value); evt.target.checked = true; - } + }, + checked: this.props.checked, + defaultChecked: this.props.checked }; if (this.props.connected) { - props['checked'] = this.props.checked + delete props.defaultChecked; } else { - props['defaultChecked'] = this.props.checked + delete props.checked } return <li style={style}> @@ -43,12 +63,20 @@ class RadioItem extends React.Component<{ groupId: string, text: string, checked } } -class RadioBase extends React.Component< - { title: string, items: string[], callback: (val: string) => any, inline?: boolean, selectedValueOrIndex: string|number, connected: boolean}, null> { +interface iRadioBase { + title: string; + items: string[]; + callback: (val: string) => any; + inline?: boolean; + selectedValueOrIndex: string|number; + connected: boolean; +} + +class RadioBase extends React.Component<iRadioBase, null> { inline: boolean; groupId: string; - constructor(props, context) { + constructor(props: iRadioBase, context: Object) { super(props, context); this.inline = this.props.inline || false; this.groupId = this.props.title.toLowerCase().replace(/ /g, ''); @@ -57,8 +85,10 @@ class RadioBase extends React.Component< render() { let style = {}; if (this.inline) { - style['display'] = 'inline-block'; - style['padding'] = '0 5px'; + style = { + display: 'inline-block', + padding: '0 5px' + } } let arr = []; @@ -69,18 +99,18 @@ class RadioBase extends React.Component< groupId: this.groupId, text: this.props.items[i], inline: this.props.inline, - change: (s) => (this.props.callback(s)), + change: (s: string) => (this.props.callback(s)), key: this.props.items[i], connected: this.props.connected || false, checked: false, - + index: i }; if (typeof this.props.selectedValueOrIndex == 'number'){ itemProps.checked = i == this.props.selectedValueOrIndex; - itemProps['index'] = i; } else { itemProps.checked = this.props.items[i] == this.props.selectedValueOrIndex; + delete itemProps.index } arr.push(<RadioItem {...itemProps}/>) diff --git a/src/react/SelectArea.tsx b/src/react/SelectArea.tsx index 92dbf3cdf22f218319ff0f5d7278c3e869c081c9..3a2abf6b3262c5e386e0065176f7dc45dbc79c8d 100644 --- a/src/react/SelectArea.tsx +++ b/src/react/SelectArea.tsx @@ -9,8 +9,12 @@ import {proj4326, proj3857} from '../olHelpers/projections' import makeGuid from '../util/makeGuid'; import getMap from './helpers/get_map'; +export interface iSelectArea{ + map: ol.Map | (() => ol.Map); + callback: (coords: Array<number[]>) => any +} -export class SelectArea extends React.Component<{ map: ol.Map | (() => ol.Map), callback: (coords: Array<number[]>) => any }, null> { +export class SelectArea extends React.Component<iSelectArea, null> { map: ol.Map; callback: (coords: Array<number[]>) => any; areaOverlay: LayerBaseVectorGeoJson; @@ -21,7 +25,7 @@ export class SelectArea extends React.Component<{ map: ol.Map | (() => ol.Map), cancelButton: HTMLButtonElement; - constructor(props, context) { + constructor(props: iSelectArea, context: Object) { super(props, context); this.selectId = makeGuid(); @@ -48,7 +52,7 @@ export class SelectArea extends React.Component<{ map: ol.Map | (() => ol.Map), type: 'Polygon' }); - this.draw.on('drawend', (evt) => { + this.draw.on('drawend', (evt: {feature: {getGeometry: () => ol.geom.Polygon}}) => { this.selectButton.style.display = ''; this.cancelButton.style.display = 'none'; diff --git a/src/react/Slider.tsx b/src/react/Slider.tsx index 88dd524052c38a7859528ee7fdfd421c33275fdf..d92131295557cfaa2d4653564c396d586f730192 100644 --- a/src/react/Slider.tsx +++ b/src/react/Slider.tsx @@ -5,9 +5,17 @@ import {React} from './reactAndRedux'; import makeGuid from '../util/makeGuid'; +import {ChangeEvent} from "react"; -export class Slider extends React.Component<{ change: (d: number) => any, steps?: number, animate?: boolean, value?: number}, null> { +export interface iSlider { + change: (d: number) => any; + steps?: number; + animate?: boolean; + value?: number; +} + +export class Slider extends React.Component<iSlider, null> { uid: string; startUid: string; endUid: string; @@ -22,7 +30,7 @@ export class Slider extends React.Component<{ change: (d: number) => any, steps? maxVal: number; step: number; - constructor(props, context) { + constructor(props: iSlider, context: Object) { super(props, context); this.uid = makeGuid(); this.startUid = makeGuid(); @@ -84,10 +92,12 @@ export class Slider extends React.Component<{ change: (d: number) => any, steps? id: this.uid, min: 0, type: 'range', - onChange: (evt) => {this.props.change(parseFloat(evt.target.value))}, + onChange: (evt: ChangeEvent<HTMLInputElement>) => {this.props.change(parseFloat(evt.target.value))}, style: {width: '100%'}, max: "100", - step: '0.1' + step: '0.1', + value: this.props.value.toString(), + defaultValue: "0" }; if (this.props.steps){ @@ -96,9 +106,11 @@ export class Slider extends React.Component<{ change: (d: number) => any, steps? } if (this.props.value){ - attrs['value'] = this.props.value.toString() + delete attrs.defaultValue; + // attrs['value'] = this.props.value.toString() } else { - attrs['defaultValue'] = "0"; + delete attrs.value; + // attrs['defaultValue'] = "0"; } diff --git a/src/react/reactAndRedux.ts b/src/react/reactAndRedux.ts index f2a4341ac0f982947f5cd7ca1cc78083f5d4ccf0..ec651063a9889f5bd990e6b2116f7388854d5b95 100644 --- a/src/react/reactAndRedux.ts +++ b/src/react/reactAndRedux.ts @@ -7,6 +7,7 @@ export import ReactRedux = require('react-redux'); export import Redux = require('redux'); + export const connect = ReactRedux.connect; export const Provider = ReactRedux.Provider; // export { connect, Provider } from 'react-redux'; @@ -18,3 +19,5 @@ export const createStore = Redux.createStore; export interface iAction{ type: string; } + + diff --git a/src/util/checkDefined.ts b/src/util/checkDefined.ts index 079456a78eb499b5d4e7bf3bde3c7229186b321e..95bb0b945497ee871fa0da0b0fa601563992560b 100644 --- a/src/util/checkDefined.ts +++ b/src/util/checkDefined.ts @@ -6,7 +6,7 @@ let nm = provide('util.checkDefined'); * @param input - input pointer * @returns true undefined or null */ -export function undefinedOrNull (input): boolean{ +export function undefinedOrNull (input: any): boolean{ "use strict"; return (typeof input === 'undefined' || input === null); diff --git a/src/util/colors.ts b/src/util/colors.ts index 93207a8ecffea828b70c918e13231ce26bcefdc6..aa768bb5b71c19349e25321aaa1d98f367616c98 100644 --- a/src/util/colors.ts +++ b/src/util/colors.ts @@ -3,6 +3,7 @@ */ import provide from './provide'; import * as chk from './checkDefined'; + let nm = provide('util.colors'); @@ -12,10 +13,16 @@ let nm = provide('util.colors'); * @returns {string} number as hex * @private */ -function _hex(x) { +function _hex(x: number|string): string { let hexDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; - return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16]; + if (isNaN(x as number)){ + return "00"; + } else { + let m = x as number; + return hexDigits[(m - m % 16) / 16] + hexDigits[m % 16]; + } + // return isNaN(x as number) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16]; } /** @@ -23,7 +30,7 @@ function _hex(x) { * @param {string} rgb - rgb color * @returns {string} rbg as hex */ -export function rgb2hex(rgb) { +export function rgb2hex(rgb: string): string { let rgb1 = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); return ("#" + _hex(rgb1[1]) + _hex(rgb1[2]) + _hex(rgb1[3])).toUpperCase(); @@ -38,7 +45,7 @@ nm.rgb2hex = rgb2hex; * @param {number} [alphaVal=undefined] Alpha value * @returns {string} - rgb or rgba color */ -export function hexAlphaToRgbOrRgba(hexString, alphaVal) { +export function hexAlphaToRgbOrRgba(hexString: string, alphaVal: number): string { hexString = ((hexString.charAt(0) == "#") ? hexString.substring(1, 7) : hexString); let r = parseInt(hexString.substring(0, 2), 16).toString() || '0'; let g = parseInt(hexString.substring(2, 4), 16).toString() || '0'; @@ -59,7 +66,7 @@ nm.hexAlphaToRgbOrRgba = hexAlphaToRgbOrRgba; * @param {number} alpha - alpha value 0 to 1 * @returns {string} rgba color */ -export function rgbToRgba(rgb, alpha) { +export function rgbToRgba(rgb: string, alpha: number): string { let pieces = rgb.split(','); pieces[0] = pieces[0].replace('rgb', 'rgba'); pieces[2] = pieces[2].replace(')', ''); @@ -85,13 +92,13 @@ nm.rgbToRgba = rgbToRgba; * @param {boolean} flipColors - if the colors should be flipped * @returns {colorLookupByNumber} color lookup function */ -export function makeBlueGreenRedGradient(minVal, maxVal, flipColors) { +export function makeBlueGreenRedGradient(minVal: number, maxVal: number, flipColors:boolean=false): (v: number) => string { if (typeof flipColors != "boolean") { flipColors = false; } - return function (theVal) { + return function (theVal: number): string { let r, g, b; let ratio; @@ -156,11 +163,11 @@ nm.makeBlueGreenRedGradient = makeBlueGreenRedGradient; * @param {boolean} flipColors - if the colors should be flipped * @returns {colorLookupByNumber} color lookup function */ -export function makeBlueGreenRedGradientZScore(median, stdDev, flipColors) { +export function makeBlueGreenRedGradientZScore(median: number, stdDev: number, flipColors: boolean = false):(v: number) => string { let grd = makeBlueGreenRedGradient(-2.5, 2.5, flipColors); - return function (theVal) { + return function (theVal: number): string { let zScore; if (theVal == null) { diff --git a/src/util/dateConvert.ts b/src/util/dateConvert.ts index ddee6805bdc0580ffc9a091111ef79bf13732d8b..97cd0f1a289474d93df98305d4f58c98d9b71b3a 100644 --- a/src/util/dateConvert.ts +++ b/src/util/dateConvert.ts @@ -5,7 +5,7 @@ import provide from './provide'; let nm = provide('util.dateConvert'); -function leadingPad(inNum) { +function leadingPad(inNum: number) { let strNum = inNum.toFixed(); if (strNum.length < 2) { strNum = '0' + strNum; diff --git a/src/util/formatString.ts b/src/util/formatString.ts index 55d6c15989fb88184a003e1b8f7e12d8f0f508ad..b7fc4b2a6ffb522fdf77413a2cc8cf8f0908be82 100644 --- a/src/util/formatString.ts +++ b/src/util/formatString.ts @@ -2,7 +2,7 @@ * Created by gavorhes on 10/30/2015. */ -if (!String.prototype['format']) { +if (!(<any>String.prototype).format) { /** * helper function for string replacement to keep code clean * usage @@ -18,7 +18,7 @@ if (!String.prototype['format']) { * aString.format(arrReplacements) * @returns {string} converted string */ - String.prototype['format'] = function () { + (<any>String.prototype).format = function () { let args = arguments; for (let i = 0; i < args.length; i++) { args[i] = (args[i] !== null ? args[i] : ''); @@ -29,7 +29,7 @@ if (!String.prototype['format']) { args = args[0]; } - return this.replace(/{(\d+)}/g, function (match, number) { + return this.replace(/{(\d+)}/g, function (match: string, number: number) { return typeof args[number] != 'undefined' ? args[number] : match; }); }; diff --git a/src/util/getUrlParams.ts b/src/util/getUrlParams.ts index 2fcf8ef995130ed0347ebde9129c4baef9d108eb..00e11e08ead70442c6d57f7d522a4cd5b3442671 100644 --- a/src/util/getUrlParams.ts +++ b/src/util/getUrlParams.ts @@ -21,7 +21,7 @@ export default function getUrlParams() { let match; let pl = /\+/g; // Regex for replacing addition symbol with a space let search = /([^&=]+)=?([^&]*)/g; - let decode = function (s) { + let decode = function (s: string) { return decodeURIComponent(s.replace(pl, " ")); }; let query = window.location.search.substring(1); @@ -50,7 +50,7 @@ export default function getUrlParams() { else { typedVal = val; } - urlParams[decode(match[1])] = typedVal; + (<any>urlParams)[decode(match[1])] = typedVal; } return urlParams; diff --git a/src/util/objectHelpers.ts b/src/util/objectHelpers.ts index 163ae306b9ab6590eb0238f983cbf104051c692c..d617388ef84cb519e22880f6a7726f560304a31a 100644 --- a/src/util/objectHelpers.ts +++ b/src/util/objectHelpers.ts @@ -20,7 +20,7 @@ export interface keyVals { * @param {object} obj - the input object * @returns {Array<keyVals>} - array of key value pairs */ -export function keyValPairs(obj): Array<keyVals> { +export function keyValPairs(obj: {[s: string]: any}): Array<keyVals> { let outArray: Array<keyVals> = []; for (let key of Object.keys(obj)) { outArray.push({'key': key, 'value': obj[key]}); diff --git a/src/util/provide.ts b/src/util/provide.ts index 0d9801aef4eda3b37dbb9478c48b06a44021e2d7..793a674bf97af5f0a7135ef6e7a34d0d350c5987 100644 --- a/src/util/provide.ts +++ b/src/util/provide.ts @@ -2,20 +2,20 @@ * Created by gavorhes on 12/10/2015. */ - +declare const window: Window; /** * create a namespace on the gv object * @param {string} namespace to create * @returns {object} object representing the namespace */ -function provide(namespace){ +function provide(namespace: string){ "use strict"; - if (typeof window['gv'] == 'undefined'){ - window['gv'] = {}; + if (typeof (<any>window).gv == 'undefined'){ + (<any>window).gv = {}; } let parts = namespace.split('.'); - let nameSpace = window['gv']; + let nameSpace = (<any>window).gv; for (let i=0; i< parts.length; i++){ let newObject = nameSpace[parts[i]]; @@ -31,6 +31,6 @@ function provide(namespace){ } provide('util'); -window['gv'].util.provide = provide; +(<any>window).gv.util.provide = provide; export default provide; diff --git a/test/serve/doc/assets/js/search.js b/test/serve/doc/assets/js/search.js index a05e7ee4cc5a1a9dc74ed47a88ae18ece8dffecd..1d3733ab31b718b4e40bdf623905eb76529ef7c3 100644 --- a/test/serve/doc/assets/js/search.js +++ b/test/serve/doc/assets/js/search.js @@ -1 +1 @@ -var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":64,"name":"provide","url":"globals.html#provide","classes":"tsd-kind-function"},{"id":1,"kind":32,"name":"nm","url":"globals.html#nm","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":2,"kind":64,"name":"undefinedOrNull","url":"globals.html#undefinedornull","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"definedAndNotNull","url":"globals.html#definedandnotnull","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"_hex","url":"globals.html#_hex","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":5,"kind":64,"name":"rgb2hex","url":"globals.html#rgb2hex","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"hexAlphaToRgbOrRgba","url":"globals.html#hexalphatorgborrgba","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"rgbToRgba","url":"globals.html#rgbtorgba","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"makeBlueGreenRedGradient","url":"globals.html#makebluegreenredgradient","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"makeBlueGreenRedGradientZScore","url":"globals.html#makebluegreenredgradientzscore","classes":"tsd-kind-function"},{"id":10,"kind":32,"name":"_zoomResLookup","url":"globals.html#_zoomreslookup","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":11,"kind":64,"name":"zoomToResolution","url":"globals.html#zoomtoresolution","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"resolutionToZoom","url":"globals.html#resolutiontozoom","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"makeGuid","url":"globals.html#makeguid","classes":"tsd-kind-function"},{"id":14,"kind":256,"name":"LayerBaseOptions","url":"interfaces/layerbaseoptions.html","classes":"tsd-kind-interface"},{"id":15,"kind":1024,"name":"id","url":"interfaces/layerbaseoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":16,"kind":1024,"name":"name","url":"interfaces/layerbaseoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":17,"kind":1024,"name":"opacity","url":"interfaces/layerbaseoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":18,"kind":1024,"name":"visible","url":"interfaces/layerbaseoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":19,"kind":1024,"name":"minZoom","url":"interfaces/layerbaseoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":20,"kind":1024,"name":"maxZoom","url":"interfaces/layerbaseoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":21,"kind":1024,"name":"params","url":"interfaces/layerbaseoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":22,"kind":1024,"name":"zIndex","url":"interfaces/layerbaseoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":23,"kind":1024,"name":"loadCallback","url":"interfaces/layerbaseoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":24,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbaseoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":25,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbaseoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":26,"kind":1024,"name":"legendContent","url":"interfaces/layerbaseoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":27,"kind":128,"name":"LayerBase","url":"classes/layerbase.html","classes":"tsd-kind-class"},{"id":28,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbase.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":29,"kind":1024,"name":"_url","url":"classes/layerbase.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":30,"kind":1024,"name":"_opacity","url":"classes/layerbase.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":31,"kind":1024,"name":"_minZoom","url":"classes/layerbase.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":32,"kind":1024,"name":"_maxZoom","url":"classes/layerbase.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":33,"kind":1024,"name":"_visible","url":"classes/layerbase.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":34,"kind":1024,"name":"_loaded","url":"classes/layerbase.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":35,"kind":1024,"name":"_zIndex","url":"classes/layerbase.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":36,"kind":1024,"name":"_legendContent","url":"classes/layerbase.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":37,"kind":1024,"name":"_params","url":"classes/layerbase.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":38,"kind":1024,"name":"_id","url":"classes/layerbase.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":39,"kind":1024,"name":"_name","url":"classes/layerbase.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":40,"kind":1024,"name":"_source","url":"classes/layerbase.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":41,"kind":1024,"name":"_animate","url":"classes/layerbase.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":42,"kind":1024,"name":"_legendCollapse","url":"classes/layerbase.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":43,"kind":1024,"name":"_maxResolution","url":"classes/layerbase.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":44,"kind":1024,"name":"_minResolution","url":"classes/layerbase.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":45,"kind":1024,"name":"_$legendDiv","url":"classes/layerbase.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":46,"kind":1024,"name":"loadCallback","url":"classes/layerbase.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBase"},{"id":47,"kind":1024,"name":"_olLayer","url":"classes/layerbase.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":48,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbase.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":49,"kind":512,"name":"constructor","url":"classes/layerbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerBase"},{"id":50,"kind":2048,"name":"_load","url":"classes/layerbase.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":51,"kind":2048,"name":"getLegendDiv","url":"classes/layerbase.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":52,"kind":2048,"name":"_addLegendContent","url":"classes/layerbase.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerBase"},{"id":53,"kind":2048,"name":"addLegendContent","url":"classes/layerbase.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":54,"kind":2048,"name":"applyCollapse","url":"classes/layerbase.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":55,"kind":2048,"name":"refresh","url":"classes/layerbase.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":56,"kind":262144,"name":"id","url":"classes/layerbase.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":57,"kind":262144,"name":"animate","url":"classes/layerbase.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":58,"kind":262144,"name":"legendContent","url":"classes/layerbase.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":59,"kind":262144,"name":"params","url":"classes/layerbase.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":60,"kind":262144,"name":"minResolution","url":"classes/layerbase.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":61,"kind":262144,"name":"maxResolution","url":"classes/layerbase.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":62,"kind":262144,"name":"minZoom","url":"classes/layerbase.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":63,"kind":262144,"name":"maxZoom","url":"classes/layerbase.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":64,"kind":262144,"name":"url","url":"classes/layerbase.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":65,"kind":262144,"name":"visible","url":"classes/layerbase.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":66,"kind":2048,"name":"setVisible","url":"classes/layerbase.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":67,"kind":262144,"name":"opacity","url":"classes/layerbase.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":68,"kind":262144,"name":"name","url":"classes/layerbase.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":69,"kind":262144,"name":"loaded","url":"classes/layerbase.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":70,"kind":262144,"name":"source","url":"classes/layerbase.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":71,"kind":2048,"name":"getSource","url":"classes/layerbase.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":72,"kind":262144,"name":"zIndex","url":"classes/layerbase.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":73,"kind":2048,"name":"setZIndex","url":"classes/layerbase.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":74,"kind":262144,"name":"olLayer","url":"classes/layerbase.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":75,"kind":2048,"name":"getOlLayer","url":"classes/layerbase.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":76,"kind":128,"name":"MapInteractionBase","url":"classes/mapinteractionbase.html","classes":"tsd-kind-class"},{"id":77,"kind":1024,"name":"_map","url":"classes/mapinteractionbase.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":78,"kind":1024,"name":"_initialized","url":"classes/mapinteractionbase.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":79,"kind":1024,"name":"_subtype","url":"classes/mapinteractionbase.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":80,"kind":512,"name":"constructor","url":"classes/mapinteractionbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":81,"kind":2048,"name":"init","url":"classes/mapinteractionbase.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":82,"kind":262144,"name":"map","url":"classes/mapinteractionbase.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":83,"kind":262144,"name":"initialized","url":"classes/mapinteractionbase.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":84,"kind":2048,"name":"_checkInit","url":"classes/mapinteractionbase.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"MapInteractionBase"},{"id":85,"kind":2048,"name":"checkInit","url":"classes/mapinteractionbase.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":86,"kind":256,"name":"extentObject","url":"interfaces/extentobject.html","classes":"tsd-kind-interface"},{"id":87,"kind":1024,"name":"minX","url":"interfaces/extentobject.html#minx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":88,"kind":1024,"name":"minY","url":"interfaces/extentobject.html#miny","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":89,"kind":1024,"name":"maxX","url":"interfaces/extentobject.html#maxx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":90,"kind":1024,"name":"maxY","url":"interfaces/extentobject.html#maxy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":91,"kind":256,"name":"mapMoveCallbackFunction","url":"interfaces/mapmovecallbackfunction.html","classes":"tsd-kind-interface"},{"id":92,"kind":128,"name":"MapMoveCls","url":"classes/mapmovecls.html","classes":"tsd-kind-class"},{"id":93,"kind":1024,"name":"_mapExtent","url":"classes/mapmovecls.html#_mapextent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":94,"kind":1024,"name":"_zoomLevel","url":"classes/mapmovecls.html#_zoomlevel","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":95,"kind":1024,"name":"_lookupLayer","url":"classes/mapmovecls.html#_lookuplayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":96,"kind":1024,"name":"_arrLayer","url":"classes/mapmovecls.html#_arrlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":97,"kind":1024,"name":"_arrLyrTimeout","url":"classes/mapmovecls.html#_arrlyrtimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":98,"kind":1024,"name":"_mapMoveCallbackTimeout","url":"classes/mapmovecls.html#_mapmovecallbacktimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":99,"kind":1024,"name":"_mapMoveCallbackDelays","url":"classes/mapmovecls.html#_mapmovecallbackdelays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":100,"kind":1024,"name":"_mapMoveCallbacksLookup","url":"classes/mapmovecls.html#_mapmovecallbackslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":101,"kind":1024,"name":"_mapMoveCallbackContext","url":"classes/mapmovecls.html#_mapmovecallbackcontext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":102,"kind":1024,"name":"_mapMoveCallbacks","url":"classes/mapmovecls.html#_mapmovecallbacks","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":103,"kind":1024,"name":"_arrLyrRequest","url":"classes/mapmovecls.html#_arrlyrrequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":104,"kind":512,"name":"constructor","url":"classes/mapmovecls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":105,"kind":2048,"name":"init","url":"classes/mapmovecls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":106,"kind":2048,"name":"_updateMapExtent","url":"classes/mapmovecls.html#_updatemapextent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":107,"kind":262144,"name":"mapExtent","url":"classes/mapmovecls.html#mapextent","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapMoveCls"},{"id":108,"kind":2048,"name":"triggerLyrLoad","url":"classes/mapmovecls.html#triggerlyrload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":109,"kind":2048,"name":"triggerMoveCallback","url":"classes/mapmovecls.html#triggermovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":110,"kind":2048,"name":"addVectorLayer","url":"classes/mapmovecls.html#addvectorlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":111,"kind":2048,"name":"addCallback","url":"classes/mapmovecls.html#addcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":112,"kind":1024,"name":"_map","url":"classes/mapmovecls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":113,"kind":1024,"name":"_initialized","url":"classes/mapmovecls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":114,"kind":1024,"name":"_subtype","url":"classes/mapmovecls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":115,"kind":262144,"name":"map","url":"classes/mapmovecls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":116,"kind":262144,"name":"initialized","url":"classes/mapmovecls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":117,"kind":2048,"name":"_checkInit","url":"classes/mapmovecls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapMoveCls"},{"id":118,"kind":2048,"name":"checkInit","url":"classes/mapmovecls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":119,"kind":32,"name":"mapMove","url":"globals.html#mapmove","classes":"tsd-kind-variable"},{"id":120,"kind":256,"name":"makeMapMoveParams","url":"interfaces/makemapmoveparams.html","classes":"tsd-kind-interface"},{"id":121,"kind":256,"name":"LayerBaseVectorOptions","url":"interfaces/layerbasevectoroptions.html","classes":"tsd-kind-interface"},{"id":122,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoroptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":123,"kind":1024,"name":"style","url":"interfaces/layerbasevectoroptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":124,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoroptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":125,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoroptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":126,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoroptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":127,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoroptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":128,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoroptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":129,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoroptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorOptions.renderOrder"},{"id":130,"kind":1024,"name":"id","url":"interfaces/layerbasevectoroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":131,"kind":1024,"name":"name","url":"interfaces/layerbasevectoroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":132,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":133,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":134,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":135,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":136,"kind":1024,"name":"params","url":"interfaces/layerbasevectoroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":137,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":138,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":139,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":140,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":141,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":142,"kind":128,"name":"LayerBaseVector","url":"classes/layerbasevector.html","classes":"tsd-kind-class"},{"id":143,"kind":1024,"name":"_olLayer","url":"classes/layerbasevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":144,"kind":1024,"name":"_source","url":"classes/layerbasevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":145,"kind":1024,"name":"_style","url":"classes/layerbasevector.html#_style","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":146,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevector.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":147,"kind":1024,"name":"_onDemand","url":"classes/layerbasevector.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":148,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevector.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":149,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevector.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":150,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevector.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":151,"kind":1024,"name":"_mapMove","url":"classes/layerbasevector.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":152,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevector.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":153,"kind":1024,"name":"_projection4326","url":"classes/layerbasevector.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":154,"kind":512,"name":"constructor","url":"classes/layerbasevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":155,"kind":2048,"name":"addFeatures","url":"classes/layerbasevector.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":156,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevector.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":157,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevector.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":158,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevector.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":159,"kind":2048,"name":"clear","url":"classes/layerbasevector.html#clear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":160,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevector.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":161,"kind":262144,"name":"autoLoad","url":"classes/layerbasevector.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":162,"kind":262144,"name":"style","url":"classes/layerbasevector.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":163,"kind":262144,"name":"mapCrs","url":"classes/layerbasevector.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":164,"kind":262144,"name":"mapProj","url":"classes/layerbasevector.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":165,"kind":262144,"name":"mapMove","url":"classes/layerbasevector.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":166,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevector.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":167,"kind":262144,"name":"visible","url":"classes/layerbasevector.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":168,"kind":262144,"name":"source","url":"classes/layerbasevector.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":169,"kind":262144,"name":"features","url":"classes/layerbasevector.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":170,"kind":262144,"name":"olLayer","url":"classes/layerbasevector.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":171,"kind":2048,"name":"setZIndex","url":"classes/layerbasevector.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVector"},{"id":172,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevector.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":173,"kind":1024,"name":"_url","url":"classes/layerbasevector.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":174,"kind":1024,"name":"_opacity","url":"classes/layerbasevector.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":175,"kind":1024,"name":"_minZoom","url":"classes/layerbasevector.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":176,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevector.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":177,"kind":1024,"name":"_visible","url":"classes/layerbasevector.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":178,"kind":1024,"name":"_loaded","url":"classes/layerbasevector.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":179,"kind":1024,"name":"_zIndex","url":"classes/layerbasevector.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":180,"kind":1024,"name":"_legendContent","url":"classes/layerbasevector.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":181,"kind":1024,"name":"_params","url":"classes/layerbasevector.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":182,"kind":1024,"name":"_id","url":"classes/layerbasevector.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":183,"kind":1024,"name":"_name","url":"classes/layerbasevector.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":184,"kind":1024,"name":"_animate","url":"classes/layerbasevector.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":185,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevector.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":186,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevector.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":187,"kind":1024,"name":"_minResolution","url":"classes/layerbasevector.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":188,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevector.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":189,"kind":1024,"name":"loadCallback","url":"classes/layerbasevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":190,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevector.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":191,"kind":2048,"name":"_load","url":"classes/layerbasevector.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":192,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevector.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":193,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevector.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVector"},{"id":194,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevector.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":195,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevector.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":196,"kind":2048,"name":"refresh","url":"classes/layerbasevector.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":197,"kind":262144,"name":"id","url":"classes/layerbasevector.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":198,"kind":262144,"name":"animate","url":"classes/layerbasevector.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":199,"kind":262144,"name":"legendContent","url":"classes/layerbasevector.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":200,"kind":262144,"name":"params","url":"classes/layerbasevector.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":201,"kind":262144,"name":"minResolution","url":"classes/layerbasevector.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":202,"kind":262144,"name":"maxResolution","url":"classes/layerbasevector.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":203,"kind":262144,"name":"minZoom","url":"classes/layerbasevector.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":204,"kind":262144,"name":"maxZoom","url":"classes/layerbasevector.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":205,"kind":262144,"name":"url","url":"classes/layerbasevector.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":206,"kind":2048,"name":"setVisible","url":"classes/layerbasevector.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":207,"kind":262144,"name":"opacity","url":"classes/layerbasevector.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":208,"kind":262144,"name":"name","url":"classes/layerbasevector.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":209,"kind":262144,"name":"loaded","url":"classes/layerbasevector.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":210,"kind":2048,"name":"getSource","url":"classes/layerbasevector.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":211,"kind":262144,"name":"zIndex","url":"classes/layerbasevector.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":212,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevector.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":213,"kind":32,"name":"proj4326","url":"globals.html#proj4326","classes":"tsd-kind-variable"},{"id":214,"kind":32,"name":"proj3857","url":"globals.html#proj3857","classes":"tsd-kind-variable"},{"id":215,"kind":32,"name":"proj3070","url":"globals.html#proj3070","classes":"tsd-kind-variable"},{"id":216,"kind":256,"name":"crsTransform","url":"interfaces/crstransform.html","classes":"tsd-kind-interface"},{"id":217,"kind":1024,"name":"dataProjection","url":"interfaces/crstransform.html#dataprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":218,"kind":1024,"name":"featureProjection","url":"interfaces/crstransform.html#featureprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":219,"kind":256,"name":"LayerBaseVectorGeoJsonOptions","url":"interfaces/layerbasevectorgeojsonoptions.html","classes":"tsd-kind-interface"},{"id":220,"kind":1024,"name":"transform","url":"interfaces/layerbasevectorgeojsonoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorGeoJsonOptions"},{"id":221,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"LayerBaseVectorGeoJsonOptions"},{"id":222,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectorgeojsonoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":223,"kind":1024,"name":"style","url":"interfaces/layerbasevectorgeojsonoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":224,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":225,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":226,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":227,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":228,"kind":65536,"name":"__type","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorGeoJsonOptions.renderOrder"},{"id":229,"kind":1024,"name":"id","url":"interfaces/layerbasevectorgeojsonoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":230,"kind":1024,"name":"name","url":"interfaces/layerbasevectorgeojsonoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":231,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectorgeojsonoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":232,"kind":1024,"name":"visible","url":"interfaces/layerbasevectorgeojsonoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":233,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":234,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":235,"kind":1024,"name":"params","url":"interfaces/layerbasevectorgeojsonoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":236,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectorgeojsonoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":237,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectorgeojsonoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":238,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":239,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":240,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":241,"kind":128,"name":"LayerBaseVectorGeoJson","url":"classes/layerbasevectorgeojson.html","classes":"tsd-kind-class"},{"id":242,"kind":1024,"name":"_geoJsonFormat","url":"classes/layerbasevectorgeojson.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":243,"kind":1024,"name":"_transform","url":"classes/layerbasevectorgeojson.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":244,"kind":512,"name":"constructor","url":"classes/layerbasevectorgeojson.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":245,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectorgeojson.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":246,"kind":2048,"name":"_load","url":"classes/layerbasevectorgeojson.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":247,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectorgeojson.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":248,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectorgeojson.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":249,"kind":1024,"name":"_source","url":"classes/layerbasevectorgeojson.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":250,"kind":1024,"name":"_style","url":"classes/layerbasevectorgeojson.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":251,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectorgeojson.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":252,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectorgeojson.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":253,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectorgeojson.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":254,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":255,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectorgeojson.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":256,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectorgeojson.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":257,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectorgeojson.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":258,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectorgeojson.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":259,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectorgeojson.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":260,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":261,"kind":2048,"name":"clear","url":"classes/layerbasevectorgeojson.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":262,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectorgeojson.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":263,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectorgeojson.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":264,"kind":262144,"name":"style","url":"classes/layerbasevectorgeojson.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":265,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectorgeojson.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":266,"kind":262144,"name":"mapProj","url":"classes/layerbasevectorgeojson.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":267,"kind":262144,"name":"mapMove","url":"classes/layerbasevectorgeojson.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":268,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectorgeojson.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":269,"kind":262144,"name":"visible","url":"classes/layerbasevectorgeojson.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":270,"kind":262144,"name":"source","url":"classes/layerbasevectorgeojson.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":271,"kind":262144,"name":"features","url":"classes/layerbasevectorgeojson.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":272,"kind":262144,"name":"olLayer","url":"classes/layerbasevectorgeojson.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":273,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectorgeojson.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":274,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectorgeojson.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":275,"kind":1024,"name":"_url","url":"classes/layerbasevectorgeojson.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":276,"kind":1024,"name":"_opacity","url":"classes/layerbasevectorgeojson.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":277,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectorgeojson.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":278,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectorgeojson.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":279,"kind":1024,"name":"_visible","url":"classes/layerbasevectorgeojson.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":280,"kind":1024,"name":"_loaded","url":"classes/layerbasevectorgeojson.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":281,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectorgeojson.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":282,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectorgeojson.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":283,"kind":1024,"name":"_params","url":"classes/layerbasevectorgeojson.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":284,"kind":1024,"name":"_id","url":"classes/layerbasevectorgeojson.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":285,"kind":1024,"name":"_name","url":"classes/layerbasevectorgeojson.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":286,"kind":1024,"name":"_animate","url":"classes/layerbasevectorgeojson.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":287,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectorgeojson.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":288,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectorgeojson.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":289,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectorgeojson.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":290,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectorgeojson.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":291,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectorgeojson.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":292,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectorgeojson.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":293,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectorgeojson.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":294,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectorgeojson.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorGeoJson"},{"id":295,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectorgeojson.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":296,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectorgeojson.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":297,"kind":2048,"name":"refresh","url":"classes/layerbasevectorgeojson.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":298,"kind":262144,"name":"id","url":"classes/layerbasevectorgeojson.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":299,"kind":262144,"name":"animate","url":"classes/layerbasevectorgeojson.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":300,"kind":262144,"name":"legendContent","url":"classes/layerbasevectorgeojson.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":301,"kind":262144,"name":"params","url":"classes/layerbasevectorgeojson.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":302,"kind":262144,"name":"minResolution","url":"classes/layerbasevectorgeojson.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":303,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectorgeojson.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":304,"kind":262144,"name":"minZoom","url":"classes/layerbasevectorgeojson.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":305,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectorgeojson.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":306,"kind":262144,"name":"url","url":"classes/layerbasevectorgeojson.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":307,"kind":2048,"name":"setVisible","url":"classes/layerbasevectorgeojson.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":308,"kind":262144,"name":"opacity","url":"classes/layerbasevectorgeojson.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":309,"kind":262144,"name":"name","url":"classes/layerbasevectorgeojson.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":310,"kind":262144,"name":"loaded","url":"classes/layerbasevectorgeojson.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":311,"kind":2048,"name":"getSource","url":"classes/layerbasevectorgeojson.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":312,"kind":262144,"name":"zIndex","url":"classes/layerbasevectorgeojson.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":313,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectorgeojson.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":314,"kind":64,"name":"propertiesZoomStyle","url":"globals.html#propertieszoomstyle","classes":"tsd-kind-function"},{"id":315,"kind":256,"name":"EsriResponse","url":"interfaces/esriresponse.html","classes":"tsd-kind-interface"},{"id":316,"kind":1024,"name":"drawingInfo","url":"interfaces/esriresponse.html#drawinginfo","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriResponse"},{"id":317,"kind":65536,"name":"__type","url":"interfaces/esriresponse.html#drawinginfo.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"EsriResponse.drawingInfo"},{"id":318,"kind":32,"name":"renderer","url":"interfaces/esriresponse.html#drawinginfo.__type.renderer","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriResponse.drawingInfo.__type"},{"id":319,"kind":1024,"name":"geometryType","url":"interfaces/esriresponse.html#geometrytype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriResponse"},{"id":320,"kind":256,"name":"EsriRenderer","url":"interfaces/esrirenderer.html","classes":"tsd-kind-interface"},{"id":321,"kind":1024,"name":"type","url":"interfaces/esrirenderer.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":322,"kind":1024,"name":"symbol","url":"interfaces/esrirenderer.html#symbol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":323,"kind":1024,"name":"uniqueValueInfos","url":"interfaces/esrirenderer.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriRenderer"},{"id":324,"kind":256,"name":"EsriSymbol","url":"interfaces/esrisymbol.html","classes":"tsd-kind-interface"},{"id":325,"kind":1024,"name":"size","url":"interfaces/esrisymbol.html#size","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":326,"kind":1024,"name":"type","url":"interfaces/esrisymbol.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":327,"kind":1024,"name":"outline","url":"interfaces/esrisymbol.html#outline","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":328,"kind":65536,"name":"__type","url":"interfaces/esrisymbol.html#outline.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"EsriSymbol.outline"},{"id":329,"kind":32,"name":"color","url":"interfaces/esrisymbol.html#outline.__type.color-1","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriSymbol.outline.__type"},{"id":330,"kind":32,"name":"width","url":"interfaces/esrisymbol.html#outline.__type.width","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EsriSymbol.outline.__type"},{"id":331,"kind":1024,"name":"color","url":"interfaces/esrisymbol.html#color","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":332,"kind":1024,"name":"width","url":"interfaces/esrisymbol.html#width-1","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"EsriSymbol"},{"id":333,"kind":128,"name":"CommonSymbol","url":"classes/commonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":334,"kind":1024,"name":"legendHtml","url":"classes/commonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":335,"kind":1024,"name":"opacity","url":"classes/commonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":336,"kind":1024,"name":"symbolObj","url":"classes/commonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":337,"kind":1024,"name":"olStyle","url":"classes/commonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":338,"kind":512,"name":"constructor","url":"classes/commonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":339,"kind":256,"name":"ICommonSymbol","url":"interfaces/icommonsymbol.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":340,"kind":512,"name":"constructor","url":"interfaces/icommonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-interface tsd-is-not-exported","parent":"ICommonSymbol"},{"id":341,"kind":128,"name":"PointSymbol","url":"classes/pointsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":342,"kind":512,"name":"constructor","url":"classes/pointsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PointSymbol"},{"id":343,"kind":1024,"name":"legendHtml","url":"classes/pointsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":344,"kind":1024,"name":"opacity","url":"classes/pointsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":345,"kind":1024,"name":"symbolObj","url":"classes/pointsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":346,"kind":1024,"name":"olStyle","url":"classes/pointsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":347,"kind":128,"name":"LineSymbol","url":"classes/linesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":348,"kind":512,"name":"constructor","url":"classes/linesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"LineSymbol"},{"id":349,"kind":1024,"name":"legendHtml","url":"classes/linesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":350,"kind":1024,"name":"opacity","url":"classes/linesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":351,"kind":1024,"name":"symbolObj","url":"classes/linesymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":352,"kind":1024,"name":"olStyle","url":"classes/linesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":353,"kind":128,"name":"PolygonSymbol","url":"classes/polygonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":354,"kind":512,"name":"constructor","url":"classes/polygonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PolygonSymbol"},{"id":355,"kind":1024,"name":"legendHtml","url":"classes/polygonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":356,"kind":1024,"name":"opacity","url":"classes/polygonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":357,"kind":1024,"name":"symbolObj","url":"classes/polygonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":358,"kind":1024,"name":"olStyle","url":"classes/polygonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":359,"kind":128,"name":"SymbolGenerator","url":"classes/symbolgenerator.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":360,"kind":1024,"name":"opacity","url":"classes/symbolgenerator.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":361,"kind":1024,"name":"renderer","url":"classes/symbolgenerator.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":362,"kind":1024,"name":"legendHtml","url":"classes/symbolgenerator.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":363,"kind":1024,"name":"olStyle","url":"classes/symbolgenerator.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":364,"kind":512,"name":"constructor","url":"classes/symbolgenerator.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":365,"kind":128,"name":"SingleSymbol","url":"classes/singlesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":366,"kind":1024,"name":"symbol","url":"classes/singlesymbol.html#symbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SingleSymbol"},{"id":367,"kind":512,"name":"constructor","url":"classes/singlesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"SingleSymbol"},{"id":368,"kind":1024,"name":"opacity","url":"classes/singlesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":369,"kind":1024,"name":"renderer","url":"classes/singlesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":370,"kind":1024,"name":"legendHtml","url":"classes/singlesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":371,"kind":1024,"name":"olStyle","url":"classes/singlesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":372,"kind":128,"name":"UniqueValueSymbol","url":"classes/uniquevaluesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":373,"kind":1024,"name":"propertyName","url":"classes/uniquevaluesymbol.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":374,"kind":1024,"name":"defaultSymbol","url":"classes/uniquevaluesymbol.html#defaultsymbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":375,"kind":1024,"name":"defaultStyle","url":"classes/uniquevaluesymbol.html#defaultstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":376,"kind":1024,"name":"defaultLabelHtml","url":"classes/uniquevaluesymbol.html#defaultlabelhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":377,"kind":1024,"name":"labelArray","url":"classes/uniquevaluesymbol.html#labelarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":378,"kind":1024,"name":"legendArray","url":"classes/uniquevaluesymbol.html#legendarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":379,"kind":1024,"name":"propertyStyleLookup","url":"classes/uniquevaluesymbol.html#propertystylelookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":380,"kind":1024,"name":"valueArray","url":"classes/uniquevaluesymbol.html#valuearray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":381,"kind":1024,"name":"uniqueValueInfos","url":"classes/uniquevaluesymbol.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":382,"kind":512,"name":"constructor","url":"classes/uniquevaluesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":383,"kind":1024,"name":"opacity","url":"classes/uniquevaluesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":384,"kind":1024,"name":"renderer","url":"classes/uniquevaluesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":385,"kind":1024,"name":"legendHtml","url":"classes/uniquevaluesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":386,"kind":1024,"name":"olStyle","url":"classes/uniquevaluesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":387,"kind":64,"name":"_colorArrayToRgba","url":"globals.html#_colorarraytorgba","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":388,"kind":64,"name":"htmlEscape","url":"globals.html#htmlescape","classes":"tsd-kind-function tsd-is-not-exported"},{"id":389,"kind":64,"name":"makeFeatureServiceLegendAndSymbol","url":"globals.html#makefeatureservicelegendandsymbol","classes":"tsd-kind-function"},{"id":390,"kind":64,"name":"mapServiceLegendItem","url":"globals.html#mapservicelegenditem","classes":"tsd-kind-function tsd-is-not-exported"},{"id":391,"kind":64,"name":"makeMapServiceLegend","url":"globals.html#makemapservicelegend","classes":"tsd-kind-function"},{"id":392,"kind":256,"name":"LayerEsriMapServerOptions","url":"interfaces/layeresrimapserveroptions.html","classes":"tsd-kind-interface"},{"id":393,"kind":1024,"name":"addPopup","url":"interfaces/layeresrimapserveroptions.html#addpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":394,"kind":1024,"name":"showLayers","url":"interfaces/layeresrimapserveroptions.html#showlayers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":395,"kind":1024,"name":"id","url":"interfaces/layeresrimapserveroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":396,"kind":1024,"name":"name","url":"interfaces/layeresrimapserveroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":397,"kind":1024,"name":"opacity","url":"interfaces/layeresrimapserveroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":398,"kind":1024,"name":"visible","url":"interfaces/layeresrimapserveroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":399,"kind":1024,"name":"minZoom","url":"interfaces/layeresrimapserveroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":400,"kind":1024,"name":"maxZoom","url":"interfaces/layeresrimapserveroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":401,"kind":1024,"name":"params","url":"interfaces/layeresrimapserveroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":402,"kind":1024,"name":"zIndex","url":"interfaces/layeresrimapserveroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":403,"kind":1024,"name":"loadCallback","url":"interfaces/layeresrimapserveroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":404,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresrimapserveroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":405,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresrimapserveroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":406,"kind":1024,"name":"legendContent","url":"interfaces/layeresrimapserveroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":407,"kind":128,"name":"LayerEsriMapServer","url":"classes/layeresrimapserver.html","classes":"tsd-kind-class"},{"id":408,"kind":1024,"name":"_esriFormat","url":"classes/layeresrimapserver.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":409,"kind":1024,"name":"_popupRequest","url":"classes/layeresrimapserver.html#_popuprequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":410,"kind":512,"name":"constructor","url":"classes/layeresrimapserver.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":411,"kind":2048,"name":"addLegendContent","url":"classes/layeresrimapserver.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":412,"kind":2048,"name":"getPopupInfo","url":"classes/layeresrimapserver.html#getpopupinfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":413,"kind":262144,"name":"source","url":"classes/layeresrimapserver.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":414,"kind":262144,"name":"olLayer","url":"classes/layeresrimapserver.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":415,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresrimapserver.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":416,"kind":1024,"name":"_url","url":"classes/layeresrimapserver.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":417,"kind":1024,"name":"_opacity","url":"classes/layeresrimapserver.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":418,"kind":1024,"name":"_minZoom","url":"classes/layeresrimapserver.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":419,"kind":1024,"name":"_maxZoom","url":"classes/layeresrimapserver.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":420,"kind":1024,"name":"_visible","url":"classes/layeresrimapserver.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":421,"kind":1024,"name":"_loaded","url":"classes/layeresrimapserver.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":422,"kind":1024,"name":"_zIndex","url":"classes/layeresrimapserver.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":423,"kind":1024,"name":"_legendContent","url":"classes/layeresrimapserver.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":424,"kind":1024,"name":"_params","url":"classes/layeresrimapserver.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":425,"kind":1024,"name":"_id","url":"classes/layeresrimapserver.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":426,"kind":1024,"name":"_name","url":"classes/layeresrimapserver.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":427,"kind":1024,"name":"_source","url":"classes/layeresrimapserver.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":428,"kind":1024,"name":"_animate","url":"classes/layeresrimapserver.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":429,"kind":1024,"name":"_legendCollapse","url":"classes/layeresrimapserver.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":430,"kind":1024,"name":"_maxResolution","url":"classes/layeresrimapserver.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":431,"kind":1024,"name":"_minResolution","url":"classes/layeresrimapserver.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":432,"kind":1024,"name":"_$legendDiv","url":"classes/layeresrimapserver.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":433,"kind":1024,"name":"loadCallback","url":"classes/layeresrimapserver.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":434,"kind":1024,"name":"_olLayer","url":"classes/layeresrimapserver.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":435,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresrimapserver.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":436,"kind":2048,"name":"_load","url":"classes/layeresrimapserver.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":437,"kind":2048,"name":"getLegendDiv","url":"classes/layeresrimapserver.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":438,"kind":2048,"name":"_addLegendContent","url":"classes/layeresrimapserver.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriMapServer"},{"id":439,"kind":2048,"name":"applyCollapse","url":"classes/layeresrimapserver.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":440,"kind":2048,"name":"refresh","url":"classes/layeresrimapserver.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":441,"kind":262144,"name":"id","url":"classes/layeresrimapserver.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":442,"kind":262144,"name":"animate","url":"classes/layeresrimapserver.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":443,"kind":262144,"name":"legendContent","url":"classes/layeresrimapserver.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":444,"kind":262144,"name":"params","url":"classes/layeresrimapserver.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":445,"kind":262144,"name":"minResolution","url":"classes/layeresrimapserver.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":446,"kind":262144,"name":"maxResolution","url":"classes/layeresrimapserver.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":447,"kind":262144,"name":"minZoom","url":"classes/layeresrimapserver.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":448,"kind":262144,"name":"maxZoom","url":"classes/layeresrimapserver.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":449,"kind":262144,"name":"url","url":"classes/layeresrimapserver.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":450,"kind":262144,"name":"visible","url":"classes/layeresrimapserver.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":451,"kind":2048,"name":"setVisible","url":"classes/layeresrimapserver.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":452,"kind":262144,"name":"opacity","url":"classes/layeresrimapserver.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":453,"kind":262144,"name":"name","url":"classes/layeresrimapserver.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":454,"kind":262144,"name":"loaded","url":"classes/layeresrimapserver.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":455,"kind":2048,"name":"getSource","url":"classes/layeresrimapserver.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":456,"kind":262144,"name":"zIndex","url":"classes/layeresrimapserver.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":457,"kind":2048,"name":"setZIndex","url":"classes/layeresrimapserver.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":458,"kind":2048,"name":"getOlLayer","url":"classes/layeresrimapserver.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":459,"kind":256,"name":"popupChangedFunction","url":"interfaces/popupchangedfunction.html","classes":"tsd-kind-interface"},{"id":460,"kind":256,"name":"popupCallback","url":"interfaces/popupcallback.html","classes":"tsd-kind-interface"},{"id":461,"kind":256,"name":"mapEvent","url":"interfaces/mapevent.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":462,"kind":1024,"name":"coordinate","url":"interfaces/mapevent.html#coordinate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":463,"kind":1024,"name":"pixel","url":"interfaces/mapevent.html#pixel","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":464,"kind":1024,"name":"dragging","url":"interfaces/mapevent.html#dragging","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":465,"kind":1024,"name":"originalEvent","url":"interfaces/mapevent.html#originalevent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":466,"kind":128,"name":"FeatureLayerProperties","url":"classes/featurelayerproperties.html","classes":"tsd-kind-class"},{"id":467,"kind":1024,"name":"feature","url":"classes/featurelayerproperties.html#feature","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":468,"kind":1024,"name":"layer","url":"classes/featurelayerproperties.html#layer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":469,"kind":1024,"name":"layerIndex","url":"classes/featurelayerproperties.html#layerindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":470,"kind":1024,"name":"selectionLayer","url":"classes/featurelayerproperties.html#selectionlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":471,"kind":1024,"name":"popupContent","url":"classes/featurelayerproperties.html#popupcontent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":472,"kind":1024,"name":"esriLayerName","url":"classes/featurelayerproperties.html#esrilayername","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":473,"kind":512,"name":"constructor","url":"classes/featurelayerproperties.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":474,"kind":262144,"name":"layerName","url":"classes/featurelayerproperties.html#layername","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":475,"kind":128,"name":"MapPopupCls","url":"classes/mappopupcls.html","classes":"tsd-kind-class"},{"id":476,"kind":512,"name":"constructor","url":"classes/mappopupcls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":477,"kind":2048,"name":"init","url":"classes/mappopupcls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":478,"kind":2048,"name":"_triggerFeatSelect","url":"classes/mappopupcls.html#_triggerfeatselect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":479,"kind":2048,"name":"addMapServicePopupContent","url":"classes/mappopupcls.html#addmapservicepopupcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":480,"kind":2048,"name":"_featuresAtPixel","url":"classes/mappopupcls.html#_featuresatpixel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":481,"kind":2048,"name":"closePopup","url":"classes/mappopupcls.html#closepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":482,"kind":2048,"name":"addPopupChangedFunction","url":"classes/mappopupcls.html#addpopupchangedfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":483,"kind":2048,"name":"_addPopupLayer","url":"classes/mappopupcls.html#_addpopuplayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":484,"kind":2048,"name":"addVectorPopup","url":"classes/mappopupcls.html#addvectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":485,"kind":2048,"name":"removeVectorPopup","url":"classes/mappopupcls.html#removevectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":486,"kind":2048,"name":"addMapServicePopup","url":"classes/mappopupcls.html#addmapservicepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":487,"kind":2048,"name":"clearSelection","url":"classes/mappopupcls.html#clearselection","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":488,"kind":2048,"name":"addMapClickFunction","url":"classes/mappopupcls.html#addmapclickfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":489,"kind":1024,"name":"_map","url":"classes/mappopupcls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":490,"kind":1024,"name":"_initialized","url":"classes/mappopupcls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":491,"kind":1024,"name":"_subtype","url":"classes/mappopupcls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":492,"kind":262144,"name":"map","url":"classes/mappopupcls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":493,"kind":262144,"name":"initialized","url":"classes/mappopupcls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":494,"kind":2048,"name":"_checkInit","url":"classes/mappopupcls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapPopupCls"},{"id":495,"kind":2048,"name":"checkInit","url":"classes/mappopupcls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":496,"kind":32,"name":"mapPopup","url":"globals.html#mappopup","classes":"tsd-kind-variable"},{"id":497,"kind":128,"name":"LayerItsInventory","url":"classes/layeritsinventory.html","classes":"tsd-kind-class"},{"id":498,"kind":512,"name":"constructor","url":"classes/layeritsinventory.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":499,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layeritsinventory.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":500,"kind":1024,"name":"_geoJsonFormat","url":"classes/layeritsinventory.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":501,"kind":1024,"name":"_transform","url":"classes/layeritsinventory.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":502,"kind":2048,"name":"addFeatures","url":"classes/layeritsinventory.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":503,"kind":2048,"name":"_load","url":"classes/layeritsinventory.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":504,"kind":2048,"name":"mapMoveCallback","url":"classes/layeritsinventory.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":505,"kind":1024,"name":"_olLayer","url":"classes/layeritsinventory.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":506,"kind":1024,"name":"_source","url":"classes/layeritsinventory.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":507,"kind":1024,"name":"_style","url":"classes/layeritsinventory.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":508,"kind":1024,"name":"_autoLoad","url":"classes/layeritsinventory.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":509,"kind":1024,"name":"_onDemand","url":"classes/layeritsinventory.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":510,"kind":1024,"name":"_onDemandDelay","url":"classes/layeritsinventory.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":511,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layeritsinventory.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":512,"kind":1024,"name":"_mapMoveParams","url":"classes/layeritsinventory.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":513,"kind":1024,"name":"_mapMove","url":"classes/layeritsinventory.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":514,"kind":1024,"name":"_projectionMap","url":"classes/layeritsinventory.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":515,"kind":1024,"name":"_projection4326","url":"classes/layeritsinventory.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":516,"kind":2048,"name":"mapMoveBefore","url":"classes/layeritsinventory.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":517,"kind":2048,"name":"clear","url":"classes/layeritsinventory.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":518,"kind":262144,"name":"onDemandDelay","url":"classes/layeritsinventory.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":519,"kind":262144,"name":"autoLoad","url":"classes/layeritsinventory.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":520,"kind":262144,"name":"style","url":"classes/layeritsinventory.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":521,"kind":262144,"name":"mapCrs","url":"classes/layeritsinventory.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":522,"kind":262144,"name":"mapProj","url":"classes/layeritsinventory.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":523,"kind":262144,"name":"mapMove","url":"classes/layeritsinventory.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":524,"kind":262144,"name":"mapMoveParams","url":"classes/layeritsinventory.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":525,"kind":262144,"name":"visible","url":"classes/layeritsinventory.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":526,"kind":262144,"name":"source","url":"classes/layeritsinventory.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":527,"kind":262144,"name":"features","url":"classes/layeritsinventory.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":528,"kind":262144,"name":"olLayer","url":"classes/layeritsinventory.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":529,"kind":2048,"name":"setZIndex","url":"classes/layeritsinventory.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":530,"kind":1024,"name":"_legendCheckbox","url":"classes/layeritsinventory.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":531,"kind":1024,"name":"_url","url":"classes/layeritsinventory.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":532,"kind":1024,"name":"_opacity","url":"classes/layeritsinventory.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":533,"kind":1024,"name":"_minZoom","url":"classes/layeritsinventory.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":534,"kind":1024,"name":"_maxZoom","url":"classes/layeritsinventory.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":535,"kind":1024,"name":"_visible","url":"classes/layeritsinventory.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":536,"kind":1024,"name":"_loaded","url":"classes/layeritsinventory.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":537,"kind":1024,"name":"_zIndex","url":"classes/layeritsinventory.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":538,"kind":1024,"name":"_legendContent","url":"classes/layeritsinventory.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":539,"kind":1024,"name":"_params","url":"classes/layeritsinventory.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":540,"kind":1024,"name":"_id","url":"classes/layeritsinventory.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":541,"kind":1024,"name":"_name","url":"classes/layeritsinventory.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":542,"kind":1024,"name":"_animate","url":"classes/layeritsinventory.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":543,"kind":1024,"name":"_legendCollapse","url":"classes/layeritsinventory.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":544,"kind":1024,"name":"_maxResolution","url":"classes/layeritsinventory.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":545,"kind":1024,"name":"_minResolution","url":"classes/layeritsinventory.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":546,"kind":1024,"name":"_$legendDiv","url":"classes/layeritsinventory.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":547,"kind":1024,"name":"loadCallback","url":"classes/layeritsinventory.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":548,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeritsinventory.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":549,"kind":2048,"name":"getLegendDiv","url":"classes/layeritsinventory.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":550,"kind":2048,"name":"_addLegendContent","url":"classes/layeritsinventory.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerItsInventory"},{"id":551,"kind":2048,"name":"addLegendContent","url":"classes/layeritsinventory.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":552,"kind":2048,"name":"applyCollapse","url":"classes/layeritsinventory.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":553,"kind":2048,"name":"refresh","url":"classes/layeritsinventory.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":554,"kind":262144,"name":"id","url":"classes/layeritsinventory.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":555,"kind":262144,"name":"animate","url":"classes/layeritsinventory.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":556,"kind":262144,"name":"legendContent","url":"classes/layeritsinventory.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":557,"kind":262144,"name":"params","url":"classes/layeritsinventory.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":558,"kind":262144,"name":"minResolution","url":"classes/layeritsinventory.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":559,"kind":262144,"name":"maxResolution","url":"classes/layeritsinventory.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":560,"kind":262144,"name":"minZoom","url":"classes/layeritsinventory.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":561,"kind":262144,"name":"maxZoom","url":"classes/layeritsinventory.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":562,"kind":262144,"name":"url","url":"classes/layeritsinventory.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":563,"kind":2048,"name":"setVisible","url":"classes/layeritsinventory.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":564,"kind":262144,"name":"opacity","url":"classes/layeritsinventory.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":565,"kind":262144,"name":"name","url":"classes/layeritsinventory.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":566,"kind":262144,"name":"loaded","url":"classes/layeritsinventory.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":567,"kind":2048,"name":"getSource","url":"classes/layeritsinventory.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":568,"kind":262144,"name":"zIndex","url":"classes/layeritsinventory.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":569,"kind":2048,"name":"getOlLayer","url":"classes/layeritsinventory.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":570,"kind":64,"name":"checkStyleNumber","url":"globals.html#checkstylenumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":571,"kind":64,"name":"defineStyle","url":"globals.html#definestyle","classes":"tsd-kind-function tsd-is-not-exported"},{"id":572,"kind":64,"name":"defineLegend","url":"globals.html#definelegend","classes":"tsd-kind-function tsd-is-not-exported"},{"id":573,"kind":128,"name":"ItsLayerCollection","url":"classes/itslayercollection.html","classes":"tsd-kind-class"},{"id":574,"kind":1024,"name":"_map","url":"classes/itslayercollection.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":575,"kind":1024,"name":"_layers","url":"classes/itslayercollection.html#_layers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":576,"kind":512,"name":"constructor","url":"classes/itslayercollection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":577,"kind":262144,"name":"layers","url":"classes/itslayercollection.html#layers","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":578,"kind":32,"name":"itsConfig","url":"globals.html#itsconfig","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":579,"kind":128,"name":"LayerGroup","url":"classes/layergroup.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":580,"kind":1024,"name":"groupLayers","url":"classes/layergroup.html#grouplayers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":581,"kind":1024,"name":"groupLayersLookup","url":"classes/layergroup.html#grouplayerslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":582,"kind":1024,"name":"groupGroupsLookup","url":"classes/layergroup.html#groupgroupslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":583,"kind":1024,"name":"groupGroups","url":"classes/layergroup.html#groupgroups","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":584,"kind":1024,"name":"itemIdArray","url":"classes/layergroup.html#itemidarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":585,"kind":1024,"name":"groupId","url":"classes/layergroup.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":586,"kind":1024,"name":"groupName","url":"classes/layergroup.html#groupname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":587,"kind":1024,"name":"allLayerArray","url":"classes/layergroup.html#alllayerarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":588,"kind":1024,"name":"parent","url":"classes/layergroup.html#parent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":589,"kind":1024,"name":"allGroupArray","url":"classes/layergroup.html#allgrouparray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":590,"kind":1024,"name":"allGroupLookup","url":"classes/layergroup.html#allgrouplookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":591,"kind":1024,"name":"allLayerLookup","url":"classes/layergroup.html#alllayerlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":592,"kind":1024,"name":"collapse","url":"classes/layergroup.html#collapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":593,"kind":1024,"name":"addCheck","url":"classes/layergroup.html#addcheck","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":594,"kind":1024,"name":"layerParentLookup","url":"classes/layergroup.html#layerparentlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":595,"kind":512,"name":"constructor","url":"classes/layergroup.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":596,"kind":2048,"name":"addGroup","url":"classes/layergroup.html#addgroup","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":597,"kind":2048,"name":"addLegendLayer","url":"classes/layergroup.html#addlegendlayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":598,"kind":2048,"name":"getLegendHtml","url":"classes/layergroup.html#getlegendhtml","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":599,"kind":2048,"name":"_buildLegend","url":"classes/layergroup.html#_buildlegend","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":600,"kind":128,"name":"LayerLegend","url":"classes/layerlegend.html","classes":"tsd-kind-class"},{"id":601,"kind":1024,"name":"$divElement","url":"classes/layerlegend.html#_divelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":602,"kind":1024,"name":"_legendItems","url":"classes/layerlegend.html#_legenditems","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":603,"kind":1024,"name":"layerGroup","url":"classes/layerlegend.html#layergroup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":604,"kind":1024,"name":"legendId","url":"classes/layerlegend.html#legendid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":605,"kind":512,"name":"constructor","url":"classes/layerlegend.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerLegend"},{"id":606,"kind":2048,"name":"_buildTree","url":"classes/layerlegend.html#_buildtree","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerLegend"},{"id":607,"kind":256,"name":"TipSliderConfig","url":"interfaces/tipsliderconfig.html","classes":"tsd-kind-interface"},{"id":608,"kind":1024,"name":"label","url":"interfaces/tipsliderconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":609,"kind":1024,"name":"yearOptions","url":"interfaces/tipsliderconfig.html#yearoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":610,"kind":256,"name":"TipPresetConfig","url":"interfaces/tippresetconfig.html","classes":"tsd-kind-interface"},{"id":611,"kind":1024,"name":"label","url":"interfaces/tippresetconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":612,"kind":1024,"name":"presets","url":"interfaces/tippresetconfig.html#presets","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":613,"kind":256,"name":"ChangeResponse","url":"interfaces/changeresponse.html","classes":"tsd-kind-interface"},{"id":614,"kind":1024,"name":"paramWeights","url":"interfaces/changeresponse.html#paramweights","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":615,"kind":1024,"name":"region","url":"interfaces/changeresponse.html#region","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":616,"kind":1024,"name":"mmVersion","url":"interfaces/changeresponse.html#mmversion","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":617,"kind":256,"name":"ChangeCallback","url":"interfaces/changecallback.html","classes":"tsd-kind-interface"},{"id":618,"kind":128,"name":"TipPresets","url":"classes/tippresets.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":619,"kind":1024,"name":"label","url":"classes/tippresets.html#label","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":620,"kind":1024,"name":"presets","url":"classes/tippresets.html#presets","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":621,"kind":1024,"name":"domId","url":"classes/tippresets.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":622,"kind":512,"name":"constructor","url":"classes/tippresets.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":623,"kind":128,"name":"_Slider","url":"classes/_slider.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":624,"kind":1024,"name":"_min","url":"classes/_slider.html#_min","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":625,"kind":1024,"name":"_max","url":"classes/_slider.html#_max","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":626,"kind":1024,"name":"_locked","url":"classes/_slider.html#_locked","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":627,"kind":1024,"name":"atMin","url":"classes/_slider.html#atmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":628,"kind":1024,"name":"atMax","url":"classes/_slider.html#atmax","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":629,"kind":1024,"name":"_weightDefault","url":"classes/_slider.html#_weightdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":630,"kind":1024,"name":"_weight","url":"classes/_slider.html#_weight","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":631,"kind":1024,"name":"html","url":"classes/_slider.html#html","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":632,"kind":1024,"name":"domId","url":"classes/_slider.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":633,"kind":1024,"name":"name","url":"classes/_slider.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":634,"kind":1024,"name":"labelLow","url":"classes/_slider.html#labellow","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":635,"kind":1024,"name":"labelHigh","url":"classes/_slider.html#labelhigh","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":636,"kind":1024,"name":"labelVal","url":"classes/_slider.html#labelval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":637,"kind":1024,"name":"slider","url":"classes/_slider.html#slider","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":638,"kind":1024,"name":"selectionBox","url":"classes/_slider.html#selectionbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":639,"kind":1024,"name":"chk","url":"classes/_slider.html#chk","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":640,"kind":1024,"name":"selectedParam","url":"classes/_slider.html#selectedparam","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":641,"kind":1024,"name":"selectedParamDefault","url":"classes/_slider.html#selectedparamdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":642,"kind":1024,"name":"_dropdownSelection","url":"classes/_slider.html#_dropdownselection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":643,"kind":512,"name":"constructor","url":"classes/_slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":644,"kind":2048,"name":"addToDom","url":"classes/_slider.html#addtodom","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":645,"kind":2048,"name":"increment","url":"classes/_slider.html#increment","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":646,"kind":2048,"name":"setValAndDropDown","url":"classes/_slider.html#setvalanddropdown","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":647,"kind":262144,"name":"locked","url":"classes/_slider.html#locked","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":648,"kind":262144,"name":"min","url":"classes/_slider.html#min","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":649,"kind":262144,"name":"max","url":"classes/_slider.html#max","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":650,"kind":262144,"name":"weight","url":"classes/_slider.html#weight","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":651,"kind":128,"name":"TipSliders","url":"classes/tipsliders.html","classes":"tsd-kind-class"},{"id":652,"kind":1024,"name":"$container","url":"classes/tipsliders.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":653,"kind":1024,"name":"reservedPercent","url":"classes/tipsliders.html#reservedpercent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":654,"kind":1024,"name":"lockedCount","url":"classes/tipsliders.html#lockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":655,"kind":1024,"name":"notLockedCount","url":"classes/tipsliders.html#notlockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":656,"kind":512,"name":"constructor","url":"classes/tipsliders.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"TipSliders"},{"id":657,"kind":2048,"name":"_runChangedCallback","url":"classes/tipsliders.html#_runchangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":658,"kind":262144,"name":"changedCallback","url":"classes/tipsliders.html#changedcallback","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"TipSliders"},{"id":659,"kind":2048,"name":"setPresetValues","url":"classes/tipsliders.html#setpresetvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":660,"kind":2048,"name":"_splitSliderArray","url":"classes/tipsliders.html#_splitsliderarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":661,"kind":2048,"name":"_handleRemainder","url":"classes/tipsliders.html#_handleremainder","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":662,"kind":2048,"name":"setValues","url":"classes/tipsliders.html#setvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":663,"kind":2048,"name":"getSum","url":"classes/tipsliders.html#getsum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":664,"kind":2048,"name":"getParams","url":"classes/tipsliders.html#getparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":665,"kind":2048,"name":"_addEventListeners","url":"classes/tipsliders.html#_addeventlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":666,"kind":262144,"name":"paramWeightsRegionVersion","url":"classes/tipsliders.html#paramweightsregionversion","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"TipSliders"},{"id":667,"kind":128,"name":"DayRange","url":"classes/dayrange.html","classes":"tsd-kind-class"},{"id":668,"kind":1024,"name":"_workingDayRange","url":"classes/dayrange.html#_workingdayrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":669,"kind":1024,"name":"_$startDate","url":"classes/dayrange.html#__startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":670,"kind":1024,"name":"_$endDate","url":"classes/dayrange.html#__enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":671,"kind":1024,"name":"_maxDateRange","url":"classes/dayrange.html#_maxdaterange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":672,"kind":1024,"name":"_startDate","url":"classes/dayrange.html#_startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":673,"kind":1024,"name":"_endDate","url":"classes/dayrange.html#_enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":674,"kind":512,"name":"constructor","url":"classes/dayrange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"DayRange"},{"id":675,"kind":262144,"name":"startDate","url":"classes/dayrange.html#startdate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":676,"kind":262144,"name":"endDate","url":"classes/dayrange.html#enddate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":677,"kind":256,"name":"rangeChangedCallback","url":"interfaces/rangechangedcallback.html","classes":"tsd-kind-interface"},{"id":678,"kind":32,"name":"mouseIn","url":"globals.html#mousein","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":679,"kind":32,"name":"mouseDown","url":"globals.html#mousedown","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":680,"kind":32,"name":"timeout","url":"globals.html#timeout","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":681,"kind":32,"name":"dragged","url":"globals.html#dragged","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":682,"kind":32,"name":"lastVal","url":"globals.html#lastval","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":683,"kind":64,"name":"triggerCallback","url":"globals.html#triggercallback","classes":"tsd-kind-function tsd-is-not-exported"},{"id":684,"kind":64,"name":"rangeChange","url":"globals.html#rangechange","classes":"tsd-kind-function"},{"id":685,"kind":256,"name":"changeFunction","url":"interfaces/changefunction.html","classes":"tsd-kind-interface"},{"id":686,"kind":256,"name":"mediaRangeConfig","url":"interfaces/mediarangeconfig.html","classes":"tsd-kind-interface"},{"id":687,"kind":1024,"name":"min","url":"interfaces/mediarangeconfig.html#min","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":688,"kind":1024,"name":"max","url":"interfaces/mediarangeconfig.html#max","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":689,"kind":1024,"name":"val","url":"interfaces/mediarangeconfig.html#val","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":690,"kind":1024,"name":"step","url":"interfaces/mediarangeconfig.html#step","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":691,"kind":1024,"name":"playInterval","url":"interfaces/mediarangeconfig.html#playinterval","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":692,"kind":1024,"name":"showAsDate","url":"interfaces/mediarangeconfig.html#showasdate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":693,"kind":128,"name":"MediaControl","url":"classes/mediacontrol.html","classes":"tsd-kind-class"},{"id":694,"kind":1024,"name":"_container","url":"classes/mediacontrol.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":695,"kind":1024,"name":"_min","url":"classes/mediacontrol.html#_min","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":696,"kind":1024,"name":"_max","url":"classes/mediacontrol.html#_max","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":697,"kind":1024,"name":"_playInterval","url":"classes/mediacontrol.html#_playinterval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":698,"kind":1024,"name":"_step","url":"classes/mediacontrol.html#_step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":699,"kind":1024,"name":"_currentValue","url":"classes/mediacontrol.html#_currentvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":700,"kind":1024,"name":"_playing","url":"classes/mediacontrol.html#_playing","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":701,"kind":1024,"name":"_$btnStop","url":"classes/mediacontrol.html#__btnstop","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":702,"kind":1024,"name":"_$slider","url":"classes/mediacontrol.html#__slider","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":703,"kind":1024,"name":"_$valLabelVal","url":"classes/mediacontrol.html#__vallabelval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":704,"kind":1024,"name":"_$valLabelMin","url":"classes/mediacontrol.html#__vallabelmin","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":705,"kind":1024,"name":"_$valLabelMax","url":"classes/mediacontrol.html#__vallabelmax","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":706,"kind":1024,"name":"_interval","url":"classes/mediacontrol.html#_interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":707,"kind":1024,"name":"_showAsDate","url":"classes/mediacontrol.html#_showasdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":708,"kind":1024,"name":"_changeFunc","url":"classes/mediacontrol.html#_changefunc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":709,"kind":512,"name":"constructor","url":"classes/mediacontrol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MediaControl"},{"id":710,"kind":2048,"name":"stopPlaying","url":"classes/mediacontrol.html#stopplaying","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":711,"kind":262144,"name":"playing","url":"classes/mediacontrol.html#playing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":712,"kind":262144,"name":"min","url":"classes/mediacontrol.html#min","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":713,"kind":262144,"name":"max","url":"classes/mediacontrol.html#max","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":714,"kind":262144,"name":"step","url":"classes/mediacontrol.html#step","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":715,"kind":262144,"name":"currentValue","url":"classes/mediacontrol.html#currentvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"MediaControl"},{"id":716,"kind":2048,"name":"setMinMaxValueStep","url":"classes/mediacontrol.html#setminmaxvaluestep","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":717,"kind":262144,"name":"changeFunction","url":"classes/mediacontrol.html#changefunction","classes":"tsd-kind-set-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":718,"kind":64,"name":"timeToLocalDateString","url":"globals.html#timetolocaldatestring","classes":"tsd-kind-function tsd-is-not-exported"},{"id":719,"kind":256,"name":"selectChangeCallback","url":"interfaces/selectchangecallback.html","classes":"tsd-kind-interface"},{"id":720,"kind":256,"name":"contentGenerator","url":"interfaces/contentgenerator.html","classes":"tsd-kind-interface"},{"id":721,"kind":128,"name":"SelectBoxBase","url":"classes/selectboxbase.html","classes":"tsd-kind-class"},{"id":722,"kind":1024,"name":"_$container","url":"classes/selectboxbase.html#__container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":723,"kind":1024,"name":"$label","url":"classes/selectboxbase.html#_label","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":724,"kind":1024,"name":"_box","url":"classes/selectboxbase.html#_box","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":725,"kind":1024,"name":"_changeListeners","url":"classes/selectboxbase.html#_changelisteners","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":726,"kind":512,"name":"constructor","url":"classes/selectboxbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":727,"kind":262144,"name":"box","url":"classes/selectboxbase.html#box","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":728,"kind":2048,"name":"changed","url":"classes/selectboxbase.html#changed","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":729,"kind":2048,"name":"addChangeListener","url":"classes/selectboxbase.html#addchangelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":730,"kind":262144,"name":"selectedValue","url":"classes/selectboxbase.html#selectedvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":731,"kind":262144,"name":"selectedText","url":"classes/selectboxbase.html#selectedtext","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":732,"kind":256,"name":"LayerBaseVectorEsriOptions","url":"interfaces/layerbasevectoresrioptions.html","classes":"tsd-kind-interface"},{"id":733,"kind":1024,"name":"format","url":"interfaces/layerbasevectoresrioptions.html#format","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":734,"kind":1024,"name":"outSR","url":"interfaces/layerbasevectoresrioptions.html#outsr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":735,"kind":1024,"name":"where","url":"interfaces/layerbasevectoresrioptions.html#where","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":736,"kind":1024,"name":"outFields","url":"interfaces/layerbasevectoresrioptions.html#outfields","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":737,"kind":1024,"name":"useEsriStyle","url":"interfaces/layerbasevectoresrioptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":738,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoresrioptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":739,"kind":1024,"name":"style","url":"interfaces/layerbasevectoresrioptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":740,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoresrioptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":741,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoresrioptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":742,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoresrioptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":743,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoresrioptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":744,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoresrioptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":745,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoresrioptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorEsriOptions.renderOrder"},{"id":746,"kind":1024,"name":"id","url":"interfaces/layerbasevectoresrioptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":747,"kind":1024,"name":"name","url":"interfaces/layerbasevectoresrioptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":748,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoresrioptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":749,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoresrioptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":750,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoresrioptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":751,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoresrioptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":752,"kind":1024,"name":"params","url":"interfaces/layerbasevectoresrioptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":753,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoresrioptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":754,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoresrioptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":755,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoresrioptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":756,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoresrioptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":757,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoresrioptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":758,"kind":128,"name":"LayerBaseVectorEsri","url":"classes/layerbasevectoresri.html","classes":"tsd-kind-class"},{"id":759,"kind":1024,"name":"_outSR","url":"classes/layerbasevectoresri.html#_outsr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":760,"kind":1024,"name":"_esriFormat","url":"classes/layerbasevectoresri.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":761,"kind":1024,"name":"_urlCopy","url":"classes/layerbasevectoresri.html#_urlcopy","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":762,"kind":1024,"name":"_useEsriStyle","url":"classes/layerbasevectoresri.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":763,"kind":512,"name":"constructor","url":"classes/layerbasevectoresri.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":764,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectoresri.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":765,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectoresri.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":766,"kind":2048,"name":"_load","url":"classes/layerbasevectoresri.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":767,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":768,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectoresri.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":769,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectoresri.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":770,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectoresri.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":771,"kind":1024,"name":"_source","url":"classes/layerbasevectoresri.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":772,"kind":1024,"name":"_style","url":"classes/layerbasevectoresri.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":773,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectoresri.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":774,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectoresri.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":775,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectoresri.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":776,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":777,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectoresri.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":778,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectoresri.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":779,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectoresri.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":780,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectoresri.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":781,"kind":2048,"name":"clear","url":"classes/layerbasevectoresri.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":782,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectoresri.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":783,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectoresri.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":784,"kind":262144,"name":"style","url":"classes/layerbasevectoresri.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":785,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectoresri.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":786,"kind":262144,"name":"mapProj","url":"classes/layerbasevectoresri.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":787,"kind":262144,"name":"mapMove","url":"classes/layerbasevectoresri.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":788,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectoresri.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":789,"kind":262144,"name":"visible","url":"classes/layerbasevectoresri.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":790,"kind":262144,"name":"source","url":"classes/layerbasevectoresri.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":791,"kind":262144,"name":"features","url":"classes/layerbasevectoresri.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":792,"kind":262144,"name":"olLayer","url":"classes/layerbasevectoresri.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":793,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectoresri.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":794,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectoresri.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":795,"kind":1024,"name":"_url","url":"classes/layerbasevectoresri.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":796,"kind":1024,"name":"_opacity","url":"classes/layerbasevectoresri.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":797,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectoresri.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":798,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectoresri.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":799,"kind":1024,"name":"_visible","url":"classes/layerbasevectoresri.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":800,"kind":1024,"name":"_loaded","url":"classes/layerbasevectoresri.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":801,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectoresri.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":802,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectoresri.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":803,"kind":1024,"name":"_params","url":"classes/layerbasevectoresri.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":804,"kind":1024,"name":"_id","url":"classes/layerbasevectoresri.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":805,"kind":1024,"name":"_name","url":"classes/layerbasevectoresri.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":806,"kind":1024,"name":"_animate","url":"classes/layerbasevectoresri.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":807,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectoresri.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":808,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectoresri.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":809,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectoresri.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":810,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectoresri.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":811,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectoresri.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":812,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectoresri.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":813,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectoresri.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":814,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectoresri.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorEsri"},{"id":815,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectoresri.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":816,"kind":2048,"name":"refresh","url":"classes/layerbasevectoresri.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":817,"kind":262144,"name":"id","url":"classes/layerbasevectoresri.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":818,"kind":262144,"name":"animate","url":"classes/layerbasevectoresri.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":819,"kind":262144,"name":"legendContent","url":"classes/layerbasevectoresri.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":820,"kind":262144,"name":"params","url":"classes/layerbasevectoresri.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":821,"kind":262144,"name":"minResolution","url":"classes/layerbasevectoresri.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":822,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectoresri.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":823,"kind":262144,"name":"minZoom","url":"classes/layerbasevectoresri.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":824,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectoresri.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":825,"kind":262144,"name":"url","url":"classes/layerbasevectoresri.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":826,"kind":2048,"name":"setVisible","url":"classes/layerbasevectoresri.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":827,"kind":262144,"name":"opacity","url":"classes/layerbasevectoresri.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":828,"kind":262144,"name":"name","url":"classes/layerbasevectoresri.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":829,"kind":262144,"name":"loaded","url":"classes/layerbasevectoresri.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":830,"kind":2048,"name":"getSource","url":"classes/layerbasevectoresri.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":831,"kind":262144,"name":"zIndex","url":"classes/layerbasevectoresri.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":832,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectoresri.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":833,"kind":128,"name":"LayerBaseXyzTile","url":"classes/layerbasexyztile.html","classes":"tsd-kind-class"},{"id":834,"kind":512,"name":"constructor","url":"classes/layerbasexyztile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":835,"kind":262144,"name":"source","url":"classes/layerbasexyztile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":836,"kind":262144,"name":"olLayer","url":"classes/layerbasexyztile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":837,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasexyztile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":838,"kind":1024,"name":"_url","url":"classes/layerbasexyztile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":839,"kind":1024,"name":"_opacity","url":"classes/layerbasexyztile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":840,"kind":1024,"name":"_minZoom","url":"classes/layerbasexyztile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":841,"kind":1024,"name":"_maxZoom","url":"classes/layerbasexyztile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":842,"kind":1024,"name":"_visible","url":"classes/layerbasexyztile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":843,"kind":1024,"name":"_loaded","url":"classes/layerbasexyztile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":844,"kind":1024,"name":"_zIndex","url":"classes/layerbasexyztile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":845,"kind":1024,"name":"_legendContent","url":"classes/layerbasexyztile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":846,"kind":1024,"name":"_params","url":"classes/layerbasexyztile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":847,"kind":1024,"name":"_id","url":"classes/layerbasexyztile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":848,"kind":1024,"name":"_name","url":"classes/layerbasexyztile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":849,"kind":1024,"name":"_source","url":"classes/layerbasexyztile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":850,"kind":1024,"name":"_animate","url":"classes/layerbasexyztile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":851,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasexyztile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":852,"kind":1024,"name":"_maxResolution","url":"classes/layerbasexyztile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":853,"kind":1024,"name":"_minResolution","url":"classes/layerbasexyztile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":854,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasexyztile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":855,"kind":1024,"name":"loadCallback","url":"classes/layerbasexyztile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":856,"kind":1024,"name":"_olLayer","url":"classes/layerbasexyztile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":857,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasexyztile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":858,"kind":2048,"name":"_load","url":"classes/layerbasexyztile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":859,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasexyztile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":860,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasexyztile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseXyzTile"},{"id":861,"kind":2048,"name":"addLegendContent","url":"classes/layerbasexyztile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":862,"kind":2048,"name":"applyCollapse","url":"classes/layerbasexyztile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":863,"kind":2048,"name":"refresh","url":"classes/layerbasexyztile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":864,"kind":262144,"name":"id","url":"classes/layerbasexyztile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":865,"kind":262144,"name":"animate","url":"classes/layerbasexyztile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":866,"kind":262144,"name":"legendContent","url":"classes/layerbasexyztile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":867,"kind":262144,"name":"params","url":"classes/layerbasexyztile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":868,"kind":262144,"name":"minResolution","url":"classes/layerbasexyztile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":869,"kind":262144,"name":"maxResolution","url":"classes/layerbasexyztile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":870,"kind":262144,"name":"minZoom","url":"classes/layerbasexyztile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":871,"kind":262144,"name":"maxZoom","url":"classes/layerbasexyztile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":872,"kind":262144,"name":"url","url":"classes/layerbasexyztile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":873,"kind":262144,"name":"visible","url":"classes/layerbasexyztile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":874,"kind":2048,"name":"setVisible","url":"classes/layerbasexyztile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":875,"kind":262144,"name":"opacity","url":"classes/layerbasexyztile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":876,"kind":262144,"name":"name","url":"classes/layerbasexyztile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":877,"kind":262144,"name":"loaded","url":"classes/layerbasexyztile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":878,"kind":2048,"name":"getSource","url":"classes/layerbasexyztile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":879,"kind":262144,"name":"zIndex","url":"classes/layerbasexyztile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":880,"kind":2048,"name":"setZIndex","url":"classes/layerbasexyztile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":881,"kind":2048,"name":"getOlLayer","url":"classes/layerbasexyztile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":882,"kind":256,"name":"LayerEsriTileOptions","url":"interfaces/layeresritileoptions.html","classes":"tsd-kind-interface"},{"id":883,"kind":1024,"name":"useEsriStyle","url":"interfaces/layeresritileoptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriTileOptions"},{"id":884,"kind":1024,"name":"id","url":"interfaces/layeresritileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":885,"kind":1024,"name":"name","url":"interfaces/layeresritileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":886,"kind":1024,"name":"opacity","url":"interfaces/layeresritileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":887,"kind":1024,"name":"visible","url":"interfaces/layeresritileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":888,"kind":1024,"name":"minZoom","url":"interfaces/layeresritileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":889,"kind":1024,"name":"maxZoom","url":"interfaces/layeresritileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":890,"kind":1024,"name":"params","url":"interfaces/layeresritileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":891,"kind":1024,"name":"zIndex","url":"interfaces/layeresritileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":892,"kind":1024,"name":"loadCallback","url":"interfaces/layeresritileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":893,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresritileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":894,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresritileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":895,"kind":1024,"name":"legendContent","url":"interfaces/layeresritileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":896,"kind":128,"name":"LayerEsriTile","url":"classes/layeresritile.html","classes":"tsd-kind-class"},{"id":897,"kind":1024,"name":"_useEsriStyle","url":"classes/layeresritile.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriTile"},{"id":898,"kind":512,"name":"constructor","url":"classes/layeresritile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":899,"kind":2048,"name":"addLegendContent","url":"classes/layeresritile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":900,"kind":262144,"name":"source","url":"classes/layeresritile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":901,"kind":262144,"name":"olLayer","url":"classes/layeresritile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":902,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresritile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":903,"kind":1024,"name":"_url","url":"classes/layeresritile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":904,"kind":1024,"name":"_opacity","url":"classes/layeresritile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":905,"kind":1024,"name":"_minZoom","url":"classes/layeresritile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":906,"kind":1024,"name":"_maxZoom","url":"classes/layeresritile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":907,"kind":1024,"name":"_visible","url":"classes/layeresritile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":908,"kind":1024,"name":"_loaded","url":"classes/layeresritile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":909,"kind":1024,"name":"_zIndex","url":"classes/layeresritile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":910,"kind":1024,"name":"_legendContent","url":"classes/layeresritile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":911,"kind":1024,"name":"_params","url":"classes/layeresritile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":912,"kind":1024,"name":"_id","url":"classes/layeresritile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":913,"kind":1024,"name":"_name","url":"classes/layeresritile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":914,"kind":1024,"name":"_source","url":"classes/layeresritile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":915,"kind":1024,"name":"_animate","url":"classes/layeresritile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":916,"kind":1024,"name":"_legendCollapse","url":"classes/layeresritile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":917,"kind":1024,"name":"_maxResolution","url":"classes/layeresritile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":918,"kind":1024,"name":"_minResolution","url":"classes/layeresritile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":919,"kind":1024,"name":"_$legendDiv","url":"classes/layeresritile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":920,"kind":1024,"name":"loadCallback","url":"classes/layeresritile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":921,"kind":1024,"name":"_olLayer","url":"classes/layeresritile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":922,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresritile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":923,"kind":2048,"name":"_load","url":"classes/layeresritile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":924,"kind":2048,"name":"getLegendDiv","url":"classes/layeresritile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":925,"kind":2048,"name":"_addLegendContent","url":"classes/layeresritile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriTile"},{"id":926,"kind":2048,"name":"applyCollapse","url":"classes/layeresritile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":927,"kind":2048,"name":"refresh","url":"classes/layeresritile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":928,"kind":262144,"name":"id","url":"classes/layeresritile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":929,"kind":262144,"name":"animate","url":"classes/layeresritile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":930,"kind":262144,"name":"legendContent","url":"classes/layeresritile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":931,"kind":262144,"name":"params","url":"classes/layeresritile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":932,"kind":262144,"name":"minResolution","url":"classes/layeresritile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":933,"kind":262144,"name":"maxResolution","url":"classes/layeresritile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":934,"kind":262144,"name":"minZoom","url":"classes/layeresritile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":935,"kind":262144,"name":"maxZoom","url":"classes/layeresritile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":936,"kind":262144,"name":"url","url":"classes/layeresritile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":937,"kind":262144,"name":"visible","url":"classes/layeresritile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":938,"kind":2048,"name":"setVisible","url":"classes/layeresritile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":939,"kind":262144,"name":"opacity","url":"classes/layeresritile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":940,"kind":262144,"name":"name","url":"classes/layeresritile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":941,"kind":262144,"name":"loaded","url":"classes/layeresritile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":942,"kind":2048,"name":"getSource","url":"classes/layeresritile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":943,"kind":262144,"name":"zIndex","url":"classes/layeresritile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":944,"kind":2048,"name":"setZIndex","url":"classes/layeresritile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":945,"kind":2048,"name":"getOlLayer","url":"classes/layeresritile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":946,"kind":128,"name":"RealEarthAnimateVector","url":"classes/realearthanimatevector.html","classes":"tsd-kind-class"},{"id":947,"kind":1024,"name":"_dataCache","url":"classes/realearthanimatevector.html#_datacache","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":948,"kind":1024,"name":"_source","url":"classes/realearthanimatevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":949,"kind":1024,"name":"_rawTimesLookup","url":"classes/realearthanimatevector.html#_rawtimeslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":950,"kind":65536,"name":"__type","url":"classes/realearthanimatevector.html#_rawtimeslookup.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"RealEarthAnimateVector._rawTimesLookup"},{"id":951,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatevector.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":952,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":953,"kind":1024,"name":"_lyr","url":"classes/realearthanimatevector.html#_lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":954,"kind":512,"name":"constructor","url":"classes/realearthanimatevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":955,"kind":2048,"name":"timeInit","url":"classes/realearthanimatevector.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":956,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatevector.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":957,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatevector.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":958,"kind":2048,"name":"_loadAtTimeIndex","url":"classes/realearthanimatevector.html#_loadattimeindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":959,"kind":2048,"name":"_loadFeatures","url":"classes/realearthanimatevector.html#_loadfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":960,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatevector.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":961,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatevector.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":962,"kind":1024,"name":"_localDates","url":"classes/realearthanimatevector.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":963,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatevector.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":964,"kind":1024,"name":"_products","url":"classes/realearthanimatevector.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":965,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":966,"kind":1024,"name":"localTimes","url":"classes/realearthanimatevector.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":967,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatevector.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":968,"kind":1024,"name":"lyr","url":"classes/realearthanimatevector.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":969,"kind":256,"name":"LayerVectorRealEarthOptions","url":"interfaces/layervectorrealearthoptions.html","classes":"tsd-kind-interface"},{"id":970,"kind":1024,"name":"products","url":"interfaces/layervectorrealearthoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":971,"kind":1024,"name":"animate","url":"interfaces/layervectorrealearthoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":972,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layervectorrealearthoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":973,"kind":1024,"name":"transform","url":"interfaces/layervectorrealearthoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":974,"kind":1024,"name":"mapMoveObj","url":"interfaces/layervectorrealearthoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":975,"kind":1024,"name":"autoLoad","url":"interfaces/layervectorrealearthoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":976,"kind":1024,"name":"style","url":"interfaces/layervectorrealearthoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":977,"kind":1024,"name":"onDemand","url":"interfaces/layervectorrealearthoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":978,"kind":1024,"name":"onDemandDelay","url":"interfaces/layervectorrealearthoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":979,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layervectorrealearthoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":980,"kind":1024,"name":"renderOrder","url":"interfaces/layervectorrealearthoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":981,"kind":65536,"name":"__type","url":"interfaces/layervectorrealearthoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerVectorRealEarthOptions.renderOrder"},{"id":982,"kind":1024,"name":"id","url":"interfaces/layervectorrealearthoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":983,"kind":1024,"name":"name","url":"interfaces/layervectorrealearthoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":984,"kind":1024,"name":"opacity","url":"interfaces/layervectorrealearthoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":985,"kind":1024,"name":"visible","url":"interfaces/layervectorrealearthoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":986,"kind":1024,"name":"minZoom","url":"interfaces/layervectorrealearthoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":987,"kind":1024,"name":"maxZoom","url":"interfaces/layervectorrealearthoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":988,"kind":1024,"name":"params","url":"interfaces/layervectorrealearthoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":989,"kind":1024,"name":"zIndex","url":"interfaces/layervectorrealearthoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":990,"kind":1024,"name":"loadCallback","url":"interfaces/layervectorrealearthoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":991,"kind":1024,"name":"legendCollapse","url":"interfaces/layervectorrealearthoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":992,"kind":1024,"name":"legendCheckbox","url":"interfaces/layervectorrealearthoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":993,"kind":1024,"name":"legendContent","url":"interfaces/layervectorrealearthoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":994,"kind":128,"name":"LayerVectorRealEarth","url":"classes/layervectorrealearth.html","classes":"tsd-kind-class"},{"id":995,"kind":1024,"name":"_products","url":"classes/layervectorrealearth.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":996,"kind":1024,"name":"animator","url":"classes/layervectorrealearth.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":997,"kind":512,"name":"constructor","url":"classes/layervectorrealearth.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":998,"kind":2048,"name":"setLayerTime","url":"classes/layervectorrealearth.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":999,"kind":2048,"name":"_load","url":"classes/layervectorrealearth.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":1000,"kind":1024,"name":"_geoJsonFormat","url":"classes/layervectorrealearth.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1001,"kind":1024,"name":"_transform","url":"classes/layervectorrealearth.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1002,"kind":2048,"name":"addFeatures","url":"classes/layervectorrealearth.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1003,"kind":2048,"name":"mapMoveCallback","url":"classes/layervectorrealearth.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1004,"kind":1024,"name":"_olLayer","url":"classes/layervectorrealearth.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1005,"kind":1024,"name":"_source","url":"classes/layervectorrealearth.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1006,"kind":1024,"name":"_style","url":"classes/layervectorrealearth.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1007,"kind":1024,"name":"_autoLoad","url":"classes/layervectorrealearth.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1008,"kind":1024,"name":"_onDemand","url":"classes/layervectorrealearth.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1009,"kind":1024,"name":"_onDemandDelay","url":"classes/layervectorrealearth.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1010,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1011,"kind":1024,"name":"_mapMoveParams","url":"classes/layervectorrealearth.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1012,"kind":1024,"name":"_mapMove","url":"classes/layervectorrealearth.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1013,"kind":1024,"name":"_projectionMap","url":"classes/layervectorrealearth.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1014,"kind":1024,"name":"_projection4326","url":"classes/layervectorrealearth.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1015,"kind":2048,"name":"mapMoveBefore","url":"classes/layervectorrealearth.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1016,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1017,"kind":2048,"name":"clear","url":"classes/layervectorrealearth.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1018,"kind":262144,"name":"onDemandDelay","url":"classes/layervectorrealearth.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1019,"kind":262144,"name":"autoLoad","url":"classes/layervectorrealearth.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1020,"kind":262144,"name":"style","url":"classes/layervectorrealearth.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1021,"kind":262144,"name":"mapCrs","url":"classes/layervectorrealearth.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1022,"kind":262144,"name":"mapProj","url":"classes/layervectorrealearth.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1023,"kind":262144,"name":"mapMove","url":"classes/layervectorrealearth.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1024,"kind":262144,"name":"mapMoveParams","url":"classes/layervectorrealearth.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1025,"kind":262144,"name":"visible","url":"classes/layervectorrealearth.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1026,"kind":262144,"name":"source","url":"classes/layervectorrealearth.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1027,"kind":262144,"name":"features","url":"classes/layervectorrealearth.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1028,"kind":262144,"name":"olLayer","url":"classes/layervectorrealearth.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1029,"kind":2048,"name":"setZIndex","url":"classes/layervectorrealearth.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1030,"kind":1024,"name":"_legendCheckbox","url":"classes/layervectorrealearth.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1031,"kind":1024,"name":"_url","url":"classes/layervectorrealearth.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1032,"kind":1024,"name":"_opacity","url":"classes/layervectorrealearth.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1033,"kind":1024,"name":"_minZoom","url":"classes/layervectorrealearth.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1034,"kind":1024,"name":"_maxZoom","url":"classes/layervectorrealearth.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1035,"kind":1024,"name":"_visible","url":"classes/layervectorrealearth.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1036,"kind":1024,"name":"_loaded","url":"classes/layervectorrealearth.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1037,"kind":1024,"name":"_zIndex","url":"classes/layervectorrealearth.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1038,"kind":1024,"name":"_legendContent","url":"classes/layervectorrealearth.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1039,"kind":1024,"name":"_params","url":"classes/layervectorrealearth.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1040,"kind":1024,"name":"_id","url":"classes/layervectorrealearth.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1041,"kind":1024,"name":"_name","url":"classes/layervectorrealearth.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1042,"kind":1024,"name":"_animate","url":"classes/layervectorrealearth.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1043,"kind":1024,"name":"_legendCollapse","url":"classes/layervectorrealearth.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1044,"kind":1024,"name":"_maxResolution","url":"classes/layervectorrealearth.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1045,"kind":1024,"name":"_minResolution","url":"classes/layervectorrealearth.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1046,"kind":1024,"name":"_$legendDiv","url":"classes/layervectorrealearth.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1047,"kind":1024,"name":"loadCallback","url":"classes/layervectorrealearth.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1048,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layervectorrealearth.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1049,"kind":2048,"name":"getLegendDiv","url":"classes/layervectorrealearth.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1050,"kind":2048,"name":"_addLegendContent","url":"classes/layervectorrealearth.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerVectorRealEarth"},{"id":1051,"kind":2048,"name":"addLegendContent","url":"classes/layervectorrealearth.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1052,"kind":2048,"name":"applyCollapse","url":"classes/layervectorrealearth.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1053,"kind":2048,"name":"refresh","url":"classes/layervectorrealearth.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1054,"kind":262144,"name":"id","url":"classes/layervectorrealearth.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1055,"kind":262144,"name":"animate","url":"classes/layervectorrealearth.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1056,"kind":262144,"name":"legendContent","url":"classes/layervectorrealearth.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1057,"kind":262144,"name":"params","url":"classes/layervectorrealearth.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1058,"kind":262144,"name":"minResolution","url":"classes/layervectorrealearth.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1059,"kind":262144,"name":"maxResolution","url":"classes/layervectorrealearth.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1060,"kind":262144,"name":"minZoom","url":"classes/layervectorrealearth.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1061,"kind":262144,"name":"maxZoom","url":"classes/layervectorrealearth.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1062,"kind":262144,"name":"url","url":"classes/layervectorrealearth.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1063,"kind":2048,"name":"setVisible","url":"classes/layervectorrealearth.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1064,"kind":262144,"name":"opacity","url":"classes/layervectorrealearth.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1065,"kind":262144,"name":"name","url":"classes/layervectorrealearth.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1066,"kind":262144,"name":"loaded","url":"classes/layervectorrealearth.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1067,"kind":2048,"name":"getSource","url":"classes/layervectorrealearth.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1068,"kind":262144,"name":"zIndex","url":"classes/layervectorrealearth.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1069,"kind":2048,"name":"getOlLayer","url":"classes/layervectorrealearth.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1070,"kind":256,"name":"IRealEarthAnimate","url":"interfaces/irealearthanimate.html","classes":"tsd-kind-interface"},{"id":1071,"kind":2048,"name":"setLayerTime","url":"interfaces/irealearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IRealEarthAnimate"},{"id":1072,"kind":256,"name":"timesLoadedCallback","url":"interfaces/timesloadedcallback.html","classes":"tsd-kind-interface"},{"id":1073,"kind":128,"name":"RealEarthAnimate","url":"classes/realearthanimate.html","classes":"tsd-kind-class"},{"id":1074,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimate.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1075,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimate.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1076,"kind":1024,"name":"_localDates","url":"classes/realearthanimate.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1077,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimate.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1078,"kind":1024,"name":"_products","url":"classes/realearthanimate.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1079,"kind":1024,"name":"loadCallback","url":"classes/realearthanimate.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1080,"kind":1024,"name":"localTimes","url":"classes/realearthanimate.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1081,"kind":1024,"name":"_currentTime","url":"classes/realearthanimate.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1082,"kind":1024,"name":"lyr","url":"classes/realearthanimate.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1083,"kind":512,"name":"constructor","url":"classes/realearthanimate.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1084,"kind":2048,"name":"timeInit","url":"classes/realearthanimate.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1085,"kind":2048,"name":"_loadDates","url":"classes/realearthanimate.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1086,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimate.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1087,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1088,"kind":32,"name":"offsetMinutes","url":"globals.html#offsetminutes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":1089,"kind":128,"name":"RealEarthAnimateTile","url":"classes/realearthanimatetile.html","classes":"tsd-kind-class"},{"id":1090,"kind":1024,"name":"_sourceUrls","url":"classes/realearthanimatetile.html#_sourceurls","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1091,"kind":1024,"name":"_source","url":"classes/realearthanimatetile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1092,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatetile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1093,"kind":512,"name":"constructor","url":"classes/realearthanimatetile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1094,"kind":2048,"name":"timeInit","url":"classes/realearthanimatetile.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1095,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatetile.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1096,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatetile.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateTile"},{"id":1097,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatetile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1098,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatetile.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1099,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatetile.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1100,"kind":1024,"name":"_localDates","url":"classes/realearthanimatetile.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1101,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatetile.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1102,"kind":1024,"name":"_products","url":"classes/realearthanimatetile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1103,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatetile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1104,"kind":1024,"name":"localTimes","url":"classes/realearthanimatetile.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1105,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatetile.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1106,"kind":1024,"name":"lyr","url":"classes/realearthanimatetile.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1107,"kind":256,"name":"LayerRealEarthTileOptions","url":"interfaces/layerrealearthtileoptions.html","classes":"tsd-kind-interface"},{"id":1108,"kind":1024,"name":"products","url":"interfaces/layerrealearthtileoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1109,"kind":1024,"name":"animate","url":"interfaces/layerrealearthtileoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1110,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layerrealearthtileoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1111,"kind":1024,"name":"id","url":"interfaces/layerrealearthtileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1112,"kind":1024,"name":"name","url":"interfaces/layerrealearthtileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1113,"kind":1024,"name":"opacity","url":"interfaces/layerrealearthtileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1114,"kind":1024,"name":"visible","url":"interfaces/layerrealearthtileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1115,"kind":1024,"name":"minZoom","url":"interfaces/layerrealearthtileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1116,"kind":1024,"name":"maxZoom","url":"interfaces/layerrealearthtileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1117,"kind":1024,"name":"params","url":"interfaces/layerrealearthtileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1118,"kind":1024,"name":"zIndex","url":"interfaces/layerrealearthtileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1119,"kind":1024,"name":"loadCallback","url":"interfaces/layerrealearthtileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1120,"kind":1024,"name":"legendCollapse","url":"interfaces/layerrealearthtileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1121,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerrealearthtileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1122,"kind":1024,"name":"legendContent","url":"interfaces/layerrealearthtileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1123,"kind":128,"name":"LayerRealEarthTile","url":"classes/layerrealearthtile.html","classes":"tsd-kind-class"},{"id":1124,"kind":1024,"name":"_products","url":"classes/layerrealearthtile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1125,"kind":1024,"name":"animator","url":"classes/layerrealearthtile.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1126,"kind":512,"name":"constructor","url":"classes/layerrealearthtile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1127,"kind":2048,"name":"setLayerTime","url":"classes/layerrealearthtile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1128,"kind":2048,"name":"_load","url":"classes/layerrealearthtile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1129,"kind":262144,"name":"source","url":"classes/layerrealearthtile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1130,"kind":262144,"name":"olLayer","url":"classes/layerrealearthtile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1131,"kind":1024,"name":"_legendCheckbox","url":"classes/layerrealearthtile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1132,"kind":1024,"name":"_url","url":"classes/layerrealearthtile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1133,"kind":1024,"name":"_opacity","url":"classes/layerrealearthtile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1134,"kind":1024,"name":"_minZoom","url":"classes/layerrealearthtile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1135,"kind":1024,"name":"_maxZoom","url":"classes/layerrealearthtile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1136,"kind":1024,"name":"_visible","url":"classes/layerrealearthtile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1137,"kind":1024,"name":"_loaded","url":"classes/layerrealearthtile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1138,"kind":1024,"name":"_zIndex","url":"classes/layerrealearthtile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1139,"kind":1024,"name":"_legendContent","url":"classes/layerrealearthtile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1140,"kind":1024,"name":"_params","url":"classes/layerrealearthtile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1141,"kind":1024,"name":"_id","url":"classes/layerrealearthtile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1142,"kind":1024,"name":"_name","url":"classes/layerrealearthtile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1143,"kind":1024,"name":"_source","url":"classes/layerrealearthtile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1144,"kind":1024,"name":"_animate","url":"classes/layerrealearthtile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1145,"kind":1024,"name":"_legendCollapse","url":"classes/layerrealearthtile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1146,"kind":1024,"name":"_maxResolution","url":"classes/layerrealearthtile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1147,"kind":1024,"name":"_minResolution","url":"classes/layerrealearthtile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1148,"kind":1024,"name":"_$legendDiv","url":"classes/layerrealearthtile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1149,"kind":1024,"name":"loadCallback","url":"classes/layerrealearthtile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1150,"kind":1024,"name":"_olLayer","url":"classes/layerrealearthtile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1151,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerrealearthtile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1152,"kind":2048,"name":"getLegendDiv","url":"classes/layerrealearthtile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1153,"kind":2048,"name":"_addLegendContent","url":"classes/layerrealearthtile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerRealEarthTile"},{"id":1154,"kind":2048,"name":"addLegendContent","url":"classes/layerrealearthtile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1155,"kind":2048,"name":"applyCollapse","url":"classes/layerrealearthtile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1156,"kind":2048,"name":"refresh","url":"classes/layerrealearthtile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1157,"kind":262144,"name":"id","url":"classes/layerrealearthtile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1158,"kind":262144,"name":"animate","url":"classes/layerrealearthtile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1159,"kind":262144,"name":"legendContent","url":"classes/layerrealearthtile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1160,"kind":262144,"name":"params","url":"classes/layerrealearthtile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1161,"kind":262144,"name":"minResolution","url":"classes/layerrealearthtile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1162,"kind":262144,"name":"maxResolution","url":"classes/layerrealearthtile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1163,"kind":262144,"name":"minZoom","url":"classes/layerrealearthtile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1164,"kind":262144,"name":"maxZoom","url":"classes/layerrealearthtile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1165,"kind":262144,"name":"url","url":"classes/layerrealearthtile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1166,"kind":262144,"name":"visible","url":"classes/layerrealearthtile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1167,"kind":2048,"name":"setVisible","url":"classes/layerrealearthtile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1168,"kind":262144,"name":"opacity","url":"classes/layerrealearthtile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1169,"kind":262144,"name":"name","url":"classes/layerrealearthtile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1170,"kind":262144,"name":"loaded","url":"classes/layerrealearthtile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1171,"kind":2048,"name":"getSource","url":"classes/layerrealearthtile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1172,"kind":262144,"name":"zIndex","url":"classes/layerrealearthtile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1173,"kind":2048,"name":"setZIndex","url":"classes/layerrealearthtile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1174,"kind":2048,"name":"getOlLayer","url":"classes/layerrealearthtile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1175,"kind":64,"name":"calculateExtent","url":"globals.html#calculateextent","classes":"tsd-kind-function"},{"id":1176,"kind":64,"name":"fitToMap","url":"globals.html#fittomap","classes":"tsd-kind-function"},{"id":1177,"kind":128,"name":"LayerSwipe","url":"classes/layerswipe.html","classes":"tsd-kind-class"},{"id":1178,"kind":1024,"name":"leftLayers","url":"classes/layerswipe.html#leftlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1179,"kind":1024,"name":"rightLayers","url":"classes/layerswipe.html#rightlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1180,"kind":1024,"name":"_percentRight","url":"classes/layerswipe.html#_percentright","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1181,"kind":1024,"name":"_map","url":"classes/layerswipe.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1182,"kind":1024,"name":"$mapElement","url":"classes/layerswipe.html#_mapelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1183,"kind":1024,"name":"$swiper","url":"classes/layerswipe.html#_swiper","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1184,"kind":1024,"name":"dragging","url":"classes/layerswipe.html#dragging","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1185,"kind":1024,"name":"offset","url":"classes/layerswipe.html#offset","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1186,"kind":512,"name":"constructor","url":"classes/layerswipe.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1187,"kind":2048,"name":"addLeftLayer","url":"classes/layerswipe.html#addleftlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1188,"kind":2048,"name":"addRightLayer","url":"classes/layerswipe.html#addrightlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1189,"kind":262144,"name":"percentRight","url":"classes/layerswipe.html#percentright","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1190,"kind":256,"name":"quickMapOptions","url":"interfaces/quickmapoptions.html","classes":"tsd-kind-interface"},{"id":1191,"kind":1024,"name":"divId","url":"interfaces/quickmapoptions.html#divid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1192,"kind":1024,"name":"center","url":"interfaces/quickmapoptions.html#center","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1193,"kind":65536,"name":"__type","url":"interfaces/quickmapoptions.html#center.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"quickMapOptions.center"},{"id":1194,"kind":32,"name":"x","url":"interfaces/quickmapoptions.html#center.__type.x","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1195,"kind":32,"name":"y","url":"interfaces/quickmapoptions.html#center.__type.y","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1196,"kind":1024,"name":"zoom","url":"interfaces/quickmapoptions.html#zoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1197,"kind":1024,"name":"minZoom","url":"interfaces/quickmapoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1198,"kind":1024,"name":"maxZoom","url":"interfaces/quickmapoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1199,"kind":1024,"name":"baseSwitcher","url":"interfaces/quickmapoptions.html#baseswitcher","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1200,"kind":1024,"name":"fullScreen","url":"interfaces/quickmapoptions.html#fullscreen","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1201,"kind":64,"name":"quickMapBase","url":"globals.html#quickmapbase","classes":"tsd-kind-function"},{"id":1202,"kind":64,"name":"quickMap","url":"globals.html#quickmap","classes":"tsd-kind-function"},{"id":1203,"kind":64,"name":"quickMapMulti","url":"globals.html#quickmapmulti","classes":"tsd-kind-function"},{"id":1204,"kind":128,"name":"SortedFeatures","url":"classes/sortedfeatures.html","classes":"tsd-kind-class"},{"id":1205,"kind":1024,"name":"sortedFeatures","url":"classes/sortedfeatures.html#sortedfeatures-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1206,"kind":1024,"name":"propertyName","url":"classes/sortedfeatures.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1207,"kind":1024,"name":"_propertyType","url":"classes/sortedfeatures.html#_propertytype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1208,"kind":512,"name":"constructor","url":"classes/sortedfeatures.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1209,"kind":2048,"name":"getFeature","url":"classes/sortedfeatures.html#getfeature","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1210,"kind":2,"name":"checkDefined","url":"modules/checkdefined.html","classes":"tsd-kind-module"},{"id":1211,"kind":32,"name":"undefinedOrNull","url":"modules/checkdefined.html#undefinedornull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1212,"kind":32,"name":"definedAndNotNull","url":"modules/checkdefined.html#definedandnotnull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1213,"kind":64,"name":"leadingPad","url":"globals.html#leadingpad","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1214,"kind":64,"name":"dateToYyyyMmDdHhMmSs","url":"globals.html#datetoyyyymmddhhmmss","classes":"tsd-kind-function"},{"id":1215,"kind":64,"name":"dateToYyyyMmDdHh000","url":"globals.html#datetoyyyymmddhh000","classes":"tsd-kind-function"},{"id":1216,"kind":64,"name":"isNumber","url":"globals.html#isnumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1217,"kind":64,"name":"getUrlParams","url":"globals.html#geturlparams","classes":"tsd-kind-function"},{"id":1218,"kind":256,"name":"keyVals","url":"interfaces/keyvals.html","classes":"tsd-kind-interface"},{"id":1219,"kind":1024,"name":"key","url":"interfaces/keyvals.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1220,"kind":1024,"name":"value","url":"interfaces/keyvals.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1221,"kind":64,"name":"keyValPairs","url":"globals.html#keyvalpairs","classes":"tsd-kind-function"}]}; \ No newline at end of file +var typedoc = typedoc || {};typedoc.search = typedoc.search || {};typedoc.search.data = {"kinds":{"2":"Module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","262144":"Accessor"},"rows":[{"id":0,"kind":64,"name":"provide","url":"globals.html#provide","classes":"tsd-kind-function"},{"id":1,"kind":32,"name":"nm","url":"globals.html#nm","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":2,"kind":64,"name":"undefinedOrNull","url":"globals.html#undefinedornull","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"definedAndNotNull","url":"globals.html#definedandnotnull","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"_hex","url":"globals.html#_hex","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":5,"kind":64,"name":"rgb2hex","url":"globals.html#rgb2hex","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"hexAlphaToRgbOrRgba","url":"globals.html#hexalphatorgborrgba","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"rgbToRgba","url":"globals.html#rgbtorgba","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"makeBlueGreenRedGradient","url":"globals.html#makebluegreenredgradient","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"makeBlueGreenRedGradientZScore","url":"globals.html#makebluegreenredgradientzscore","classes":"tsd-kind-function"},{"id":10,"kind":32,"name":"_zoomResLookup","url":"globals.html#_zoomreslookup","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":11,"kind":64,"name":"zoomToResolution","url":"globals.html#zoomtoresolution","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"resolutionToZoom","url":"globals.html#resolutiontozoom","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"makeGuid","url":"globals.html#makeguid","classes":"tsd-kind-function"},{"id":14,"kind":256,"name":"LayerBaseOptions","url":"interfaces/layerbaseoptions.html","classes":"tsd-kind-interface"},{"id":15,"kind":1024,"name":"id","url":"interfaces/layerbaseoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":16,"kind":1024,"name":"name","url":"interfaces/layerbaseoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":17,"kind":1024,"name":"opacity","url":"interfaces/layerbaseoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":18,"kind":1024,"name":"visible","url":"interfaces/layerbaseoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":19,"kind":1024,"name":"minZoom","url":"interfaces/layerbaseoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":20,"kind":1024,"name":"maxZoom","url":"interfaces/layerbaseoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":21,"kind":1024,"name":"params","url":"interfaces/layerbaseoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":22,"kind":1024,"name":"zIndex","url":"interfaces/layerbaseoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":23,"kind":1024,"name":"loadCallback","url":"interfaces/layerbaseoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":24,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbaseoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":25,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbaseoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":26,"kind":1024,"name":"legendContent","url":"interfaces/layerbaseoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseOptions"},{"id":27,"kind":128,"name":"LayerBase","url":"classes/layerbase.html","classes":"tsd-kind-class"},{"id":28,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbase.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":29,"kind":1024,"name":"_url","url":"classes/layerbase.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":30,"kind":1024,"name":"_opacity","url":"classes/layerbase.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":31,"kind":1024,"name":"_minZoom","url":"classes/layerbase.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":32,"kind":1024,"name":"_maxZoom","url":"classes/layerbase.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":33,"kind":1024,"name":"_visible","url":"classes/layerbase.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":34,"kind":1024,"name":"_loaded","url":"classes/layerbase.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":35,"kind":1024,"name":"_zIndex","url":"classes/layerbase.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":36,"kind":1024,"name":"_legendContent","url":"classes/layerbase.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":37,"kind":1024,"name":"_params","url":"classes/layerbase.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":38,"kind":1024,"name":"_id","url":"classes/layerbase.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":39,"kind":1024,"name":"_name","url":"classes/layerbase.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":40,"kind":1024,"name":"_source","url":"classes/layerbase.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":41,"kind":1024,"name":"_animate","url":"classes/layerbase.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":42,"kind":1024,"name":"_legendCollapse","url":"classes/layerbase.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":43,"kind":1024,"name":"_maxResolution","url":"classes/layerbase.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":44,"kind":1024,"name":"_minResolution","url":"classes/layerbase.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":45,"kind":1024,"name":"_$legendDiv","url":"classes/layerbase.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":46,"kind":1024,"name":"loadCallback","url":"classes/layerbase.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBase"},{"id":47,"kind":1024,"name":"_olLayer","url":"classes/layerbase.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":48,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbase.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":49,"kind":512,"name":"constructor","url":"classes/layerbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerBase"},{"id":50,"kind":2048,"name":"_load","url":"classes/layerbase.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":51,"kind":2048,"name":"getLegendDiv","url":"classes/layerbase.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":52,"kind":2048,"name":"_addLegendContent","url":"classes/layerbase.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerBase"},{"id":53,"kind":2048,"name":"addLegendContent","url":"classes/layerbase.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":54,"kind":2048,"name":"applyCollapse","url":"classes/layerbase.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":55,"kind":2048,"name":"refresh","url":"classes/layerbase.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBase"},{"id":56,"kind":262144,"name":"id","url":"classes/layerbase.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":57,"kind":262144,"name":"animate","url":"classes/layerbase.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":58,"kind":262144,"name":"legendContent","url":"classes/layerbase.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":59,"kind":262144,"name":"params","url":"classes/layerbase.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":60,"kind":262144,"name":"minResolution","url":"classes/layerbase.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":61,"kind":262144,"name":"maxResolution","url":"classes/layerbase.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":62,"kind":262144,"name":"minZoom","url":"classes/layerbase.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":63,"kind":262144,"name":"maxZoom","url":"classes/layerbase.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":64,"kind":262144,"name":"url","url":"classes/layerbase.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":65,"kind":262144,"name":"visible","url":"classes/layerbase.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":66,"kind":2048,"name":"setVisible","url":"classes/layerbase.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":67,"kind":262144,"name":"opacity","url":"classes/layerbase.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":68,"kind":262144,"name":"name","url":"classes/layerbase.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":69,"kind":262144,"name":"loaded","url":"classes/layerbase.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":70,"kind":262144,"name":"source","url":"classes/layerbase.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":71,"kind":2048,"name":"getSource","url":"classes/layerbase.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":72,"kind":262144,"name":"zIndex","url":"classes/layerbase.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBase"},{"id":73,"kind":2048,"name":"setZIndex","url":"classes/layerbase.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":74,"kind":262144,"name":"olLayer","url":"classes/layerbase.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBase"},{"id":75,"kind":2048,"name":"getOlLayer","url":"classes/layerbase.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"LayerBase"},{"id":76,"kind":128,"name":"MapInteractionBase","url":"classes/mapinteractionbase.html","classes":"tsd-kind-class"},{"id":77,"kind":1024,"name":"_map","url":"classes/mapinteractionbase.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":78,"kind":1024,"name":"_initialized","url":"classes/mapinteractionbase.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":79,"kind":1024,"name":"_subtype","url":"classes/mapinteractionbase.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":80,"kind":512,"name":"constructor","url":"classes/mapinteractionbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":81,"kind":2048,"name":"init","url":"classes/mapinteractionbase.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":82,"kind":262144,"name":"map","url":"classes/mapinteractionbase.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":83,"kind":262144,"name":"initialized","url":"classes/mapinteractionbase.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":84,"kind":2048,"name":"_checkInit","url":"classes/mapinteractionbase.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"MapInteractionBase"},{"id":85,"kind":2048,"name":"checkInit","url":"classes/mapinteractionbase.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapInteractionBase"},{"id":86,"kind":256,"name":"extentObject","url":"interfaces/extentobject.html","classes":"tsd-kind-interface"},{"id":87,"kind":1024,"name":"minX","url":"interfaces/extentobject.html#minx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":88,"kind":1024,"name":"minY","url":"interfaces/extentobject.html#miny","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":89,"kind":1024,"name":"maxX","url":"interfaces/extentobject.html#maxx","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":90,"kind":1024,"name":"maxY","url":"interfaces/extentobject.html#maxy","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"extentObject"},{"id":91,"kind":256,"name":"mapMoveCallbackFunction","url":"interfaces/mapmovecallbackfunction.html","classes":"tsd-kind-interface"},{"id":92,"kind":128,"name":"MapMoveCls","url":"classes/mapmovecls.html","classes":"tsd-kind-class"},{"id":93,"kind":1024,"name":"_mapExtent","url":"classes/mapmovecls.html#_mapextent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":94,"kind":1024,"name":"_zoomLevel","url":"classes/mapmovecls.html#_zoomlevel","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":95,"kind":1024,"name":"_lookupLayer","url":"classes/mapmovecls.html#_lookuplayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":96,"kind":1024,"name":"_arrLayer","url":"classes/mapmovecls.html#_arrlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":97,"kind":1024,"name":"_arrLyrTimeout","url":"classes/mapmovecls.html#_arrlyrtimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":98,"kind":1024,"name":"_mapMoveCallbackTimeout","url":"classes/mapmovecls.html#_mapmovecallbacktimeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":99,"kind":1024,"name":"_mapMoveCallbackDelays","url":"classes/mapmovecls.html#_mapmovecallbackdelays","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":100,"kind":1024,"name":"_mapMoveCallbacksLookup","url":"classes/mapmovecls.html#_mapmovecallbackslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":101,"kind":1024,"name":"_mapMoveCallbackContext","url":"classes/mapmovecls.html#_mapmovecallbackcontext","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":102,"kind":1024,"name":"_mapMoveCallbacks","url":"classes/mapmovecls.html#_mapmovecallbacks","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":103,"kind":1024,"name":"_arrLyrRequest","url":"classes/mapmovecls.html#_arrlyrrequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MapMoveCls"},{"id":104,"kind":512,"name":"constructor","url":"classes/mapmovecls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":105,"kind":2048,"name":"init","url":"classes/mapmovecls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapMoveCls"},{"id":106,"kind":2048,"name":"_updateMapExtent","url":"classes/mapmovecls.html#_updatemapextent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":107,"kind":262144,"name":"mapExtent","url":"classes/mapmovecls.html#mapextent","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MapMoveCls"},{"id":108,"kind":2048,"name":"triggerLyrLoad","url":"classes/mapmovecls.html#triggerlyrload","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":109,"kind":2048,"name":"triggerMoveCallback","url":"classes/mapmovecls.html#triggermovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":110,"kind":2048,"name":"addVectorLayer","url":"classes/mapmovecls.html#addvectorlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":111,"kind":2048,"name":"addCallback","url":"classes/mapmovecls.html#addcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapMoveCls"},{"id":112,"kind":1024,"name":"_map","url":"classes/mapmovecls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":113,"kind":1024,"name":"_initialized","url":"classes/mapmovecls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":114,"kind":1024,"name":"_subtype","url":"classes/mapmovecls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":115,"kind":262144,"name":"map","url":"classes/mapmovecls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":116,"kind":262144,"name":"initialized","url":"classes/mapmovecls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":117,"kind":2048,"name":"_checkInit","url":"classes/mapmovecls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapMoveCls"},{"id":118,"kind":2048,"name":"checkInit","url":"classes/mapmovecls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapMoveCls"},{"id":119,"kind":32,"name":"mapMove","url":"globals.html#mapmove","classes":"tsd-kind-variable"},{"id":120,"kind":256,"name":"makeMapMoveParams","url":"interfaces/makemapmoveparams.html","classes":"tsd-kind-interface"},{"id":121,"kind":256,"name":"LayerBaseVectorOptions","url":"interfaces/layerbasevectoroptions.html","classes":"tsd-kind-interface"},{"id":122,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoroptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":123,"kind":1024,"name":"style","url":"interfaces/layerbasevectoroptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":124,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoroptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":125,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoroptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":126,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoroptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":127,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoroptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":128,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoroptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorOptions"},{"id":129,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoroptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorOptions.renderOrder"},{"id":130,"kind":1024,"name":"id","url":"interfaces/layerbasevectoroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":131,"kind":1024,"name":"name","url":"interfaces/layerbasevectoroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":132,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":133,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":134,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":135,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":136,"kind":1024,"name":"params","url":"interfaces/layerbasevectoroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":137,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":138,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":139,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":140,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":141,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorOptions"},{"id":142,"kind":128,"name":"LayerBaseVector","url":"classes/layerbasevector.html","classes":"tsd-kind-class"},{"id":143,"kind":1024,"name":"_olLayer","url":"classes/layerbasevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":144,"kind":1024,"name":"_source","url":"classes/layerbasevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":145,"kind":1024,"name":"_style","url":"classes/layerbasevector.html#_style","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":146,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevector.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":147,"kind":1024,"name":"_onDemand","url":"classes/layerbasevector.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":148,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevector.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":149,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevector.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":150,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevector.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":151,"kind":1024,"name":"_mapMove","url":"classes/layerbasevector.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":152,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevector.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":153,"kind":1024,"name":"_projection4326","url":"classes/layerbasevector.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":154,"kind":512,"name":"constructor","url":"classes/layerbasevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":155,"kind":2048,"name":"addFeatures","url":"classes/layerbasevector.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":156,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevector.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":157,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevector.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":158,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevector.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":159,"kind":2048,"name":"clear","url":"classes/layerbasevector.html#clear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":160,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevector.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":161,"kind":262144,"name":"autoLoad","url":"classes/layerbasevector.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":162,"kind":262144,"name":"style","url":"classes/layerbasevector.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":163,"kind":262144,"name":"mapCrs","url":"classes/layerbasevector.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":164,"kind":262144,"name":"mapProj","url":"classes/layerbasevector.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":165,"kind":262144,"name":"mapMove","url":"classes/layerbasevector.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":166,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevector.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":167,"kind":262144,"name":"visible","url":"classes/layerbasevector.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":168,"kind":262144,"name":"source","url":"classes/layerbasevector.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":169,"kind":262144,"name":"features","url":"classes/layerbasevector.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"LayerBaseVector"},{"id":170,"kind":262144,"name":"olLayer","url":"classes/layerbasevector.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVector"},{"id":171,"kind":2048,"name":"setZIndex","url":"classes/layerbasevector.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVector"},{"id":172,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevector.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":173,"kind":1024,"name":"_url","url":"classes/layerbasevector.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":174,"kind":1024,"name":"_opacity","url":"classes/layerbasevector.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":175,"kind":1024,"name":"_minZoom","url":"classes/layerbasevector.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":176,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevector.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":177,"kind":1024,"name":"_visible","url":"classes/layerbasevector.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":178,"kind":1024,"name":"_loaded","url":"classes/layerbasevector.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":179,"kind":1024,"name":"_zIndex","url":"classes/layerbasevector.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":180,"kind":1024,"name":"_legendContent","url":"classes/layerbasevector.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":181,"kind":1024,"name":"_params","url":"classes/layerbasevector.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":182,"kind":1024,"name":"_id","url":"classes/layerbasevector.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":183,"kind":1024,"name":"_name","url":"classes/layerbasevector.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":184,"kind":1024,"name":"_animate","url":"classes/layerbasevector.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":185,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevector.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":186,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevector.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":187,"kind":1024,"name":"_minResolution","url":"classes/layerbasevector.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":188,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevector.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":189,"kind":1024,"name":"loadCallback","url":"classes/layerbasevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":190,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevector.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":191,"kind":2048,"name":"_load","url":"classes/layerbasevector.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":192,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevector.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":193,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevector.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVector"},{"id":194,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevector.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":195,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevector.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":196,"kind":2048,"name":"refresh","url":"classes/layerbasevector.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":197,"kind":262144,"name":"id","url":"classes/layerbasevector.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":198,"kind":262144,"name":"animate","url":"classes/layerbasevector.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":199,"kind":262144,"name":"legendContent","url":"classes/layerbasevector.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":200,"kind":262144,"name":"params","url":"classes/layerbasevector.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":201,"kind":262144,"name":"minResolution","url":"classes/layerbasevector.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":202,"kind":262144,"name":"maxResolution","url":"classes/layerbasevector.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":203,"kind":262144,"name":"minZoom","url":"classes/layerbasevector.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":204,"kind":262144,"name":"maxZoom","url":"classes/layerbasevector.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":205,"kind":262144,"name":"url","url":"classes/layerbasevector.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":206,"kind":2048,"name":"setVisible","url":"classes/layerbasevector.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":207,"kind":262144,"name":"opacity","url":"classes/layerbasevector.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":208,"kind":262144,"name":"name","url":"classes/layerbasevector.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":209,"kind":262144,"name":"loaded","url":"classes/layerbasevector.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":210,"kind":2048,"name":"getSource","url":"classes/layerbasevector.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":211,"kind":262144,"name":"zIndex","url":"classes/layerbasevector.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVector"},{"id":212,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevector.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVector"},{"id":213,"kind":32,"name":"proj4326","url":"globals.html#proj4326","classes":"tsd-kind-variable"},{"id":214,"kind":32,"name":"proj3857","url":"globals.html#proj3857","classes":"tsd-kind-variable"},{"id":215,"kind":32,"name":"proj3070","url":"globals.html#proj3070","classes":"tsd-kind-variable"},{"id":216,"kind":256,"name":"crsTransform","url":"interfaces/crstransform.html","classes":"tsd-kind-interface"},{"id":217,"kind":1024,"name":"dataProjection","url":"interfaces/crstransform.html#dataprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":218,"kind":1024,"name":"featureProjection","url":"interfaces/crstransform.html#featureprojection","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"crsTransform"},{"id":219,"kind":256,"name":"LayerBaseVectorGeoJsonOptions","url":"interfaces/layerbasevectorgeojsonoptions.html","classes":"tsd-kind-interface"},{"id":220,"kind":1024,"name":"transform","url":"interfaces/layerbasevectorgeojsonoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorGeoJsonOptions"},{"id":221,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite","parent":"LayerBaseVectorGeoJsonOptions"},{"id":222,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectorgeojsonoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":223,"kind":1024,"name":"style","url":"interfaces/layerbasevectorgeojsonoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":224,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":225,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectorgeojsonoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":226,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectorgeojsonoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":227,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":228,"kind":65536,"name":"__type","url":"interfaces/layerbasevectorgeojsonoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorGeoJsonOptions.renderOrder"},{"id":229,"kind":1024,"name":"id","url":"interfaces/layerbasevectorgeojsonoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":230,"kind":1024,"name":"name","url":"interfaces/layerbasevectorgeojsonoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":231,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectorgeojsonoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":232,"kind":1024,"name":"visible","url":"interfaces/layerbasevectorgeojsonoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":233,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":234,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectorgeojsonoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":235,"kind":1024,"name":"params","url":"interfaces/layerbasevectorgeojsonoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":236,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectorgeojsonoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":237,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectorgeojsonoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":238,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":239,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":240,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectorgeojsonoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorGeoJsonOptions"},{"id":241,"kind":128,"name":"LayerBaseVectorGeoJson","url":"classes/layerbasevectorgeojson.html","classes":"tsd-kind-class"},{"id":242,"kind":1024,"name":"_geoJsonFormat","url":"classes/layerbasevectorgeojson.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":243,"kind":1024,"name":"_transform","url":"classes/layerbasevectorgeojson.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorGeoJson"},{"id":244,"kind":512,"name":"constructor","url":"classes/layerbasevectorgeojson.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":245,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectorgeojson.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":246,"kind":2048,"name":"_load","url":"classes/layerbasevectorgeojson.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":247,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectorgeojson.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorGeoJson"},{"id":248,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectorgeojson.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":249,"kind":1024,"name":"_source","url":"classes/layerbasevectorgeojson.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":250,"kind":1024,"name":"_style","url":"classes/layerbasevectorgeojson.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":251,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectorgeojson.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":252,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectorgeojson.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":253,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectorgeojson.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":254,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":255,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectorgeojson.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":256,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectorgeojson.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":257,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectorgeojson.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":258,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectorgeojson.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":259,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectorgeojson.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":260,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectorgeojson.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":261,"kind":2048,"name":"clear","url":"classes/layerbasevectorgeojson.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":262,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectorgeojson.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":263,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectorgeojson.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":264,"kind":262144,"name":"style","url":"classes/layerbasevectorgeojson.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":265,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectorgeojson.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":266,"kind":262144,"name":"mapProj","url":"classes/layerbasevectorgeojson.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":267,"kind":262144,"name":"mapMove","url":"classes/layerbasevectorgeojson.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":268,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectorgeojson.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":269,"kind":262144,"name":"visible","url":"classes/layerbasevectorgeojson.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":270,"kind":262144,"name":"source","url":"classes/layerbasevectorgeojson.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":271,"kind":262144,"name":"features","url":"classes/layerbasevectorgeojson.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":272,"kind":262144,"name":"olLayer","url":"classes/layerbasevectorgeojson.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":273,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectorgeojson.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":274,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectorgeojson.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":275,"kind":1024,"name":"_url","url":"classes/layerbasevectorgeojson.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":276,"kind":1024,"name":"_opacity","url":"classes/layerbasevectorgeojson.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":277,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectorgeojson.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":278,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectorgeojson.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":279,"kind":1024,"name":"_visible","url":"classes/layerbasevectorgeojson.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":280,"kind":1024,"name":"_loaded","url":"classes/layerbasevectorgeojson.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":281,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectorgeojson.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":282,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectorgeojson.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":283,"kind":1024,"name":"_params","url":"classes/layerbasevectorgeojson.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":284,"kind":1024,"name":"_id","url":"classes/layerbasevectorgeojson.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":285,"kind":1024,"name":"_name","url":"classes/layerbasevectorgeojson.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":286,"kind":1024,"name":"_animate","url":"classes/layerbasevectorgeojson.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":287,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectorgeojson.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":288,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectorgeojson.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":289,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectorgeojson.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":290,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectorgeojson.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":291,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectorgeojson.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":292,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectorgeojson.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":293,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectorgeojson.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":294,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectorgeojson.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorGeoJson"},{"id":295,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectorgeojson.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":296,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectorgeojson.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":297,"kind":2048,"name":"refresh","url":"classes/layerbasevectorgeojson.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":298,"kind":262144,"name":"id","url":"classes/layerbasevectorgeojson.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":299,"kind":262144,"name":"animate","url":"classes/layerbasevectorgeojson.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":300,"kind":262144,"name":"legendContent","url":"classes/layerbasevectorgeojson.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":301,"kind":262144,"name":"params","url":"classes/layerbasevectorgeojson.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":302,"kind":262144,"name":"minResolution","url":"classes/layerbasevectorgeojson.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":303,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectorgeojson.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":304,"kind":262144,"name":"minZoom","url":"classes/layerbasevectorgeojson.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":305,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectorgeojson.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":306,"kind":262144,"name":"url","url":"classes/layerbasevectorgeojson.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":307,"kind":2048,"name":"setVisible","url":"classes/layerbasevectorgeojson.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":308,"kind":262144,"name":"opacity","url":"classes/layerbasevectorgeojson.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":309,"kind":262144,"name":"name","url":"classes/layerbasevectorgeojson.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":310,"kind":262144,"name":"loaded","url":"classes/layerbasevectorgeojson.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":311,"kind":2048,"name":"getSource","url":"classes/layerbasevectorgeojson.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":312,"kind":262144,"name":"zIndex","url":"classes/layerbasevectorgeojson.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorGeoJson"},{"id":313,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectorgeojson.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorGeoJson"},{"id":314,"kind":64,"name":"propertiesZoomStyle","url":"globals.html#propertieszoomstyle","classes":"tsd-kind-function"},{"id":315,"kind":256,"name":"iEsriResponse","url":"interfaces/esriresponse.html","classes":"tsd-kind-interface"},{"id":316,"kind":1024,"name":"drawingInfo","url":"interfaces/esriresponse.html#drawinginfo","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriResponse"},{"id":317,"kind":65536,"name":"__type","url":"interfaces/esriresponse.html#drawinginfo.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"iEsriResponse.drawingInfo"},{"id":318,"kind":32,"name":"renderer","url":"interfaces/esriresponse.html#drawinginfo.__type.renderer","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriResponse.drawingInfo.__type"},{"id":319,"kind":1024,"name":"geometryType","url":"interfaces/esriresponse.html#geometrytype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriResponse"},{"id":320,"kind":256,"name":"iEsriRenderer","url":"interfaces/esrirenderer.html","classes":"tsd-kind-interface"},{"id":321,"kind":1024,"name":"type","url":"interfaces/esrirenderer.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":322,"kind":1024,"name":"symbol","url":"interfaces/esrirenderer.html#symbol","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":323,"kind":1024,"name":"uniqueValueInfos","url":"interfaces/esrirenderer.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriRenderer"},{"id":324,"kind":256,"name":"iEsriSymbol","url":"interfaces/esrisymbol.html","classes":"tsd-kind-interface"},{"id":325,"kind":1024,"name":"size","url":"interfaces/esrisymbol.html#size","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":326,"kind":1024,"name":"type","url":"interfaces/esrisymbol.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":327,"kind":1024,"name":"outline","url":"interfaces/esrisymbol.html#outline","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":328,"kind":65536,"name":"__type","url":"interfaces/esrisymbol.html#outline.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"iEsriSymbol.outline"},{"id":329,"kind":32,"name":"color","url":"interfaces/esrisymbol.html#outline.__type.color-1","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriSymbol.outline.__type"},{"id":330,"kind":32,"name":"width","url":"interfaces/esrisymbol.html#outline.__type.width","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"iEsriSymbol.outline.__type"},{"id":331,"kind":1024,"name":"color","url":"interfaces/esrisymbol.html#color","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":332,"kind":1024,"name":"width","url":"interfaces/esrisymbol.html#width-1","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"iEsriSymbol"},{"id":333,"kind":128,"name":"CommonSymbol","url":"classes/commonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":334,"kind":1024,"name":"legendHtml","url":"classes/commonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":335,"kind":1024,"name":"opacity","url":"classes/commonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":336,"kind":1024,"name":"symbolObj","url":"classes/commonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":337,"kind":1024,"name":"olStyle","url":"classes/commonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":338,"kind":512,"name":"constructor","url":"classes/commonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"CommonSymbol"},{"id":339,"kind":256,"name":"ICommonSymbol","url":"interfaces/icommonsymbol.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":340,"kind":512,"name":"constructor","url":"interfaces/icommonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-interface tsd-is-not-exported","parent":"ICommonSymbol"},{"id":341,"kind":128,"name":"PointSymbol","url":"classes/pointsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":342,"kind":512,"name":"constructor","url":"classes/pointsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PointSymbol"},{"id":343,"kind":1024,"name":"legendHtml","url":"classes/pointsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":344,"kind":1024,"name":"opacity","url":"classes/pointsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":345,"kind":1024,"name":"symbolObj","url":"classes/pointsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":346,"kind":1024,"name":"olStyle","url":"classes/pointsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PointSymbol"},{"id":347,"kind":128,"name":"LineSymbol","url":"classes/linesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":348,"kind":512,"name":"constructor","url":"classes/linesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"LineSymbol"},{"id":349,"kind":1024,"name":"legendHtml","url":"classes/linesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":350,"kind":1024,"name":"opacity","url":"classes/linesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":351,"kind":1024,"name":"symbolObj","url":"classes/linesymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":352,"kind":1024,"name":"olStyle","url":"classes/linesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"LineSymbol"},{"id":353,"kind":128,"name":"PolygonSymbol","url":"classes/polygonsymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":354,"kind":512,"name":"constructor","url":"classes/polygonsymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"PolygonSymbol"},{"id":355,"kind":1024,"name":"legendHtml","url":"classes/polygonsymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":356,"kind":1024,"name":"opacity","url":"classes/polygonsymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":357,"kind":1024,"name":"symbolObj","url":"classes/polygonsymbol.html#symbolobj","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":358,"kind":1024,"name":"olStyle","url":"classes/polygonsymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"PolygonSymbol"},{"id":359,"kind":128,"name":"SymbolGenerator","url":"classes/symbolgenerator.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":360,"kind":1024,"name":"opacity","url":"classes/symbolgenerator.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":361,"kind":1024,"name":"renderer","url":"classes/symbolgenerator.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":362,"kind":1024,"name":"legendHtml","url":"classes/symbolgenerator.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":363,"kind":1024,"name":"olStyle","url":"classes/symbolgenerator.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":364,"kind":512,"name":"constructor","url":"classes/symbolgenerator.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"SymbolGenerator"},{"id":365,"kind":128,"name":"SingleSymbol","url":"classes/singlesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":366,"kind":1024,"name":"symbol","url":"classes/singlesymbol.html#symbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"SingleSymbol"},{"id":367,"kind":512,"name":"constructor","url":"classes/singlesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"SingleSymbol"},{"id":368,"kind":1024,"name":"opacity","url":"classes/singlesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":369,"kind":1024,"name":"renderer","url":"classes/singlesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":370,"kind":1024,"name":"legendHtml","url":"classes/singlesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":371,"kind":1024,"name":"olStyle","url":"classes/singlesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"SingleSymbol"},{"id":372,"kind":128,"name":"UniqueValueSymbol","url":"classes/uniquevaluesymbol.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":373,"kind":1024,"name":"propertyName","url":"classes/uniquevaluesymbol.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":374,"kind":1024,"name":"defaultSymbol","url":"classes/uniquevaluesymbol.html#defaultsymbol","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":375,"kind":1024,"name":"defaultStyle","url":"classes/uniquevaluesymbol.html#defaultstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":376,"kind":1024,"name":"defaultLabelHtml","url":"classes/uniquevaluesymbol.html#defaultlabelhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":377,"kind":1024,"name":"labelArray","url":"classes/uniquevaluesymbol.html#labelarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":378,"kind":1024,"name":"legendArray","url":"classes/uniquevaluesymbol.html#legendarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":379,"kind":1024,"name":"propertyStyleLookup","url":"classes/uniquevaluesymbol.html#propertystylelookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":380,"kind":1024,"name":"valueArray","url":"classes/uniquevaluesymbol.html#valuearray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":381,"kind":1024,"name":"uniqueValueInfos","url":"classes/uniquevaluesymbol.html#uniquevalueinfos","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":382,"kind":512,"name":"constructor","url":"classes/uniquevaluesymbol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":383,"kind":1024,"name":"opacity","url":"classes/uniquevaluesymbol.html#opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":384,"kind":1024,"name":"renderer","url":"classes/uniquevaluesymbol.html#renderer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":385,"kind":1024,"name":"legendHtml","url":"classes/uniquevaluesymbol.html#legendhtml","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":386,"kind":1024,"name":"olStyle","url":"classes/uniquevaluesymbol.html#olstyle","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-not-exported","parent":"UniqueValueSymbol"},{"id":387,"kind":64,"name":"_colorArrayToRgba","url":"globals.html#_colorarraytorgba","classes":"tsd-kind-function tsd-is-private tsd-is-not-exported"},{"id":388,"kind":64,"name":"htmlEscape","url":"globals.html#htmlescape","classes":"tsd-kind-function tsd-is-not-exported"},{"id":389,"kind":64,"name":"makeFeatureServiceLegendAndSymbol","url":"globals.html#makefeatureservicelegendandsymbol","classes":"tsd-kind-function"},{"id":390,"kind":64,"name":"mapServiceLegendItem","url":"globals.html#mapservicelegenditem","classes":"tsd-kind-function tsd-is-not-exported"},{"id":391,"kind":64,"name":"makeMapServiceLegend","url":"globals.html#makemapservicelegend","classes":"tsd-kind-function"},{"id":392,"kind":256,"name":"LayerEsriMapServerOptions","url":"interfaces/layeresrimapserveroptions.html","classes":"tsd-kind-interface"},{"id":393,"kind":1024,"name":"addPopup","url":"interfaces/layeresrimapserveroptions.html#addpopup","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":394,"kind":1024,"name":"showLayers","url":"interfaces/layeresrimapserveroptions.html#showlayers","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriMapServerOptions"},{"id":395,"kind":1024,"name":"id","url":"interfaces/layeresrimapserveroptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":396,"kind":1024,"name":"name","url":"interfaces/layeresrimapserveroptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":397,"kind":1024,"name":"opacity","url":"interfaces/layeresrimapserveroptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":398,"kind":1024,"name":"visible","url":"interfaces/layeresrimapserveroptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":399,"kind":1024,"name":"minZoom","url":"interfaces/layeresrimapserveroptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":400,"kind":1024,"name":"maxZoom","url":"interfaces/layeresrimapserveroptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":401,"kind":1024,"name":"params","url":"interfaces/layeresrimapserveroptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":402,"kind":1024,"name":"zIndex","url":"interfaces/layeresrimapserveroptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":403,"kind":1024,"name":"loadCallback","url":"interfaces/layeresrimapserveroptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":404,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresrimapserveroptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":405,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresrimapserveroptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":406,"kind":1024,"name":"legendContent","url":"interfaces/layeresrimapserveroptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriMapServerOptions"},{"id":407,"kind":128,"name":"LayerEsriMapServer","url":"classes/layeresrimapserver.html","classes":"tsd-kind-class"},{"id":408,"kind":1024,"name":"_esriFormat","url":"classes/layeresrimapserver.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":409,"kind":1024,"name":"_popupRequest","url":"classes/layeresrimapserver.html#_popuprequest","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":410,"kind":512,"name":"constructor","url":"classes/layeresrimapserver.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":411,"kind":2048,"name":"addLegendContent","url":"classes/layeresrimapserver.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":412,"kind":2048,"name":"getPopupInfo","url":"classes/layeresrimapserver.html#getpopupinfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerEsriMapServer"},{"id":413,"kind":262144,"name":"source","url":"classes/layeresrimapserver.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":414,"kind":262144,"name":"olLayer","url":"classes/layeresrimapserver.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriMapServer"},{"id":415,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresrimapserver.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":416,"kind":1024,"name":"_url","url":"classes/layeresrimapserver.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":417,"kind":1024,"name":"_opacity","url":"classes/layeresrimapserver.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":418,"kind":1024,"name":"_minZoom","url":"classes/layeresrimapserver.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":419,"kind":1024,"name":"_maxZoom","url":"classes/layeresrimapserver.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":420,"kind":1024,"name":"_visible","url":"classes/layeresrimapserver.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":421,"kind":1024,"name":"_loaded","url":"classes/layeresrimapserver.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":422,"kind":1024,"name":"_zIndex","url":"classes/layeresrimapserver.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":423,"kind":1024,"name":"_legendContent","url":"classes/layeresrimapserver.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":424,"kind":1024,"name":"_params","url":"classes/layeresrimapserver.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":425,"kind":1024,"name":"_id","url":"classes/layeresrimapserver.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":426,"kind":1024,"name":"_name","url":"classes/layeresrimapserver.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":427,"kind":1024,"name":"_source","url":"classes/layeresrimapserver.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":428,"kind":1024,"name":"_animate","url":"classes/layeresrimapserver.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":429,"kind":1024,"name":"_legendCollapse","url":"classes/layeresrimapserver.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":430,"kind":1024,"name":"_maxResolution","url":"classes/layeresrimapserver.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":431,"kind":1024,"name":"_minResolution","url":"classes/layeresrimapserver.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":432,"kind":1024,"name":"_$legendDiv","url":"classes/layeresrimapserver.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":433,"kind":1024,"name":"loadCallback","url":"classes/layeresrimapserver.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":434,"kind":1024,"name":"_olLayer","url":"classes/layeresrimapserver.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":435,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresrimapserver.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":436,"kind":2048,"name":"_load","url":"classes/layeresrimapserver.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":437,"kind":2048,"name":"getLegendDiv","url":"classes/layeresrimapserver.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":438,"kind":2048,"name":"_addLegendContent","url":"classes/layeresrimapserver.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriMapServer"},{"id":439,"kind":2048,"name":"applyCollapse","url":"classes/layeresrimapserver.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":440,"kind":2048,"name":"refresh","url":"classes/layeresrimapserver.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":441,"kind":262144,"name":"id","url":"classes/layeresrimapserver.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":442,"kind":262144,"name":"animate","url":"classes/layeresrimapserver.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":443,"kind":262144,"name":"legendContent","url":"classes/layeresrimapserver.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":444,"kind":262144,"name":"params","url":"classes/layeresrimapserver.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":445,"kind":262144,"name":"minResolution","url":"classes/layeresrimapserver.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":446,"kind":262144,"name":"maxResolution","url":"classes/layeresrimapserver.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":447,"kind":262144,"name":"minZoom","url":"classes/layeresrimapserver.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":448,"kind":262144,"name":"maxZoom","url":"classes/layeresrimapserver.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":449,"kind":262144,"name":"url","url":"classes/layeresrimapserver.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":450,"kind":262144,"name":"visible","url":"classes/layeresrimapserver.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":451,"kind":2048,"name":"setVisible","url":"classes/layeresrimapserver.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":452,"kind":262144,"name":"opacity","url":"classes/layeresrimapserver.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":453,"kind":262144,"name":"name","url":"classes/layeresrimapserver.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":454,"kind":262144,"name":"loaded","url":"classes/layeresrimapserver.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":455,"kind":2048,"name":"getSource","url":"classes/layeresrimapserver.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":456,"kind":262144,"name":"zIndex","url":"classes/layeresrimapserver.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriMapServer"},{"id":457,"kind":2048,"name":"setZIndex","url":"classes/layeresrimapserver.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":458,"kind":2048,"name":"getOlLayer","url":"classes/layeresrimapserver.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriMapServer"},{"id":459,"kind":256,"name":"popupChangedFunction","url":"interfaces/popupchangedfunction.html","classes":"tsd-kind-interface"},{"id":460,"kind":256,"name":"popupCallback","url":"interfaces/popupcallback.html","classes":"tsd-kind-interface"},{"id":461,"kind":256,"name":"mapEvent","url":"interfaces/mapevent.html","classes":"tsd-kind-interface tsd-is-not-exported"},{"id":462,"kind":1024,"name":"coordinate","url":"interfaces/mapevent.html#coordinate","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":463,"kind":1024,"name":"pixel","url":"interfaces/mapevent.html#pixel","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":464,"kind":1024,"name":"dragging","url":"interfaces/mapevent.html#dragging","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":465,"kind":1024,"name":"originalEvent","url":"interfaces/mapevent.html#originalevent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-not-exported","parent":"mapEvent"},{"id":466,"kind":128,"name":"FeatureLayerProperties","url":"classes/featurelayerproperties.html","classes":"tsd-kind-class"},{"id":467,"kind":1024,"name":"feature","url":"classes/featurelayerproperties.html#feature","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":468,"kind":1024,"name":"layer","url":"classes/featurelayerproperties.html#layer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":469,"kind":1024,"name":"layerIndex","url":"classes/featurelayerproperties.html#layerindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":470,"kind":1024,"name":"selectionLayer","url":"classes/featurelayerproperties.html#selectionlayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":471,"kind":1024,"name":"popupContent","url":"classes/featurelayerproperties.html#popupcontent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":472,"kind":1024,"name":"esriLayerName","url":"classes/featurelayerproperties.html#esrilayername","classes":"tsd-kind-property tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":473,"kind":512,"name":"constructor","url":"classes/featurelayerproperties.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":474,"kind":262144,"name":"layerName","url":"classes/featurelayerproperties.html#layername","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"FeatureLayerProperties"},{"id":475,"kind":128,"name":"MapPopupCls","url":"classes/mappopupcls.html","classes":"tsd-kind-class"},{"id":476,"kind":512,"name":"constructor","url":"classes/mappopupcls.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":477,"kind":2048,"name":"init","url":"classes/mappopupcls.html#init","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"MapPopupCls"},{"id":478,"kind":2048,"name":"_triggerFeatSelect","url":"classes/mappopupcls.html#_triggerfeatselect","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":479,"kind":2048,"name":"addMapServicePopupContent","url":"classes/mappopupcls.html#addmapservicepopupcontent","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":480,"kind":2048,"name":"_featuresAtPixel","url":"classes/mappopupcls.html#_featuresatpixel","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":481,"kind":2048,"name":"closePopup","url":"classes/mappopupcls.html#closepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":482,"kind":2048,"name":"addPopupChangedFunction","url":"classes/mappopupcls.html#addpopupchangedfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":483,"kind":2048,"name":"_addPopupLayer","url":"classes/mappopupcls.html#_addpopuplayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"MapPopupCls"},{"id":484,"kind":2048,"name":"addVectorPopup","url":"classes/mappopupcls.html#addvectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":485,"kind":2048,"name":"removeVectorPopup","url":"classes/mappopupcls.html#removevectorpopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":486,"kind":2048,"name":"addMapServicePopup","url":"classes/mappopupcls.html#addmapservicepopup","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":487,"kind":2048,"name":"clearSelection","url":"classes/mappopupcls.html#clearselection","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":488,"kind":2048,"name":"addMapClickFunction","url":"classes/mappopupcls.html#addmapclickfunction","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MapPopupCls"},{"id":489,"kind":1024,"name":"_map","url":"classes/mappopupcls.html#_map","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":490,"kind":1024,"name":"_initialized","url":"classes/mappopupcls.html#_initialized","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":491,"kind":1024,"name":"_subtype","url":"classes/mappopupcls.html#_subtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":492,"kind":262144,"name":"map","url":"classes/mappopupcls.html#map","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":493,"kind":262144,"name":"initialized","url":"classes/mappopupcls.html#initialized","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":494,"kind":2048,"name":"_checkInit","url":"classes/mappopupcls.html#_checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"MapPopupCls"},{"id":495,"kind":2048,"name":"checkInit","url":"classes/mappopupcls.html#checkinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"MapPopupCls"},{"id":496,"kind":32,"name":"mapPopup","url":"globals.html#mappopup","classes":"tsd-kind-variable"},{"id":497,"kind":128,"name":"LayerItsInventory","url":"classes/layeritsinventory.html","classes":"tsd-kind-class"},{"id":498,"kind":512,"name":"constructor","url":"classes/layeritsinventory.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":499,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layeritsinventory.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerItsInventory"},{"id":500,"kind":1024,"name":"_geoJsonFormat","url":"classes/layeritsinventory.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":501,"kind":1024,"name":"_transform","url":"classes/layeritsinventory.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":502,"kind":2048,"name":"addFeatures","url":"classes/layeritsinventory.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":503,"kind":2048,"name":"_load","url":"classes/layeritsinventory.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":504,"kind":2048,"name":"mapMoveCallback","url":"classes/layeritsinventory.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":505,"kind":1024,"name":"_olLayer","url":"classes/layeritsinventory.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":506,"kind":1024,"name":"_source","url":"classes/layeritsinventory.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":507,"kind":1024,"name":"_style","url":"classes/layeritsinventory.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":508,"kind":1024,"name":"_autoLoad","url":"classes/layeritsinventory.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":509,"kind":1024,"name":"_onDemand","url":"classes/layeritsinventory.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":510,"kind":1024,"name":"_onDemandDelay","url":"classes/layeritsinventory.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":511,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layeritsinventory.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":512,"kind":1024,"name":"_mapMoveParams","url":"classes/layeritsinventory.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":513,"kind":1024,"name":"_mapMove","url":"classes/layeritsinventory.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":514,"kind":1024,"name":"_projectionMap","url":"classes/layeritsinventory.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":515,"kind":1024,"name":"_projection4326","url":"classes/layeritsinventory.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":516,"kind":2048,"name":"mapMoveBefore","url":"classes/layeritsinventory.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":517,"kind":2048,"name":"clear","url":"classes/layeritsinventory.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":518,"kind":262144,"name":"onDemandDelay","url":"classes/layeritsinventory.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":519,"kind":262144,"name":"autoLoad","url":"classes/layeritsinventory.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":520,"kind":262144,"name":"style","url":"classes/layeritsinventory.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":521,"kind":262144,"name":"mapCrs","url":"classes/layeritsinventory.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":522,"kind":262144,"name":"mapProj","url":"classes/layeritsinventory.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":523,"kind":262144,"name":"mapMove","url":"classes/layeritsinventory.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":524,"kind":262144,"name":"mapMoveParams","url":"classes/layeritsinventory.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":525,"kind":262144,"name":"visible","url":"classes/layeritsinventory.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":526,"kind":262144,"name":"source","url":"classes/layeritsinventory.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":527,"kind":262144,"name":"features","url":"classes/layeritsinventory.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":528,"kind":262144,"name":"olLayer","url":"classes/layeritsinventory.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerItsInventory"},{"id":529,"kind":2048,"name":"setZIndex","url":"classes/layeritsinventory.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":530,"kind":1024,"name":"_legendCheckbox","url":"classes/layeritsinventory.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":531,"kind":1024,"name":"_url","url":"classes/layeritsinventory.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":532,"kind":1024,"name":"_opacity","url":"classes/layeritsinventory.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":533,"kind":1024,"name":"_minZoom","url":"classes/layeritsinventory.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":534,"kind":1024,"name":"_maxZoom","url":"classes/layeritsinventory.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":535,"kind":1024,"name":"_visible","url":"classes/layeritsinventory.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":536,"kind":1024,"name":"_loaded","url":"classes/layeritsinventory.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":537,"kind":1024,"name":"_zIndex","url":"classes/layeritsinventory.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":538,"kind":1024,"name":"_legendContent","url":"classes/layeritsinventory.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":539,"kind":1024,"name":"_params","url":"classes/layeritsinventory.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":540,"kind":1024,"name":"_id","url":"classes/layeritsinventory.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":541,"kind":1024,"name":"_name","url":"classes/layeritsinventory.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":542,"kind":1024,"name":"_animate","url":"classes/layeritsinventory.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":543,"kind":1024,"name":"_legendCollapse","url":"classes/layeritsinventory.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":544,"kind":1024,"name":"_maxResolution","url":"classes/layeritsinventory.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":545,"kind":1024,"name":"_minResolution","url":"classes/layeritsinventory.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":546,"kind":1024,"name":"_$legendDiv","url":"classes/layeritsinventory.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":547,"kind":1024,"name":"loadCallback","url":"classes/layeritsinventory.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":548,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeritsinventory.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":549,"kind":2048,"name":"getLegendDiv","url":"classes/layeritsinventory.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":550,"kind":2048,"name":"_addLegendContent","url":"classes/layeritsinventory.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerItsInventory"},{"id":551,"kind":2048,"name":"addLegendContent","url":"classes/layeritsinventory.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":552,"kind":2048,"name":"applyCollapse","url":"classes/layeritsinventory.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":553,"kind":2048,"name":"refresh","url":"classes/layeritsinventory.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":554,"kind":262144,"name":"id","url":"classes/layeritsinventory.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":555,"kind":262144,"name":"animate","url":"classes/layeritsinventory.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":556,"kind":262144,"name":"legendContent","url":"classes/layeritsinventory.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":557,"kind":262144,"name":"params","url":"classes/layeritsinventory.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":558,"kind":262144,"name":"minResolution","url":"classes/layeritsinventory.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":559,"kind":262144,"name":"maxResolution","url":"classes/layeritsinventory.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":560,"kind":262144,"name":"minZoom","url":"classes/layeritsinventory.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":561,"kind":262144,"name":"maxZoom","url":"classes/layeritsinventory.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":562,"kind":262144,"name":"url","url":"classes/layeritsinventory.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":563,"kind":2048,"name":"setVisible","url":"classes/layeritsinventory.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":564,"kind":262144,"name":"opacity","url":"classes/layeritsinventory.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":565,"kind":262144,"name":"name","url":"classes/layeritsinventory.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":566,"kind":262144,"name":"loaded","url":"classes/layeritsinventory.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":567,"kind":2048,"name":"getSource","url":"classes/layeritsinventory.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":568,"kind":262144,"name":"zIndex","url":"classes/layeritsinventory.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerItsInventory"},{"id":569,"kind":2048,"name":"getOlLayer","url":"classes/layeritsinventory.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerItsInventory"},{"id":570,"kind":64,"name":"checkStyleNumber","url":"globals.html#checkstylenumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":571,"kind":64,"name":"defineStyle","url":"globals.html#definestyle","classes":"tsd-kind-function tsd-is-not-exported"},{"id":572,"kind":64,"name":"defineLegend","url":"globals.html#definelegend","classes":"tsd-kind-function tsd-is-not-exported"},{"id":573,"kind":128,"name":"ItsLayerCollection","url":"classes/itslayercollection.html","classes":"tsd-kind-class"},{"id":574,"kind":1024,"name":"_map","url":"classes/itslayercollection.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":575,"kind":1024,"name":"_layers","url":"classes/itslayercollection.html#_layers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":576,"kind":512,"name":"constructor","url":"classes/itslayercollection.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":577,"kind":262144,"name":"layers","url":"classes/itslayercollection.html#layers","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"ItsLayerCollection"},{"id":578,"kind":32,"name":"itsConfig","url":"globals.html#itsconfig","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":579,"kind":128,"name":"LayerGroup","url":"classes/layergroup.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":580,"kind":1024,"name":"groupLayers","url":"classes/layergroup.html#grouplayers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":581,"kind":1024,"name":"groupLayersLookup","url":"classes/layergroup.html#grouplayerslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":582,"kind":1024,"name":"groupGroupsLookup","url":"classes/layergroup.html#groupgroupslookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":583,"kind":1024,"name":"groupGroups","url":"classes/layergroup.html#groupgroups","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":584,"kind":1024,"name":"itemIdArray","url":"classes/layergroup.html#itemidarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":585,"kind":1024,"name":"groupId","url":"classes/layergroup.html#groupid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":586,"kind":1024,"name":"groupName","url":"classes/layergroup.html#groupname","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":587,"kind":1024,"name":"allLayerArray","url":"classes/layergroup.html#alllayerarray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":588,"kind":1024,"name":"parent","url":"classes/layergroup.html#parent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":589,"kind":1024,"name":"allGroupArray","url":"classes/layergroup.html#allgrouparray","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":590,"kind":1024,"name":"allGroupLookup","url":"classes/layergroup.html#allgrouplookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":591,"kind":1024,"name":"allLayerLookup","url":"classes/layergroup.html#alllayerlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":592,"kind":1024,"name":"collapse","url":"classes/layergroup.html#collapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":593,"kind":1024,"name":"addCheck","url":"classes/layergroup.html#addcheck","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":594,"kind":1024,"name":"layerParentLookup","url":"classes/layergroup.html#layerparentlookup","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":595,"kind":512,"name":"constructor","url":"classes/layergroup.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":596,"kind":2048,"name":"addGroup","url":"classes/layergroup.html#addgroup","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":597,"kind":2048,"name":"addLegendLayer","url":"classes/layergroup.html#addlegendlayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":598,"kind":2048,"name":"getLegendHtml","url":"classes/layergroup.html#getlegendhtml","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":599,"kind":2048,"name":"_buildLegend","url":"classes/layergroup.html#_buildlegend","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"LayerGroup"},{"id":600,"kind":128,"name":"LayerLegend","url":"classes/layerlegend.html","classes":"tsd-kind-class"},{"id":601,"kind":1024,"name":"$divElement","url":"classes/layerlegend.html#_divelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":602,"kind":1024,"name":"_legendItems","url":"classes/layerlegend.html#_legenditems","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":603,"kind":1024,"name":"layerGroup","url":"classes/layerlegend.html#layergroup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":604,"kind":1024,"name":"legendId","url":"classes/layerlegend.html#legendid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerLegend"},{"id":605,"kind":512,"name":"constructor","url":"classes/layerlegend.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerLegend"},{"id":606,"kind":2048,"name":"_buildTree","url":"classes/layerlegend.html#_buildtree","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"LayerLegend"},{"id":607,"kind":256,"name":"TipSliderConfig","url":"interfaces/tipsliderconfig.html","classes":"tsd-kind-interface"},{"id":608,"kind":1024,"name":"label","url":"interfaces/tipsliderconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":609,"kind":1024,"name":"yearOptions","url":"interfaces/tipsliderconfig.html#yearoptions","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipSliderConfig"},{"id":610,"kind":256,"name":"TipPresetConfig","url":"interfaces/tippresetconfig.html","classes":"tsd-kind-interface"},{"id":611,"kind":1024,"name":"label","url":"interfaces/tippresetconfig.html#label","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":612,"kind":1024,"name":"presets","url":"interfaces/tippresetconfig.html#presets","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"TipPresetConfig"},{"id":613,"kind":256,"name":"ChangeResponse","url":"interfaces/changeresponse.html","classes":"tsd-kind-interface"},{"id":614,"kind":1024,"name":"paramWeights","url":"interfaces/changeresponse.html#paramweights","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":615,"kind":1024,"name":"region","url":"interfaces/changeresponse.html#region","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":616,"kind":1024,"name":"mmVersion","url":"interfaces/changeresponse.html#mmversion","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ChangeResponse"},{"id":617,"kind":256,"name":"ChangeCallback","url":"interfaces/changecallback.html","classes":"tsd-kind-interface"},{"id":618,"kind":128,"name":"TipPresets","url":"classes/tippresets.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":619,"kind":1024,"name":"label","url":"classes/tippresets.html#label","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":620,"kind":1024,"name":"presets","url":"classes/tippresets.html#presets","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":621,"kind":1024,"name":"domId","url":"classes/tippresets.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":622,"kind":512,"name":"constructor","url":"classes/tippresets.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"TipPresets"},{"id":623,"kind":128,"name":"_Slider","url":"classes/_slider.html","classes":"tsd-kind-class tsd-is-not-exported"},{"id":624,"kind":1024,"name":"_min","url":"classes/_slider.html#_min","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":625,"kind":1024,"name":"_max","url":"classes/_slider.html#_max","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":626,"kind":1024,"name":"_locked","url":"classes/_slider.html#_locked","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":627,"kind":1024,"name":"atMin","url":"classes/_slider.html#atmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":628,"kind":1024,"name":"atMax","url":"classes/_slider.html#atmax","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":629,"kind":1024,"name":"_weightDefault","url":"classes/_slider.html#_weightdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":630,"kind":1024,"name":"_weight","url":"classes/_slider.html#_weight","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":631,"kind":1024,"name":"html","url":"classes/_slider.html#html","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":632,"kind":1024,"name":"domId","url":"classes/_slider.html#domid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":633,"kind":1024,"name":"name","url":"classes/_slider.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":634,"kind":1024,"name":"labelLow","url":"classes/_slider.html#labellow","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":635,"kind":1024,"name":"labelHigh","url":"classes/_slider.html#labelhigh","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":636,"kind":1024,"name":"labelVal","url":"classes/_slider.html#labelval","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":637,"kind":1024,"name":"slider","url":"classes/_slider.html#slider","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":638,"kind":1024,"name":"selectionBox","url":"classes/_slider.html#selectionbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":639,"kind":1024,"name":"chk","url":"classes/_slider.html#chk","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":640,"kind":1024,"name":"selectedParam","url":"classes/_slider.html#selectedparam","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":641,"kind":1024,"name":"selectedParamDefault","url":"classes/_slider.html#selectedparamdefault","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":642,"kind":1024,"name":"_dropdownSelection","url":"classes/_slider.html#_dropdownselection","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":643,"kind":512,"name":"constructor","url":"classes/_slider.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":644,"kind":2048,"name":"addToDom","url":"classes/_slider.html#addtodom","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":645,"kind":2048,"name":"increment","url":"classes/_slider.html#increment","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":646,"kind":2048,"name":"setValAndDropDown","url":"classes/_slider.html#setvalanddropdown","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":647,"kind":262144,"name":"locked","url":"classes/_slider.html#locked","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":648,"kind":262144,"name":"min","url":"classes/_slider.html#min","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":649,"kind":262144,"name":"max","url":"classes/_slider.html#max","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":650,"kind":262144,"name":"weight","url":"classes/_slider.html#weight","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-not-exported","parent":"_Slider"},{"id":651,"kind":128,"name":"TipSliders","url":"classes/tipsliders.html","classes":"tsd-kind-class"},{"id":652,"kind":1024,"name":"$container","url":"classes/tipsliders.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":653,"kind":1024,"name":"reservedPercent","url":"classes/tipsliders.html#reservedpercent","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":654,"kind":1024,"name":"lockedCount","url":"classes/tipsliders.html#lockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":655,"kind":1024,"name":"notLockedCount","url":"classes/tipsliders.html#notlockedcount","classes":"tsd-kind-property tsd-parent-kind-class","parent":"TipSliders"},{"id":656,"kind":512,"name":"constructor","url":"classes/tipsliders.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"TipSliders"},{"id":657,"kind":2048,"name":"_runChangedCallback","url":"classes/tipsliders.html#_runchangedcallback","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":658,"kind":262144,"name":"changedCallback","url":"classes/tipsliders.html#changedcallback","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"TipSliders"},{"id":659,"kind":2048,"name":"setPresetValues","url":"classes/tipsliders.html#setpresetvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":660,"kind":2048,"name":"_splitSliderArray","url":"classes/tipsliders.html#_splitsliderarray","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":661,"kind":2048,"name":"_handleRemainder","url":"classes/tipsliders.html#_handleremainder","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"TipSliders"},{"id":662,"kind":2048,"name":"setValues","url":"classes/tipsliders.html#setvalues","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":663,"kind":2048,"name":"getSum","url":"classes/tipsliders.html#getsum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":664,"kind":2048,"name":"getParams","url":"classes/tipsliders.html#getparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":665,"kind":2048,"name":"_addEventListeners","url":"classes/tipsliders.html#_addeventlisteners","classes":"tsd-kind-method tsd-parent-kind-class","parent":"TipSliders"},{"id":666,"kind":262144,"name":"paramWeightsRegionVersion","url":"classes/tipsliders.html#paramweightsregionversion","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"TipSliders"},{"id":667,"kind":128,"name":"DayRange","url":"classes/dayrange.html","classes":"tsd-kind-class"},{"id":668,"kind":1024,"name":"_workingDayRange","url":"classes/dayrange.html#_workingdayrange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":669,"kind":1024,"name":"_$startDate","url":"classes/dayrange.html#__startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":670,"kind":1024,"name":"_$endDate","url":"classes/dayrange.html#__enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":671,"kind":1024,"name":"_maxDateRange","url":"classes/dayrange.html#_maxdaterange","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":672,"kind":1024,"name":"_startDate","url":"classes/dayrange.html#_startdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":673,"kind":1024,"name":"_endDate","url":"classes/dayrange.html#_enddate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DayRange"},{"id":674,"kind":512,"name":"constructor","url":"classes/dayrange.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"DayRange"},{"id":675,"kind":262144,"name":"startDate","url":"classes/dayrange.html#startdate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":676,"kind":262144,"name":"endDate","url":"classes/dayrange.html#enddate","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"DayRange"},{"id":677,"kind":256,"name":"rangeChangedCallback","url":"interfaces/rangechangedcallback.html","classes":"tsd-kind-interface"},{"id":678,"kind":32,"name":"mouseIn","url":"globals.html#mousein","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":679,"kind":32,"name":"mouseDown","url":"globals.html#mousedown","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":680,"kind":32,"name":"timeout","url":"globals.html#timeout","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":681,"kind":32,"name":"dragged","url":"globals.html#dragged","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":682,"kind":32,"name":"lastVal","url":"globals.html#lastval","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":683,"kind":64,"name":"triggerCallback","url":"globals.html#triggercallback","classes":"tsd-kind-function tsd-is-not-exported"},{"id":684,"kind":64,"name":"rangeChange","url":"globals.html#rangechange","classes":"tsd-kind-function"},{"id":685,"kind":256,"name":"changeFunction","url":"interfaces/changefunction.html","classes":"tsd-kind-interface"},{"id":686,"kind":256,"name":"mediaRangeConfig","url":"interfaces/mediarangeconfig.html","classes":"tsd-kind-interface"},{"id":687,"kind":1024,"name":"min","url":"interfaces/mediarangeconfig.html#min","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":688,"kind":1024,"name":"max","url":"interfaces/mediarangeconfig.html#max","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":689,"kind":1024,"name":"val","url":"interfaces/mediarangeconfig.html#val","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":690,"kind":1024,"name":"step","url":"interfaces/mediarangeconfig.html#step","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":691,"kind":1024,"name":"playInterval","url":"interfaces/mediarangeconfig.html#playinterval","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":692,"kind":1024,"name":"showAsDate","url":"interfaces/mediarangeconfig.html#showasdate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"mediaRangeConfig"},{"id":693,"kind":128,"name":"MediaControl","url":"classes/mediacontrol.html","classes":"tsd-kind-class"},{"id":694,"kind":1024,"name":"_container","url":"classes/mediacontrol.html#_container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":695,"kind":1024,"name":"_min","url":"classes/mediacontrol.html#_min","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":696,"kind":1024,"name":"_max","url":"classes/mediacontrol.html#_max","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":697,"kind":1024,"name":"_playInterval","url":"classes/mediacontrol.html#_playinterval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":698,"kind":1024,"name":"_step","url":"classes/mediacontrol.html#_step","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":699,"kind":1024,"name":"_currentValue","url":"classes/mediacontrol.html#_currentvalue","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":700,"kind":1024,"name":"_playing","url":"classes/mediacontrol.html#_playing","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":701,"kind":1024,"name":"_$btnStop","url":"classes/mediacontrol.html#__btnstop","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":702,"kind":1024,"name":"_$slider","url":"classes/mediacontrol.html#__slider","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":703,"kind":1024,"name":"_$valLabelVal","url":"classes/mediacontrol.html#__vallabelval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":704,"kind":1024,"name":"_$valLabelMin","url":"classes/mediacontrol.html#__vallabelmin","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":705,"kind":1024,"name":"_$valLabelMax","url":"classes/mediacontrol.html#__vallabelmax","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":706,"kind":1024,"name":"_interval","url":"classes/mediacontrol.html#_interval","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":707,"kind":1024,"name":"_showAsDate","url":"classes/mediacontrol.html#_showasdate","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":708,"kind":1024,"name":"_changeFunc","url":"classes/mediacontrol.html#_changefunc","classes":"tsd-kind-property tsd-parent-kind-class","parent":"MediaControl"},{"id":709,"kind":512,"name":"constructor","url":"classes/mediacontrol.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"MediaControl"},{"id":710,"kind":2048,"name":"stopPlaying","url":"classes/mediacontrol.html#stopplaying","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":711,"kind":262144,"name":"playing","url":"classes/mediacontrol.html#playing","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":712,"kind":262144,"name":"min","url":"classes/mediacontrol.html#min","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":713,"kind":262144,"name":"max","url":"classes/mediacontrol.html#max","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":714,"kind":262144,"name":"step","url":"classes/mediacontrol.html#step","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":715,"kind":262144,"name":"currentValue","url":"classes/mediacontrol.html#currentvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"MediaControl"},{"id":716,"kind":2048,"name":"setMinMaxValueStep","url":"classes/mediacontrol.html#setminmaxvaluestep","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MediaControl"},{"id":717,"kind":262144,"name":"changeFunction","url":"classes/mediacontrol.html#changefunction","classes":"tsd-kind-set-signature tsd-parent-kind-class","parent":"MediaControl"},{"id":718,"kind":64,"name":"timeToLocalDateString","url":"globals.html#timetolocaldatestring","classes":"tsd-kind-function tsd-is-not-exported"},{"id":719,"kind":256,"name":"selectChangeCallback","url":"interfaces/selectchangecallback.html","classes":"tsd-kind-interface"},{"id":720,"kind":256,"name":"contentGenerator","url":"interfaces/contentgenerator.html","classes":"tsd-kind-interface"},{"id":721,"kind":128,"name":"SelectBoxBase","url":"classes/selectboxbase.html","classes":"tsd-kind-class"},{"id":722,"kind":1024,"name":"_$container","url":"classes/selectboxbase.html#__container","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":723,"kind":1024,"name":"$label","url":"classes/selectboxbase.html#_label","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":724,"kind":1024,"name":"_box","url":"classes/selectboxbase.html#_box","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":725,"kind":1024,"name":"_changeListeners","url":"classes/selectboxbase.html#_changelisteners","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":726,"kind":512,"name":"constructor","url":"classes/selectboxbase.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":727,"kind":262144,"name":"box","url":"classes/selectboxbase.html#box","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":728,"kind":2048,"name":"changed","url":"classes/selectboxbase.html#changed","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":729,"kind":2048,"name":"addChangeListener","url":"classes/selectboxbase.html#addchangelistener","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":730,"kind":262144,"name":"selectedValue","url":"classes/selectboxbase.html#selectedvalue","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":731,"kind":262144,"name":"selectedText","url":"classes/selectboxbase.html#selectedtext","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"SelectBoxBase"},{"id":732,"kind":256,"name":"LayerBaseVectorEsriOptions","url":"interfaces/layerbasevectoresrioptions.html","classes":"tsd-kind-interface"},{"id":733,"kind":1024,"name":"format","url":"interfaces/layerbasevectoresrioptions.html#format","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":734,"kind":1024,"name":"outSR","url":"interfaces/layerbasevectoresrioptions.html#outsr","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":735,"kind":1024,"name":"where","url":"interfaces/layerbasevectoresrioptions.html#where","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":736,"kind":1024,"name":"outFields","url":"interfaces/layerbasevectoresrioptions.html#outfields","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":737,"kind":1024,"name":"useEsriStyle","url":"interfaces/layerbasevectoresrioptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerBaseVectorEsriOptions"},{"id":738,"kind":1024,"name":"autoLoad","url":"interfaces/layerbasevectoresrioptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":739,"kind":1024,"name":"style","url":"interfaces/layerbasevectoresrioptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":740,"kind":1024,"name":"onDemand","url":"interfaces/layerbasevectoresrioptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":741,"kind":1024,"name":"onDemandDelay","url":"interfaces/layerbasevectoresrioptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":742,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layerbasevectoresrioptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":743,"kind":1024,"name":"mapMoveObj","url":"interfaces/layerbasevectoresrioptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":744,"kind":1024,"name":"renderOrder","url":"interfaces/layerbasevectoresrioptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":745,"kind":65536,"name":"__type","url":"interfaces/layerbasevectoresrioptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerBaseVectorEsriOptions.renderOrder"},{"id":746,"kind":1024,"name":"id","url":"interfaces/layerbasevectoresrioptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":747,"kind":1024,"name":"name","url":"interfaces/layerbasevectoresrioptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":748,"kind":1024,"name":"opacity","url":"interfaces/layerbasevectoresrioptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":749,"kind":1024,"name":"visible","url":"interfaces/layerbasevectoresrioptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":750,"kind":1024,"name":"minZoom","url":"interfaces/layerbasevectoresrioptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":751,"kind":1024,"name":"maxZoom","url":"interfaces/layerbasevectoresrioptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":752,"kind":1024,"name":"params","url":"interfaces/layerbasevectoresrioptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":753,"kind":1024,"name":"zIndex","url":"interfaces/layerbasevectoresrioptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":754,"kind":1024,"name":"loadCallback","url":"interfaces/layerbasevectoresrioptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":755,"kind":1024,"name":"legendCollapse","url":"interfaces/layerbasevectoresrioptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":756,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerbasevectoresrioptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":757,"kind":1024,"name":"legendContent","url":"interfaces/layerbasevectoresrioptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerBaseVectorEsriOptions"},{"id":758,"kind":128,"name":"LayerBaseVectorEsri","url":"classes/layerbasevectoresri.html","classes":"tsd-kind-class"},{"id":759,"kind":1024,"name":"_outSR","url":"classes/layerbasevectoresri.html#_outsr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":760,"kind":1024,"name":"_esriFormat","url":"classes/layerbasevectoresri.html#_esriformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":761,"kind":1024,"name":"_urlCopy","url":"classes/layerbasevectoresri.html#_urlcopy","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":762,"kind":1024,"name":"_useEsriStyle","url":"classes/layerbasevectoresri.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerBaseVectorEsri"},{"id":763,"kind":512,"name":"constructor","url":"classes/layerbasevectoresri.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":764,"kind":2048,"name":"addLegendContent","url":"classes/layerbasevectoresri.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":765,"kind":2048,"name":"addFeatures","url":"classes/layerbasevectoresri.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":766,"kind":2048,"name":"_load","url":"classes/layerbasevectoresri.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":767,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":768,"kind":2048,"name":"mapMoveBefore","url":"classes/layerbasevectoresri.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":769,"kind":2048,"name":"mapMoveCallback","url":"classes/layerbasevectoresri.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseVectorEsri"},{"id":770,"kind":1024,"name":"_olLayer","url":"classes/layerbasevectoresri.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":771,"kind":1024,"name":"_source","url":"classes/layerbasevectoresri.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":772,"kind":1024,"name":"_style","url":"classes/layerbasevectoresri.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":773,"kind":1024,"name":"_autoLoad","url":"classes/layerbasevectoresri.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":774,"kind":1024,"name":"_onDemand","url":"classes/layerbasevectoresri.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":775,"kind":1024,"name":"_onDemandDelay","url":"classes/layerbasevectoresri.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":776,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layerbasevectoresri.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":777,"kind":1024,"name":"_mapMoveParams","url":"classes/layerbasevectoresri.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":778,"kind":1024,"name":"_mapMove","url":"classes/layerbasevectoresri.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":779,"kind":1024,"name":"_projectionMap","url":"classes/layerbasevectoresri.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":780,"kind":1024,"name":"_projection4326","url":"classes/layerbasevectoresri.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":781,"kind":2048,"name":"clear","url":"classes/layerbasevectoresri.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":782,"kind":262144,"name":"onDemandDelay","url":"classes/layerbasevectoresri.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":783,"kind":262144,"name":"autoLoad","url":"classes/layerbasevectoresri.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":784,"kind":262144,"name":"style","url":"classes/layerbasevectoresri.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":785,"kind":262144,"name":"mapCrs","url":"classes/layerbasevectoresri.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":786,"kind":262144,"name":"mapProj","url":"classes/layerbasevectoresri.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":787,"kind":262144,"name":"mapMove","url":"classes/layerbasevectoresri.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":788,"kind":262144,"name":"mapMoveParams","url":"classes/layerbasevectoresri.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":789,"kind":262144,"name":"visible","url":"classes/layerbasevectoresri.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":790,"kind":262144,"name":"source","url":"classes/layerbasevectoresri.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":791,"kind":262144,"name":"features","url":"classes/layerbasevectoresri.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":792,"kind":262144,"name":"olLayer","url":"classes/layerbasevectoresri.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":793,"kind":2048,"name":"setZIndex","url":"classes/layerbasevectoresri.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":794,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasevectoresri.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":795,"kind":1024,"name":"_url","url":"classes/layerbasevectoresri.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":796,"kind":1024,"name":"_opacity","url":"classes/layerbasevectoresri.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":797,"kind":1024,"name":"_minZoom","url":"classes/layerbasevectoresri.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":798,"kind":1024,"name":"_maxZoom","url":"classes/layerbasevectoresri.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":799,"kind":1024,"name":"_visible","url":"classes/layerbasevectoresri.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":800,"kind":1024,"name":"_loaded","url":"classes/layerbasevectoresri.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":801,"kind":1024,"name":"_zIndex","url":"classes/layerbasevectoresri.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":802,"kind":1024,"name":"_legendContent","url":"classes/layerbasevectoresri.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":803,"kind":1024,"name":"_params","url":"classes/layerbasevectoresri.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":804,"kind":1024,"name":"_id","url":"classes/layerbasevectoresri.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":805,"kind":1024,"name":"_name","url":"classes/layerbasevectoresri.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":806,"kind":1024,"name":"_animate","url":"classes/layerbasevectoresri.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":807,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasevectoresri.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":808,"kind":1024,"name":"_maxResolution","url":"classes/layerbasevectoresri.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":809,"kind":1024,"name":"_minResolution","url":"classes/layerbasevectoresri.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":810,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasevectoresri.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":811,"kind":1024,"name":"loadCallback","url":"classes/layerbasevectoresri.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":812,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasevectoresri.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":813,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasevectoresri.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":814,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasevectoresri.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseVectorEsri"},{"id":815,"kind":2048,"name":"applyCollapse","url":"classes/layerbasevectoresri.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":816,"kind":2048,"name":"refresh","url":"classes/layerbasevectoresri.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":817,"kind":262144,"name":"id","url":"classes/layerbasevectoresri.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":818,"kind":262144,"name":"animate","url":"classes/layerbasevectoresri.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":819,"kind":262144,"name":"legendContent","url":"classes/layerbasevectoresri.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":820,"kind":262144,"name":"params","url":"classes/layerbasevectoresri.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":821,"kind":262144,"name":"minResolution","url":"classes/layerbasevectoresri.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":822,"kind":262144,"name":"maxResolution","url":"classes/layerbasevectoresri.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":823,"kind":262144,"name":"minZoom","url":"classes/layerbasevectoresri.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":824,"kind":262144,"name":"maxZoom","url":"classes/layerbasevectoresri.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":825,"kind":262144,"name":"url","url":"classes/layerbasevectoresri.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":826,"kind":2048,"name":"setVisible","url":"classes/layerbasevectoresri.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":827,"kind":262144,"name":"opacity","url":"classes/layerbasevectoresri.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":828,"kind":262144,"name":"name","url":"classes/layerbasevectoresri.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":829,"kind":262144,"name":"loaded","url":"classes/layerbasevectoresri.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":830,"kind":2048,"name":"getSource","url":"classes/layerbasevectoresri.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":831,"kind":262144,"name":"zIndex","url":"classes/layerbasevectoresri.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseVectorEsri"},{"id":832,"kind":2048,"name":"getOlLayer","url":"classes/layerbasevectoresri.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseVectorEsri"},{"id":833,"kind":128,"name":"LayerBaseXyzTile","url":"classes/layerbasexyztile.html","classes":"tsd-kind-class"},{"id":834,"kind":512,"name":"constructor","url":"classes/layerbasexyztile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":835,"kind":262144,"name":"source","url":"classes/layerbasexyztile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":836,"kind":262144,"name":"olLayer","url":"classes/layerbasexyztile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"LayerBaseXyzTile"},{"id":837,"kind":1024,"name":"_legendCheckbox","url":"classes/layerbasexyztile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":838,"kind":1024,"name":"_url","url":"classes/layerbasexyztile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":839,"kind":1024,"name":"_opacity","url":"classes/layerbasexyztile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":840,"kind":1024,"name":"_minZoom","url":"classes/layerbasexyztile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":841,"kind":1024,"name":"_maxZoom","url":"classes/layerbasexyztile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":842,"kind":1024,"name":"_visible","url":"classes/layerbasexyztile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":843,"kind":1024,"name":"_loaded","url":"classes/layerbasexyztile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":844,"kind":1024,"name":"_zIndex","url":"classes/layerbasexyztile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":845,"kind":1024,"name":"_legendContent","url":"classes/layerbasexyztile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":846,"kind":1024,"name":"_params","url":"classes/layerbasexyztile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":847,"kind":1024,"name":"_id","url":"classes/layerbasexyztile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":848,"kind":1024,"name":"_name","url":"classes/layerbasexyztile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":849,"kind":1024,"name":"_source","url":"classes/layerbasexyztile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":850,"kind":1024,"name":"_animate","url":"classes/layerbasexyztile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":851,"kind":1024,"name":"_legendCollapse","url":"classes/layerbasexyztile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":852,"kind":1024,"name":"_maxResolution","url":"classes/layerbasexyztile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":853,"kind":1024,"name":"_minResolution","url":"classes/layerbasexyztile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":854,"kind":1024,"name":"_$legendDiv","url":"classes/layerbasexyztile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":855,"kind":1024,"name":"loadCallback","url":"classes/layerbasexyztile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":856,"kind":1024,"name":"_olLayer","url":"classes/layerbasexyztile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":857,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerbasexyztile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":858,"kind":2048,"name":"_load","url":"classes/layerbasexyztile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":859,"kind":2048,"name":"getLegendDiv","url":"classes/layerbasexyztile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":860,"kind":2048,"name":"_addLegendContent","url":"classes/layerbasexyztile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerBaseXyzTile"},{"id":861,"kind":2048,"name":"addLegendContent","url":"classes/layerbasexyztile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":862,"kind":2048,"name":"applyCollapse","url":"classes/layerbasexyztile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":863,"kind":2048,"name":"refresh","url":"classes/layerbasexyztile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":864,"kind":262144,"name":"id","url":"classes/layerbasexyztile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":865,"kind":262144,"name":"animate","url":"classes/layerbasexyztile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":866,"kind":262144,"name":"legendContent","url":"classes/layerbasexyztile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":867,"kind":262144,"name":"params","url":"classes/layerbasexyztile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":868,"kind":262144,"name":"minResolution","url":"classes/layerbasexyztile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":869,"kind":262144,"name":"maxResolution","url":"classes/layerbasexyztile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":870,"kind":262144,"name":"minZoom","url":"classes/layerbasexyztile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":871,"kind":262144,"name":"maxZoom","url":"classes/layerbasexyztile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":872,"kind":262144,"name":"url","url":"classes/layerbasexyztile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":873,"kind":262144,"name":"visible","url":"classes/layerbasexyztile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":874,"kind":2048,"name":"setVisible","url":"classes/layerbasexyztile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":875,"kind":262144,"name":"opacity","url":"classes/layerbasexyztile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":876,"kind":262144,"name":"name","url":"classes/layerbasexyztile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":877,"kind":262144,"name":"loaded","url":"classes/layerbasexyztile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":878,"kind":2048,"name":"getSource","url":"classes/layerbasexyztile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":879,"kind":262144,"name":"zIndex","url":"classes/layerbasexyztile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerBaseXyzTile"},{"id":880,"kind":2048,"name":"setZIndex","url":"classes/layerbasexyztile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":881,"kind":2048,"name":"getOlLayer","url":"classes/layerbasexyztile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerBaseXyzTile"},{"id":882,"kind":256,"name":"LayerEsriTileOptions","url":"interfaces/layeresritileoptions.html","classes":"tsd-kind-interface"},{"id":883,"kind":1024,"name":"useEsriStyle","url":"interfaces/layeresritileoptions.html#useesristyle","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerEsriTileOptions"},{"id":884,"kind":1024,"name":"id","url":"interfaces/layeresritileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":885,"kind":1024,"name":"name","url":"interfaces/layeresritileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":886,"kind":1024,"name":"opacity","url":"interfaces/layeresritileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":887,"kind":1024,"name":"visible","url":"interfaces/layeresritileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":888,"kind":1024,"name":"minZoom","url":"interfaces/layeresritileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":889,"kind":1024,"name":"maxZoom","url":"interfaces/layeresritileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":890,"kind":1024,"name":"params","url":"interfaces/layeresritileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":891,"kind":1024,"name":"zIndex","url":"interfaces/layeresritileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":892,"kind":1024,"name":"loadCallback","url":"interfaces/layeresritileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":893,"kind":1024,"name":"legendCollapse","url":"interfaces/layeresritileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":894,"kind":1024,"name":"legendCheckbox","url":"interfaces/layeresritileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":895,"kind":1024,"name":"legendContent","url":"interfaces/layeresritileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerEsriTileOptions"},{"id":896,"kind":128,"name":"LayerEsriTile","url":"classes/layeresritile.html","classes":"tsd-kind-class"},{"id":897,"kind":1024,"name":"_useEsriStyle","url":"classes/layeresritile.html#_useesristyle","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerEsriTile"},{"id":898,"kind":512,"name":"constructor","url":"classes/layeresritile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":899,"kind":2048,"name":"addLegendContent","url":"classes/layeresritile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerEsriTile"},{"id":900,"kind":262144,"name":"source","url":"classes/layeresritile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":901,"kind":262144,"name":"olLayer","url":"classes/layeresritile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerEsriTile"},{"id":902,"kind":1024,"name":"_legendCheckbox","url":"classes/layeresritile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":903,"kind":1024,"name":"_url","url":"classes/layeresritile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":904,"kind":1024,"name":"_opacity","url":"classes/layeresritile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":905,"kind":1024,"name":"_minZoom","url":"classes/layeresritile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":906,"kind":1024,"name":"_maxZoom","url":"classes/layeresritile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":907,"kind":1024,"name":"_visible","url":"classes/layeresritile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":908,"kind":1024,"name":"_loaded","url":"classes/layeresritile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":909,"kind":1024,"name":"_zIndex","url":"classes/layeresritile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":910,"kind":1024,"name":"_legendContent","url":"classes/layeresritile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":911,"kind":1024,"name":"_params","url":"classes/layeresritile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":912,"kind":1024,"name":"_id","url":"classes/layeresritile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":913,"kind":1024,"name":"_name","url":"classes/layeresritile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":914,"kind":1024,"name":"_source","url":"classes/layeresritile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":915,"kind":1024,"name":"_animate","url":"classes/layeresritile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":916,"kind":1024,"name":"_legendCollapse","url":"classes/layeresritile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":917,"kind":1024,"name":"_maxResolution","url":"classes/layeresritile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":918,"kind":1024,"name":"_minResolution","url":"classes/layeresritile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":919,"kind":1024,"name":"_$legendDiv","url":"classes/layeresritile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":920,"kind":1024,"name":"loadCallback","url":"classes/layeresritile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":921,"kind":1024,"name":"_olLayer","url":"classes/layeresritile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":922,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layeresritile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":923,"kind":2048,"name":"_load","url":"classes/layeresritile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":924,"kind":2048,"name":"getLegendDiv","url":"classes/layeresritile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":925,"kind":2048,"name":"_addLegendContent","url":"classes/layeresritile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerEsriTile"},{"id":926,"kind":2048,"name":"applyCollapse","url":"classes/layeresritile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":927,"kind":2048,"name":"refresh","url":"classes/layeresritile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":928,"kind":262144,"name":"id","url":"classes/layeresritile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":929,"kind":262144,"name":"animate","url":"classes/layeresritile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":930,"kind":262144,"name":"legendContent","url":"classes/layeresritile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":931,"kind":262144,"name":"params","url":"classes/layeresritile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":932,"kind":262144,"name":"minResolution","url":"classes/layeresritile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":933,"kind":262144,"name":"maxResolution","url":"classes/layeresritile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":934,"kind":262144,"name":"minZoom","url":"classes/layeresritile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":935,"kind":262144,"name":"maxZoom","url":"classes/layeresritile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":936,"kind":262144,"name":"url","url":"classes/layeresritile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":937,"kind":262144,"name":"visible","url":"classes/layeresritile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":938,"kind":2048,"name":"setVisible","url":"classes/layeresritile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":939,"kind":262144,"name":"opacity","url":"classes/layeresritile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":940,"kind":262144,"name":"name","url":"classes/layeresritile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":941,"kind":262144,"name":"loaded","url":"classes/layeresritile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":942,"kind":2048,"name":"getSource","url":"classes/layeresritile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":943,"kind":262144,"name":"zIndex","url":"classes/layeresritile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerEsriTile"},{"id":944,"kind":2048,"name":"setZIndex","url":"classes/layeresritile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":945,"kind":2048,"name":"getOlLayer","url":"classes/layeresritile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerEsriTile"},{"id":946,"kind":128,"name":"RealEarthAnimateVector","url":"classes/realearthanimatevector.html","classes":"tsd-kind-class"},{"id":947,"kind":1024,"name":"_dataCache","url":"classes/realearthanimatevector.html#_datacache","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":948,"kind":1024,"name":"_source","url":"classes/realearthanimatevector.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":949,"kind":1024,"name":"_rawTimesLookup","url":"classes/realearthanimatevector.html#_rawtimeslookup","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":950,"kind":65536,"name":"__type","url":"classes/realearthanimatevector.html#_rawtimeslookup.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property","parent":"RealEarthAnimateVector._rawTimesLookup"},{"id":951,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatevector.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":952,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatevector.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":953,"kind":1024,"name":"_lyr","url":"classes/realearthanimatevector.html#_lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateVector"},{"id":954,"kind":512,"name":"constructor","url":"classes/realearthanimatevector.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":955,"kind":2048,"name":"timeInit","url":"classes/realearthanimatevector.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":956,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatevector.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":957,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatevector.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateVector"},{"id":958,"kind":2048,"name":"_loadAtTimeIndex","url":"classes/realearthanimatevector.html#_loadattimeindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":959,"kind":2048,"name":"_loadFeatures","url":"classes/realearthanimatevector.html#_loadfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"RealEarthAnimateVector"},{"id":960,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatevector.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateVector"},{"id":961,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatevector.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":962,"kind":1024,"name":"_localDates","url":"classes/realearthanimatevector.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":963,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatevector.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":964,"kind":1024,"name":"_products","url":"classes/realearthanimatevector.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":965,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatevector.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":966,"kind":1024,"name":"localTimes","url":"classes/realearthanimatevector.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":967,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatevector.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":968,"kind":1024,"name":"lyr","url":"classes/realearthanimatevector.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateVector"},{"id":969,"kind":256,"name":"LayerVectorRealEarthOptions","url":"interfaces/layervectorrealearthoptions.html","classes":"tsd-kind-interface"},{"id":970,"kind":1024,"name":"products","url":"interfaces/layervectorrealearthoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":971,"kind":1024,"name":"animate","url":"interfaces/layervectorrealearthoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":972,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layervectorrealearthoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerVectorRealEarthOptions"},{"id":973,"kind":1024,"name":"transform","url":"interfaces/layervectorrealearthoptions.html#transform","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":974,"kind":1024,"name":"mapMoveObj","url":"interfaces/layervectorrealearthoptions.html#mapmoveobj","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":975,"kind":1024,"name":"autoLoad","url":"interfaces/layervectorrealearthoptions.html#autoload","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":976,"kind":1024,"name":"style","url":"interfaces/layervectorrealearthoptions.html#style","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":977,"kind":1024,"name":"onDemand","url":"interfaces/layervectorrealearthoptions.html#ondemand","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":978,"kind":1024,"name":"onDemandDelay","url":"interfaces/layervectorrealearthoptions.html#ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":979,"kind":1024,"name":"mapMoveMakeGetParams","url":"interfaces/layervectorrealearthoptions.html#mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":980,"kind":1024,"name":"renderOrder","url":"interfaces/layervectorrealearthoptions.html#renderorder","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":981,"kind":65536,"name":"__type","url":"interfaces/layervectorrealearthoptions.html#renderorder.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"LayerVectorRealEarthOptions.renderOrder"},{"id":982,"kind":1024,"name":"id","url":"interfaces/layervectorrealearthoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":983,"kind":1024,"name":"name","url":"interfaces/layervectorrealearthoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":984,"kind":1024,"name":"opacity","url":"interfaces/layervectorrealearthoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":985,"kind":1024,"name":"visible","url":"interfaces/layervectorrealearthoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":986,"kind":1024,"name":"minZoom","url":"interfaces/layervectorrealearthoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":987,"kind":1024,"name":"maxZoom","url":"interfaces/layervectorrealearthoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":988,"kind":1024,"name":"params","url":"interfaces/layervectorrealearthoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":989,"kind":1024,"name":"zIndex","url":"interfaces/layervectorrealearthoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":990,"kind":1024,"name":"loadCallback","url":"interfaces/layervectorrealearthoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":991,"kind":1024,"name":"legendCollapse","url":"interfaces/layervectorrealearthoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":992,"kind":1024,"name":"legendCheckbox","url":"interfaces/layervectorrealearthoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":993,"kind":1024,"name":"legendContent","url":"interfaces/layervectorrealearthoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerVectorRealEarthOptions"},{"id":994,"kind":128,"name":"LayerVectorRealEarth","url":"classes/layervectorrealearth.html","classes":"tsd-kind-class"},{"id":995,"kind":1024,"name":"_products","url":"classes/layervectorrealearth.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":996,"kind":1024,"name":"animator","url":"classes/layervectorrealearth.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":997,"kind":512,"name":"constructor","url":"classes/layervectorrealearth.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":998,"kind":2048,"name":"setLayerTime","url":"classes/layervectorrealearth.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerVectorRealEarth"},{"id":999,"kind":2048,"name":"_load","url":"classes/layervectorrealearth.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerVectorRealEarth"},{"id":1000,"kind":1024,"name":"_geoJsonFormat","url":"classes/layervectorrealearth.html#_geojsonformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1001,"kind":1024,"name":"_transform","url":"classes/layervectorrealearth.html#_transform","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1002,"kind":2048,"name":"addFeatures","url":"classes/layervectorrealearth.html#addfeatures","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1003,"kind":2048,"name":"mapMoveCallback","url":"classes/layervectorrealearth.html#mapmovecallback","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1004,"kind":1024,"name":"_olLayer","url":"classes/layervectorrealearth.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1005,"kind":1024,"name":"_source","url":"classes/layervectorrealearth.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1006,"kind":1024,"name":"_style","url":"classes/layervectorrealearth.html#_style","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1007,"kind":1024,"name":"_autoLoad","url":"classes/layervectorrealearth.html#_autoload","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1008,"kind":1024,"name":"_onDemand","url":"classes/layervectorrealearth.html#_ondemand","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1009,"kind":1024,"name":"_onDemandDelay","url":"classes/layervectorrealearth.html#_ondemanddelay","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1010,"kind":1024,"name":"_mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#_mapmovemakegetparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1011,"kind":1024,"name":"_mapMoveParams","url":"classes/layervectorrealearth.html#_mapmoveparams","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1012,"kind":1024,"name":"_mapMove","url":"classes/layervectorrealearth.html#_mapmove","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1013,"kind":1024,"name":"_projectionMap","url":"classes/layervectorrealearth.html#_projectionmap","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1014,"kind":1024,"name":"_projection4326","url":"classes/layervectorrealearth.html#_projection4326","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1015,"kind":2048,"name":"mapMoveBefore","url":"classes/layervectorrealearth.html#mapmovebefore","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1016,"kind":2048,"name":"mapMoveMakeGetParams","url":"classes/layervectorrealearth.html#mapmovemakegetparams","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1017,"kind":2048,"name":"clear","url":"classes/layervectorrealearth.html#clear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1018,"kind":262144,"name":"onDemandDelay","url":"classes/layervectorrealearth.html#ondemanddelay","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1019,"kind":262144,"name":"autoLoad","url":"classes/layervectorrealearth.html#autoload","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1020,"kind":262144,"name":"style","url":"classes/layervectorrealearth.html#style","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1021,"kind":262144,"name":"mapCrs","url":"classes/layervectorrealearth.html#mapcrs","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1022,"kind":262144,"name":"mapProj","url":"classes/layervectorrealearth.html#mapproj","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1023,"kind":262144,"name":"mapMove","url":"classes/layervectorrealearth.html#mapmove","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1024,"kind":262144,"name":"mapMoveParams","url":"classes/layervectorrealearth.html#mapmoveparams","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1025,"kind":262144,"name":"visible","url":"classes/layervectorrealearth.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1026,"kind":262144,"name":"source","url":"classes/layervectorrealearth.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1027,"kind":262144,"name":"features","url":"classes/layervectorrealearth.html#features","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1028,"kind":262144,"name":"olLayer","url":"classes/layervectorrealearth.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1029,"kind":2048,"name":"setZIndex","url":"classes/layervectorrealearth.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1030,"kind":1024,"name":"_legendCheckbox","url":"classes/layervectorrealearth.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1031,"kind":1024,"name":"_url","url":"classes/layervectorrealearth.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1032,"kind":1024,"name":"_opacity","url":"classes/layervectorrealearth.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1033,"kind":1024,"name":"_minZoom","url":"classes/layervectorrealearth.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1034,"kind":1024,"name":"_maxZoom","url":"classes/layervectorrealearth.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1035,"kind":1024,"name":"_visible","url":"classes/layervectorrealearth.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1036,"kind":1024,"name":"_loaded","url":"classes/layervectorrealearth.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1037,"kind":1024,"name":"_zIndex","url":"classes/layervectorrealearth.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1038,"kind":1024,"name":"_legendContent","url":"classes/layervectorrealearth.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1039,"kind":1024,"name":"_params","url":"classes/layervectorrealearth.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1040,"kind":1024,"name":"_id","url":"classes/layervectorrealearth.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1041,"kind":1024,"name":"_name","url":"classes/layervectorrealearth.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1042,"kind":1024,"name":"_animate","url":"classes/layervectorrealearth.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1043,"kind":1024,"name":"_legendCollapse","url":"classes/layervectorrealearth.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1044,"kind":1024,"name":"_maxResolution","url":"classes/layervectorrealearth.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1045,"kind":1024,"name":"_minResolution","url":"classes/layervectorrealearth.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1046,"kind":1024,"name":"_$legendDiv","url":"classes/layervectorrealearth.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1047,"kind":1024,"name":"loadCallback","url":"classes/layervectorrealearth.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1048,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layervectorrealearth.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1049,"kind":2048,"name":"getLegendDiv","url":"classes/layervectorrealearth.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1050,"kind":2048,"name":"_addLegendContent","url":"classes/layervectorrealearth.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerVectorRealEarth"},{"id":1051,"kind":2048,"name":"addLegendContent","url":"classes/layervectorrealearth.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1052,"kind":2048,"name":"applyCollapse","url":"classes/layervectorrealearth.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1053,"kind":2048,"name":"refresh","url":"classes/layervectorrealearth.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1054,"kind":262144,"name":"id","url":"classes/layervectorrealearth.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1055,"kind":262144,"name":"animate","url":"classes/layervectorrealearth.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1056,"kind":262144,"name":"legendContent","url":"classes/layervectorrealearth.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1057,"kind":262144,"name":"params","url":"classes/layervectorrealearth.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1058,"kind":262144,"name":"minResolution","url":"classes/layervectorrealearth.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1059,"kind":262144,"name":"maxResolution","url":"classes/layervectorrealearth.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1060,"kind":262144,"name":"minZoom","url":"classes/layervectorrealearth.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1061,"kind":262144,"name":"maxZoom","url":"classes/layervectorrealearth.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1062,"kind":262144,"name":"url","url":"classes/layervectorrealearth.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1063,"kind":2048,"name":"setVisible","url":"classes/layervectorrealearth.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1064,"kind":262144,"name":"opacity","url":"classes/layervectorrealearth.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1065,"kind":262144,"name":"name","url":"classes/layervectorrealearth.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1066,"kind":262144,"name":"loaded","url":"classes/layervectorrealearth.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1067,"kind":2048,"name":"getSource","url":"classes/layervectorrealearth.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1068,"kind":262144,"name":"zIndex","url":"classes/layervectorrealearth.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerVectorRealEarth"},{"id":1069,"kind":2048,"name":"getOlLayer","url":"classes/layervectorrealearth.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerVectorRealEarth"},{"id":1070,"kind":256,"name":"IRealEarthAnimate","url":"interfaces/irealearthanimate.html","classes":"tsd-kind-interface"},{"id":1071,"kind":2048,"name":"setLayerTime","url":"interfaces/irealearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"IRealEarthAnimate"},{"id":1072,"kind":256,"name":"timesLoadedCallback","url":"interfaces/timesloadedcallback.html","classes":"tsd-kind-interface"},{"id":1073,"kind":128,"name":"RealEarthAnimate","url":"classes/realearthanimate.html","classes":"tsd-kind-class"},{"id":1074,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimate.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1075,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimate.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1076,"kind":1024,"name":"_localDates","url":"classes/realearthanimate.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1077,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimate.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1078,"kind":1024,"name":"_products","url":"classes/realearthanimate.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1079,"kind":1024,"name":"loadCallback","url":"classes/realearthanimate.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1080,"kind":1024,"name":"localTimes","url":"classes/realearthanimate.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1081,"kind":1024,"name":"_currentTime","url":"classes/realearthanimate.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1082,"kind":1024,"name":"lyr","url":"classes/realearthanimate.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1083,"kind":512,"name":"constructor","url":"classes/realearthanimate.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1084,"kind":2048,"name":"timeInit","url":"classes/realearthanimate.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1085,"kind":2048,"name":"_loadDates","url":"classes/realearthanimate.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1086,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimate.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-protected","parent":"RealEarthAnimate"},{"id":1087,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimate.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"RealEarthAnimate"},{"id":1088,"kind":32,"name":"offsetMinutes","url":"globals.html#offsetminutes","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":1089,"kind":128,"name":"RealEarthAnimateTile","url":"classes/realearthanimatetile.html","classes":"tsd-kind-class"},{"id":1090,"kind":1024,"name":"_sourceUrls","url":"classes/realearthanimatetile.html#_sourceurls","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1091,"kind":1024,"name":"_source","url":"classes/realearthanimatetile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1092,"kind":1024,"name":"_olLayer","url":"classes/realearthanimatetile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class","parent":"RealEarthAnimateTile"},{"id":1093,"kind":512,"name":"constructor","url":"classes/realearthanimatetile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1094,"kind":2048,"name":"timeInit","url":"classes/realearthanimatetile.html#timeinit","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1095,"kind":2048,"name":"_loadDates","url":"classes/realearthanimatetile.html#_loaddates","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1096,"kind":2048,"name":"_loadLatest","url":"classes/realearthanimatetile.html#_loadlatest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-is-protected","parent":"RealEarthAnimateTile"},{"id":1097,"kind":2048,"name":"setLayerTime","url":"classes/realearthanimatetile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"RealEarthAnimateTile"},{"id":1098,"kind":1024,"name":"_animateEnabled","url":"classes/realearthanimatetile.html#_animateenabled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1099,"kind":1024,"name":"_currentIndex","url":"classes/realearthanimatetile.html#_currentindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1100,"kind":1024,"name":"_localDates","url":"classes/realearthanimatetile.html#_localdates","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1101,"kind":1024,"name":"_rawDateStrings","url":"classes/realearthanimatetile.html#_rawdatestrings","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1102,"kind":1024,"name":"_products","url":"classes/realearthanimatetile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1103,"kind":1024,"name":"loadCallback","url":"classes/realearthanimatetile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1104,"kind":1024,"name":"localTimes","url":"classes/realearthanimatetile.html#localtimes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1105,"kind":1024,"name":"_currentTime","url":"classes/realearthanimatetile.html#_currenttime","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1106,"kind":1024,"name":"lyr","url":"classes/realearthanimatetile.html#lyr","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"RealEarthAnimateTile"},{"id":1107,"kind":256,"name":"LayerRealEarthTileOptions","url":"interfaces/layerrealearthtileoptions.html","classes":"tsd-kind-interface"},{"id":1108,"kind":1024,"name":"products","url":"interfaces/layerrealearthtileoptions.html#products","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1109,"kind":1024,"name":"animate","url":"interfaces/layerrealearthtileoptions.html#animate","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1110,"kind":1024,"name":"timeLoadCallback","url":"interfaces/layerrealearthtileoptions.html#timeloadcallback","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"LayerRealEarthTileOptions"},{"id":1111,"kind":1024,"name":"id","url":"interfaces/layerrealearthtileoptions.html#id","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1112,"kind":1024,"name":"name","url":"interfaces/layerrealearthtileoptions.html#name","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1113,"kind":1024,"name":"opacity","url":"interfaces/layerrealearthtileoptions.html#opacity","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1114,"kind":1024,"name":"visible","url":"interfaces/layerrealearthtileoptions.html#visible","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1115,"kind":1024,"name":"minZoom","url":"interfaces/layerrealearthtileoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1116,"kind":1024,"name":"maxZoom","url":"interfaces/layerrealearthtileoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1117,"kind":1024,"name":"params","url":"interfaces/layerrealearthtileoptions.html#params","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1118,"kind":1024,"name":"zIndex","url":"interfaces/layerrealearthtileoptions.html#zindex","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1119,"kind":1024,"name":"loadCallback","url":"interfaces/layerrealearthtileoptions.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1120,"kind":1024,"name":"legendCollapse","url":"interfaces/layerrealearthtileoptions.html#legendcollapse","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1121,"kind":1024,"name":"legendCheckbox","url":"interfaces/layerrealearthtileoptions.html#legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1122,"kind":1024,"name":"legendContent","url":"interfaces/layerrealearthtileoptions.html#legendcontent","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"LayerRealEarthTileOptions"},{"id":1123,"kind":128,"name":"LayerRealEarthTile","url":"classes/layerrealearthtile.html","classes":"tsd-kind-class"},{"id":1124,"kind":1024,"name":"_products","url":"classes/layerrealearthtile.html#_products","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1125,"kind":1024,"name":"animator","url":"classes/layerrealearthtile.html#animator","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1126,"kind":512,"name":"constructor","url":"classes/layerrealearthtile.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1127,"kind":2048,"name":"setLayerTime","url":"classes/layerrealearthtile.html#setlayertime","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerRealEarthTile"},{"id":1128,"kind":2048,"name":"_load","url":"classes/layerrealearthtile.html#_load","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"LayerRealEarthTile"},{"id":1129,"kind":262144,"name":"source","url":"classes/layerrealearthtile.html#source","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1130,"kind":262144,"name":"olLayer","url":"classes/layerrealearthtile.html#ollayer","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1131,"kind":1024,"name":"_legendCheckbox","url":"classes/layerrealearthtile.html#_legendcheckbox","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1132,"kind":1024,"name":"_url","url":"classes/layerrealearthtile.html#_url","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1133,"kind":1024,"name":"_opacity","url":"classes/layerrealearthtile.html#_opacity","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1134,"kind":1024,"name":"_minZoom","url":"classes/layerrealearthtile.html#_minzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1135,"kind":1024,"name":"_maxZoom","url":"classes/layerrealearthtile.html#_maxzoom","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1136,"kind":1024,"name":"_visible","url":"classes/layerrealearthtile.html#_visible","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1137,"kind":1024,"name":"_loaded","url":"classes/layerrealearthtile.html#_loaded","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1138,"kind":1024,"name":"_zIndex","url":"classes/layerrealearthtile.html#_zindex","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1139,"kind":1024,"name":"_legendContent","url":"classes/layerrealearthtile.html#_legendcontent","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1140,"kind":1024,"name":"_params","url":"classes/layerrealearthtile.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1141,"kind":1024,"name":"_id","url":"classes/layerrealearthtile.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1142,"kind":1024,"name":"_name","url":"classes/layerrealearthtile.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1143,"kind":1024,"name":"_source","url":"classes/layerrealearthtile.html#_source","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1144,"kind":1024,"name":"_animate","url":"classes/layerrealearthtile.html#_animate","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1145,"kind":1024,"name":"_legendCollapse","url":"classes/layerrealearthtile.html#_legendcollapse","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1146,"kind":1024,"name":"_maxResolution","url":"classes/layerrealearthtile.html#_maxresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1147,"kind":1024,"name":"_minResolution","url":"classes/layerrealearthtile.html#_minresolution","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1148,"kind":1024,"name":"_$legendDiv","url":"classes/layerrealearthtile.html#__legenddiv","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1149,"kind":1024,"name":"loadCallback","url":"classes/layerrealearthtile.html#loadcallback","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1150,"kind":1024,"name":"_olLayer","url":"classes/layerrealearthtile.html#_ollayer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1151,"kind":1024,"name":"_applyCollapseCalled","url":"classes/layerrealearthtile.html#_applycollapsecalled","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1152,"kind":2048,"name":"getLegendDiv","url":"classes/layerrealearthtile.html#getlegenddiv","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1153,"kind":2048,"name":"_addLegendContent","url":"classes/layerrealearthtile.html#_addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-private","parent":"LayerRealEarthTile"},{"id":1154,"kind":2048,"name":"addLegendContent","url":"classes/layerrealearthtile.html#addlegendcontent","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1155,"kind":2048,"name":"applyCollapse","url":"classes/layerrealearthtile.html#applycollapse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1156,"kind":2048,"name":"refresh","url":"classes/layerrealearthtile.html#refresh","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1157,"kind":262144,"name":"id","url":"classes/layerrealearthtile.html#id","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1158,"kind":262144,"name":"animate","url":"classes/layerrealearthtile.html#animate","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1159,"kind":262144,"name":"legendContent","url":"classes/layerrealearthtile.html#legendcontent","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1160,"kind":262144,"name":"params","url":"classes/layerrealearthtile.html#params","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1161,"kind":262144,"name":"minResolution","url":"classes/layerrealearthtile.html#minresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1162,"kind":262144,"name":"maxResolution","url":"classes/layerrealearthtile.html#maxresolution","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1163,"kind":262144,"name":"minZoom","url":"classes/layerrealearthtile.html#minzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1164,"kind":262144,"name":"maxZoom","url":"classes/layerrealearthtile.html#maxzoom","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1165,"kind":262144,"name":"url","url":"classes/layerrealearthtile.html#url","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1166,"kind":262144,"name":"visible","url":"classes/layerrealearthtile.html#visible","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1167,"kind":2048,"name":"setVisible","url":"classes/layerrealearthtile.html#setvisible","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1168,"kind":262144,"name":"opacity","url":"classes/layerrealearthtile.html#opacity","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1169,"kind":262144,"name":"name","url":"classes/layerrealearthtile.html#name","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1170,"kind":262144,"name":"loaded","url":"classes/layerrealearthtile.html#loaded","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1171,"kind":2048,"name":"getSource","url":"classes/layerrealearthtile.html#getsource","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1172,"kind":262144,"name":"zIndex","url":"classes/layerrealearthtile.html#zindex","classes":"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited","parent":"LayerRealEarthTile"},{"id":1173,"kind":2048,"name":"setZIndex","url":"classes/layerrealearthtile.html#setzindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1174,"kind":2048,"name":"getOlLayer","url":"classes/layerrealearthtile.html#getollayer","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-protected","parent":"LayerRealEarthTile"},{"id":1175,"kind":64,"name":"calculateExtent","url":"globals.html#calculateextent","classes":"tsd-kind-function"},{"id":1176,"kind":64,"name":"fitToMap","url":"globals.html#fittomap","classes":"tsd-kind-function"},{"id":1177,"kind":128,"name":"LayerSwipe","url":"classes/layerswipe.html","classes":"tsd-kind-class"},{"id":1178,"kind":1024,"name":"leftLayers","url":"classes/layerswipe.html#leftlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1179,"kind":1024,"name":"rightLayers","url":"classes/layerswipe.html#rightlayers","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1180,"kind":1024,"name":"_percentRight","url":"classes/layerswipe.html#_percentright","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1181,"kind":1024,"name":"_map","url":"classes/layerswipe.html#_map","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1182,"kind":1024,"name":"$mapElement","url":"classes/layerswipe.html#_mapelement","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1183,"kind":1024,"name":"$swiper","url":"classes/layerswipe.html#_swiper","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1184,"kind":1024,"name":"dragging","url":"classes/layerswipe.html#dragging","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1185,"kind":1024,"name":"offset","url":"classes/layerswipe.html#offset","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1186,"kind":512,"name":"constructor","url":"classes/layerswipe.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1187,"kind":2048,"name":"addLeftLayer","url":"classes/layerswipe.html#addleftlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1188,"kind":2048,"name":"addRightLayer","url":"classes/layerswipe.html#addrightlayer","classes":"tsd-kind-method tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1189,"kind":262144,"name":"percentRight","url":"classes/layerswipe.html#percentright","classes":"tsd-kind-accessor tsd-parent-kind-class","parent":"LayerSwipe"},{"id":1190,"kind":256,"name":"quickMapOptions","url":"interfaces/quickmapoptions.html","classes":"tsd-kind-interface"},{"id":1191,"kind":1024,"name":"divId","url":"interfaces/quickmapoptions.html#divid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1192,"kind":1024,"name":"center","url":"interfaces/quickmapoptions.html#center","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1193,"kind":65536,"name":"__type","url":"interfaces/quickmapoptions.html#center.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"quickMapOptions.center"},{"id":1194,"kind":32,"name":"x","url":"interfaces/quickmapoptions.html#center.__type.x","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1195,"kind":32,"name":"y","url":"interfaces/quickmapoptions.html#center.__type.y","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"quickMapOptions.center.__type"},{"id":1196,"kind":1024,"name":"zoom","url":"interfaces/quickmapoptions.html#zoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1197,"kind":1024,"name":"minZoom","url":"interfaces/quickmapoptions.html#minzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1198,"kind":1024,"name":"maxZoom","url":"interfaces/quickmapoptions.html#maxzoom","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1199,"kind":1024,"name":"baseSwitcher","url":"interfaces/quickmapoptions.html#baseswitcher","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1200,"kind":1024,"name":"fullScreen","url":"interfaces/quickmapoptions.html#fullscreen","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"quickMapOptions"},{"id":1201,"kind":64,"name":"quickMapBase","url":"globals.html#quickmapbase","classes":"tsd-kind-function"},{"id":1202,"kind":64,"name":"quickMap","url":"globals.html#quickmap","classes":"tsd-kind-function"},{"id":1203,"kind":64,"name":"quickMapMulti","url":"globals.html#quickmapmulti","classes":"tsd-kind-function"},{"id":1204,"kind":128,"name":"SortedFeatures","url":"classes/sortedfeatures.html","classes":"tsd-kind-class"},{"id":1205,"kind":1024,"name":"sortedFeatures","url":"classes/sortedfeatures.html#sortedfeatures-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1206,"kind":1024,"name":"propertyName","url":"classes/sortedfeatures.html#propertyname","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1207,"kind":1024,"name":"_propertyType","url":"classes/sortedfeatures.html#_propertytype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1208,"kind":512,"name":"constructor","url":"classes/sortedfeatures.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1209,"kind":2048,"name":"getFeature","url":"classes/sortedfeatures.html#getfeature","classes":"tsd-kind-method tsd-parent-kind-class","parent":"SortedFeatures"},{"id":1210,"kind":2,"name":"checkDefined","url":"modules/checkdefined.html","classes":"tsd-kind-module"},{"id":1211,"kind":32,"name":"undefinedOrNull","url":"modules/checkdefined.html#undefinedornull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1212,"kind":32,"name":"definedAndNotNull","url":"modules/checkdefined.html#definedandnotnull","classes":"tsd-kind-variable tsd-parent-kind-module","parent":"checkDefined"},{"id":1213,"kind":64,"name":"leadingPad","url":"globals.html#leadingpad","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1214,"kind":64,"name":"dateToYyyyMmDdHhMmSs","url":"globals.html#datetoyyyymmddhhmmss","classes":"tsd-kind-function"},{"id":1215,"kind":64,"name":"dateToYyyyMmDdHh000","url":"globals.html#datetoyyyymmddhh000","classes":"tsd-kind-function"},{"id":1216,"kind":64,"name":"isNumber","url":"globals.html#isnumber","classes":"tsd-kind-function tsd-is-not-exported"},{"id":1217,"kind":64,"name":"getUrlParams","url":"globals.html#geturlparams","classes":"tsd-kind-function"},{"id":1218,"kind":256,"name":"keyVals","url":"interfaces/keyvals.html","classes":"tsd-kind-interface"},{"id":1219,"kind":1024,"name":"key","url":"interfaces/keyvals.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1220,"kind":1024,"name":"value","url":"interfaces/keyvals.html#value","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"keyVals"},{"id":1221,"kind":64,"name":"keyValPairs","url":"globals.html#keyvalpairs","classes":"tsd-kind-function"}]}; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 4017c2d615b5c992d7bc71ff049188a6aaada8c6..e35e01347c226dc47c95c7567cb489c2cbe85b3e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,8 @@ "jsx": "preserve", "noEmitOnError": true, "rootDir": "./src", - "outDir": "./dist" + "outDir": "./dist", + "noImplicitAny": true }, "include": [ "./src/**/*"