@trackunit/react-map 0.2.295 → 0.2.297

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.
@@ -0,0 +1,11 @@
1
+ import type { FillTilingDifferenceFailure } from "./shapeFillTiling";
2
+ type ReportFillTilingDifferenceFailureEvent = (payload: Record<string, unknown>) => void;
3
+ /** Resting tiling (`computeFillTiling`) and hover/selection promotion clip on different inputs. */
4
+ export type FillTilingClipChannel = "resting" | "promotion";
5
+ /**
6
+ * Report to Sentry each feature whose clip fell back to an unclipped fill because
7
+ * `polygon-clipping` threw (SAGA-743), at most once per handle, channel and feature per session.
8
+ * Note: `shapeFillTiling.ts` emits `console.warn` separately on both channels.
9
+ */
10
+ export declare const captureFillTilingDifferenceFailures: (differenceFailures: ReadonlyArray<FillTilingDifferenceFailure>, layerHandleId: string, channel: FillTilingClipChannel, sessionReportedDedupeKeys: Set<string>, report: ReportFillTilingDifferenceFailureEvent) => void;
11
+ export {};
@@ -0,0 +1,37 @@
1
+ import type { Clipper2ZFactoryFunction } from "clipper2-wasm/dist/es/clipper2z.js";
2
+ import type { PolygonDifference } from "./shapeFillTiling";
3
+ /** The instantiated Clipper2 module: the bound API plus the Emscripten runtime (`HEAPU8`, …). */
4
+ export type Clipper2Module = Awaited<ReturnType<Clipper2ZFactoryFunction>>;
5
+ /** Subset of the Emscripten module options this loader uses. */
6
+ export type Clipper2LoadOptions = Readonly<{
7
+ /** Pre-fetched binary; when omitted the loader fetches `clipper2z.wasm` next to the script. */
8
+ wasmBinary?: ArrayBuffer;
9
+ }>;
10
+ /**
11
+ * Build the difference function on an instantiated module. Throws (from Clipper2 or from the
12
+ * bridge itself) propagate to the caller, which owns the fallback and the reporting; every embind
13
+ * object is released in `finally` either way.
14
+ */
15
+ export declare const createClipper2PolygonDifference: (clipper: Clipper2Module) => PolygonDifference;
16
+ /**
17
+ * Polygon difference backed by Clipper2 compiled to WebAssembly: a drop-in for
18
+ * `geoJsonPolygonDifference` in fill tiling, roughly 6× faster on the same inputs. Unlike
19
+ * `geoJsonPolygonDifference` it throws on failure instead of returning the subject unclipped:
20
+ * polygon-clipping is still available as an exact fallback, and an Emscripten abort disables the
21
+ * module for good, so the caller decides how to degrade and report.
22
+ *
23
+ * The module (~210 KB) is fetched and instantiated on first call and shared afterwards, including a
24
+ * failed load: callers keep `geoJsonPolygonDifference` until the promise resolves and stay on it for
25
+ * the page lifetime if it rejects (no WebAssembly support, blocked asset, …). `options.wasmBinary`
26
+ * bypasses the fetch; engines created with options are not shared.
27
+ */
28
+ export declare const loadClipper2PolygonDifference: (options?: Clipper2LoadOptions) => Promise<PolygonDifference>;
29
+ /** The shared engine when it has already loaded, so a later mount can use it for its first pass. */
30
+ export declare const getLoadedClipper2PolygonDifference: () => PolygonDifference | undefined;
31
+ /**
32
+ * Called when the shared engine threw: an Emscripten abort disables the module for the rest of the
33
+ * page, so no later mount may adopt it and no reload is attempted.
34
+ */
35
+ export declare const markClipper2PolygonDifferenceUnusable: () => void;
36
+ /** Whether the shared engine was marked unusable; callers stay on polygon-clipping silently. */
37
+ export declare const isClipper2PolygonDifferenceUnusable: () => boolean;
@@ -1,4 +1,4 @@
1
- import { type GeoJsonBbox, type GeoJsonFeature, type GeoJsonGeometry, type GeoJsonMultiPolygon, type GeoJsonPosition } from "@trackunit/geo-json-utils";
1
+ import { type GeoJsonBbox, type GeoJsonFeature, type GeoJsonGeometry, type GeoJsonMultiPolygon, type GeoJsonPolygon, type GeoJsonPosition } from "@trackunit/geo-json-utils";
2
2
  import { type ShapeStyle } from "@trackunit/react-map-adapter-shared";
