StreetLinkFence Constructor (StreetLink) |
Namespace: Telogis.GeoBase.GeoFence
// Create a fence collection GeoFenceCollection myFences = new GeoFenceCollection(); // Find the link the address lies upon StreetLink myStreetLink = GeoCoder.ReverseGeoCodeFull( GeoCoder.GeoCode("20 Enterprise, Aliso Viejo, Los Angeles", Country.USA)[0].Location).StreetLink; // Create a StreetLinkFence StreetLinkFence myLinkFence = new StreetLinkFence(myStreetLink); // Add it to the fence collection myFences.Add(myLinkFence);