@geogirafe/lib-geoportal
    Preparing search index...

    The <girafe-map> Element of the previous versions, kept as a deprecated alias of <girafe-map-2d> to give the applications using GeoGirafe time to migrate.

    It keeps the component name map, so that the custom styles and the feedback configuration that were written for <girafe-map> keep working. It only displays the 2D Map: an application that needs the 3D Map has to add a <girafe-map-3d> Element next to it.

    Use <girafe-map-2d> (and <girafe-map-3d> for the 3D Map) instead.

    Hierarchy (View Summary)

    Index
    closeSwiperButton: HTMLButtonElement
    cogManager: CogManager
    crosshairFeature: Feature
    crosshairLayer: VectorLayer<
        VectorSource<Feature<Geometry, { [x: string]: any }>>,
    >
    defaultSrid: ProjectionLike
    displayStyle?: string
    dragbox: DragBox
    drawingManager: DrawingManager
    feedbackTemplateHtml?: string
    focusFeature: FocusFeature
    geolocationSource: VectorSource
    highlightedFeaturesCollection: Collection<
        Feature<Geometry, { [x: string]: any }>,
    > = ...
    highlightLayer: VectorLayer<
        VectorSource<Feature<Geometry, { [x: string]: any }>>,
    >
    mapTarget: HTMLDivElement
    mapTargetResizeObserver: ResizeObserver
    name: string
    olMap: Map
    onChangeOrder: () => void = ...
    osmManager: OsmManager
    pixelTolerance: number = 10
    rendered: boolean = false
    selectedFeaturesCollection: Collection<Feature<Geometry, { [x: string]: any }>> = ...
    selectionLayer: VectorLayer<
        VectorSource<Feature<Geometry, { [x: string]: any }>>,
    >
    selectionLayerStyle: Style
    selectionLayerStyleFunc: StyleFunction = ...
    shadow: ShadowRoot
    styleUrls: string[] = ...
    swipeManager: SwipeManager
    swiper: HTMLInputElement
    template: Hole | (() => Hole)
    templateUrl: string = './template.html'
    vectorTilesManager: VectorTilesManager
    viewManager: ViewManager
    xyzManager: XyzManager
    • get isFullscreenComponent(): boolean

      The Map needs to be displayed in Fullscreen Mode.

      Returns boolean

    • Parameters

      • parentNodeName: string
      • elem: Node | null
      • initialElem: Node | null = elem

      Returns Node | null

    • Convert the string in parameter with uHtml and return it. This allows to convert a string with html in a right html object. For example, htmlUnsafe('

      ') will return an html div object.

      Parameters

      • str: string

      Returns Hole

    • In the templates, sometimes for accessibility reasons, we have to support the KeyDown Event In those case, we often juste want to do the same as the click event when Enter or Space is pressed Then this method can be used : it just calls the click event on the same element

      Parameters

      • e: KeyboardEvent

      Returns void