Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ProfileController

Index

Properties

$element_

$element_: JQuery<HTMLElement>

$filter_

$filter_: IFilterService

$http_

$http_: IHttpService

$scope_

$scope_: IScope

active

active: boolean

currentPoint

getMapFn

getMapFn: () => Map

Type declaration

    • (): Map
    • Returns Map

getOptionsFn

getOptionsFn: () => {}

Type declaration

    • (): {}
    • Returns {}

    gettextCatalog_

    gettextCatalog_: gettextCatalog

    gmfProfileJsonUrl_

    gmfProfileJsonUrl_: string

    isErrored

    isErrored: boolean

    isLoading

    isLoading: boolean

    layersNames_

    layersNames_: string[]

    line

    line: LineString

    map_

    map_: Map

    measureTooltipElement_

    measureTooltipElement_: HTMLElement

    The measure tooltip element.

    measureTooltip_

    measureTooltip_: Overlay

    Overlay to show the measurement.

    nbPoints_

    nbPoints_: number

    ngeoCsvDownload_

    ngeoCsvDownload_: DownloadCsvService

    ngeoOptions

    ngeoOptions: ngeoProfileOptions

    options

    pointHoverOverlay_

    pointHoverOverlay_: FeatureOverlay

    pointerMoveKey_

    pointerMoveKey_: EventsKey

    profileData

    profileData: ProfileElement[]

    profileHighlight

    profileHighlight: number

    Distance to highlight on the profile. (Property used in ngeo.Profile.)

    profileLabels_

    profileLabels_: I18n

    profileOptions

    snappedPoint_

    snappedPoint_: Feature<Geometry>

    Methods

    $onInit

    • $onInit(): void

    createMeasureTooltip_

    • createMeasureTooltip_(): void

    downloadCsv

    • downloadCsv(): void

    getDist_

    getDistanceOnALine_

    • getDistanceOnALine_(pointOnLine: Coordinate): number
    • Return the distance between the beginning of the line and the given point. The point must be on the line. If not, this function will return the total length of the line.

      Parameters

      • pointOnLine: Coordinate

        A point on the given line.

      Returns number

      A distance.

    getJsonProfile_

    • getJsonProfile_(): void

    getLayersNames

    • getLayersNames(): string[]

    getProfileDataError_

    • getProfileDataError_(resp: IHttpResponse<never>): void

    getProfileDataSuccess_

    getStyle

    • getStyle(layerName: string): object
    • Return the styler value of a ProfileLineConfiguration.

      Parameters

      • layerName: string

        name of the elevation layer.

      Returns object

      The object representation of the style.

    getTooltipHTML_

    • getTooltipHTML_(): string

    getZFactory_

    hoverCallback_

    • hoverCallback_(pointObject: unknown, dist: number, xUnits: string, elevationsRef: Object, yUnits: string): void
    • Parameters

      • pointObject: unknown

        Point.

      • dist: number

        distance on the line.

      • xUnits: string

        X units label.

      • elevationsRef: Object

        Elevations references.

      • yUnits: string

        Y units label.

      Returns void

    outCallback_

    • outCallback_(): void

    removeMeasureTooltip_

    • removeMeasureTooltip_(): void

    updateEventsListening_

    • updateEventsListening_(): void

    update_

    • update_(): void

    Generated using TypeDoc