RenderMode Enumeration |
Namespace: Telogis.GeoBase
Member name | Value | Description | |
---|---|---|---|
None | 0 | Objects with a RenderMode of None are not rendered. | |
PreMap | 1 | Objects that render PreMap are drawn before polygons are rendered - typically used for satellite imagery. | |
PreLabelling | 2 | Objects that render in PreLabelling are drawn first, before labels are rendered. | |
Labelling | 4 | Objects that render in Labelling are drawn after those that render in PreLabelling, but before labels are rendered. | |
PostLabelling | 8 | Objects that render PostLabelling are drawn last, after labels are rendered. |
RenderMode values may be used to give priority to the rendering of certain objects, entirely independent of their order in a RendererList.
When rendering occurs four passes are made over the objects in a RendererList. During the first pass, objects that implement PreMap rendering are drawn. The second pass covers PreLabelling, the third Labelling and the fourth PostLabelling. There is essentially no difference in the behavior of objects rendered in PreLabelling or Labelling, other than that PreLabelling objects render first. This is nevertheless an important distinction as it allows for two levels of priority in rendering before labels are drawn on the map. An example is BalloonPushPin which renders the PushPin icon in PreLabelling, and then follows up by rendering the informational balloon in Labelling.
Related articles: Render Modes in Detail.