HilbertQueryRenderer Class |
Namespace: Telogis.GeoBase.Indexes
The HilbertQueryRenderer type exposes the following members.
Name | Description | |
---|---|---|
HilbertQueryRenderer |
Constructs a new instance of the HilbertQueryRenderer class from the provided HilbertQuery.
|
Name | Description | |
---|---|---|
RequiredRendermodes |
Specifies at which stages of rendering this renderer should be called.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Render |
Renders the HilbertQuery object on a map.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
// Create a HilbertIndex object HilbertIndex hilb_index = new HilbertIndex(); // Create a BoundingBox BoundingBox b_box = new BoundingBox(); b_box.Add(new LatLon(33.976473, -118.348352)); b_box.Add(new LatLon(33.943459, -118.325526)); // Create a Hilbert query with a maximum of 128 ranges. HilbertQuery hil_query = hilb_index.Query(b_box, 128); // Create a HilbertQueryRenderer object HilbertQueryRenderer hilQueryRenderer = new HilbertQueryRenderer(hil_query); // Add to RenderList mapCtrl.Renderer = hilQueryRenderer;