@tracktor/map 0.1.1 → 0.1.3
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.
|
@@ -36,12 +36,7 @@ interface LoadMarkersProps {
|
|
|
36
36
|
* type: "dropOff"
|
|
37
37
|
* });
|
|
38
38
|
*/
|
|
39
|
-
export declare const generateMarkers: ({ palette, type }: GenerateMarkersProps) =>
|
|
40
|
-
"circle-color": string;
|
|
41
|
-
"circle-radius": number;
|
|
42
|
-
"circle-stroke-color": string;
|
|
43
|
-
"circle-stroke-width": number;
|
|
44
|
-
};
|
|
39
|
+
export declare const generateMarkers: ({ palette, type }: GenerateMarkersProps) => object;
|
|
45
40
|
/**
|
|
46
41
|
* Main entry point for loading markers onto a Mapbox GL map
|
|
47
42
|
*
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tracktor/map",
|
|
3
3
|
"description": "A react library to easily display map with multiple tools",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.3",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"env:load": "./bin/load-env.sh",
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
],
|
|
17
17
|
"main": "dist/main.umd.cjs",
|
|
18
18
|
"module": "dist/main.js",
|
|
19
|
+
"types": "dist/main.d.ts",
|
|
19
20
|
"exports": {
|
|
20
21
|
".": {
|
|
21
|
-
"
|
|
22
|
+
"types": "./dist/main.d.ts",
|
|
23
|
+
"import": "./dist/main.es.js",
|
|
22
24
|
"require": "./dist/main.umd.cjs"
|
|
23
25
|
}
|
|
24
26
|
},
|