app/dxa/dxa-entity/views/dist-office-search-views/dist-office-search.model.ts
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
Properties |
|
distributor_category |
distributor_category:
|
Type : string
|
Optional |
id |
id:
|
Type : string
|
product_category |
product_category:
|
Type : string
|
Optional |
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;
}