@nextgis/geocoder 3.0.0-alpha.12 → 3.0.0-alpha.13
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/lib/geocoder.cjs.js +2 -2
- package/lib/geocoder.cjs.js.map +1 -1
- package/lib/geocoder.cjs.prod.js +1 -1
- package/lib/geocoder.cjs.prod.js.map +1 -1
- package/lib/geocoder.esm-browser.js +449 -441
- package/lib/geocoder.esm-browser.js.map +1 -1
- package/lib/geocoder.esm-browser.prod.js +1 -1
- package/lib/geocoder.esm-browser.prod.js.map +1 -1
- package/lib/geocoder.esm-bundler.js +2 -2
- package/lib/geocoder.esm-bundler.js.map +1 -1
- package/lib/geocoder.esm-bundler.prod.js.map +1 -1
- package/lib/geocoder.global.js +449 -441
- package/lib/geocoder.global.js.map +1 -1
- package/lib/geocoder.global.prod.js +1 -1
- package/lib/geocoder.global.prod.js.map +1 -1
- package/lib/index.d.ts +15 -15
- package/package.json +7 -7
package/lib/index.d.ts
CHANGED
|
@@ -4,21 +4,6 @@ import NgwConnector, { FeatureItem, NgwConnectorOptions } from '@nextgis/ngw-con
|
|
|
4
4
|
import { FetchNgwItemsOptions } from '@nextgis/ngw-kit';
|
|
5
5
|
import { CompositeRead } from '@nextgisweb/resource/type/api';
|
|
6
6
|
|
|
7
|
-
interface ResultItem {
|
|
8
|
-
/**
|
|
9
|
-
* Display text of the result item.
|
|
10
|
-
*/
|
|
11
|
-
text: string;
|
|
12
|
-
/**
|
|
13
|
-
* Bounding box of the result item in [west, south, east, north] format.
|
|
14
|
-
*/
|
|
15
|
-
extent: LngLatBoundsArray;
|
|
16
|
-
/**
|
|
17
|
-
* Optional GeoJSON geometry associated with this result item.
|
|
18
|
-
*/
|
|
19
|
-
geom?: GeoJsonObject;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
7
|
/**
|
|
23
8
|
* Options for initializing a basic search provider.
|
|
24
9
|
*/
|
|
@@ -53,6 +38,21 @@ declare abstract class BaseProvider<O extends BaseProviderOptions = BaseProvider
|
|
|
53
38
|
label?: string;
|
|
54
39
|
}
|
|
55
40
|
|
|
41
|
+
interface ResultItem {
|
|
42
|
+
/**
|
|
43
|
+
* Display text of the result item.
|
|
44
|
+
*/
|
|
45
|
+
text: string;
|
|
46
|
+
/**
|
|
47
|
+
* Bounding box of the result item in [west, south, east, north] format.
|
|
48
|
+
*/
|
|
49
|
+
extent: LngLatBoundsArray;
|
|
50
|
+
/**
|
|
51
|
+
* Optional GeoJSON geometry associated with this result item.
|
|
52
|
+
*/
|
|
53
|
+
geom?: GeoJsonObject;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
56
|
interface SearchItem {
|
|
57
57
|
/**
|
|
58
58
|
* A dynamic property bucket for the `SearchItem`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextgis/geocoder",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "lib/geocoder.esm-bundler.js",
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"jsdelivr": "lib/geocoder.global.prod.js",
|
|
9
9
|
"types": "lib/index.d.ts",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@nextgis/cancelable-promise": "^3.0.0-alpha.
|
|
12
|
-
"@nextgis/ngw-connector": "^3.0.0-alpha.
|
|
13
|
-
"@nextgis/ngw-kit": "^3.0.0-alpha.
|
|
14
|
-
"@nextgis/utils": "^3.0.0-alpha.
|
|
11
|
+
"@nextgis/cancelable-promise": "^3.0.0-alpha.13",
|
|
12
|
+
"@nextgis/ngw-connector": "^3.0.0-alpha.13",
|
|
13
|
+
"@nextgis/ngw-kit": "^3.0.0-alpha.13",
|
|
14
|
+
"@nextgis/utils": "^3.0.0-alpha.13",
|
|
15
15
|
"@types/events": "^3.0.0",
|
|
16
16
|
"@types/geojson": "^7946.0.14",
|
|
17
17
|
"events": "*"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@nextgis/build-tools": "^3.0.0-alpha.
|
|
20
|
+
"@nextgis/build-tools": "^3.0.0-alpha.13"
|
|
21
21
|
},
|
|
22
22
|
"buildOptions": {
|
|
23
23
|
"name": "Geocoder",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"bugs": {
|
|
54
54
|
"url": "https://github.com/nextgis/nextgis_frontend/issues"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "5906588a63866935106f597726dd16da682784ef"
|
|
57
57
|
}
|