naksha-components-react 4.6.1-beta.2 → 4.6.1-beta.20
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/dist/esm/index.js +7 -17
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -17
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -35,24 +35,14 @@ var defaultViewState = {
|
|
|
35
35
|
};
|
|
36
36
|
var defaultMapStyles = [
|
|
37
37
|
{
|
|
38
|
-
text: "
|
|
39
|
-
key: "
|
|
40
|
-
style: "
|
|
38
|
+
text: "OSM",
|
|
39
|
+
key: "3",
|
|
40
|
+
style: "https://unpkg.com/maplibre-gl-styles@0.0.1/styles/osm-mapnik/v8/india.json"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
text: "Satellite",
|
|
44
44
|
key: "1",
|
|
45
|
-
style: "
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
text: "Dark",
|
|
49
|
-
key: "2",
|
|
50
|
-
style: "mapbox://styles/biodiv/cku4a35961fgo17mykoq76se1"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
text: "OSM",
|
|
54
|
-
key: "3",
|
|
55
|
-
style: "https://unpkg.com/maplibre-gl-styles@0.0.1/styles/osm-mapnik/v8/india.json"
|
|
45
|
+
style: "https://raw.githubusercontent.com/go2garret/maps/main/src/assets/json/arcgis_hybrid.json"
|
|
56
46
|
}
|
|
57
47
|
];
|
|
58
48
|
var adminBoundries = [
|
|
@@ -128,9 +118,9 @@ var formatDate = (date) => {
|
|
|
128
118
|
// src/index.tsx
|
|
129
119
|
export * from "@biodiv-platform/naksha-gmaps-draw";
|
|
130
120
|
export * from "@biodiv-platform/naksha-gmaps-view";
|
|
131
|
-
export * from "@biodiv-platform/naksha-
|
|
132
|
-
export * from "@biodiv-platform/naksha-
|
|
133
|
-
export * from "@biodiv-platform/naksha-
|
|
121
|
+
export * from "@biodiv-platform/naksha-maplibre-draw";
|
|
122
|
+
export * from "@biodiv-platform/naksha-maplibre-layers";
|
|
123
|
+
export * from "@biodiv-platform/naksha-maplibre-view";
|
|
134
124
|
export {
|
|
135
125
|
GMAPS_AUTOCOMPLETE_FIELDS,
|
|
136
126
|
GMAPS_LIBRARIES,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from '@biodiv-platform/naksha-commons';
|
|
2
2
|
export * from '@biodiv-platform/naksha-gmaps-draw';
|
|
3
3
|
export * from '@biodiv-platform/naksha-gmaps-view';
|
|
4
|
-
export * from '@biodiv-platform/naksha-
|
|
5
|
-
export * from '@biodiv-platform/naksha-
|
|
6
|
-
export * from '@biodiv-platform/naksha-
|
|
4
|
+
export * from '@biodiv-platform/naksha-maplibre-draw';
|
|
5
|
+
export * from '@biodiv-platform/naksha-maplibre-layers';
|
|
6
|
+
export * from '@biodiv-platform/naksha-maplibre-view';
|
package/dist/index.js
CHANGED
|
@@ -74,24 +74,14 @@ var defaultViewState = {
|
|
|
74
74
|
};
|
|
75
75
|
var defaultMapStyles = [
|
|
76
76
|
{
|
|
77
|
-
text: "
|
|
78
|
-
key: "
|
|
79
|
-
style: "
|
|
77
|
+
text: "OSM",
|
|
78
|
+
key: "3",
|
|
79
|
+
style: "https://unpkg.com/maplibre-gl-styles@0.0.1/styles/osm-mapnik/v8/india.json"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
text: "Satellite",
|
|
83
83
|
key: "1",
|
|
84
|
-
style: "
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
text: "Dark",
|
|
88
|
-
key: "2",
|
|
89
|
-
style: "mapbox://styles/biodiv/cku4a35961fgo17mykoq76se1"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
text: "OSM",
|
|
93
|
-
key: "3",
|
|
94
|
-
style: "https://unpkg.com/maplibre-gl-styles@0.0.1/styles/osm-mapnik/v8/india.json"
|
|
84
|
+
style: "https://raw.githubusercontent.com/go2garret/maps/main/src/assets/json/arcgis_hybrid.json"
|
|
95
85
|
}
|
|
96
86
|
];
|
|
97
87
|
var adminBoundries = [
|
|
@@ -167,9 +157,9 @@ var formatDate = (date) => {
|
|
|
167
157
|
// src/index.tsx
|
|
168
158
|
__reExport(src_exports, require("@biodiv-platform/naksha-gmaps-draw"), module.exports);
|
|
169
159
|
__reExport(src_exports, require("@biodiv-platform/naksha-gmaps-view"), module.exports);
|
|
170
|
-
__reExport(src_exports, require("@biodiv-platform/naksha-
|
|
171
|
-
__reExport(src_exports, require("@biodiv-platform/naksha-
|
|
172
|
-
__reExport(src_exports, require("@biodiv-platform/naksha-
|
|
160
|
+
__reExport(src_exports, require("@biodiv-platform/naksha-maplibre-draw"), module.exports);
|
|
161
|
+
__reExport(src_exports, require("@biodiv-platform/naksha-maplibre-layers"), module.exports);
|
|
162
|
+
__reExport(src_exports, require("@biodiv-platform/naksha-maplibre-view"), module.exports);
|
|
173
163
|
// Annotate the CommonJS export names for ESM import in node:
|
|
174
164
|
0 && (module.exports = {
|
|
175
165
|
GMAPS_AUTOCOMPLETE_FIELDS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "naksha-components-react",
|
|
3
|
-
"version": "4.6.1-beta.
|
|
3
|
+
"version": "4.6.1-beta.20",
|
|
4
4
|
"author": "harshzalavadiya",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@biodiv-platform/eslint-preset": "4.4.9",
|
|
24
24
|
"@biodiv-platform/naksha-gmaps-draw": "4.5.3",
|
|
25
25
|
"@biodiv-platform/naksha-gmaps-view": "4.4.9",
|
|
26
|
-
"@biodiv-platform/naksha-
|
|
27
|
-
"@biodiv-platform/naksha-
|
|
28
|
-
"@biodiv-platform/naksha-
|
|
26
|
+
"@biodiv-platform/naksha-maplibre-draw": "5.0.8",
|
|
27
|
+
"@biodiv-platform/naksha-maplibre-layers": "5.0.1",
|
|
28
|
+
"@biodiv-platform/naksha-maplibre-view": "5.0.2",
|
|
29
29
|
"@biodiv-platform/tsconfig": "4.4.9"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
}
|