new SuperMap.RouteLocatorParameters(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
datasetstring
-
The name of the dataset in the datasource for buffer analysis. This identifier is the format "dataset name@datasource alias".
-
endMeasurefloat
-
The end M value of anchor line. It is valid when route object locates line.
-
isIgnoreGapboolean
-
Whether to ignore the distance between child objects.
-
measurefloat
-
The M value of anchor point. It is valid when route object locates point.
-
offsetfloat
-
The offset of anchor point. It is valid when route object locates point.
-
routeIDnumber
-
ID of the route object
-
routeIDFieldstring
-
The field name of the route object.
-
sourceRouteSuperMap.Route L.Polyline ol.geom.LineString
-
route object.
-
startMeasurefloat
-
The start M value of anchor line. It is valid when route object locates line.
-
typestring
-
Type: Point or line. The optional values are:
LINE: Positions the line object based on the starting M value and the ending M value.
POINT: Positions the point object based on the M value.
Methods
-
destroy()
RouteLocatorParameters.js, line 108 -
Disposes the resource. The property that references resource is set to null.