com.supermap.onlineservices
Class TrafficTransferOnline
- java.lang.Object
-
- com.supermap.onlineservices.TrafficTransferOnline
-
Deprecated.
@Deprecated public class TrafficTransferOnline extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
TrafficTransferOnline.TransferCallback
Deprecated.Traffic transfer callback.
-
Constructor Summary
Constructors Constructor and Description TrafficTransferOnline()
Deprecated.The default constructor for constructing a newTrafficTransferOnline
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description void
setKey(java.lang.String key)
Deprecated.Set the key.boolean
setTransferCallback(TrafficTransferOnline.TransferCallback callback)
Deprecated.Set the callback of traffic transfer query.void
trafficTransfer(Point2D startPoint, Point2D destPoint, TrafficTransferParameter parameter)
Deprecated.Traffic transfer query.
-
-
-
Constructor Detail
-
TrafficTransferOnline
public TrafficTransferOnline()
Deprecated.The default constructor for constructing a newTrafficTransferOnline
object.
-
-
Method Detail
-
setKey
public void setKey(java.lang.String key)
Deprecated.Set the key.- Parameters:
key
- Key.
-
trafficTransfer
public void trafficTransfer(Point2D startPoint, Point2D destPoint, TrafficTransferParameter parameter)
Deprecated.Traffic transfer query.- Parameters:
startPoint
- The start positiondestPoint
- The destination pointparameter
- The traffic query parameter.
-
setTransferCallback
public boolean setTransferCallback(TrafficTransferOnline.TransferCallback callback)
Deprecated.Set the callback of traffic transfer query.- Parameters:
callback
- the callback of traffic transfer query.- Returns:
- true Return true if it is successful; otherwise, false.
-
-