ggc-library
    Preparing search index...

    Class GgcImageLayerComponent

    Door <ggc-image-layer></ggc-image-layer> op te nemen in de HTML kan een image worden weergegeven als kaartlaag.

    import { ImageLayerOptions } from "@kadaster/ggc-map";

    const imageLayerOptions: ImageLayerOptions = {
    url: "/assets/image1.png",
    zIndex: 4,
    attributions: "Attributie voor Image",
    mapIndex: "een",
    layerName: "Image kaartlaag"
    };

    <ggc-image-layer [options]="imageLayerOptions"> </ggc-image-layer>

    Hierarchy

    • AbstractConfigurableLayer<ImageLayer<ImageSource>>
      • GgcImageLayerComponent

    Implements

    • OnInit
    • OnDestroy
    Index
    options: ModelSignal<ImageLayerOptions | undefined> = ...

    Opties voor het configureren van de afbeeldingslaag. Bevat instellingen voor de bron en de laag zelf.

    • Opruimen van resources bij het vernietigen van de component.

      Returns void

    • Initialiseert de afbeeldingslaag bij het laden van de component. De afbeelding wordt geladen via ImageStatic en gekoppeld aan een ImageLayer.

      Returns void

    • Set the active style for the layer. The function will find the style in styles with the corresponding style name and applies it. This function only supports WMS, WMTS and vector tile layers.

      Parameters

      • styleName: string

        the name of the style that should be applied.

      Returns void

    • Vervangt de URL-parameters. Alleen GeoJSON-lagen ondersteunen dit.

      Parameters

      Returns void