Interface MapGLMarkerOptions

Option for MapLibre and Mapbox markers.

interface MapGLMarkerOptions {
    anchor?: "center" | "left" | "top" | "bottom" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
    icon?: string;
    iconUrl?: string;
    show: boolean | "all";
}

Properties

anchor?: "center" | "left" | "top" | "bottom" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right"

Anchor for the marker.

icon?: string

Name of the marker from your sprites.

iconUrl?: string

Use a custom marker with a URL. The response must be a PNG image.

show: boolean | "all"

true to show the result marker, all to show all results and false to hide markers.

Generated using TypeDoc