organized

This commit is contained in:
Zakary Timson 2019-08-31 15:31:39 -04:00
parent 7983b4633b
commit 11412f261a

View File

@ -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;
}