3
3
  import type { ResolveShapeStackOrder } from "./shapeStackOrder";
4
4
  /**
@@ -22,6 +22,15 @@ export declare const EMPTY_FILL: GeoJsonMultiPolygon;
22
22
  * hit-testing (stroke remains interactive).
23
23
  */
24
24
  export declare const isFillSuppressed: (style: ShapeStyle | undefined) => boolean;
25
+ type PolygonalGeometry = GeoJsonPolygon | GeoJsonMultiPolygon;
26
+ /**
27
+ * Polygon difference used to clip lower-ranked fills: `subject` minus the union of `clips`, or
28
+ * `null` when nothing remains. `geoJsonPolygonDifference` is the default; the fill-tiling hook
29
+ * swaps in the Clipper2 WebAssembly engine once it has loaded. Implementations handed to the tiling
30
+ * functions follow `geoJsonPolygonDifference`'s contract: when the difference cannot be computed
31
+ * they call `onFallback` and return `subject` unclipped.
32
+ */
33
+ export type PolygonDifference = (subject: PolygonalGeometry, clips: ReadonlyArray<PolygonalGeometry>, onFallback?: (error: unknown) => void) => PolygonalGeometry | null;
25
34
  /** Per-feature visible fill lookup for hit-testing (clipped geometry from tiling). */
26
35
  export type VisibleFillLookup = (featureId: string) => GeoJsonGeometry | null | undefined;
