x4js - v2.3.33
    Preparing search index...

    Interface MapViewProps

    interface MapViewProps {
        attribution?: string | UnsafeHtml;
        attrs?: Record<string, string | number | boolean>;
        center?: LatLng;
        click?: EventCallback<EvMapClick>;
        cls?: string;
        disabled?: boolean;
        dom_events?: GlobalDOMEvents;
        existingDOM?: HTMLElement;
        flex?: number | boolean;
        height?: string | number;
        hidden?: boolean;
        id?: string;
        markerClick?: EventCallback<EvMarkerClick>;
        markers?: MapMarker[];
        maxZoom?: number;
        minZoom?: number;
        move?: EventCallback<EvMapMove>;
        ns?: string;
        shapeClick?: EventCallback<EvShapeClick>;
        shapes?: MapShape[];
        stretch?: boolean;
        style?: StyleProps;
        tag?: string;
        tiles?: string;
        tooltip?: string;
        width?: string | number;
        zoom?: number;
    }

    Hierarchy

    Index
    attribution?: string | UnsafeHtml

    the credit of the tiles, always shown; the one of openstreetmap by default

    attrs?: Record<string, string | number | boolean>

    HTML attributes.

    center?: LatLng

    a click on the map, not on a marker nor a zone: where

    cls?: string

    Additional CSS classes.

    disabled?: boolean

    Component is initialy disabled.

    dom_events?: GlobalDOMEvents

    DOM event listeners.

    existingDOM?: HTMLElement

    Existing DOM element to wrap.

    flex?: number | boolean

    Enables flex layout (boolean) or sets flex-grow (number).

    height?: string | number

    Height (px or string like "50%").

    hidden?: boolean

    Component is initialy hidden.

    id?: string

    Element ID.

    markers?: MapMarker[]
    maxZoom?: number
    minZoom?: number

    the user moved or zoomed the map (not setCenter, setZoom, fitBounds)

    ns?: string

    Namespace for SVG/MathML elements.

    shapes?: MapShape[]

    zones, under the markers

    stretch?: boolean
    style?: StyleProps

    Inline CSS styles.

    tag?: string

    HTML tag name (default: "div").

    tiles?: string

    the url of a tile: {z} {x} {y}; openstreetmap by default

    tooltip?: string

    Tooltip text.

    width?: string | number

    Width (px or string like "50%" or "3em").

    zoom?: number