宽窄优行-由【嘉易行】项目成品而来
younger_times
2023-04-11 4356615a9252a987a62469331b1fcf91c102e24c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
//  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
}