LatLonSelection Constructor (LatLon, NullableDouble) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Creates a LatLonSelection that will select the link at the supplied location with the
specified heading. If the link permits travel in both directions then the edit will be
applied to just one direction if it is within 20 degrees of the supplied heading.
Locations should be chosen such that there is only one link at that
location, to prevent ambiguities. For example, it is recommended to avoid specifying
a location that is near an intersection between two or more links.
Namespace:
Telogis.GeoBase.Routing.LinkEdit
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public LatLonSelection(
LatLon loc,
double? heading
)
Public Sub New (
loc As LatLon,
heading As Double?
)
Parameters
- loc
- Type: Telogis.GeoBaseLatLon
The location of the edit. - heading
- Type: SystemNullableDouble
The heading of the link, in degrees.
Examples public MyForm() {
InitializeComponent();
Telogis.GeoBase.Routing.LinkEdit.LatLonSelection myLatLonSelection =
new Telogis.GeoBase.Routing.LinkEdit.LatLonSelection(
new LatLon(33.632024, -117.815720), 30);
}
See Also