TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DefaultPlaceIconConfig

    Configuration for the default place icon.

    • This is the icon that is used for clicked locations and addresses without a specific category.
    type DefaultPlaceIconConfig = {
        image?: Omit<CustomImage, "id">;
        style?: SVGIconStyleOptions;
    }
    Index

    Properties

    Properties

    image?: Omit<CustomImage, "id">

    Custom image for the default icon.

    If provided, this image will be used instead of the default icon.

    If an SVG image is provided, the 'style' options can still apply. Otherwise, 'style' is ignored.

    Base style options for the SVG default icon.

    Use this to set the fill color, outline color, and outline opacity for the default waypoint icon.

    Example:

    baseStyle: {
    fillColor: '#007AFF',
    outlineColor: '#FFFFFF',
    outlineOpacity: 0.8
    }