@progress/kendo-charts 1.24.0 → 1.24.1-dev.202207281230

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/npm/map.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Element, geometry, Group, ShapeOptions } from '@progress/kendo-drawing';
1
+ import { Element, geometry, Group, ShapeOptions, Surface } from '@progress/kendo-drawing';
2
2
 
3
3
  /**
4
4
  * @hidden
@@ -8,7 +8,7 @@ export class Map {
8
8
  layers: any;
9
9
  element: HTMLElement;
10
10
 
11
- center(center?: Location | [number, number]): Location;
11
+ center(center?: Location | [number, number] | number[]): Location;
12
12
  extent(extent?: Extent): Extent;
13
13
  zoom(level?: number): number;
14
14
  viewSize(): any;
@@ -20,12 +20,12 @@ export class Map {
20
20
  eventToLayer(e: any): geometry.Point;
21
21
  eventToLocation(e: any): geometry.Point;
22
22
  eventToView(e: any): geometry.Point;
23
- layerToLocation(point: geometry.Point | [number, number], zoom: number): Location;
24
- locationToLayer(location: Location | [number, number], zoom: number): geometry.Point;
25
- locationToView(location: Location | [number, number]): geometry.Point;
23
+ layerToLocation(point: geometry.Point | [number, number] | number[], zoom: number): Location;
24
+ locationToLayer(location: Location | [number, number] | number[], zoom: number): geometry.Point;
25
+ locationToView(location: Location | [number, number] | number[]): geometry.Point;
26
26
  resize(force?: boolean): void;
27
27
  setOptions(options: any): void;
28
- viewToLocation(point: geometry.Point | [number, number], zoom: number): Location;
28
+ viewToLocation(point: geometry.Point | [number, number] | number[], zoom: number): Location;
29
29
  hideTooltip(): void;
30
30
  }
31
31
 
@@ -556,6 +556,16 @@ export interface MapLayer {
556
556
  */
557
557
  options: MapLayerOptions;
558
558
 
559
+ /**
560
+ * The drawing surface for Shape layers.
561
+ */
562
+ surface?: Surface;
563
+
564
+ /**
565
+ * The marker items for Marker layers.
566
+ */
567
+ items?: MapMarker[];
568
+
559
569
  /**
560
570
  * Shows the layer, if not visible.
561
571
  */
@@ -572,9 +582,17 @@ export interface MapLayer {
572
582
  */
573
583
  export interface MapMarker {
574
584
  /**
575
- * The marker location on the map.
585
+ * Gets or sets the Marker location.
586
+ *
587
+ * @param value The marker location on the map. Coordinates are listed as `[Latitude, Longitude]`.
588
+ * @return The marker location.
576
589
  */
577
- location: Location;
590
+ location(value?: number[] | Location): Location;
591
+
592
+ /**
593
+ * The data item used to create the marker.
594
+ */
595
+ dataItem: any;
578
596
 
579
597
  /**
580
598
  * The marker shape.