@tileflow/react 0.1.0-alpha.18 → 0.1.0-alpha.19
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/index.d.ts +1 -2
- package/dist/index.js +2 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ type MapProps = {
|
|
|
14
14
|
styleUrl?: string;
|
|
15
15
|
imageUrl?: string;
|
|
16
16
|
styleBaseUrl?: string;
|
|
17
|
-
tileBaseUrl?: string;
|
|
18
17
|
themes?: TileflowProjectThemes;
|
|
19
18
|
manifestUrl?: string;
|
|
20
19
|
preferLocalDev?: boolean;
|
|
@@ -30,6 +29,6 @@ type MapProps = {
|
|
|
30
29
|
analytics?: TileflowAnalytics;
|
|
31
30
|
onLoad?: (map: Map$1) => void;
|
|
32
31
|
};
|
|
33
|
-
declare function Map({ captureId, map: mapName, mode, config, style, styleUrl, imageUrl, styleBaseUrl,
|
|
32
|
+
declare function Map({ captureId, map: mapName, mode, config, style, styleUrl, imageUrl, styleBaseUrl, themes, manifestUrl, preferLocalDev, alt, center, zoom, className, height, imageLoading, interactive, mapOptions, markers, analytics, onLoad, }: MapProps): react.JSX.Element;
|
|
34
33
|
|
|
35
34
|
export { Map, type MapMarker, type MapProps, type TileflowMapOptions };
|
package/dist/index.js
CHANGED
|
@@ -40,7 +40,6 @@ function Map({
|
|
|
40
40
|
styleUrl,
|
|
41
41
|
imageUrl,
|
|
42
42
|
styleBaseUrl,
|
|
43
|
-
tileBaseUrl,
|
|
44
43
|
themes,
|
|
45
44
|
manifestUrl = defaultTileflowManifestUrl,
|
|
46
45
|
preferLocalDev = true,
|
|
@@ -138,8 +137,7 @@ function Map({
|
|
|
138
137
|
style,
|
|
139
138
|
styleBaseUrl,
|
|
140
139
|
styleUrl,
|
|
141
|
-
themes
|
|
142
|
-
tileBaseUrl
|
|
140
|
+
themes
|
|
143
141
|
});
|
|
144
142
|
}, [
|
|
145
143
|
config,
|
|
@@ -150,8 +148,7 @@ function Map({
|
|
|
150
148
|
style,
|
|
151
149
|
styleBaseUrl,
|
|
152
150
|
styleUrl,
|
|
153
|
-
themes
|
|
154
|
-
tileBaseUrl
|
|
151
|
+
themes
|
|
155
152
|
]);
|
|
156
153
|
const resolvedAnalytics = useMemo(
|
|
157
154
|
() => mergeTileflowAnalytics(analytics, runtimeStyle?.analytics),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tileflow/react",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.19",
|
|
4
4
|
"description": "React components for rendering Tileflow maps with MapLibre.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@tileflow/core": ">=0.1.0-alpha.
|
|
44
|
+
"@tileflow/core": ">=0.1.0-alpha.19 <0.1.0-beta.0",
|
|
45
45
|
"@tileflow/static": ">=0.1.0-alpha.17 <0.1.0-beta.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|