Click or drag to resize

CompassRoseEnableGui Field

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
When true the user may interactively rotate the map by dragging the compass rose.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public bool EnableGui

Field Value

Type: Boolean
Remarks
True by default.
Examples
C#
// Create a render list to draw on the Map
RendererList renderList = new RendererList();
mapCtrl1.Renderer = renderList;

// Create a new CompassRose
CompassRose myRose = new CompassRose();

// Disable GUI control - users cannot now rotate with a mouse drag
myRose.EnableGui = false;

// Add CompassRose to render list
renderList.Add(myRose);
See Also