PoiRenderer Class |
Namespace: Telogis.GeoBase
The PoiRenderer type exposes the following members.
Name | Description | |
---|---|---|
PoiRenderer |
Construct a new Point of Interest Renderer.
|
Name | Description | |
---|---|---|
MapMouseEventsHandler |
Get the MapMouseEventsHandler for this PoiRenderer.
| |
MaximumVisibleZoom |
The maximum zoom for which POIs will be rendered.
| |
RequiredRendermodes |
Gets the RenderMode required by this PoiRenderer.
|
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.) | |
HitTest |
Determine whether this Point of Interest lies beneath the
co-ordinates generated by a mouse click on the given IMap.
| |
Render |
Render Points of Interest.
| |
SetFilter |
Show only the given Point of Interest types.
Set to null to remove the filter. This may be used in conjunction with SetRestaurantType(PoiRestaurantType).
| |
SetRestaurantType |
Render only the given types of restaurant.
Set to null to remove the filter.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
points |
Array of POIs to render.
| |
Visible |
Indicates whether this Renderer is visible.
|
// setup PoiRenderer, add to our rendererlist so it gets drawn PoiRenderer pr = new PoiRenderer(); myRendererList.Add(pr); ... // set types we want to show: just airports and restaurants PoiType[] types = { PoiType.PublicSportAirport, PoiType.Airport, PoiType.Restaurant }; pr.SetFilter(types); // set the type of restaurants we want to show PoiRestaurantType[] foods = { PoiRestaurantTypes.PIZZA, PoiRestaurantTypes.FAST_FOOD }; pr.SetRestaurantType(foods);