DataQueryQuerySpeedLimit Method (LatLon, Double, VehicleSpec) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static SpeedLimit QuerySpeedLimit(
LatLon location,
double heading,
VehicleSpec spec
)
Public Shared Function QuerySpeedLimit (
location As LatLon,
heading As Double,
spec As VehicleSpec
) As SpeedLimit
Parameters
- location
- Type: Telogis.GeoBaseLatLon
The latitude/longitude coordinates of the physical location. - heading
- Type: SystemDouble
The direction traveled along the link, in degrees. The default is double.MaxValue, which indicates no heading. - spec
- Type: Telogis.GeoBase.RoutingVehicleSpec
The vehicle specifications.
Return Value
Type:
SpeedLimitA
SpeedLimit containing the speed limit and its source for the given location, heading, and vehicle specifications. Returns "IsValid = false" if a speed limit could not be found.
See Also