PageSourceSearch

https://asce7tsunami.online/app/js/actions/MapActions.js?0.1.40

js asce7tsunami.online collected 2026-10-04 13:25:34 UTC 4,987 bytes, 179 lines download raw bytes

1define(['exports', 'js/alt'], function (exports, _jsAlt) {
2  'use strict';
3
4  Object.defineProperty(exports, '__esModule', {
5    value: true
6  });
7
8  var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
9
10  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
11
12  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
13
14  var _alt = _interopRequireDefault(_jsAlt);
15
16  var MapActions = (function () {
17    function MapActions() {
18      _classCallCheck(this, MapActions);
19    }
20
21    _createClass(MapActions, [{
22      key: 'createMap',
23      value: function createMap() {
24        this.dispatch();
25      }
26    }, {
27      key: 'addLoadLayers',
28      value: function addLoadLayers() {
29        this.dispatch();
30      }
31    }, {
32      key: 'updateLayerVisibility',
33      value: function updateLayerVisibility(buildObj) {
34        this.dispatch(buildObj);
35      }
36    }, {
37      key: 'searchSelectResult',
38      value: function searchSelectResult(result) {
39        this.dispatch(result);
40      }
41    }, {
42      key: 'reverseGeocoder',
43      value: function reverseGeocoder(lat, long) {
44        this.dispatch({ lat: lat, long: long });
45      }
46    }, {
47      key: 'searchAddress',
48      value: function searchAddress(address) {
49        this.dispatch(address);
50      }
51    }, {
52      key: 'setElevation',
53      value: function setElevation(elevation) {
54        this.dispatch(elevation);
55      }
56    }, {
57      key: 'mapContainerLoaded',
58      value: function mapContainerLoaded() {
59        this.dispatch();
60      }
61    }, {
62      key: 'toggleLegend',
63      value: function toggleLegend() {
64        this.dispatch();
65      }
66    }, {
67      key: 'updateLegend',
68      value: function updateLegend() {
69        this.dispatch();
70      }
71    }, {
72      key: 'hideLegend',
73      value: function hideLegend() {
74        this.dispatch();
75      }
76    }, {
77      key: 'closeMeasure',
78      value: function closeMeasure() {
79        this.dispatch();
80      }
81    }, {
82      key: 'closeBasemap',
83      value: function closeBasemap() {
84        this.dispatch();
85      }
86    }, {
87      key: 'showLegend',
88      value: function showLegend() {
89        this.dispatch();
90      }
91    }, {
92      key: 'saveBasemapGallery',
93      value: function saveBasemapGallery(item) {
94        this.dispatch(item);
95      }
96    }, {
97      key: 'activateDrawTransect',
98      value: function activateDrawTransect(type) {
99        this.dispatch(type);
100      }
101    }, {
102      key: 'removeInundationDepth',
103      value: function removeInundationDepth(payload) {
104        this.dispatch(payload);
105      }
106    }, {
107      key: 'toggleProtractor',
108      value: function toggleProtractor() {
109        this.dispatch();
110      }
111    }, {
112      key: 'toggleSummary',
113      value: function toggleSummary(value) {
114        this.dispatch(value);
115      }
116    }, {
117      key: 'toggleAmplitude',
118      value: function toggleAmplitude(ampObj) {
119        this.dispatch(ampObj);
120      }
121    }, {
122      key: 'setTransectDetails',
123      value: function setTransectDetails(item) {
124        this.dispatch(item);
125      }
126    }, {
127      key: 'setActiveTransectTab',
128      value: function setActiveTransectTab(tab) {
129        this.dispatch(tab);
130      }
131    }, {
132      key: 'toggleMapLock',
133      value: function toggleMapLock(bool) {
134        this.dispatch(bool);
135      }
136    }, {
137      key: 'toggleWarningCriteria',
138      value: function toggleWarningCriteria(bool) {
139        this.dispatch(bool);
140      }
141    }, {
142      key: 'updateTransectLabel',
143      value: function updateTransectLabel(labelObj) {
144        this.dispatch(labelObj);
145      }
146    }, {
147      key: 'toggleTransectError',
148      value: function toggleTransectError(bool) {
149        this.dispatch(bool);
150      }
151    }, {
152      key: 'cancelTransectRequest',
153      value: function cancelTransectRequest() {
154        this.dispatch();
155      }
156    }, {
157      key: 'toggleTransectPreloader',
158      value: function toggleTransectPreloader() {
159        this.dispatch();
160      }
161    }, {
162      key: 'resetApp',
163      value: function resetApp() {
164        this.dispatch();
165      }
166    }, {
167      key: 'updateModal',
168      value: function updateModal(obj) {
169        this.dispatch(obj);
170      }
171    }]);
172
173    return MapActions;
174  })();
175
176  var mapActions = _alt['default'].createActions(MapActions);
177  exports.mapActions = mapActions;
178});
179//# sourceMappingURL=MapActions.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.