Element Visibility

There are several properties that can control element visibility depending on the current map scale. For example, you can show more details when zooming in and hide them when zooming out.

The global control is performed by C1VectorLayer.MinSize property that specifies at which minimal linear screen size the element becomes visible.

There is a special property that controls the visibility of C1VectorPlacemark labels. C1VectorLayer.LabelVisibilty can have the following values:

      Hide – labels are not visible, they are shown as ToolTips.

      AutoHide – overlapped labels are hidden.

      Visible – all labels are visible.

Additionally, each vector element can have its own visibility settings that are stored in LOD property and has priority over the global values.

LOD (Level ff Details) structure has the following properties:

      MinSize, MaxSize – specifies the visible range of linear screen size of an element, if the size does not fit in the range the element is hidden.

      MinZoom, MaxZoom – alternatively you can specify the range of map scales (C1.Zoom property) in which the element should be displayed.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.