MapViewPoint

public final class MapViewPoint
extension MapViewPoint: Equatable

MapViewPoint records the information of a point on the map.

Author

Adamas

Version

1.5.0

Date

07/09/2019
  • Initialize the object.

    Declaration

    Swift

    public init(latitude: Double,
                longitude: Double,
                title: String? = nil,
                subtitle: String? = nil,
                icon: UIImage? = nil,
                iconSize: CGSize? = nil,
                position: MapViewPointPosition = .center,
                item: Any? = nil)

    Parameters

    latitude

    The latitude.

    longitude

    The longitude.

    title

    The title.

    subtitle

    The subtitle.

    icon

    The point icon.

    position

    Where the coordinate point should be in the view.

    item

    The item that the point represents.

    iconSize

    The size of the icon.

  • Declaration

    Swift

    public static func == (lhs: MapViewPoint, rhs: MapViewPoint) -> Bool