Skip to main content

LocationFormElement

Hierarchy

Index

Constructors

constructor

Properties

optionalauto_increment

auto_increment?: boolean

optionalbackupData

backupData?: { Marker: Marker; location: Location }

Type declaration

db_type

db_type: string

defaultMarkerPath

defaultMarkerPath: string

domElements

domElements: { edit?: HTMLElement; main?: HTMLElement }

Type declaration

  • [key string]: HTMLElement
  • optionaledit?: HTMLElement
  • optionalmain?: HTMLElement

editMode

editMode: boolean

events

events: Events

external

external: {}

Type declaration

  • [key string]: any

filtersMode

filtersMode: boolean

formBuilder

formBuilder: FormBuilder

optionalhelp

help?: string

optionalhiddenOnTable

hiddenOnTable?: boolean

inputs

inputs: {}

Type declaration

  • [key string]: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLButtonElement | RadioNodeList

isGeo

isGeo: boolean

label

label: string

language

language: string

languages

languages: { label: string; value: string }[]

location

location: Location

mapIsGeo

mapIsGeo: boolean

marker

marker: Marker

markerField

markerField: string

markerImages

markerImages: { file: string; folder: string; relativeUrl?: string; url: string }[]

markersByField

markersByField: {}

Type declaration

  • [key string]: any

markersByFieldEnabled

markersByFieldEnabled: boolean

name

name: string

nameChanged

nameChanged: boolean

namespace

namespace: string

optionalnot_null

not_null?: boolean

optionaloptions

options?: any[]

optionaloptionsDict

optionsDict?: {}

Type declaration

  • [key string]: any

optionalparameterName

parameterName?: string

optionalparameterNameShort

parameterNameShort?: string

optionalplaceholder

placeholder?: string

optionalprotected

protected?: boolean

optionalreadonly

readonly?: boolean

optionalrenamable

renamable?: boolean

optionalsearchable

searchable?: boolean

optionalshowIf

showIf?: Record<string, any>

templates

templates: { edit?: (data: Record<string, any>) => string; main?: (data: Record<string, any>) => string }

Type declaration

  • [key string]: (data: Record<string, any>) => string
  • optionaledit?: (data: Record<string, any>) => string
      • (data: Record<string, any>): string
      • Parameters

        • data: Record<string, any>

        Returns string

  • optionalmain?: (data: Record<string, any>) => string
      • (data: Record<string, any>): string
      • Parameters

        • data: Record<string, any>

        Returns string

type

type: string

value

value: any

optionalvisible

visible?: boolean

Methods

addSelect2

  • addSelect2(): void
  • Returns void

deleteMarker

  • deleteMarker(): void
  • Returns void

destroy

  • destroy(): void
  • Returns void

destroyEditor

  • destroyEditor(): void
  • Returns void

fillMarkersByFieldOptions

  • fillMarkersByFieldOptions(fieldName: any): {}
  • Parameters

    • fieldName: any

    Returns {}

    getData

    • getData(): { name: string; value: any }
    • Returns { name: string; value: any }

      • name: string
      • value: any

    getDataForTemplate

    • getDataForTemplate(): {}
    • Returns {}

      • [p string]: any

    getEditor

    • getEditor(): HTMLElement
    • Returns HTMLElement

    getMarkerImage

    • getMarkerImage(data: {}): string
    • Parameters

      • data: {}

      Returns string

    getSchema

    • getSchema(): {}
    • Returns {}

      • [p string]: any

    getSchemaFieldOptionsList

    • getSchemaFieldOptionsList(): any[]
    • Returns any[]

    getValue

    • getValue(): any
    • Returns any

    hide

    • hide(): void
    • Returns void

    init

    • init(): void
    • Returns void

    initEditor

    • initEditor(): void
    • Returns void

    markerIconUpload

    • markerIconUpload(input: any): void
    • Upload new marker icon


      Parameters

      • input: any

      Returns void

    mayBeAddDistanceRow

    • mayBeAddDistanceRow(): void
    • Returns void

    redraw

    • redraw(): void
    • Returns void

    redrawEditor

    • redrawEditor(): void
    • Returns void

    renderMarker

    • renderMarker(marker?: Marker): void
    • Parameters

      Returns void

    renderMarkerHtml

    • renderMarkerHtml(): void
    • Returns void

    renderMarkerSelector

    • renderMarkerSelector(): void
    • Returns void

    resetMarkersByField

    • resetMarkersByField(): void
    • Returns void

    setDefaultMarkerPath

    • setDefaultMarkerPath(path: string): void
    • Parameters

      • path: string

      Returns void

    setDomElements

    • setDomElements(): void
    • Returns void

    setEditorEventHandlers

    • setEditorEventHandlers(): void
    • Returns void

    setEventHandlers

    • setEventHandlers(): void
    • Returns void

    setExternal

    • setExternal(params: any): void
    • Parameters

      • params: any

      Returns void

    setInputValue

    • setInputValue(value: any): void
    • Parameters

      • value: any

      Returns void

    setMarkerByField

    • setMarkerByField(fieldId: any, markerImg: any): void
    • Parameters

      • fieldId: any
      • markerImg: any

      Returns void

    setMarkersByField

    • setMarkersByField(options: {}): void
    • Parameters

      • options: {}

      Returns void

    setOptions

    • setOptions(options?: any[]): any[]
    • Parameters

      • optionaloptions: any[]

      Returns any[]

    setValue

    • setValue(value: any, updateInput?: boolean): void
    • Parameters

      • value: any
      • updateInput: boolean = true

      Returns void

    show

    • show(): void
    • Returns void

    toggleMarkerSelector

    • toggleMarkerSelector(): void
    • Returns void

    toggleMarkerSelectorInLocationEditor

    • toggleMarkerSelectorInLocationEditor(jQueryObj: any, e: any): void
    • Parameters

      • jQueryObj: any
      • e: any

      Returns void

    triggerChanged

    • triggerChanged(): void
    • Returns void

    update

    • update(prop: any, value: any): void
    • Parameters

      • prop: any
      • value: any

      Returns void