Hierarchy

  • EditingEditFeature

Properties

baseUrl_: string

URL to the GeoMapFish layers service. Required in applications that use:

  • the editfeature tools
  • the objectediting tools
http_: IHttpService

Methods

  • Returns

    Promise.

    Parameters

    • layerId: number

      The layer id that contains the feature.

    • feature: Feature<Geometry>

      The feature to delete.

    Returns IHttpPromise<string | Node | Document | ArrayBuffer>

  • Build a query to the MapFish protocol to fetch features from a list of layer ids inside a specified extent.

    Returns

    Promise.

    Parameters

    • layerIds: number[]

      List of layer ids to get the features from.

    • extent: Extent

      The extent where to get the features from.

    Returns IPromise<Feature<Geometry>[]>

  • Build a query to the MapFish protocol to fetch features from a list of layer ids and a list of comparison filters.

    This method is called in the ObjectEditing service, which is injected in the permalink service, i.e. it's always called. Since we don't have to define the url to the GMF Protocol (layers) a dummy promise returns an empty array of features if the url is not defined.

    Returns

    Promise.

    Parameters

    • layerIds: string[]

      List of layer ids to get the features from.

    • filters: ComparisonFilter[]

      List of comparison filters

    Returns IPromise<Feature<Geometry>[]>

  • Returns

    Promise.

    Parameters

    • layerId: number

      The layer id that contains the feature.

    • features: Feature<Geometry>[]

      List of features to insert.

    Returns IHttpPromise<string | Node | Document | ArrayBuffer>

  • Returns

    Promise.

    Parameters

    • layerId: number

      The layer id that contains the feature.

    • feature: Feature<Geometry>

      The feature to update.

    Returns IHttpPromise<string | Node | Document | ArrayBuffer>

Generated using TypeDoc