//
|
// PointAnnotation.swift
|
// OKProject
|
//
|
// Created by alvin_y on 2020/6/5.
|
// Copyright © 2020 yangwang. All rights reserved.
|
//
|
|
import UIKit
|
|
enum PointType {
|
case normal
|
case bubbles
|
}
|
|
enum CarpoolUserType{
|
case me
|
case other
|
case driver
|
case none
|
}
|
|
class PointAnnotation: MAPointAnnotation {
|
|
var model: AddressModelInfo?
|
|
/// 1 起点 2 途经点 3 终点
|
var type = 1
|
|
var pointType = PointType.normal
|
|
}
|
|
class CarpoolPointAnnotation: MAPointAnnotation {
|
var model: AddressModelInfo?
|
var pointType = CarpoolUserType.none
|
var isStart = true
|
}
|