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
-
-
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
-
Create (){mapTooltip}
-
Returns:
Type Description mapTooltip -
Dispose ()
-
-
GetHTML (frame, innerHTML){string}
-
Parameters:
Name Type Description frame bbbfly.Renderer.frame optional innerHTML string optional Returns:
Type Description string -
GetStyle (){bbbfly.MapTooltip.Style}
-
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