bbbfly. MapTooltip class

new bbbfly.MapTooltip (options)

Parameters

Name Type Description
options bbbfly.MapTooltip.options

Properties

Name Type Description
ID string | null
Options bbbfly.MapTooltip.options

In Packages

Classes

Type Definitions

anchor object

Properties:
Name Type Description
L px optional
T px optional
R px optional
B px optional
Img image

anchors object

Properties:
Name Type Description
Left anchor
Top anchor
Right anchor
Bottom anchor

options object

Properties:
Name Type Default Description
ID string
Style bbbfly.MapTooltip.Style | string
Text string null optional Text string
TextRes string null optional Text resource ID
HTMLEncode boolean true optional

Methods

Returns:
Type Description
mapTooltip

GetHTML (frame, innerHTML){string}

Parameters:
Name Type Description
frame bbbfly.Renderer.frame optional
innerHTML string optional
Returns:
Type Description
string
Returns:
Type Description
bbbfly.MapTooltip.Style

GetText (){string|null}

Returns:
Type Description
string | null

Hide (){boolean}

Returns:
Type Description
boolean

IsShown (){boolean}

Returns:
Type Description
boolean

Show (layer){boolean}

Parameters:
Name Type Description
layer mapLayer
Returns:
Type Description
boolean