Type alias MapHotspotStyle

MapHotspotStyle: {
    color?: string;
    hoverBorderColor?: string;
    hoverBorderSize?: number;
    hoverColor?: string;
    hoverImage?: string;
    hoverSize?: number;
    image?: string;
    size?: number;
}

Type declaration

  • Optional color?: string

    Color of the hotspot when no image is provided

    Default

    'white'
    
  • Optional hoverBorderColor?: string

    Color of the border shown on mouse hover

    Default

    'rgba(255, 255, 255, 0.6)'
    
  • Optional hoverBorderSize?: number

    Size of the border shown on mouse hover

    Default

    4
    
  • Optional hoverColor?: string

    Color on mouse hover

    Default

    null
    
  • Optional hoverImage?: string

    SVG or image URL on mouse hover

    Default

    null
    
  • Optional hoverSize?: number

    Size on mouse hover

    Default

    null
    
  • Optional image?: string

    SVG or image URL used for hotspot

  • Optional size?: number

    Size of the hotspot

    Default

    15
    

Generated using TypeDoc