PoiRendererSetRestaurantType Method |
Namespace: Telogis.GeoBase
// setup PoiRenderer, add to our rendererlist so it gets drawn PoiRenderer pr = new PoiRenderer(); myRendererList.Add(pr); ... // set types we want to show: PoiRestaurantType[] types = { PoiRestaurantType.AMERICAN_FOOD, PoiRestaurantType.BISTRO }; // apply the filter pr.SetRestaurantType(types); // ... now only American and Bistro food types will be shown. // Call pr.SetRestaurantType(null) to reset.