DataQueryQueryLinks Method (BoundingBox) |
Namespace: Telogis.GeoBase
// Create a BoundingBox enclosing and intersecting the streets to query BoundingBox queryBox = new BoundingBox(new LatLon(33.634192, -117.900444)); // Create the QueryLinks array. StreetLink[] queryLinks = DataQuery.QueryLinks(queryBox); // Compile some information from the array, then print it string output = "Found " + queryLinks.Length + " street links in the BoundingBox." + " The LinkID of the first link found was " + queryLinks[0].LinkId; Console.WriteLine(output); // Found 193 street links in the BoundingBox. The LinkID of the first link found was 24070625