Builder
Composes and builds a CompassSettings object.
This is a concrete implementation of the builder design pattern.
Constructors
Functions
Returns a CompassSettings reference to the object being constructed by the builder.
Setter for clickable: whether the compass can be clicked and click events can be registered. Default value: true.
Setter for enabled: whether the compass is visible on the map. Default value: true.
Setter for fadeWhenFacingNorth: whether the compass fades out to invisible when facing north direction. Default value: true.
Setter for image: the compass image, the visual representation of the compass.
Setter for marginBottom: defines the margin to the bottom that the compass icon honors. Default value: 4. This property is specified in pixels.
Setter for marginLeft: defines the margin to the left that the compass icon honors. Default value: 4. This property is specified in pixels.
Setter for marginRight: defines the margin to the right that the compass icon honors. Default value: 4. This property is specified in pixels.
Setter for marginTop: defines the margin to the top that the compass icon honors. Default value: 4. This property is specified in pixels.
Setter for opacity: the alpha channel value of the compass image Default value: 1.
Setter for position: defines where the compass is positioned on the map Default value: "top-right".
Setter for rotation: the clockwise rotation value in degrees of the compass. Default value:
Setter for visibility: whether the compass is displayed. Default value: true.