arlas-web-components / Exports / MapglImportDialogComponent
Class: MapglImportDialogComponent
Implements
OnInit
Table of contents
Constructors
Properties
- GEOJSON
- KML
- SHP
- WKT
- allowedFileExtension
- allowedImportType
- currentFile
- displayError
- errorMessage
- errorThreshold
- file
- fileInput
- fitResult
- importRun
- importType
- isRunning
- wktContent
Methods
Constructors
constructor
• new MapglImportDialogComponent(dialogRef
, data
)
Parameters
Name | Type |
---|---|
dialogRef |
MatDialogRef <MapglImportDialogComponent , any > |
data |
Object |
data.allowedImportType |
string [] |
data.defaultFitResult? |
boolean |
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:69
Properties
GEOJSON
• GEOJSON: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:63
KML
• KML: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:61
SHP
• SHP: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:60
WKT
• WKT: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:62
allowedFileExtension
• allowedFileExtension: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:56
allowedImportType
• allowedImportType: string
[]
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:57
currentFile
• currentFile: File
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:53
displayError
• displayError: boolean
= false
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:48
errorMessage
• errorMessage: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:51
errorThreshold
• errorThreshold: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:52
file
• file: Subject
<File
>
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:65
fileInput
• fileInput: ElementRef
<any
>
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:67
fitResult
• fitResult: boolean
= false
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:50
importRun
• importRun: Subject
<any
>
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:66
importType
• importType: string
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:55
isRunning
• isRunning: boolean
= false
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:49
wktContent
• wktContent: string
= ''
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:58
Methods
changeType
▸ changeType(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:102
import
▸ import(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:96
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:88
onCancel
▸ onCancel(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:112
onFileChange
▸ onFileChange(files
): void
Parameters
Name | Type |
---|---|
files |
FileList |
Returns
void
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:90
onTextChange
▸ onTextChange(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/mapgl-import/mapgl-import.component.ts:100