"drawTooltip"
Shows a tooltip for the GIS Viewer.
Synopsis
void drawTooltip(string strText)
Parameters
Parameter | Description |
---|---|
strText | The tooltip text that should be displayed. |
Description
Shows a tooltip for the GIS Viewer.
Add the tooltip text that should be shown to the extended event ToolTipShapeHit in the graphic editor GEDI. A TooltipShapeHit event is generated when the mouse is at a certain position for a longer period. The script code must then format an appropriate tooltip text and assign it to the map using the drawTooltip function.
Example
Shows the tooltip text "This is a GIS Viewer".
TooltipShapeHit (string strLayer, string strShape, string strOtherLayers)
{
this.drawTooltip("This is GIS Viewer");
}
Assignment
GIS Viewer