Event "lineClicked"

The event is triggered whenever a line is clicked on the map.

Synopsis

lineClicked(int layerId, int lineId);

Parameters

Parameter Description
layerId The ID of the layer containing the clicked line.
lineId The ID of the clicked line.

Details

The event is triggered whenever a line (added by using addLine()) is clicked on the map. It is only triggered for the topmost line, in case multiple lines are overlapping.

lineClicked(int layerId, int lineId)
{
  DebugTN("Line was clicked", layerId, lineId);
}

Assignment

Maps Widget