Marker

public class Marker : Annotation

Represents the marker on the map.

Public

  • Marker annotation unique id.

    Declaration

    Swift

    public let annotationID: String
  • Indicates if given annotation can produce delegate call on MapDelegate Decides if the marker is selectable. Default value is true

    Declaration

    Swift

    public var isSelectable: Bool
  • tag

    Marker tag.

    Declaration

    Swift

    public var tag: String?
  • Placement of given Marker on map.

    Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D { get set }
  • Image used for the marker pin.

    Declaration

    Swift

    public var image: UIImage? { get set }
  • Icon image for the marker.

    Declaration

    Swift

    public var iconImage: UIImage? { get set }
  • Whether the Marker in visible at the moment.

    Declaration

    Swift

    public var isVisible: Bool { get set }
  • The position on the pin that will be matched with the marker coordinate on the map. Specified in unit coordinates of the pin from its top-left corner. The default is bottom-center of the pin image i.e. [0.5, 1.0]. When the given x/y values are outside of the range [0, 1], the placement anchor moves more than the width/height of the pin.

    Declaration

    Swift

    public var placementAnchor: CGPoint { get set }