@nextgis/ngw-map 1.19.2 → 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/index.d.ts +240 -272
- package/lib/ngw-map.cjs.js +609 -634
- package/lib/ngw-map.cjs.js.map +1 -1
- package/lib/ngw-map.cjs.prod.js +1 -1
- package/lib/ngw-map.cjs.prod.js.map +1 -1
- package/lib/ngw-map.esm-browser.js +9000 -8086
- package/lib/ngw-map.esm-browser.js.map +1 -1
- package/lib/ngw-map.esm-browser.prod.js +1 -1
- package/lib/ngw-map.esm-browser.prod.js.map +1 -1
- package/lib/ngw-map.esm-bundler.js +712 -626
- package/lib/ngw-map.esm-bundler.js.map +1 -1
- package/lib/ngw-map.esm-bundler.prod.js +1 -1
- package/lib/ngw-map.esm-bundler.prod.js.map +1 -1
- package/lib/ngw-map.global.js +9413 -9507
- package/lib/ngw-map.global.js.map +1 -1
- package/lib/ngw-map.global.prod.js +1 -1
- package/lib/ngw-map.global.prod.js.map +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -35,4 +35,4 @@ const ngwMap = new NgwMap({
|
|
|
35
35
|
|
|
36
36
|
Need to fix a bug or add a feature to `@nextgis/ngw-map`? We provide custom development and support for this software. [Contact us](http://nextgis.com/contact/) to discuss options!
|
|
37
37
|
|
|
38
|
-
[](http://nextgis.com)
|
package/lib/index.d.ts
CHANGED
|
@@ -1,272 +1,240 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
*
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
* @
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
*
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* ```
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
*
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
*
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
*
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
* // Vector from Order boundary-style
|
|
242
|
-
* {
|
|
243
|
-
* resource: 4111,
|
|
244
|
-
* fit: true,
|
|
245
|
-
* adapter: "GEOJSON",
|
|
246
|
-
* adapterOptions: { paint: { color: "red", fill: false, weight: 4 } },
|
|
247
|
-
* },
|
|
248
|
-
* ],
|
|
249
|
-
* });
|
|
250
|
-
* ```
|
|
251
|
-
*/
|
|
252
|
-
resources?: NgwResourceDefinition[];
|
|
253
|
-
/**
|
|
254
|
-
* Shortcut to add OSM baselayer.
|
|
255
|
-
*/
|
|
256
|
-
osm?: boolean;
|
|
257
|
-
/* Excluded from this release type: identification */
|
|
258
|
-
whitlabel?: boolean;
|
|
259
|
-
companyLogoOptions?: CompanyLogoOptions;
|
|
260
|
-
pixelRadius?: number;
|
|
261
|
-
runtimeParams?: RuntimeParams[];
|
|
262
|
-
setViewDelay?: number;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export declare type NgwResourceDefinition = number | [number, string] | NgwLayerOptions;
|
|
266
|
-
|
|
267
|
-
declare type PromiseGroup = 'select' | 'identify';
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
export * from "@nextgis/webmap";
|
|
271
|
-
|
|
272
|
-
export { }
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { EventEmitter } from 'events';
|
|
3
|
+
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
4
|
+
import { getIcon } from '@nextgis/icons';
|
|
5
|
+
import { MapOptions, RuntimeParams, WebMapEvents, WebMap, MapControls, ControlPosition, LayerAdapter, LayerDef, FitOptions, MapClickEvent } from '@nextgis/webmap';
|
|
6
|
+
export * from '@nextgis/webmap';
|
|
7
|
+
import NgwConnector, { Credentials, FeatureItem } from '@nextgis/ngw-connector';
|
|
8
|
+
import { NgwLayerOptions, CompanyLogoOptions, ResourceAdapter, NgwIdentify, IdentifyItem, FetchNgwItemOptions, FetchNgwItemsOptions, NgwFeatureRequestOptions, NgwFeatureItemResponse } from '@nextgis/ngw-kit';
|
|
9
|
+
import { FeatureProperties, JsonMap } from '@nextgis/utils';
|
|
10
|
+
import { Geometry, Feature, FeatureCollection } from 'geojson';
|
|
11
|
+
import StrictEventEmitter from 'strict-event-emitter-types';
|
|
12
|
+
|
|
13
|
+
type NgwResourceDefinition = number | [number, string] | NgwLayerOptions;
|
|
14
|
+
interface NgwMapOptions<M = any, C = any> extends MapOptions<M, C> {
|
|
15
|
+
/**
|
|
16
|
+
* Url of NGW server like this https://demo.nextgis.com
|
|
17
|
+
*/
|
|
18
|
+
baseUrl?: string;
|
|
19
|
+
connector?: NgwConnector;
|
|
20
|
+
/**
|
|
21
|
+
* User credentials for authorization in NGW.
|
|
22
|
+
* Provides the ability to display protected resources
|
|
23
|
+
*/
|
|
24
|
+
auth?: Credentials;
|
|
25
|
+
/**
|
|
26
|
+
* Id number of webmap resource from NextGIS Web.
|
|
27
|
+
* If specified through an array,
|
|
28
|
+
* the first element will be the webmapId from NGW,
|
|
29
|
+
* and the second will be the name for identification in the application.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```javascript
|
|
33
|
+
* const ngwMap = new NgwMap({webmapId: [3985, 'my-webmap']});
|
|
34
|
+
* ngwMap.hideLayer('my-webmap');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
webmapId?: NgwResourceDefinition;
|
|
38
|
+
/**
|
|
39
|
+
* Id number of resource from [QMS](https://qms.nextgis.com/).
|
|
40
|
+
* If specified through an array,
|
|
41
|
+
* the first element will be the resource identifier,
|
|
42
|
+
* and the second will be the name for identification in the application.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```javascript
|
|
46
|
+
* const ngwMap = new NgwMap({qmsId: [465, 'qms-basemap']});
|
|
47
|
+
* ngwMap.hideLayer('qms-basemap');
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
qmsId?: number | [number, string];
|
|
51
|
+
/**
|
|
52
|
+
* List of NGW resources to be displayed on the map.
|
|
53
|
+
*
|
|
54
|
+
* The resources list may include:
|
|
55
|
+
*
|
|
56
|
+
* - number - resource id; // also for resource
|
|
57
|
+
* - string - resource keyname; // also for resource
|
|
58
|
+
* - object - configuration of the layer to be added
|
|
59
|
+
* with the one required parameter `resource` (the comment "also for resource" above refers to it)
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```javascript
|
|
63
|
+
* NgwMap.create({
|
|
64
|
+
* baseUrl: "https://demo.nextgis.com",
|
|
65
|
+
* target: "map",
|
|
66
|
+
* resources: [
|
|
67
|
+
* // Basemap resource
|
|
68
|
+
* 1665,
|
|
69
|
+
* // Digital Elevation Model (DEM)-style
|
|
70
|
+
* 4117,
|
|
71
|
+
* // Hillshade-style
|
|
72
|
+
* { resource: 4115, adapter: "TILE", opacity: 0.3 },
|
|
73
|
+
* // Elevation contours-style
|
|
74
|
+
* 'contours-style',
|
|
75
|
+
* // Vector from Order boundary-style
|
|
76
|
+
* {
|
|
77
|
+
* resource: 4111,
|
|
78
|
+
* fit: true,
|
|
79
|
+
* adapter: "GEOJSON",
|
|
80
|
+
* adapterOptions: { paint: { color: "red", fill: false, weight: 4 } },
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
resources?: NgwResourceDefinition[];
|
|
87
|
+
/**
|
|
88
|
+
* Shortcut to add OSM baselayer.
|
|
89
|
+
*/
|
|
90
|
+
osm?: boolean;
|
|
91
|
+
whitlabel?: boolean;
|
|
92
|
+
companyLogoOptions?: CompanyLogoOptions;
|
|
93
|
+
pixelRadius?: number;
|
|
94
|
+
runtimeParams?: RuntimeParams[];
|
|
95
|
+
setViewDelay?: number;
|
|
96
|
+
}
|
|
97
|
+
interface NgwMapEvents extends WebMapEvents {
|
|
98
|
+
'ngw-map:create': NgwMap;
|
|
99
|
+
'ngw:select': NgwIdentifyEvent | null;
|
|
100
|
+
'ngw:preselect': void;
|
|
101
|
+
}
|
|
102
|
+
interface NgwLayersMem {
|
|
103
|
+
layer: ResourceAdapter;
|
|
104
|
+
resourceId: number;
|
|
105
|
+
}
|
|
106
|
+
interface NgwLayers {
|
|
107
|
+
[layerId: string]: NgwLayersMem;
|
|
108
|
+
}
|
|
109
|
+
type NgwIdentifyEvent<F extends FeatureProperties = FeatureProperties, G extends Geometry = Geometry> = NgwIdentify & {
|
|
110
|
+
getIdentifyItems: () => IdentifyItem<F, G>[];
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
type PromiseGroup = 'select' | 'identify';
|
|
114
|
+
/**
|
|
115
|
+
* Base class containing the logic of interaction WebMap with NextGIS services.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```javascript
|
|
119
|
+
* import { NgwMap } from '@nextgis/ngw-map';
|
|
120
|
+
* import MapAdapter from '@nextgis/leaflet-map-adapter';
|
|
121
|
+
* // styles are not included in the leaflet-map-adapter
|
|
122
|
+
* import 'leaflet/dist/leaflet.css';
|
|
123
|
+
*
|
|
124
|
+
* const ngwMap = new NgwMap({
|
|
125
|
+
* mapAdapter: new MapAdapter(),
|
|
126
|
+
* target: 'map',
|
|
127
|
+
* qmsId: 448,
|
|
128
|
+
* baseUrl: 'https://demo.nextgis.com',
|
|
129
|
+
* webmapId: 3985
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
declare class NgwMap<M = unknown, L = unknown, C extends object = any, O extends NgwMapOptions<M, C> = NgwMapOptions<M, C>> extends WebMap<M, L, C, NgwMapEvents, O> {
|
|
134
|
+
static getIcon: typeof getIcon;
|
|
135
|
+
readonly emitter: StrictEventEmitter<EventEmitter, NgwMapEvents>;
|
|
136
|
+
connector: NgwConnector;
|
|
137
|
+
protected _ngwLayers: NgwLayers;
|
|
138
|
+
private $$selectFromNgwRaster?;
|
|
139
|
+
private $$selectFromNgwVector?;
|
|
140
|
+
private _promises;
|
|
141
|
+
constructor(options: O);
|
|
142
|
+
/**
|
|
143
|
+
* Organized addition to the map design and controls elements,
|
|
144
|
+
* calling `control.onAdd(this.webMap.mapAdapter)`
|
|
145
|
+
* @param control - object with onAdd and onRemove methods
|
|
146
|
+
* or a string value indicating the name of the control installed in the map adapter
|
|
147
|
+
* @param position - position relative to the map angles
|
|
148
|
+
* @param options - initialization parameters if the control is set as a string value
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* ```javascript
|
|
152
|
+
* ngwMap.addControl(new CustomControl(), 'bottom-left');
|
|
153
|
+
* ngwMap.addControl('ZOOM', 'top-right')
|
|
154
|
+
* ```
|
|
155
|
+
*/
|
|
156
|
+
addControl<K extends keyof MapControls>(controlDef: K | C, position: ControlPosition, options?: MapControls[K]): Promise<any>;
|
|
157
|
+
/**
|
|
158
|
+
* Add any (style, vector, webmap) NGW layer by resource definition.
|
|
159
|
+
* @param options - set layer identification parameters and render method.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* ```javascript
|
|
163
|
+
* // Add raster layer resourceId is the style of 4004 layer
|
|
164
|
+
* ngwMap.addNgwLayer({ resource: 4005 });
|
|
165
|
+
* // Add vector data from layer GEOJSON source
|
|
166
|
+
* ngwMap.addNgwLayer({
|
|
167
|
+
* resource: 4038,
|
|
168
|
+
* adapter: 'GEOJSON',
|
|
169
|
+
* adapterOptions: { paint: { color: 'red' } }
|
|
170
|
+
* });
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
173
|
+
addNgwLayer(options: NgwLayerOptions): Promise<ResourceAdapter | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Pans and zooms the map to the initial position specified in the options
|
|
176
|
+
*/
|
|
177
|
+
fit(): void;
|
|
178
|
+
fetchNgwLayerItem<G extends Geometry = Geometry, P extends FeatureProperties = FeatureProperties>(options: Omit<FetchNgwItemOptions<P>, 'connector'>): CancelablePromise<FeatureItem>;
|
|
179
|
+
fetchNgwLayerItems<F extends FeatureProperties = FeatureProperties, G extends Geometry = Geometry>(options: Omit<FetchNgwItemsOptions<F>, 'connector'>): CancelablePromise<FeatureItem<F, G>[]>;
|
|
180
|
+
fetchNgwLayerFeature<G extends Geometry = Geometry, P extends FeatureProperties = FeatureProperties>(options: Omit<FetchNgwItemOptions<P>, 'connector'>): CancelablePromise<Feature<G, P>>;
|
|
181
|
+
fetchNgwLayerFeatures<G extends Geometry | null = Geometry, P extends FeatureProperties = FeatureProperties>(options: Omit<FetchNgwItemsOptions<P>, 'connector'>): CancelablePromise<FeatureCollection<G, P>>;
|
|
182
|
+
fetchIdentifyItem<G extends Geometry = Geometry, P extends FeatureProperties = FeatureProperties>(identify: NgwIdentify, requestOptions?: NgwFeatureRequestOptions): CancelablePromise<NgwFeatureItemResponse<P, G> | undefined>;
|
|
183
|
+
fetchIdentifyGeoJson(identify: NgwIdentify, multiple?: boolean): CancelablePromise<Feature | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* @deprecated use {@link fetchIdentifyGeoJson} instead
|
|
186
|
+
*/
|
|
187
|
+
getIdentifyGeoJson(identify: NgwIdentify, multiple?: boolean): CancelablePromise<Feature | undefined>;
|
|
188
|
+
getNgwLayers(): Promise<NgwLayers>;
|
|
189
|
+
getNgwLayerByResourceId(id: number): Promise<LayerAdapter | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* Move map to layer. If the layer is NGW resource, extent will be received from the server
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* ```javascript
|
|
195
|
+
* const ngwLayer = ngwMap.addNgwLayer({ id: 'ngw_layer_name', resource: 4005 });
|
|
196
|
+
* ngwMap.fitLayer(ngwLayer);
|
|
197
|
+
* ngwMap.fitLayer('ngw_layer_name');
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
fitLayer(layerDef: LayerDef | number, options?: FitOptions): Promise<void>;
|
|
201
|
+
/** @deprecated use {@link fitLayer} instead */
|
|
202
|
+
zoomToLayer(layerDef: string | ResourceAdapter): Promise<void>;
|
|
203
|
+
onLoad(event?: keyof NgwMapEvents): Promise<this>;
|
|
204
|
+
removeLayer(layerDef: LayerDef): void;
|
|
205
|
+
enableSelection(): void;
|
|
206
|
+
disableSelection(): void;
|
|
207
|
+
/**
|
|
208
|
+
* @deprecated use {@link fetchNgwLayerItem} instead
|
|
209
|
+
*/
|
|
210
|
+
getNgwLayerItem<G extends Geometry = Geometry, P extends FeatureProperties = FeatureProperties>(options: Omit<FetchNgwItemOptions<P>, 'connector'>): CancelablePromise<FeatureItem>;
|
|
211
|
+
/**
|
|
212
|
+
* @deprecated use {@link fetchNgwLayerItems} instead
|
|
213
|
+
*/
|
|
214
|
+
getNgwLayerItems<F extends FeatureProperties = FeatureProperties, G extends Geometry = Geometry>(options: Omit<FetchNgwItemsOptions<F>, 'connector'>): CancelablePromise<FeatureItem<F, G>[]>;
|
|
215
|
+
/**
|
|
216
|
+
* @deprecated use {@link fetchNgwLayerFeature} instead
|
|
217
|
+
*/
|
|
218
|
+
getNgwLayerFeature<G extends Geometry = Geometry, P extends FeatureProperties = FeatureProperties>(options: Omit<FetchNgwItemOptions<P>, 'connector'>): CancelablePromise<Feature<G, P>>;
|
|
219
|
+
/**
|
|
220
|
+
* @deprecated use {@link fetchNgwLayerFeatures} instead
|
|
221
|
+
*/
|
|
222
|
+
getNgwLayerFeatures<G extends Geometry | null = Geometry, P extends JsonMap = JsonMap>(options: FetchNgwItemsOptions<P>): CancelablePromise<FeatureCollection<G, P>>;
|
|
223
|
+
/** @deprecated use {@link cancelPromises} instead */
|
|
224
|
+
cancelPromise(...args: PromiseGroup[]): void;
|
|
225
|
+
cancelPromises(...args: PromiseGroup[]): void;
|
|
226
|
+
selectFromNgwRaster(ev: MapClickEvent): Promise<NgwIdentifyEvent | undefined>;
|
|
227
|
+
private _addPromise;
|
|
228
|
+
private _isFitFromResource;
|
|
229
|
+
private _createWebMap;
|
|
230
|
+
private _addOsmBaseLayer;
|
|
231
|
+
private _addQmsBaseLayer;
|
|
232
|
+
private _selectFromNgwVector;
|
|
233
|
+
private _prepareToIdentify;
|
|
234
|
+
private _getSelectListenersCount;
|
|
235
|
+
private _whiteLabel;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
declare function createNgwMap(options: NgwMapOptions): Promise<NgwMap>;
|
|
239
|
+
|
|
240
|
+
export { type NgwIdentifyEvent, type NgwLayers, type NgwLayersMem, NgwMap, type NgwMapEvents, type NgwMapOptions, type NgwResourceDefinition, createNgwMap };
|