ImagePushpinStyle Class

Definition

Pushpin style settings.

public class ImagePushpinStyle
type ImagePushpinStyle = class
Public Class ImagePushpinStyle
Inheritance
ImagePushpinStyle

Constructors

ImagePushpinStyle(IList<PushpinPosition>)

Pushpin style including pin and label color, scale, rotation and position settings

Properties

CustomPushpinImageUri

Custom pushpin image, can only be Uri format.

LabelAnchorShiftInPixels

The anchor location of label for built-in pushpins is at the top center of custom pushpins. To override the anchor location of the pin image, user can designate how to shift or move the anchor location by pixels

LabelColor

Label color information. Opacity value other than 1 be ignored.

LabelScaleRatio

Label scale ratio. Should greater than 0. A value of 1 is the standard scale. Values larger than 1 will make the label larger.

PushpinAnchorShiftInPixels

To override the anchor location of the pin image, user can designate how to shift or move the anchor location by pixels

PushpinColor

Pushpin color including opacity information.

PushpinPositions

Pushpin coordinate on the map.

PushpinScaleRatio

Pushpin scale ratio. Value should greater than zero. A value of 1 is the standard scale. Values larger than 1 will make the pins larger, and values smaller than 1 will make them smaller.

RotationInDegrees

A number of degrees of clockwise rotation. Use a negative number to rotate counter-clockwise. Value can be -360 to 360.

Applies to