MapStyleSetParameter Method (String, Boolean) |
Namespace: Telogis.GeoBase
In the Chameleon language, boolean false equates to a value of zero. Any other value is considered to be true. If the given parameter does not exist, no action will be taken.
Some map styles do not display road information at high zoom levels (that is, when viewing from a high altitude). However, road visibility may in some cases be desirable at these levels. The parameter 'detailed' is available to force the display of road details at these high zoom levels if needed.
public MyForm() { InitializeComponent(); MapStyle myStyle = MapStyle.Create("c:\\MyCamFile.cam"); mapCtrl.Style = myStyle; //"tileserver" is used to draw roads at high level zooms mapCtrl1.Style.SetParameter("detailed", true); }