Skip to content
Snippets Groups Projects
Commit 822ccca9 authored by Glenn Vorhes's avatar Glenn Vorhes
Browse files

make variables private

parent 192d1be6
No related branches found
No related tags found
No related merge requests found
{"version":3,"file":"mapPopup.js","sourceRoot":"","sources":["../../src/olHelpers/mapPopup.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,4BAAwB,eAAe,CAAC,CAAA;AAExC;;;GAGG;AAEU,gBAAQ,GAAG,IAAI,qBAAW,EAAiB,CAAC;AACzD;kBAAe,gBAAQ,CAAC"} {"version":3,"file":"mapPopup.js","sourceRoot":"","sources":["../../src/olHelpers/mapPopup.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,4BAAwB,eAAe,CAAC,CAAA;AAExC;;;GAGG;AACU,gBAAQ,GAAG,IAAI,qBAAW,EAAiB,CAAC;AACzD;kBAAe,gBAAQ,CAAC"}
\ No newline at end of file \ No newline at end of file
...@@ -43,25 +43,25 @@ export declare class FeatureLayerProperties { ...@@ -43,25 +43,25 @@ export declare class FeatureLayerProperties {
* @augments MapInteractionBase * @augments MapInteractionBase
*/ */
export declare class MapPopupCls extends MapInteractionBase { export declare class MapPopupCls extends MapInteractionBase {
_popupOpen: boolean; private _popupOpen;
_passThroughLayerFeatureArray: Array<FeatureLayerProperties>; private _passThroughLayerFeatureArray;
_currentPopupIndex: number; private _currentPopupIndex;
_popupContentLength: number; private _popupContentLength;
_esriMapServiceLayers: Array<LayerEsriMapServer>; private _esriMapServiceLayers;
_$popupCloser: JQuery; private _$popupCloser;
_$popupContent: JQuery; private _$popupContent;
_$popupContainer: JQuery; private _$popupContainer;
_popupOverlay: ol.Overlay; private _popupOverlay;
_arrPopupLayers: Array<LayerBaseVector>; private _arrPopupLayers;
_popupCoordinate: ol.Coordinate; private _popupCoordinate;
_popupChangedFunctions: Array<popupChangedFunction>; private _popupChangedFunctions;
_mapClickFunctions: Array<Function>; private _mapClickFunctions;
_selectionLayerLookup: Object; private _selectionLayerLookup;
_arrPopupLayerIds: Array<string>; private _arrPopupLayerIds;
_arrPopupLayerNames: Array<string>; private _arrPopupLayerNames;
_arrPopupOlLayers: Array<ol.layer.Vector>; private _arrPopupOlLayers;
_arrPopupContentFunction: Array<popupCallback>; private _arrPopupContentFunction;
_selectionLayers: Array<ol.layer.Vector>; private _selectionLayers;
/** /**
* Definition for openlayers style function * Definition for openlayers style function
* @callback olStyleFunction * @callback olStyleFunction
......
...@@ -17,7 +17,7 @@ import ol from 'custom-ol'; ...@@ -17,7 +17,7 @@ import ol from 'custom-ol';
* @param {number} [options.maxZoom=undefined] max zoom * @param {number} [options.maxZoom=undefined] max zoom
* @param {boolean} [options.baseSwitcher=true] if add base map switcher * @param {boolean} [options.baseSwitcher=true] if add base map switcher
* @param {boolean} [options.fullScreen=false] if add base map switcher * @param {boolean} [options.fullScreen=false] if add base map switcher
* @returns the ol map * @returns {ol.Map} the ol map
*/ */
export declare function quickMap(options?: quickMapOptions): ol.Map; export declare function quickMap(options?: quickMapOptions): ol.Map;
export default quickMap; export default quickMap;
...@@ -21,7 +21,7 @@ var nm = provide_1.default('olHelpers'); ...@@ -21,7 +21,7 @@ var nm = provide_1.default('olHelpers');
* @param {number} [options.maxZoom=undefined] max zoom * @param {number} [options.maxZoom=undefined] max zoom
* @param {boolean} [options.baseSwitcher=true] if add base map switcher * @param {boolean} [options.baseSwitcher=true] if add base map switcher
* @param {boolean} [options.fullScreen=false] if add base map switcher * @param {boolean} [options.fullScreen=false] if add base map switcher
* @returns the ol map * @returns {ol.Map} the ol map
*/ */
function quickMap(options) { function quickMap(options) {
var m = quickMapBase_1.quickMapBase(options); var m = quickMapBase_1.quickMapBase(options);
......
...@@ -8,6 +8,5 @@ import MapPopupCls from './mapPopupCls'; ...@@ -8,6 +8,5 @@ import MapPopupCls from './mapPopupCls';
* The single popup object catch is that it is common to multimap pages * The single popup object catch is that it is common to multimap pages
* @type {MapPopupCls} * @type {MapPopupCls}
*/ */
export const mapPopup = new MapPopupCls() as MapPopupCls; export const mapPopup = new MapPopupCls() as MapPopupCls;
export default mapPopup; export default mapPopup;
...@@ -76,25 +76,25 @@ export class FeatureLayerProperties { ...@@ -76,25 +76,25 @@ export class FeatureLayerProperties {
* @augments MapInteractionBase * @augments MapInteractionBase
*/ */
export class MapPopupCls extends MapInteractionBase { export class MapPopupCls extends MapInteractionBase {
_popupOpen: boolean; private _popupOpen: boolean;
_passThroughLayerFeatureArray: Array<FeatureLayerProperties>; private _passThroughLayerFeatureArray: Array<FeatureLayerProperties>;
_currentPopupIndex: number; private _currentPopupIndex: number;
_popupContentLength: number; private _popupContentLength: number;
_esriMapServiceLayers: Array<LayerEsriMapServer>; private _esriMapServiceLayers: Array<LayerEsriMapServer>;
_$popupCloser: JQuery; private _$popupCloser: JQuery;
_$popupContent: JQuery; private _$popupContent: JQuery;
_$popupContainer: JQuery; private _$popupContainer: JQuery;
_popupOverlay: ol.Overlay; private _popupOverlay: ol.Overlay;
_arrPopupLayers: Array<LayerBaseVector>; private _arrPopupLayers: Array<LayerBaseVector>;
_popupCoordinate: ol.Coordinate; private _popupCoordinate: ol.Coordinate;
_popupChangedFunctions: Array<popupChangedFunction>; private _popupChangedFunctions: Array<popupChangedFunction>;
_mapClickFunctions: Array<Function>; private _mapClickFunctions: Array<Function>;
_selectionLayerLookup: Object; private _selectionLayerLookup: Object;
_arrPopupLayerIds: Array<string>; private _arrPopupLayerIds: Array<string>;
_arrPopupLayerNames: Array<string>; private _arrPopupLayerNames: Array<string>;
_arrPopupOlLayers: Array<ol.layer.Vector>; private _arrPopupOlLayers: Array<ol.layer.Vector>;
_arrPopupContentFunction: Array<popupCallback>; private _arrPopupContentFunction: Array<popupCallback>;
_selectionLayers: Array<ol.layer.Vector>; private _selectionLayers: Array<ol.layer.Vector>;
/** /**
* Definition for openlayers style function * Definition for openlayers style function
......
...@@ -23,7 +23,7 @@ let nm = provide('olHelpers'); ...@@ -23,7 +23,7 @@ let nm = provide('olHelpers');
* @param {number} [options.maxZoom=undefined] max zoom * @param {number} [options.maxZoom=undefined] max zoom
* @param {boolean} [options.baseSwitcher=true] if add base map switcher * @param {boolean} [options.baseSwitcher=true] if add base map switcher
* @param {boolean} [options.fullScreen=false] if add base map switcher * @param {boolean} [options.fullScreen=false] if add base map switcher
* @returns the ol map * @returns {ol.Map} the ol map
*/ */
export function quickMap(options? : quickMapOptions): ol.Map { export function quickMap(options? : quickMapOptions): ol.Map {
let m = quickMapBase(options); let m = quickMapBase(options);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment