LocationFormElement
Class: LocationFormElement
Section titled “Class: LocationFormElement”Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LocationFormElement( options, formBuilder, external): LocationFormElement;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options | SchemaField |
formBuilder | FormBuilder |
external | { [key: string]: any; } |
Returns
Section titled “Returns”LocationFormElement
Overrides
Section titled “Overrides”Methods
Section titled “Methods”addSelect2()
Section titled “addSelect2()”addSelect2(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”deleteMarker()
Section titled “deleteMarker()”deleteMarker(): void;Returns
Section titled “Returns”void
destroy()
Section titled “destroy()”destroy(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”destroyEditor()
Section titled “destroyEditor()”destroyEditor(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”fillMarkersByFieldOptions()
Section titled “fillMarkersByFieldOptions()”fillMarkersByFieldOptions(fieldName): Promise<{}>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fieldName | any |
Returns
Section titled “Returns”Promise<{
}>
getData()
Section titled “getData()”getData(): object;Returns
Section titled “Returns”object
name: string;value: any;Overrides
Section titled “Overrides”getDataForTemplate()
Section titled “getDataForTemplate()”getDataForTemplate(): object;Returns
Section titled “Returns”object
Overrides
Section titled “Overrides”FormElement.getDataForTemplate
getEditor()
Section titled “getEditor()”getEditor(): HTMLElement;Returns
Section titled “Returns”HTMLElement
Inherited from
Section titled “Inherited from”getMarkerImage()
Section titled “getMarkerImage()”getMarkerImage(data): string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | { [key: string]: any; } |
Returns
Section titled “Returns”string
getOptions()
Section titled “getOptions()”getOptions(): Promise<FormElementOptions[]>;Returns
Section titled “Returns”Promise<FormElementOptions[]>
Inherited from
Section titled “Inherited from”getSchema()
Section titled “getSchema()”getSchema(): object;Returns
Section titled “Returns”object
Overrides
Section titled “Overrides”getSchemaFieldOptionsList()
Section titled “getSchemaFieldOptionsList()”getSchemaFieldOptionsList(): any[];Returns
Section titled “Returns”any[]
Inherited from
Section titled “Inherited from”FormElement.getSchemaFieldOptionsList
getValue()
Section titled “getValue()”getValue(): any;Returns
Section titled “Returns”any
Inherited from
Section titled “Inherited from”hide()
Section titled “hide()”hide(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”init()
Section titled “init()”init(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”initEditor()
Section titled “initEditor()”initEditor(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”markerIconUpload()
Section titled “markerIconUpload()”markerIconUpload(input): void;Upload new marker icon
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input | any |
Returns
Section titled “Returns”void
mayBeAddDistanceRow()
Section titled “mayBeAddDistanceRow()”mayBeAddDistanceRow(): void;Returns
Section titled “Returns”void
redraw()
Section titled “redraw()”redraw(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”redrawEditor()
Section titled “redrawEditor()”redrawEditor(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”renderMarker()
Section titled “renderMarker()”renderMarker(marker?): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
marker? | Marker |
Returns
Section titled “Returns”void
renderMarkerHtml()
Section titled “renderMarkerHtml()”renderMarkerHtml(): void;Returns
Section titled “Returns”void
renderMarkerSelector()
Section titled “renderMarkerSelector()”renderMarkerSelector(): void;Returns
Section titled “Returns”void
resetMarkersByField()
Section titled “resetMarkersByField()”resetMarkersByField(): void;Returns
Section titled “Returns”void
setDefaultMarkerPath()
Section titled “setDefaultMarkerPath()”setDefaultMarkerPath(path): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
Returns
Section titled “Returns”void
setDomElements()
Section titled “setDomElements()”setDomElements(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”setEditorEventHandlers()
Section titled “setEditorEventHandlers()”setEditorEventHandlers(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”FormElement.setEditorEventHandlers
setEventHandlers()
Section titled “setEventHandlers()”setEventHandlers(): void;Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”setExternal()
Section titled “setExternal()”setExternal(params): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params | any |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setInputValue()
Section titled “setInputValue()”setInputValue(value): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | any |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setMarkerByField()
Section titled “setMarkerByField()”setMarkerByField(fieldId, markerImg): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
fieldId | any |
markerImg | any |
Returns
Section titled “Returns”void
setMarkersByField()
Section titled “setMarkersByField()”setMarkersByField(options): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options | { [key: string]: string; } |
Returns
Section titled “Returns”void
setOptions()
Section titled “setOptions()”setOptions(options?): any[];Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? | FormElementOptions[] |
Returns
Section titled “Returns”any[]
Inherited from
Section titled “Inherited from”setValue()
Section titled “setValue()”setValue(value, updateInput): void;Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
value | any | undefined |
updateInput | boolean | true |
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”show()
Section titled “show()”show(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”toggleMarkerSelector()
Section titled “toggleMarkerSelector()”toggleMarkerSelector(): void;Returns
Section titled “Returns”void
toggleMarkerSelectorInLocationEditor()
Section titled “toggleMarkerSelectorInLocationEditor()”toggleMarkerSelectorInLocationEditor(jQueryObj, e): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
jQueryObj | any |
e | any |
Returns
Section titled “Returns”void
triggerChanged()
Section titled “triggerChanged()”triggerChanged(): void;Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”update()
Section titled “update()”update(prop, value): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
prop | any |
value | any |
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”auto_increment?
Section titled “auto_increment?”optional auto_increment: boolean;Inherited from
Section titled “Inherited from”backupData?
Section titled “backupData?”optional backupData: object;location
Section titled “location”location: Location;Marker
Section titled “Marker”Marker: Marker;db_type
Section titled “db_type”db_type: string;Inherited from
Section titled “Inherited from”defaultMarkerPath
Section titled “defaultMarkerPath”defaultMarkerPath: string;domElements
Section titled “domElements”domElements: object;Index Signature
Section titled “Index Signature”[key: string]: HTMLElementoptional edit: HTMLElement;optional main: HTMLElement;Inherited from
Section titled “Inherited from”editMode
Section titled “editMode”editMode: boolean;Inherited from
Section titled “Inherited from”events
Section titled “events”events: Events;Inherited from
Section titled “Inherited from”external
Section titled “external”external: object;Index Signature
Section titled “Index Signature”[key: string]: anyInherited from
Section titled “Inherited from”filtersMode
Section titled “filtersMode”filtersMode: boolean;Inherited from
Section titled “Inherited from”formBuilder
Section titled “formBuilder”formBuilder: FormBuilder;Inherited from
Section titled “Inherited from”optional help: string;Inherited from
Section titled “Inherited from”hiddenOnTable?
Section titled “hiddenOnTable?”optional hiddenOnTable: boolean;Inherited from
Section titled “Inherited from”inputs
Section titled “inputs”inputs: object;Index Signature
Section titled “Index Signature”[key: string]: | HTMLSelectElement | HTMLInputElement | HTMLTextAreaElement | HTMLButtonElement | RadioNodeListInherited from
Section titled “Inherited from”isGeo: boolean;label: string;Inherited from
Section titled “Inherited from”language
Section titled “language”language: string;languages
Section titled “languages”languages: object[];label: string;value: string;location
Section titled “location”location: Location;mapIsGeo
Section titled “mapIsGeo”mapIsGeo: boolean;Inherited from
Section titled “Inherited from”marker
Section titled “marker”marker: Marker;markerField
Section titled “markerField”markerField: string;markerImages
Section titled “markerImages”markerImages: object[];file: string;folder
Section titled “folder”folder: string;relativeUrl?
Section titled “relativeUrl?”optional relativeUrl: string;url: string;markersByField
Section titled “markersByField”markersByField: object;Index Signature
Section titled “Index Signature”[key: string]: anymarkersByFieldEnabled
Section titled “markersByFieldEnabled”markersByFieldEnabled: boolean;name: string;Inherited from
Section titled “Inherited from”nameChanged
Section titled “nameChanged”nameChanged: boolean;Inherited from
Section titled “Inherited from”namespace
Section titled “namespace”namespace: string;Inherited from
Section titled “Inherited from”not_null?
Section titled “not_null?”optional not_null: boolean;Inherited from
Section titled “Inherited from”options?
Section titled “options?”optional options: FormElementOptions[];Inherited from
Section titled “Inherited from”optionsDict?
Section titled “optionsDict?”optional optionsDict: object;Index Signature
Section titled “Index Signature”[key: string]: anyInherited from
Section titled “Inherited from”parameterName?
Section titled “parameterName?”optional parameterName: string;Inherited from
Section titled “Inherited from”parameterNameShort?
Section titled “parameterNameShort?”optional parameterNameShort: string;Inherited from
Section titled “Inherited from”FormElement.parameterNameShort
placeholder?
Section titled “placeholder?”optional placeholder: string;Inherited from
Section titled “Inherited from”protected?
Section titled “protected?”optional protected: boolean;Inherited from
Section titled “Inherited from”readonly?
Section titled “readonly?”optional readonly: boolean;Inherited from
Section titled “Inherited from”renamable?
Section titled “renamable?”optional renamable: boolean;Inherited from
Section titled “Inherited from”searchable?
Section titled “searchable?”optional searchable: boolean;Inherited from
Section titled “Inherited from”showIf?
Section titled “showIf?”optional showIf: Record<string, any>;Inherited from
Section titled “Inherited from”templates
Section titled “templates”templates: object;Index Signature
Section titled “Index Signature”[key: string]: (data) => stringedit()?
Section titled “edit()?”optional edit: (data) => string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | Record<string, any> |
Returns
Section titled “Returns”string
main()?
Section titled “main()?”optional main: (data) => string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | Record<string, any> |
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”type: string;Inherited from
Section titled “Inherited from”typeLabel
Section titled “typeLabel”typeLabel: string;Inherited from
Section titled “Inherited from”value: any;Inherited from
Section titled “Inherited from”visible?
Section titled “visible?”optional visible: boolean;