Skip to content

StyleAnchor

Namespace: ThinkGeo.Core.Styling

What an offset or a direction in a style is measured against - the specification's map or viewport, for every *-anchor property: fill-, line- and icon-translate-anchor, hillshade-illumination-anchor, the light's anchor.

public enum StyleAnchor

Inheritance object → ValueType → Enum → StyleAnchor
Implements IComparable, IConvertible, IFormattable

Fields

Name Value Description
Map 0 The map: the offset or direction is fixed to the map's north and turns with it as
the map rotates.
Viewport 1 The screen: the offset or direction stays the same on screen however the map
rotates - a drop shadow that always falls to the lower right.