@progress/kendo-charts 1.24.0 → 1.24.1-dev.202207261139
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/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/map/constants.js +2 -0
- package/dist/es/map/map.js +13 -2
- package/dist/es2015/map/constants.js +2 -0
- package/dist/es2015/map/map.js +13 -2
- package/dist/npm/main.js +14 -3
- package/dist/npm/map.d.ts +36 -8
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
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
|
|
|
@@ -567,14 +567,42 @@ export interface MapLayer {
|
|
|
567
567
|
hide(): void;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
+
/**
|
|
571
|
+
* An instance of a Map Shape layer
|
|
572
|
+
*/
|
|
573
|
+
export interface MapShapeLayer extends MapLayer {
|
|
574
|
+
/**
|
|
575
|
+
* The drawing surface for the Shape layer.
|
|
576
|
+
*/
|
|
577
|
+
surface: Surface;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* An instance of a Map Marker layer
|
|
582
|
+
*/
|
|
583
|
+
export interface MapMarkerLayer extends MapLayer {
|
|
584
|
+
/**
|
|
585
|
+
* The marker items on this layer.
|
|
586
|
+
*/
|
|
587
|
+
items: MapMarker[];
|
|
588
|
+
}
|
|
589
|
+
|
|
570
590
|
/**
|
|
571
591
|
* Represents a Map marker with title and location.
|
|
572
592
|
*/
|
|
573
593
|
export interface MapMarker {
|
|
574
594
|
/**
|
|
575
|
-
*
|
|
595
|
+
* Gets or sets the Marker location.
|
|
596
|
+
*
|
|
597
|
+
* @param value The marker location on the map. Coordinates are listed as `[Latitude, Longitude]`.
|
|
598
|
+
* @return The marker location.
|
|
576
599
|
*/
|
|
577
|
-
location: Location;
|
|
600
|
+
location(value?: number[] | Location): Location;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* The data item used to create the marker.
|
|
604
|
+
*/
|
|
605
|
+
dataItem: any;
|
|
578
606
|
|
|
579
607
|
/**
|
|
580
608
|
* The marker shape.
|