@arenarium/maps 1.0.131 → 1.0.133
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 +4 -0
- package/dist/index.js +2 -2
- package/dist/main.cjs.js +2 -2
- package/dist/main.d.ts +4 -0
- package/dist/main.es.js +377 -375
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
33
33
|
limit?: number | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
}>>;
|
|
36
|
+
api: z.ZodOptional<z.ZodString>;
|
|
36
37
|
}, "strip", z.ZodTypeAny, {
|
|
37
38
|
pin?: {
|
|
38
39
|
fade?: boolean | undefined;
|
|
@@ -44,6 +45,7 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
44
45
|
limit?: number | undefined;
|
|
45
46
|
} | undefined;
|
|
46
47
|
} | undefined;
|
|
48
|
+
api?: string | undefined;
|
|
47
49
|
}, {
|
|
48
50
|
pin?: {
|
|
49
51
|
fade?: boolean | undefined;
|
|
@@ -55,6 +57,7 @@ declare const mapConfigurationSchema: z.ZodObject<{
|
|
|
55
57
|
limit?: number | undefined;
|
|
56
58
|
} | undefined;
|
|
57
59
|
} | undefined;
|
|
60
|
+
api?: string | undefined;
|
|
58
61
|
}>;
|
|
59
62
|
export type MapConfiguration = z.infer<typeof mapConfigurationSchema>;
|
|
60
63
|
declare const mapProviderParametersSchema: z.ZodObject<{
|
|
@@ -322,6 +325,7 @@ export declare class MapManager {
|
|
|
322
325
|
private configurationPinFade;
|
|
323
326
|
private configurationPinMaxCount;
|
|
324
327
|
private configurationPinMaxZoomDelta;
|
|
328
|
+
private configurationApiUrl;
|
|
325
329
|
constructor(apiKey: string, mapProvider: MapProvider, mapConfiguration?: MapConfiguration);
|
|
326
330
|
set configuration(configuration: MapConfiguration | undefined);
|
|
327
331
|
setColors(primary: string, background: string, text: string): void;
|