Commit 1b243159 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Recupera consulta de puntos de capas en visor

parent dc318985
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -262,16 +262,17 @@ define([

		_getMapLayerComponentConfiguration: function(atlasItem) {

			var layerId = this._createLayerId(atlasItem),
			const layerId = this._createLayerId(atlasItem),
				layerLabel = this._createLayerLabel(atlasItem),
				mapChannel = this.getMapChannel?.() ?? null,
				innerLayerDefinition = this._getLayerDefinitionByProtocol(atlasItem);

			return {
				parentChannel: this.getChannel(),
				mapChannel: this.getMapChannel ? this.getMapChannel() : null,
				innerLayerDefinition: innerLayerDefinition,
				layerId: layerId,
				layerLabel: layerLabel,
				mapChannel,
				innerLayerDefinition,
				layerId,
				layerLabel,
				queryable: atlasItem.queryable,
				refresh: atlasItem.refresh,
				dimensions: this._getAtlasLayerDimensions(atlasItem)
+8 −0
Original line number Diff line number Diff line
@@ -39,6 +39,14 @@ define([
			});
		},

		_initialize: function() {

			this.inherited(arguments);

			const mapInstance = this.getComponentInstance('map');
			this.getMapChannel = mapInstance ? lang.hitch(mapInstance, mapInstance.getChannel) : null;
		},

		_requestLayersDataFilteredByActivityIds: function(activities) {

			this._emitEvt('REQUEST', {