arlas-wui-toolkit / Exports / ShareDialogComponent
Class: ShareDialogComponent
Implements
OnInit
Table of contents
Constructors
Properties
- allFields
- data
- dialogRef
- displayedUrl
- excludedType
- excludedTypeString
- geojsonTypeGroup
- layerCollectionMap
- paramFormGroup
- precisions
- selectedFields
- selectedOrderField
- sharableLayers
- shareConfig
- sortDirection
- translate
Methods
Constructors
constructor
• new ShareDialogComponent(data
, _formBuilder
, collaborativeService
, configService
, dialogRef
, spinner
, translate
, snackBar
)
Parameters
Name | Type |
---|---|
data |
Map <string , boolean > |
_formBuilder |
UntypedFormBuilder |
collaborativeService |
ArlasCollaborativesearchService |
configService |
ArlasConfigService |
dialogRef |
MatDialogRef <ShareDialogComponent , any > |
spinner |
NgxSpinnerService |
translate |
TranslateService |
snackBar |
MatSnackBar |
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:113
Properties
allFields
• allFields: ArlasSearchField
[]
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:103
data
• data: Map
<string
, boolean
>
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:114
dialogRef
• dialogRef: MatDialogRef
<ShareDialogComponent
, any
>
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:118
displayedUrl
• displayedUrl: string
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:80
excludedType
• excludedType: Set
<string
>
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:104
excludedTypeString
• excludedTypeString: string
= ''
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:105
geojsonTypeGroup
• geojsonTypeGroup: UntypedFormGroup
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:96
layerCollectionMap
• layerCollectionMap: Map
<string
, string
>
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:108
paramFormGroup
• paramFormGroup: UntypedFormGroup
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:97
precisions
• precisions: (string
| number
)[][]
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:81
selectedFields
• selectedFields: ArlasSearchField
[]
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:99
selectedOrderField
• selectedOrderField: ArlasSearchField
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:100
sharableLayers
• sharableLayers: ShareLayerSourceConfig
[]
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:74
shareConfig
• shareConfig: any
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:106
sortDirection
• sortDirection: string
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:101
translate
• translate: TranslateService
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:120
Methods
changeStep
▸ changeStep(event
): void
Switches between dialog steps
Parameters
Name | Type | Description |
---|---|---|
event |
any |
The step index |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:178
exportGeojson
▸ exportGeojson(geojsonType
): void
Description
Builds and executes a geosearch/geoaggregate request based on the chosen param of the form and export the result as json file. The exported file name is layerId-date-geojson.json
Parameters
Name | Type | Description |
---|---|---|
geojsonType |
any |
Param containing info about the chosen layer to export |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:234
exportShapefile
▸ exportShapefile(geojsonType
): void
Parameters
Name | Type |
---|---|
geojsonType |
any |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:284
isSelected
▸ isSelected(field
): boolean
Parameters
Name | Type |
---|---|
field |
ArlasSearchField |
Returns
boolean
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:124
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:127
onSelectionChange
▸ onSelectionChange(selectedOptionsList
): void
Parameters
Name | Type |
---|---|
selectedOptionsList |
any |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/share/share.component.ts:344