new TruckRouteManager()
Layers/GoTruckLayer/src/TruckRouteManager.ts, line 14
Methods
-
checkFeatureHasChangeCods(truckId, feature){boolean}
Layers/GoTruckLayer/src/TruckRouteManager.ts, line 34 -
s Checks if the coordinates of a truck feature have changed since the last update.
Name Type Description truckIdnumber The ID of the truck whose feature is being checked.
featureFeature.<Geometry> The feature representing the truck, containing its geometry.
Returns:
Type Description boolean trueif the coordinates have changed since the last update or if no previous coordinates are stored;falseotherwise.
