|
|
@@ -11,6 +11,11 @@ import {
|
|
|
|
|
|
let LatLon = require('geodesy').LatLonSpherical;
|
|
|
|
|
|
+export interface Region {
|
|
|
+ center: CoordinateLong;
|
|
|
+ radius: number;
|
|
|
+ animate: boolean;
|
|
|
+}
|
|
|
declare namespace LatLon {
|
|
|
export interface Spherical {
|
|
|
lat: number;
|
|
|
@@ -227,9 +232,21 @@ export interface Circle {
|
|
|
fillColor: string;
|
|
|
}
|
|
|
|
|
|
+export interface CustomViewProps {
|
|
|
+ imgName: string;
|
|
|
+ addrName: string;
|
|
|
+ index: number;
|
|
|
+ isSelected: boolean;
|
|
|
+}
|
|
|
+
|
|
|
export interface Marker {
|
|
|
coordinate: Coordinate;
|
|
|
- imageName: string;
|
|
|
+ imageName?: string;
|
|
|
+ customView?: string;
|
|
|
+ customViewProps?: CustomViewProps;
|
|
|
+ isToTop?: boolean;
|
|
|
+ flat?: boolean;
|
|
|
+ uid?: string;
|
|
|
}
|
|
|
|
|
|
export interface Polygon {
|