@voila.dev/ui-map 1.1.9 → 1.1.10
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/package.json
CHANGED
|
@@ -8,7 +8,7 @@ export const DEFAULT_STYLE_URL = "https://tiles.openfreemap.org/styles/liberty";
|
|
|
8
8
|
export const DEFAULT_DARK_STYLE_URL =
|
|
9
9
|
"https://tiles.openfreemap.org/styles/dark";
|
|
10
10
|
|
|
11
|
-
/**
|
|
11
|
+
/** Western Europe — a sensible default frame for the whole dataset. */
|
|
12
12
|
const DEFAULT_CENTER: readonly [number, number] = [2.3522, 48.8566];
|
|
13
13
|
const DEFAULT_ZOOM = 5;
|
|
14
14
|
|
|
@@ -72,8 +72,8 @@ const MapViewImplementation = lazy(() =>
|
|
|
72
72
|
* Thin, reusable MapLibre GL basemap: it owns the canvas, lifecycle, navigation
|
|
73
73
|
* control and resize handling, and surfaces the instance (`onReady`) and view
|
|
74
74
|
* changes (`onMoveEnd`). It is deliberately presentational and data-agnostic, so
|
|
75
|
-
* any feature — the admin map's clustered entities, a single
|
|
76
|
-
* pin,
|
|
75
|
+
* any feature — the admin map's clustered entities, a single freelancer-profile
|
|
76
|
+
* pin, a client office — composes its own sources/layers on top.
|
|
77
77
|
*
|
|
78
78
|
* The MapLibre runtime is code-split: while its chunk downloads, a skeleton
|
|
79
79
|
* with the same frame pulses in place, matching the tile-streaming placeholder
|