app/dxa/dxa-entity/views/dist-office-search-views/dist-office-search.model.ts
Properties |
appType |
appType:
|
Type : string
|
lat |
lat:
|
Type : number
|
lng |
lng:
|
Type : number
|
maxZoom |
maxZoom:
|
Type : number
|
startLat |
startLat:
|
Type : number
|
startLng |
startLng:
|
Type : number
|
startZoom |
startZoom:
|
Type : number
|
export interface BoundingBox {
sw: {
lat: number,
lng: number
};
ne: {
lat: number,
lng: number
};
}
export interface MapConfig {
startLat: number;
startLng: number;
lat: number;
lng: number;
startZoom: number;
maxZoom: number;
appType: string;
}
/** To store the selectedDistOffice, these are the values that needs default values.
* The rest will be filled in when clicking on a DistOffice in list or map */
export interface SelectedDistOffice {
id: string;
distributor_category?: string;
product_category?: string;
}