Click or drag to resize

LatLonSelection Constructor (LatLon)

Verizon Connect Logo
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. If the link permits travel in both directions then the edit will be applied to both directions. 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
)

Parameters

loc
Type: Telogis.GeoBaseLatLon
The location of the edit.
Examples
C#
public MyForm() {
    InitializeComponent();
    // Create a LatLon selection. This specifies a single link at the location.
    Telogis.GeoBase.Routing.LinkEdit.LatLonSelection myLatLonSelection = 
        new Telogis.GeoBase.Routing.LinkEdit.LatLonSelection(
            new LatLon(33.632024, -117.815720));
    // Next, create the link edit using the LinkEditDatabase.CreateLinkEdit method...
}
See Also