BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
BMKPolyline.h
浏览该文件的文档.
1/*
2 * BMKPolyline.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9#import "BMKMultiPoint.h"
10#import "BMKOverlay.h"
11#import "BMKLineDrawType.h"
12
13NS_ASSUME_NONNULL_BEGIN
16
19@property (nonatomic, assign) BOOL isThined;
20
27
32+ (nullable instancetype)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
33
38+ (nullable instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
39
44- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
45
50- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
51
52
53#pragma mark - 以下方法和属性只适用于分段纹理绘制和分段颜色绘制
54
61@property (nonatomic, copy, nullable) NSArray<NSNumber *> *textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中drawIndexs");
62
70+ (nullable instancetype)polylineWithPoints:(BMKMapPoint *)points
71 count:(NSUInteger)count
72 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中multiPolylineWithPoints:count:drawIndexs:替换");
73
81+ (nullable instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords
82 count:(NSUInteger)count
83 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中multiPolylineWithCoordinates:count:drawIndexs:替换");
84
90- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points
91 count:(NSUInteger)count
92 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中setMultiPolylineWithPoints:count:drawIndexs:替换");
93
99- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
100 count:(NSUInteger)count
101 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中setMultiPolylineWithCoordinates:count:drawIndexs:替换");
102
103@end
104NS_ASSUME_NONNULL_END
BMKLineDirectionCross180Type
line跨经度180方式
Definition BMKLineDrawType.h:42
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
此类用于定义一段折线
Definition BMKPolyline.h:15
BMKLineDirectionCross180Type lineDirectionCross180
Definition BMKPolyline.h:26
BOOL isThined
Definition BMKPolyline.h:19
NSArray< NSNumber * > *textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中drawIndexs")
颜色/纹理索引数组
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:189