@arenarium/maps 1.0.51 → 1.0.53

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 CHANGED
@@ -114,6 +114,7 @@ declare const mapStyleSchema: z.ZodObject<{
114
114
  url?: string | undefined;
115
115
  }>;
116
116
  declare const mapOptionsSchema: z.ZodObject<{
117
+ apiKey: z.ZodString;
117
118
  container: z.ZodString;
118
119
  position: z.ZodObject<{
119
120
  center: z.ZodObject<{
@@ -247,6 +248,7 @@ declare const mapOptionsSchema: z.ZodObject<{
247
248
  url?: string | undefined;
248
249
  }>;
249
250
  }, "strip", z.ZodTypeAny, {
251
+ apiKey: string;
250
252
  container: string;
251
253
  position: {
252
254
  center: {
@@ -279,6 +281,7 @@ declare const mapOptionsSchema: z.ZodObject<{
279
281
  } | undefined;
280
282
  } | undefined;
281
283
  }, {
284
+ apiKey: string;
282
285
  container: string;
283
286
  position: {
284
287
  center: {
@@ -423,6 +426,7 @@ declare namespace Types {
423
426
  ][];
424
427
  }
425
428
  export interface MarkersRequest {
429
+ apiKey: string;
426
430
  popups: Popup[];
427
431
  minZoom: number;
428
432
  maxZoom: number;
@@ -433,15 +437,15 @@ export declare namespace MapComponent {
433
437
  }
434
438
  export interface MapComponent {
435
439
  getCenter: () => MapCoordinate;
436
- setCenter: (coordinate: MapCoordinate) => void;
437
440
  getZoom: () => number;
438
- setZoom: (zoom: number) => void;
439
441
  getBounds: () => MapBounds;
440
- zoomIn: () => void;
441
- zoomOut: () => void;
442
+ setCenter: (coordinate: MapCoordinate) => void;
443
+ setZoom: (zoom: number) => void;
442
444
  setMinZoom: (zoom: number) => void;
443
445
  setMaxZoom: (zoom: number) => void;
444
446
  setMaxBounds: (bounds: MapBounds) => void;
447
+ zoomIn: () => void;
448
+ zoomOut: () => void;
445
449
  getStyle: () => MapStyle;
446
450
  setStyle: (style: MapStyle) => void;
447
451
  updatePopupContentCallback: (callback: MapComponent.MapPopupContentCallback) => Promise<HTMLElement>;