Click or drag to resize

PoiRendererSetFilter Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void SetFilter(
	PoiType[] filter
)

Parameters

filter
Type: Telogis.GeoBasePoiType
The PoiType to show.
Examples
C#
// 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.
PoiType[] types = { PoiType.PublicSportAirport, PoiType.Airport };

// apply the filter
pr.SetFilter(types);
// ... now only Airports will be drawn. Call pr.SetFilter(null) to reset.
See Also