27
36
  export type FillTilingInput = Readonly<{
@@ -52,6 +61,8 @@ export type FillTilingInput = Readonly<{
52
61
  * whether that feature's edges should be densified (overrides `layerGeodesic`).
53
62
  */
54
63
  featureStyles: ReadonlyMap<string, ShapeStyle> | undefined;
64
+ /** Difference implementation for the clip phase; defaults to `geoJsonPolygonDifference`. */
65
+ polygonDifference?: PolygonDifference;
55
66
  }>;
56
67
  export type FillTilingResult = Readonly<{
57
68
  /** Feature id → clipped fill geometry. Only clipped/covered features appear. */
@@ -77,6 +88,22 @@ export type FillTilingResult = Readonly<{
77
88
  * `droppedInvalidFeatures`.
78
89
  */
79
90
  intersectionFailures: ReadonlyArray<FillTilingIntersectionFailure>;
91
+ /**
92
+ * Features whose clip threw inside `polygon-clipping` (SAGA-743). The feature kept
93
+ * its full fill, so translucent fills compound where it overlaps higher-ranked
94
+ * neighbours; surfaced here so the hook can report it.
95
+ */
96
+ differenceFailures: ReadonlyArray<FillTilingDifferenceFailure>;
97
+ }>;
98
+ export type FillTilingDifferenceFailure = Readonly<{
99
+ featureId: string;
100
+ /**
101
+ * Higher-ranked features whose clip threw and was skipped. Clips against the other
102
+ * higher-ranked neighbours still applied, so only the overlap with these compounds.
103
+ */
104
+ clipFeatureIds: ReadonlyArray<string>;
105
+ /** The error thrown by `polygon-clipping` (typically "Unable to complete output ring"). */
106
+ error: unknown;
80
107
  }>;
81
108
  export type DroppedInvalidFillTilingFeature = Readonly<{
82
109
  feature: GeoJsonFeature;
@@ -151,5 +178,18 @@ export declare const shapesUnderCursor: (position: GeoJsonPosition, features: Re
151
178
  * its full geometry — so peer-to-peer overlap ownership from resting tiling is
152
179
  * preserved and translucent fills do not compound under the winner.
153
180
  */
154
- export declare const computePromotionGroupFills: (members: ReadonlyArray<GeoJsonFeature>, winnerId: string, restingPeerFills?: ReadonlyMap<string, GeoJsonGeometry>, layerGeodesic?: boolean | undefined, featureStyles?: ReadonlyMap<string, ShapeStyle> | undefined) => ReadonlyMap<string, GeoJsonGeometry>;
181
+ export type PromotionGroupFillsInput = Readonly<{
182
+ members: ReadonlyArray<GeoJsonFeature>;
183
+ winnerId: string;
184
+ /** Resting (tiled) fill per peer; a peer without an entry is clipped from its full geometry. */
185
+ restingPeerFills?: ReadonlyMap<string, GeoJsonGeometry>;
186
+ layerGeodesic?: boolean;
187
+ featureStyles?: ReadonlyMap<string, ShapeStyle>;
188
+ /** Difference implementation for the peer clips; defaults to `geoJsonPolygonDifference`. */
189
+ polygonDifference?: PolygonDifference;
190
+ /** Called when the difference failed for a peer and the peer kept its fill unclipped (SAGA-743). */
191
+ onDifferenceFallback?: (featureId: string, error: unknown) => void;
192
+ }>;
193
+ export declare const computePromotionGroupFills: ({ members, winnerId, restingPeerFills, layerGeodesic, featureStyles, polygonDifference, onDifferenceFallback, }: PromotionGroupFillsInput) => ReadonlyMap<string, GeoJsonGeometry>;
155
194
  export declare const computeFillTiling: (input: FillTilingInput) => FillTilingResult;
195
+ export {};
@@ -1,4 +1,4 @@
1
- import type { GeoJsonGeometry, GeoJsonPosition } from "@trackunit/geo-json-utils";
1
+ import { type GeoJsonGeometry, type GeoJsonPosition } from "@trackunit/geo-json-utils";
2
2
  import type { MapApi } from "../../core/types";
3
3
  import type { LayerHandle, ShapesUnderCursorHit } from "../types";
4
4
  /**
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "Diminuir",
14
14
  "controls.stepper.increase": "Aumentar",
15
15
  "controls.zoom": "Ampliar",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "Apagar desenho",
17
+ "draw.limitReached": "Limite de polígono atingido. Apague o desenho para desenhar novamente",
18
+ "draw.polygon": "Desenhar polígono",
19
+ "draw.select": "Editar polígono",
20
+ "draw.selectDisabled": "Desenhe um polígono primeiro",
21
21
  "map.loading": "Carregar mapa",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "Não foi possível carregar o mapa. Tente novamente mais tarde.",
24
24
  "multiGeometry.badge.tooltip": "Parte de uma forma de várias partes",
25
25
  "settings.mapStyle.dark": "Escuro",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "Termine o desenho para alterar o estilo do mapa",
27
27
  "settings.mapStyle.light": "Claro",
28
28
  "settings.mapStyle.roadmap": "Mapa de estrada",
29
29
  "settings.mapStyle.roads": "Estradas",
30
30
  "settings.mapStyle.satellite": "Satélite",
31
31
  "settings.mapStyle.title": "Estilo do mapa",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "Tráfego",
33
+ "settings.mapStyle.trafficRequiresRoads": "Ative as Estradas para mostrar o tráfego"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "Diminuir",
12
12
  "controls.stepper.increase": "Aumentar",
13
13
  "controls.zoom": "Ampliar",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "Apagar desenho",
15
+ "draw.limitReached": "Limite de polígono atingido. Apague o desenho para desenhar novamente",
16
+ "draw.polygon": "Desenhar polígono",
17
+ "draw.select": "Editar polígono",
18
+ "draw.selectDisabled": "Desenhe um polígono primeiro",
19
19
  "map.loading": "Carregar mapa",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "Não foi possível carregar o mapa. Tente novamente mais tarde.",
22
22
  "multiGeometry.badge.tooltip": "Parte de uma forma de várias partes",
23
23
  "settings.mapStyle.dark": "Escuro",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "Termine o desenho para alterar o estilo do mapa",
25
25
  "settings.mapStyle.light": "Claro",
26
26
  "settings.mapStyle.roadmap": "Mapa de estrada",
27
27
  "settings.mapStyle.roads": "Estradas",
28
28
  "settings.mapStyle.satellite": "Satélite",
29
29
  "settings.mapStyle.title": "Estilo do mapa",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "Tráfego",
31
+ "settings.mapStyle.trafficRequiresRoads": "Ative as Estradas para mostrar o tráfego"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "Уменьшить",
14
14
  "controls.stepper.increase": "Увеличить",
15
15
  "controls.zoom": "Масштаб",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "Очистить рисунок",
17
+ "draw.limitReached": "Достигнут предел для многоугольника. Очистите рисунок, чтобы нарисовать заново",
18
+ "draw.polygon": "Нарисовать многоугольник",
19
+ "draw.select": "Редактировать многоугольник",
20
+ "draw.selectDisabled": "Сначала нарисуйте многоугольник",
21
21
  "map.loading": "Загрузка карты",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "Не удается загрузить карту. Повторите попытку позже.",
24
24
  "multiGeometry.badge.tooltip": "Часть составной фигуры",
25
25
  "settings.mapStyle.dark": "Темная",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "Завершите рисование, чтобы изменить стиль карты",
27
27
  "settings.mapStyle.light": "Светлая",
28
28
  "settings.mapStyle.roadmap": "Карта маршрута",
29
29
  "settings.mapStyle.roads": "Дороги",
30
30
  "settings.mapStyle.satellite": "Спутник",
31
31
  "settings.mapStyle.title": "Стиль карты",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "Пробки",
33
+ "settings.mapStyle.trafficRequiresRoads": "Включите «Дороги», чтобы показать пробки"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "Уменьшить",
12
12
  "controls.stepper.increase": "Увеличить",
13
13
  "controls.zoom": "Масштаб",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "Очистить рисунок",
15
+ "draw.limitReached": "Достигнут предел для многоугольника. Очистите рисунок, чтобы нарисовать заново",
16
+ "draw.polygon": "Нарисовать многоугольник",
17
+ "draw.select": "Редактировать многоугольник",
18
+ "draw.selectDisabled": "Сначала нарисуйте многоугольник",
19
19
  "map.loading": "Загрузка карты",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "Не удается загрузить карту. Повторите попытку позже.",
22
22
  "multiGeometry.badge.tooltip": "Часть составной фигуры",
23
23
  "settings.mapStyle.dark": "Темная",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "Завершите рисование, чтобы изменить стиль карты",
25
25
  "settings.mapStyle.light": "Светлая",
26
26
  "settings.mapStyle.roadmap": "Карта маршрута",
27
27
  "settings.mapStyle.roads": "Дороги",
28
28
  "settings.mapStyle.satellite": "Спутник",
29
29
  "settings.mapStyle.title": "Стиль карты",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "Пробки",
31
+ "settings.mapStyle.trafficRequiresRoads": "Включите «Дороги», чтобы показать пробки"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "Descreștere",
14
14
  "controls.stepper.increase": "Creștere",
15
15
  "controls.zoom": "Zoom",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "Ștergere trasare",
17
+ "draw.limitReached": "Limita poligonului a fost atinsă. Ștergeți trasarea pentru a trasa din nou",
18
+ "draw.polygon": "Trasare poligon",
19
+ "draw.select": "Editare poligon",
20
+ "draw.selectDisabled": "Trasați mai întâi un poligon",
21
21
  "map.loading": "Se încarcă harta",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "Imposibil de încărcat harta. Vă rugăm să încercați din nou mai târziu.",
24
24
  "multiGeometry.badge.tooltip": "Parte a unei forme multi-componentă",
25
25
  "settings.mapStyle.dark": "Întunecată",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "Finalizați trasarea pentru a schimba stilul hărții",
27
27
  "settings.mapStyle.light": "Luminoasă",
28
28
  "settings.mapStyle.roadmap": "Hartă rutieră",
29
29
  "settings.mapStyle.roads": "Drumuri",
30
30
  "settings.mapStyle.satellite": "Satelit",
31
31
  "settings.mapStyle.title": "Stil de hartă",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "Trafic",
33
+ "settings.mapStyle.trafficRequiresRoads": "Activați drumurile pentru a afișa traficul"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "Descreștere",
12
12
  "controls.stepper.increase": "Creștere",
13
13
  "controls.zoom": "Zoom",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "Ștergere trasare",
15
+ "draw.limitReached": "Limita poligonului a fost atinsă. Ștergeți trasarea pentru a trasa din nou",
16
+ "draw.polygon": "Trasare poligon",
17
+ "draw.select": "Editare poligon",
18
+ "draw.selectDisabled": "Trasați mai întâi un poligon",
19
19
  "map.loading": "Se încarcă harta",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "Imposibil de încărcat harta. Vă rugăm să încercați din nou mai târziu.",
22
22
  "multiGeometry.badge.tooltip": "Parte a unei forme multi-componentă",
23
23
  "settings.mapStyle.dark": "Întunecată",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "Finalizați trasarea pentru a schimba stilul hărții",
25
25
  "settings.mapStyle.light": "Luminoasă",
26
26
  "settings.mapStyle.roadmap": "Hartă rutieră",
27
27
  "settings.mapStyle.roads": "Drumuri",
28
28
  "settings.mapStyle.satellite": "Satelit",
29
29
  "settings.mapStyle.title": "Stil de hartă",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "Trafic",
31
+ "settings.mapStyle.trafficRequiresRoads": "Activați drumurile pentru a afișa traficul"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "Reducir",
14
14
  "controls.stepper.increase": "Aumentar",
15
15
  "controls.zoom": "Zoom",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "Borrar dibujo",
17
+ "draw.limitReached": "Límite de polígono alcanzado. Borre el dibujo para dibujar de nuevo",
18
+ "draw.polygon": "Dibujar polígono",
19
+ "draw.select": "Editar polígono",
20
+ "draw.selectDisabled": "Dibujar primero un polígono",
21
21
  "map.loading": "Cargando mapa",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "No se ha podido cargar el mapa. Inténtelo de nuevo más tarde.",
24
24
  "multiGeometry.badge.tooltip": "Parte de una forma multipartes",
25
25
  "settings.mapStyle.dark": "Oscuro",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "Finalizar el dibujo para cambiar el estilo del mapa",
27
27
  "settings.mapStyle.light": "Claro",
28
28
  "settings.mapStyle.roadmap": "Mapa de ruta",
29
29
  "settings.mapStyle.roads": "Carreteras",
30
30
  "settings.mapStyle.satellite": "Satélite",
31
31
  "settings.mapStyle.title": "Estilo de mapa",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "Tráfico",
33
+ "settings.mapStyle.trafficRequiresRoads": "Activar carreteras para mostrar el tráfico"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "Reducir",
12
12
  "controls.stepper.increase": "Aumentar",
13
13
  "controls.zoom": "Zoom",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "Borrar dibujo",
15
+ "draw.limitReached": "Límite de polígono alcanzado. Borre el dibujo para dibujar de nuevo",
16
+ "draw.polygon": "Dibujar polígono",
17
+ "draw.select": "Editar polígono",
18
+ "draw.selectDisabled": "Dibujar primero un polígono",
19
19
  "map.loading": "Cargando mapa",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "No se ha podido cargar el mapa. Inténtelo de nuevo más tarde.",
22
22
  "multiGeometry.badge.tooltip": "Parte de una forma multipartes",
23
23
  "settings.mapStyle.dark": "Oscuro",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "Finalizar el dibujo para cambiar el estilo del mapa",
25
25
  "settings.mapStyle.light": "Claro",
26
26
  "settings.mapStyle.roadmap": "Mapa de ruta",
27
27
  "settings.mapStyle.roads": "Carreteras",
28
28
  "settings.mapStyle.satellite": "Satélite",
29
29
  "settings.mapStyle.title": "Estilo de mapa",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "Tráfico",
31
+ "settings.mapStyle.trafficRequiresRoads": "Activar carreteras para mostrar el tráfico"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "Minska",
14
14
  "controls.stepper.increase": "Öka",
15
15
  "controls.zoom": "Zoom",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "Rensa ritning",
17
+ "draw.limitReached": "Polygonens maxgränser har nåtts. Rensa ritningen för att rita om",
18
+ "draw.polygon": "Rita polygon",
19
+ "draw.select": "Redigera polygon",
20
+ "draw.selectDisabled": "Rita en polygon först",
21
21
  "map.loading": "Laddar kartan",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "Det gick inte att ladda kartan. Försök igen senare.",
24
24
  "multiGeometry.badge.tooltip": "Del av en form med flera delar",
25
25
  "settings.mapStyle.dark": "Mörk",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "Slutför ritningen för att ändra kartstil",
27
27
  "settings.mapStyle.light": "Ljus",
28
28
  "settings.mapStyle.roadmap": "Vägkarta",
29
29
  "settings.mapStyle.roads": "Vägar",
30
30
  "settings.mapStyle.satellite": "Satellit",
31
31
  "settings.mapStyle.title": "Typ av karta",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "Trafik",
33
+ "settings.mapStyle.trafficRequiresRoads": "Aktivera vägar för att visa trafik"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "Minska",
12
12
  "controls.stepper.increase": "Öka",
13
13
  "controls.zoom": "Zoom",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "Rensa ritning",
15
+ "draw.limitReached": "Polygonens maxgränser har nåtts. Rensa ritningen för att rita om",
16
+ "draw.polygon": "Rita polygon",
17
+ "draw.select": "Redigera polygon",
18
+ "draw.selectDisabled": "Rita en polygon först",
19
19
  "map.loading": "Laddar kartan",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "Det gick inte att ladda kartan. Försök igen senare.",
22
22
  "multiGeometry.badge.tooltip": "Del av en form med flera delar",
23
23
  "settings.mapStyle.dark": "Mörk",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "Slutför ritningen för att ändra kartstil",
25
25
  "settings.mapStyle.light": "Ljus",
26
26
  "settings.mapStyle.roadmap": "Vägkarta",
27
27
  "settings.mapStyle.roads": "Vägar",
28
28
  "settings.mapStyle.satellite": "Satellit",
29
29
  "settings.mapStyle.title": "Typ av karta",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "Trafik",
31
+ "settings.mapStyle.trafficRequiresRoads": "Aktivera vägar för att visa trafik"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "減らす",
14
14
  "controls.stepper.increase": "増やす",
15
15
  "controls.zoom": "ズーム",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "描画をクリア",
17
+ "draw.limitReached": "使用できる多角形の上限数に達しました。再度描画するには、図面をクリアしてください",
18
+ "draw.polygon": "多角形を描画",
19
+ "draw.select": "多角形を編集",
20
+ "draw.selectDisabled": "最初に多角形を描画してください",
21
21
  "map.loading": "マップを読み込み中",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "マップを読み込めません。後でもう一度お試しください。",
24
24
  "multiGeometry.badge.tooltip": "複数の形状の内の一つ",
25
25
  "settings.mapStyle.dark": "ダーク",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "マップスタイルを変更するには、描画を終了してください",
27
27
  "settings.mapStyle.light": "ライト",
28
28
  "settings.mapStyle.roadmap": "道路マップ",
29
29
  "settings.mapStyle.roads": "道路",
30
30
  "settings.mapStyle.satellite": "衛星",
31
31
  "settings.mapStyle.title": "マップスタイル",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "トラフィック",
33
+ "settings.mapStyle.trafficRequiresRoads": "トラフィックを表示するには、「道路」をオンにしてください"
34
34
  };
35
35
 
36
36
  exports.default = translation;
@@ -11,24 +11,24 @@ var translation = {
11
11
  "controls.stepper.decrease": "減らす",
12
12
  "controls.stepper.increase": "増やす",
13
13
  "controls.zoom": "ズーム",
14
- "draw.clear": "Clear drawing",
15
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
16
- "draw.polygon": "Draw polygon",
17
- "draw.select": "Edit polygon",
18
- "draw.selectDisabled": "Draw a polygon first",
14
+ "draw.clear": "描画をクリア",
15
+ "draw.limitReached": "使用できる多角形の上限数に達しました。再度描画するには、図面をクリアしてください",
16
+ "draw.polygon": "多角形を描画",
17
+ "draw.select": "多角形を編集",
18
+ "draw.selectDisabled": "最初に多角形を描画してください",
19
19
  "map.loading": "マップを読み込み中",
20
20
  "map.loadingData": "Loading map data",
21
21
  "map.loadingErrorMessage": "マップを読み込めません。後でもう一度お試しください。",
22
22
  "multiGeometry.badge.tooltip": "複数の形状の内の一つ",
23
23
  "settings.mapStyle.dark": "ダーク",
24
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
24
+ "settings.mapStyle.disabledWhileDrawing": "マップスタイルを変更するには、描画を終了してください",
25
25
  "settings.mapStyle.light": "ライト",
26
26
  "settings.mapStyle.roadmap": "道路マップ",
27
27
  "settings.mapStyle.roads": "道路",
28
28
  "settings.mapStyle.satellite": "衛星",
29
29
  "settings.mapStyle.title": "マップスタイル",
30
- "settings.mapStyle.traffic": "Traffic",
31
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
30
+ "settings.mapStyle.traffic": "トラフィック",
31
+ "settings.mapStyle.trafficRequiresRoads": "トラフィックを表示するには、「道路」をオンにしてください"
32
32
  };
33
33
 
34
34
  export { translation as default };
@@ -13,24 +13,24 @@ var translation = {
13
13
  "controls.stepper.decrease": "ลด",
14
14
  "controls.stepper.increase": "เพิ่ม",
15
15
  "controls.zoom": "ซูม",
16
- "draw.clear": "Clear drawing",
17
- "draw.limitReached": "Polygon limit reached. Clear the drawing to draw again",
18
- "draw.polygon": "Draw polygon",
19
- "draw.select": "Edit polygon",
20
- "draw.selectDisabled": "Draw a polygon first",
16
+ "draw.clear": "ล้างภาพที่วาด",
17
+ "draw.limitReached": "วาดรูปหลายเหลี่ยมครบตามจำนวนที่กำหนดแล้ว ล้างภาพที่วาดเพื่อวาดอีกครั้ง",
18
+ "draw.polygon": "วาดรูปหลายเหลี่ยม",
19
+ "draw.select": "แก้ไขรูปหลายเหลี่ยม",
20
+ "draw.selectDisabled": "วาดรูปหลายเหลี่ยมก่อน",
21
21
  "map.loading": "กำลังโหลดแผนที่",
22
22
  "map.loadingData": "Loading map data",
23
23
  "map.loadingErrorMessage": "ไม่สามารถโหลดแผนที่ได้ โปรดลองอีกครั้งในภายหลัง",
24
24
  "multiGeometry.badge.tooltip": "เป็นส่วนหนึ่งของรูปทรงแบบหลายส่วน",
25
25
  "settings.mapStyle.dark": "เข้ม",
26
- "settings.mapStyle.disabledWhileDrawing": "Finish drawing to change the map style",
26
+ "settings.mapStyle.disabledWhileDrawing": "วาดภาพให้เสร็จก่อนเพื่อเปลี่ยนรูปแบบแผนที่",
27
27
  "settings.mapStyle.light": "สว่าง",
28
28
  "settings.mapStyle.roadmap": "แผนที่ถนน",
29
29
  "settings.mapStyle.roads": "ถนน",
30
30
  "settings.mapStyle.satellite": "ดาวเทียม",
31
31
  "settings.mapStyle.title": "สไตล์แผนที่",
32
- "settings.mapStyle.traffic": "Traffic",
33
- "settings.mapStyle.trafficRequiresRoads": "Turn on Roads to show traffic"
32
+ "settings.mapStyle.traffic": "การจราจร",
33
+ "settings.mapStyle.trafficRequiresRoads": "เปิดการแสดงถนนเพื่อดูการจราจร"
34
34
  };
35
35
 
36
36
  exports.default = translation;