organized
This commit is contained in:
parent
7983b4633b
commit
11412f261a
@ -5,6 +5,7 @@ export interface LatLng {
|
|||||||
|
|
||||||
export interface MapData {
|
export interface MapData {
|
||||||
circles?: Circle[];
|
circles?: Circle[];
|
||||||
|
locations?: {latlng: LatLng, name: string}[];
|
||||||
markers?: Marker[];
|
markers?: Marker[];
|
||||||
measurements?: Measurement[];
|
measurements?: Measurement[];
|
||||||
polygons?: Polygon[];
|
polygons?: Polygon[];
|
||||||
@ -30,27 +31,27 @@ export interface Circle extends MapSymbol {
|
|||||||
radius?: number;
|
radius?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Rectangle extends MapSymbol {
|
|
||||||
latlng: LatLng;
|
|
||||||
latlng2: LatLng;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Polyline extends MapSymbol {
|
|
||||||
latlng: LatLng[];
|
|
||||||
weight?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Marker extends MapSymbol {
|
export interface Marker extends MapSymbol {
|
||||||
latlng: LatLng;
|
latlng: LatLng;
|
||||||
icon?: any;
|
icon?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Polygon extends MapSymbol {
|
|
||||||
latlng: LatLng[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Measurement extends MapSymbol {
|
export interface Measurement extends MapSymbol {
|
||||||
latlng: LatLng;
|
latlng: LatLng;
|
||||||
latlng2: LatLng;
|
latlng2: LatLng;
|
||||||
weight?: number;
|
weight?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface Polygon extends MapSymbol {
|
||||||
|
latlng: LatLng[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Polyline extends MapSymbol {
|
||||||
|
latlng: LatLng[];
|
||||||
|
weight?: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Rectangle extends MapSymbol {
|
||||||
|
latlng: LatLng;
|
||||||
|
latlng2: LatLng;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user