From 11412f261a47addb641b45edc3e1a1d60110380d Mon Sep 17 00:00:00 2001 From: ztimson Date: Sat, 31 Aug 2019 15:31:39 -0400 Subject: [PATCH] organized --- src/app/models/mapSymbol.ts | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/app/models/mapSymbol.ts b/src/app/models/mapSymbol.ts index 0408c1a..60a55be 100644 --- a/src/app/models/mapSymbol.ts +++ b/src/app/models/mapSymbol.ts @@ -5,6 +5,7 @@ export interface LatLng { export interface MapData { circles?: Circle[]; + locations?: {latlng: LatLng, name: string}[]; markers?: Marker[]; measurements?: Measurement[]; polygons?: Polygon[]; @@ -30,27 +31,27 @@ export interface Circle extends MapSymbol { 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 { latlng: LatLng; icon?: any; } -export interface Polygon extends MapSymbol { - latlng: LatLng[]; -} - export interface Measurement extends MapSymbol { latlng: LatLng; latlng2: LatLng; 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; +}