MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLFollowPolylineOperation Class Reference

Detailed Description

This is the TSLFollowPolylineOperation.

Operation Name polyline

Additional Data Pointer to integer indicating true if follow mode is on.

It is a specialised primitive operation. The operation enables the user to create a new polygon or polyline that follows the edge defined by existing primitivesThis operation must be added after the basic polyline operation.

The user defines the start of the new entity by selecting a point on the polyline that they wish to follow. Selecting a second point will cause the new entity to snap to any intermediate points on the line.

NOTE: In earlier releases of MapLink, the operation will allow you to jump from one entity to another, but only if there is an intersection point. It is now possible to provide full shortest path calculation between the selected points, regardless of the number of intervening primitives. To control the use of this new functiionality, the following parameters are read from the editor config file:

; This is slower, but much more effective followUseShortestDistance=1 ; This is the maximum extent in TMC around the two selected points that will be used to query the network for the shortest route calculation followMaximumExtent=50000 ; Whether to use the new-style echo, which shows the maximum extent being queried dynamically followShowNetworkExtent=1

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

static bool TSLFollowPolylineOperation::add ( TSLEditor * editor)
static

This method adds the operation to a TSLEditor object. It is passed a pointer to the editor object.

Arguments list details:

editor: a pointer to the TSLEditor object.

Returns true if added successfully, otherwise false.