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