models/layers.model.ts
ArcGIS layers to map.
Properties |
decollementLayer |
decollementLayer:
|
Type : GeoJSONLayer
|
Decollement GeoJSON layer |
earthquakesLayer |
earthquakesLayer:
|
Type : GeoJSONLayer
|
Latest earthquake layer |
faultSectionLayer |
faultSectionLayer:
|
Type : GeoJSONLayer
|
Fault sections GeoJSON layer |
faultSectionPolygonLayer |
faultSectionPolygonLayer:
|
Type : GeoJSONLayer
|
Fault section polygon GeoJSON layer |
hazardLayer |
hazardLayer:
|
Type : TileLayer
|
Hazard map layer |
interfaceSectionsLayer |
interfaceSectionsLayer:
|
Type : GeoJSONLayer
|
Interface sections GeoJSON layer |
nshmBoundaryLayer |
nshmBoundaryLayer:
|
Type : GeoJSONLayer
|
NSHM boundary GeoJSON layer |
testSitesLayer |
testSitesLayer:
|
Type : GeoJSONLayer
|
Test sites GeoJSOn layer |
zoneSourcesLayer |
zoneSourcesLayer:
|
Type : GeoJSONLayer
|
Zone sources GeoJSON layer |
import GeoJSONLayer from '@arcgis/core/layers/GeoJSONLayer';
import TileLayer from '@arcgis/core/layers/TileLayer';
import {FeatureType} from '@ghsc/nshmp-utils-ts/libs/nshmp-haz/www/features-service';
/**
* ArcGIS layers to map.
*/
export interface Layers {
/** Decollement GeoJSON layer */
decollementLayer: GeoJSONLayer;
/** Latest earthquake layer */
earthquakesLayer: GeoJSONLayer;
/** Fault sections GeoJSON layer */
faultSectionLayer: GeoJSONLayer;
/** Fault section polygon GeoJSON layer */
faultSectionPolygonLayer: GeoJSONLayer;
/** Hazard map layer */
hazardLayer: TileLayer;
/** Interface sections GeoJSON layer */
interfaceSectionsLayer: GeoJSONLayer;
/** NSHM boundary GeoJSON layer */
nshmBoundaryLayer: GeoJSONLayer;
/** Test sites GeoJSOn layer */
testSitesLayer: GeoJSONLayer;
/** Zone sources GeoJSON layer */
zoneSourcesLayer: GeoJSONLayer;
}
export enum ArcLayerId {
EARTHQUAKE = 'EARTHQUAKE',
HAZARD = 'HAZARD',
NSHM = 'NSHM',
TEST_SITES = 'TEST_SITES',
}
export type LayerId = ArcLayerId | FeatureType;
export const LayerId = {...ArcLayerId, ...FeatureType};