@mapcomponents/react-maplibre 1.0.3 → 1.0.5

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.
@@ -7,6 +7,7 @@ interface SidebarProps {
7
7
  open?: boolean;
8
8
  setOpen?: (val: boolean) => void;
9
9
  name?: string;
10
+ drawerBleeding?: number;
10
11
  }
11
12
  export default function Sidebar({ drawerPaperProps, drawerHeaderProps, setOpen, ...props }: SidebarProps & DrawerProps): React.JSX.Element;
12
13
  export {};
@@ -0,0 +1,62 @@
1
+ ### Anatomy of a MapComponent
2
+
3
+ A MapComponent is a react component that accepts at least 1 attribute "mapId" (there are some exceptions) and is expected to retrieve a maplibre-gl instance from mapContext and directly manipulate it or watch its state.
4
+ An example implementation of basic required functions for the maplibre instance retrieval process using the useMap hook, can be seen in [./components/MlComponentTemplate/MlComponentTemplate.tsx](https://github.com/mapcomponents/react-map-components-maplibre/blob/main/src/components/MlComponentTemplate/MlComponentTemplate.tsx)
5
+ If no attribute mapId is provided the map component is expected to work with the map instance provided by mapContext at ```mapContext.map``` (the first maplibre instance that is registered in MapContext).
6
+
7
+
8
+ ### Cleanup functions
9
+
10
+ Once a component is removed from reactDOM we need to make sure everything it has added to the maplibre-gl instance is removed with it. The mapHook offers a convenient way to do this.
11
+
12
+ **- Retrieve the maplibre instance using the useMap hook**
13
+
14
+ Add `mapHook.map` to the dependency array of e.g. a useEffect hook to trigger it once the map instance becomes available.
15
+
16
+ ```js
17
+
18
+ const mapHook = useMap({
19
+ mapId: props.mapId,
20
+ waitForLayer: props.insertBeforeLayer,
21
+ });
22
+
23
+ useEffect(() => {
24
+ if (!mapHook.map) return;
25
+ // the MapLibre-gl instance (mapHook.map) is accessible here
26
+ // initialize the layer and add it to the MapLibre-gl instance
27
+
28
+ // optionally add layers, sources, event listeners, controls, images to the MapLibre instance that are required by this component
29
+ mapHook.map.addLayer(
30
+ {/*layer-config*/},
31
+ props.insertBeforeLayer,
32
+ mapHook.componentId)
33
+
34
+ return () => {
35
+ mapHook.cleanup();
36
+ }
37
+
38
+ }, [mapHook.map]);
39
+
40
+ ```
41
+ **- Component cleanup function**
42
+
43
+ `mapHook.cleanup()` will remove all ressources from the maplibre-gl instance that have been added using `mapHook.componentId` as additional parameter in `map.addLayer`, `map.addSource`, `map.on`, `map.addImage` or `map.addControl` calls.
44
+
45
+ ```js
46
+
47
+ useEffect(() => {
48
+
49
+ return () => {
50
+ // This is the cleanup function, it is called when this react component is removed from react-dom
51
+ mapHook.cleanup();
52
+ };
53
+ }, []);
54
+
55
+ ```
56
+
57
+ **- addLayer, addSource, addImage, addControls, on**
58
+
59
+ The functions mentioned above have been overridden in the MapLibreGlWrapper instance that is referenced by mapHook.map.
60
+ All five functions expect an additional optional parameter "component_id" (string) as their last or optional parameter (except for the beforeLayerId parameter of the addLayer function, which should be defined as props.beforeLayerId to make sure the parent component is able to control the layer order).
61
+ A uuid `componentId` property is generated and available on the object returned by mapHook.
62
+ MapLibreGlWrapper uses the component_id to keep track of everything that has been added by a specific component (including implicitly added sources), enabling a safe and simple cleanup by calling ```mapHook.cleanup()``` as shown in the cleanup function example above.
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,211 +1,214 @@
1
1
  {
2
- "name": "@mapcomponents/react-maplibre",
3
- "version": "1.0.3",
4
- "main": "dist/index.cjs.js",
5
- "license": "MIT",
6
- "module": "dist/index.esm.js",
7
- "source": "src/index.ts",
8
- "types": "dist/index.d.ts",
9
- "scripts": {
10
- "build": "rollup -c",
11
- "start": "storybook dev",
12
- "cypress-test": "npx cypress run --component",
13
- "cypress": "npx cypress open",
14
- "test": "node scripts/test.cjs --watchAll=false --coverage",
15
- "test:noninteractive": "node scripts/test.cjs --verbose --watchAll=false --coverage",
16
- "test:generate-output": "node scripts/test.cjs --watchAll=false --json --outputFile=./src/.jest-test-results.json || true",
17
- "build-storybook": "storybook build -o docs-build",
18
- "storybook-docs": "storybook dev --docs --no-manager-cache",
19
- "build-catalogue-meta": "node scripts/build-catalogue-meta.js",
20
- "create-component": "./scripts/create-map-component.sh"
21
- },
22
- "dependencies": {
23
- "@dnd-kit/core": "^6.1.0",
24
- "@dnd-kit/modifiers": "^7.0.0",
25
- "@dnd-kit/sortable": "^8.0.0",
26
- "@emotion/css": "^11.11.2",
27
- "@emotion/react": "^11.11.3",
28
- "@emotion/styled": "^11.11.0",
29
- "@mapbox/mapbox-gl-draw": "^1.4.3",
30
- "@mapbox/mapbox-gl-sync-move": "^0.3.1",
31
- "@mui/icons-material": "^5.15.9",
32
- "@mui/material": "^5.15.9",
33
- "@tmcw/togeojson": "^5.8.1",
34
- "@turf/turf": "^6.5.0",
35
- "@types/d3": "^7.4.3",
36
- "@types/react-color": "^3.0.11",
37
- "@types/topojson-client": "^3.1.4",
38
- "@xmldom/xmldom": "^0.8.10",
39
- "csv2geojson": "^5.1.2",
40
- "d3": "^7.8.5",
41
- "jspdf": "^2.5.1",
42
- "maplibre-gl": "^4.0.0",
43
- "osm2geojson-lite": "^0.9.4",
44
- "pako": "^2.1.0",
45
- "react-color": "^2.19.3",
46
- "react-moveable": "^0.56.0",
47
- "three": "^0.161.0",
48
- "topojson-client": "^3.1.0",
49
- "uuid": "^9.0.1",
50
- "wms-capabilities": "^0.6.0"
51
- },
52
- "devDependencies": {
53
- "@babel/preset-react": "^7.23.3",
54
- "@bahmutov/cy-rollup": "^2.0.0",
55
- "@cfaester/enzyme-adapter-react-18": "^0.7.1",
56
- "@cypress/react": "^8.0.0",
57
- "@rollup/plugin-babel": "^6.0.4",
58
- "@rollup/plugin-commonjs": "^25.0.7",
59
- "@rollup/plugin-url": "^8.0.2",
60
- "@storybook/addon-actions": "^7.6.13",
61
- "@storybook/addon-docs": "^7.6.13",
62
- "@storybook/addon-essentials": "^7.6.13",
63
- "@storybook/addon-links": "^7.6.13",
64
- "@storybook/addons": "^7.6.13",
65
- "@storybook/node-logger": "^7.6.13",
66
- "@storybook/react": "^7.6.13",
67
- "@storybook/react-webpack5": "^7.6.13",
68
- "@storybook/testing-react": "^2.0.1",
69
- "@storybook/theming": "^7.6.13",
70
- "@svgr/rollup": "^8.1.0",
71
- "@testing-library/react": "^14.2.1",
72
- "@types/enzyme": "^3.10.18",
73
- "@types/expect": "^24.3.0",
74
- "@types/jest": "^29.5.12",
75
- "@types/mapbox__mapbox-gl-draw": "^1.4.6",
76
- "@types/mapbox__point-geometry": "^0.1.4",
77
- "@types/mapbox__vector-tile": "^1.3.4",
78
- "@types/pako": "^2.0.3",
79
- "@types/react": "^18.2.55",
80
- "@types/react-dom": "^18.2.19",
81
- "@types/sql.js": "^1.4.9",
82
- "@types/three": "^0.161.2",
83
- "@types/uuid": "^9.0.8",
84
- "@typescript-eslint/eslint-plugin": "^6.21.0",
85
- "@typescript-eslint/parser": "^6.21.0",
86
- "avj": "^0.0.0",
87
- "babel-jest": "^29.7.0",
88
- "babel-plugin-inline-react-svg": "^2.0.2",
89
- "babel-plugin-styled-components": "^2.1.4",
90
- "babel-preset-react-app": "^10.0.1",
91
- "cypress": "^13.6.4",
92
- "enzyme": "^3.11.0",
93
- "eslint": "^8.56.0",
94
- "eslint-config-prettier": "^9.1.0",
95
- "eslint-plugin-react": "^7.33.2",
96
- "eslint-plugin-storybook": "^0.6.15",
97
- "glob": "^10.3.10",
98
- "jest": "29.7.0",
99
- "jest-circus": "29.7.0",
100
- "jest-environment-jsdom": "^29.7.0",
101
- "jest-enzyme": "^7.1.2",
102
- "jest-resolve": "29.7.0",
103
- "jest-watch-typeahead": "2.2.2",
104
- "node-fetch": "^3.3.2",
105
- "postcss": "^8.4.35",
106
- "prettier": "3.2.5",
107
- "react": "^18.2.0",
108
- "react-app-polyfill": "^3.0.0",
109
- "react-dev-utils": "^12.0.1",
110
- "react-dom": "^18.2.0",
111
- "react-draggable": "^4.4.6",
112
- "react-i18next": "^14.0.5",
113
- "rollup": "^4.11.0",
114
- "rollup-plugin-delete": "^2.0.0",
115
- "rollup-plugin-import-css": "^3.4.0",
116
- "rollup-plugin-node-externals": "^7.0.1",
117
- "rollup-plugin-typescript2": "^0.36.0",
118
- "showdown": "^2.1.0",
119
- "sql.js": "^1.10.2",
120
- "storybook": "^7.6.13",
121
- "storybook-source-link": "^4.0.1",
122
- "ts-jest": "^29.1.2",
123
- "typescript": "^5.3.3"
124
- },
125
- "jest": {
126
- "roots": [
127
- "<rootDir>/src"
128
- ],
129
- "collectCoverageFrom": [
130
- "src/**/*.{js,jsx,ts,tsx}",
131
- "!src/**/*.d.ts"
132
- ],
133
- "setupFiles": [
134
- "react-app-polyfill/jsdom"
135
- ],
136
- "setupFilesAfterEnv": [
137
- "<rootDir>/src/setupTests.js"
138
- ],
139
- "testMatch": [
140
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
141
- "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
142
- ],
143
- "testEnvironment": "jsdom",
144
- "testRunner": "./node_modules/jest-circus/runner.js",
145
- "transform": {
146
- "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
147
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
148
- "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js",
149
- "^.+\\.svg$": "<rootDir>/config/jest/fileTransform.js"
150
- },
151
- "transformIgnorePatterns": [
152
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
153
- "^.+\\.module\\.(css|sass|scss)$"
154
- ],
155
- "modulePaths": [],
156
- "moduleNameMapper": {
157
- "^react-native$": "react-native-web",
158
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
159
- "^maplibre-gl/dist/maplibre-gl$": "<rootDir>/node_modules/maplibre-gl",
160
- "d3": "<rootDir>/node_modules/d3/dist/d3.min.js"
161
- },
162
- "moduleFileExtensions": [
163
- "web.js",
164
- "js",
165
- "web.ts",
166
- "ts",
167
- "web.tsx",
168
- "tsx",
169
- "json",
170
- "web.jsx",
171
- "jsx",
172
- "node"
173
- ],
174
- "watchPlugins": [
175
- "jest-watch-typeahead/filename",
176
- "jest-watch-typeahead/testname"
177
- ],
178
- "resetMocks": true,
179
- "coveragePathIgnorePatterns": [
180
- "/node_modules/",
181
- "/src/decorators/",
182
- "/src/lab/",
183
- "/src/stories/",
184
- "/src/ui_components/",
185
- "/src/deckgl_components/",
186
- "/src/components/MlBasicComponent",
187
- "/src/components/MlMapDrawTools",
188
- "/src/components/MlComponentTemplate/",
189
- "/src/components/MlAerialPhotograph/",
190
- "/src/components/MapLibreMapDebug/",
191
- "/src/components/MlDemoDashboard/",
192
- "/src/components/MlLaufwettbewerbApp/",
193
- "/src/components/MlLaermkarte/",
194
- "/src/components/MlMobilerImker/",
195
- "/src/components/MlWanderApp/",
196
- "(.test)\\.(ts|tsx|js)$",
197
- "index\\.js$",
198
- ".*/lib/.*",
199
- ".*/utils/.*",
200
- ".*/util/.*",
201
- ".*/assets/.*",
202
- ".*/custom.d.tsx",
203
- "custom\\-.*\\-mode\\.js$",
204
- "(.stories)\\.(ts|tsx|js)$",
205
- "/distribution/.*\\.(ts|js)$"
206
- ]
207
- },
208
- "resolutions": {
209
- "jackspeak": "2.1.1"
210
- }
2
+ "name": "@mapcomponents/react-maplibre",
3
+ "version": "1.0.5",
4
+ "main": "dist/index.cjs.js",
5
+ "license": "MIT",
6
+ "module": "dist/index.esm.js",
7
+ "source": "src/index.ts",
8
+ "types": "dist/index.d.ts",
9
+ "scripts": {
10
+ "build": "rollup -c",
11
+ "start": "storybook dev",
12
+ "cypress-test": "npx cypress run --component",
13
+ "cypress": "npx cypress open",
14
+ "test": "node scripts/test.cjs --watchAll=false --coverage",
15
+ "test:noninteractive": "node scripts/test.cjs --verbose --watchAll=false --coverage",
16
+ "test:generate-output": "node scripts/test.cjs --watchAll=false --json --outputFile=./src/.jest-test-results.json || true",
17
+ "build-storybook": "storybook build -o docs-build",
18
+ "storybook-docs": "storybook dev --docs --no-manager-cache",
19
+ "build-catalogue-meta": "node scripts/build-catalogue-meta.js",
20
+ "create-component": "./scripts/create-map-component.sh"
21
+ },
22
+ "dependencies": {
23
+ "@dnd-kit/core": "^6.1.0",
24
+ "@dnd-kit/modifiers": "^7.0.0",
25
+ "@dnd-kit/sortable": "^8.0.0",
26
+ "@emotion/css": "^11.11.2",
27
+ "@emotion/react": "^11.11.3",
28
+ "@emotion/styled": "^11.11.0",
29
+ "@mapbox/mapbox-gl-draw": "^1.4.3",
30
+ "@mapbox/mapbox-gl-sync-move": "^0.3.1",
31
+ "@mui/icons-material": "^5.15.9",
32
+ "@mui/material": "^5.15.9",
33
+ "@tmcw/togeojson": "^5.8.1",
34
+ "@turf/turf": "^6.5.0",
35
+ "@types/d3": "^7.4.3",
36
+ "@types/react-color": "^3.0.11",
37
+ "@types/topojson-client": "^3.1.4",
38
+ "@xmldom/xmldom": "^0.8.10",
39
+ "csv2geojson": "^5.1.2",
40
+ "d3": "^7.8.5",
41
+ "jspdf": "^2.5.1",
42
+ "maplibre-gl": "^4.0.0",
43
+ "osm2geojson-lite": "^0.9.4",
44
+ "pako": "^2.1.0",
45
+ "react-color": "^2.19.3",
46
+ "react-moveable": "^0.56.0",
47
+ "three": "^0.161.0",
48
+ "topojson-client": "^3.1.0",
49
+ "uuid": "^9.0.1",
50
+ "wms-capabilities": "^0.6.0"
51
+ },
52
+ "devDependencies": {
53
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
54
+ "@babel/preset-react": "^7.23.3",
55
+ "@bahmutov/cy-rollup": "^2.0.0",
56
+ "@cfaester/enzyme-adapter-react-18": "^0.7.1",
57
+ "@cypress/react": "^8.0.0",
58
+ "@rollup/plugin-babel": "^6.0.4",
59
+ "@rollup/plugin-commonjs": "^25.0.7",
60
+ "@rollup/plugin-url": "^8.0.2",
61
+ "@storybook/addon-actions": "^7.6.13",
62
+ "@storybook/addon-docs": "^7.6.13",
63
+ "@storybook/addon-essentials": "^7.6.13",
64
+ "@storybook/addon-links": "^7.6.13",
65
+ "@storybook/addons": "^7.6.13",
66
+ "@storybook/node-logger": "^7.6.13",
67
+ "@storybook/react": "^7.6.13",
68
+ "@storybook/react-webpack5": "^7.6.13",
69
+ "@storybook/testing-react": "^2.0.1",
70
+ "@storybook/theming": "^7.6.13",
71
+ "@svgr/rollup": "^8.1.0",
72
+ "@testing-library/react": "^14.2.1",
73
+ "@types/elasticlunr": "^0.9.5",
74
+ "@types/enzyme": "^3.10.18",
75
+ "@types/expect": "^24.3.0",
76
+ "@types/jest": "^29.5.12",
77
+ "@types/mapbox__mapbox-gl-draw": "^1.4.6",
78
+ "@types/mapbox__point-geometry": "^0.1.4",
79
+ "@types/mapbox__vector-tile": "^1.3.4",
80
+ "@types/pako": "^2.0.3",
81
+ "@types/react": "^18.2.55",
82
+ "@types/react-dom": "^18.2.19",
83
+ "@types/sql.js": "^1.4.9",
84
+ "@types/three": "^0.161.2",
85
+ "@types/uuid": "^9.0.8",
86
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
87
+ "@typescript-eslint/parser": "^6.21.0",
88
+ "avj": "^0.0.0",
89
+ "babel-jest": "^29.7.0",
90
+ "babel-plugin-inline-react-svg": "^2.0.2",
91
+ "babel-plugin-styled-components": "^2.1.4",
92
+ "babel-preset-react-app": "^10.0.1",
93
+ "cypress": "^13.6.4",
94
+ "elasticlunr": "^0.9.5",
95
+ "enzyme": "^3.11.0",
96
+ "eslint": "^8.56.0",
97
+ "eslint-config-prettier": "^9.1.0",
98
+ "eslint-plugin-react": "^7.33.2",
99
+ "eslint-plugin-storybook": "^0.6.15",
100
+ "glob": "^10.3.10",
101
+ "jest": "29.7.0",
102
+ "jest-circus": "29.7.0",
103
+ "jest-environment-jsdom": "^29.7.0",
104
+ "jest-enzyme": "^7.1.2",
105
+ "jest-resolve": "29.7.0",
106
+ "jest-watch-typeahead": "2.2.2",
107
+ "node-fetch": "^3.3.2",
108
+ "postcss": "^8.4.35",
109
+ "prettier": "3.2.5",
110
+ "react": "^18.2.0",
111
+ "react-app-polyfill": "^3.0.0",
112
+ "react-dev-utils": "^12.0.1",
113
+ "react-dom": "^18.2.0",
114
+ "react-draggable": "^4.4.6",
115
+ "react-i18next": "^14.0.5",
116
+ "rollup": "^4.11.0",
117
+ "rollup-plugin-delete": "^2.0.0",
118
+ "rollup-plugin-import-css": "^3.4.0",
119
+ "rollup-plugin-node-externals": "^7.0.1",
120
+ "rollup-plugin-typescript2": "^0.36.0",
121
+ "showdown": "^2.1.0",
122
+ "sql.js": "^1.10.2",
123
+ "storybook": "^7.6.13",
124
+ "storybook-source-link": "^4.0.1",
125
+ "ts-jest": "^29.1.2",
126
+ "typescript": "^5.3.3"
127
+ },
128
+ "jest": {
129
+ "roots": [
130
+ "<rootDir>/src"
131
+ ],
132
+ "collectCoverageFrom": [
133
+ "src/**/*.{js,jsx,ts,tsx}",
134
+ "!src/**/*.d.ts"
135
+ ],
136
+ "setupFiles": [
137
+ "react-app-polyfill/jsdom"
138
+ ],
139
+ "setupFilesAfterEnv": [
140
+ "<rootDir>/src/setupTests.js"
141
+ ],
142
+ "testMatch": [
143
+ "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
144
+ "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
145
+ ],
146
+ "testEnvironment": "jsdom",
147
+ "testRunner": "./node_modules/jest-circus/runner.js",
148
+ "transform": {
149
+ "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
150
+ "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
151
+ "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js",
152
+ "^.+\\.svg$": "<rootDir>/config/jest/fileTransform.js"
153
+ },
154
+ "transformIgnorePatterns": [
155
+ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
156
+ "^.+\\.module\\.(css|sass|scss)$"
157
+ ],
158
+ "modulePaths": [],
159
+ "moduleNameMapper": {
160
+ "^react-native$": "react-native-web",
161
+ "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
162
+ "^maplibre-gl/dist/maplibre-gl$": "<rootDir>/node_modules/maplibre-gl",
163
+ "d3": "<rootDir>/node_modules/d3/dist/d3.min.js"
164
+ },
165
+ "moduleFileExtensions": [
166
+ "web.js",
167
+ "js",
168
+ "web.ts",
169
+ "ts",
170
+ "web.tsx",
171
+ "tsx",
172
+ "json",
173
+ "web.jsx",
174
+ "jsx",
175
+ "node"
176
+ ],
177
+ "watchPlugins": [
178
+ "jest-watch-typeahead/filename",
179
+ "jest-watch-typeahead/testname"
180
+ ],
181
+ "resetMocks": true,
182
+ "coveragePathIgnorePatterns": [
183
+ "/node_modules/",
184
+ "/src/decorators/",
185
+ "/src/lab/",
186
+ "/src/stories/",
187
+ "/src/ui_components/",
188
+ "/src/deckgl_components/",
189
+ "/src/components/MlBasicComponent",
190
+ "/src/components/MlMapDrawTools",
191
+ "/src/components/MlComponentTemplate/",
192
+ "/src/components/MlAerialPhotograph/",
193
+ "/src/components/MapLibreMapDebug/",
194
+ "/src/components/MlDemoDashboard/",
195
+ "/src/components/MlLaufwettbewerbApp/",
196
+ "/src/components/MlLaermkarte/",
197
+ "/src/components/MlMobilerImker/",
198
+ "/src/components/MlWanderApp/",
199
+ "(.test)\\.(ts|tsx|js)$",
200
+ "index\\.js$",
201
+ ".*/lib/.*",
202
+ ".*/utils/.*",
203
+ ".*/util/.*",
204
+ ".*/assets/.*",
205
+ ".*/custom.d.tsx",
206
+ "custom\\-.*\\-mode\\.js$",
207
+ "(.stories)\\.(ts|tsx|js)$",
208
+ "/distribution/.*\\.(ts|js)$"
209
+ ]
210
+ },
211
+ "resolutions": {
212
+ "jackspeak": "2.1.1"
213
+ }
211
214
  }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { MlGeoJsonLayerProps } from '../MlGeoJsonLayer';
3
- declare const CircleMapStyler: (props: MlGeoJsonLayerProps) => React.JSX.Element;
4
- export default CircleMapStyler;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { MlGeoJsonLayerProps } from '../MlGeoJsonLayer';
3
- declare const HeatMapStyler: (props: MlGeoJsonLayerProps) => React.JSX.Element;
4
- export default HeatMapStyler;