新版本

This commit is contained in:
roy
2019-03-12 09:26:46 +08:00
parent cbbfcb098a
commit c08d198e11
431 changed files with 19432 additions and 9136 deletions
Vendored
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -8,8 +8,8 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
//#import <RongIMKit/RongIMKit.h> //#import <RongIMKit/RongIMKit.h>
#import "Contact.h"//重新调整监控画面 #import "Contact.h"//重新调整监控画面
//#import <GWP2P/GWP2P.h>
#define ap_address "192.168.1.1" #define ap_address "192.168.1.1"
#define NET_WORK_CHANGE @"NET_WORK_CHANGE" #define NET_WORK_CHANGE @"NET_WORK_CHANGE"
#import "Reachability.h" #import "Reachability.h"
+9 -9
View File
@@ -41,7 +41,7 @@
#import "TalkingData.h" #import "TalkingData.h"
#define TalkingDataAPPID @"351E6F7956CEF7FB6AABAEB64EF9BF18" #define TalkingDataAPPID @"351E6F7956CEF7FB6AABAEB64EF9BF18"
#define BMKMAP_APPKEY @"wYcF3YXqeepKfzruExLPn0eS" #define BMKMAP_APPKEY @"wYcF3YXqeepKfzruExLPn0eS"
#import <BaiduMapAPI_Map/BMKMapComponent.h> //#import <BaiduMapAPI_Map/BMKMapComponent.h>
#import "Socketsingleton.h" #import "Socketsingleton.h"
#import "CenterViewController.h" #import "CenterViewController.h"
#import <UMCommunitySDK/UMCommunitySDK.h> #import <UMCommunitySDK/UMCommunitySDK.h>
@@ -90,7 +90,7 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
//阿里百川 //阿里百川
#import <AlibcTradeSDK/AlibcTradeSDK.h> #import <AlibcTradeSDK/AlibcTradeSDK.h>
#import "IfishADTimerViewController.h" #import "IfishADTimerViewController.h"
@interface AppDelegate ()<BMKGeneralDelegate,NIMLoginManagerDelegate> @interface AppDelegate ()<NIMLoginManagerDelegate>
@property(nonatomic,strong)ICSDrawerController*ics; @property(nonatomic,strong)ICSDrawerController*ics;
@property(nonatomic)NSString*downloadAddress; @property(nonatomic)NSString*downloadAddress;
@@ -238,13 +238,13 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
/** /**
* 启动百度地图 * 启动百度地图
*/ */
BMKMapManager*mapManager=[[BMKMapManager alloc]init]; // BMKMapManager*mapManager=[[BMKMapManager alloc]init];
BOOL ret=[mapManager start:BMKMAP_APPKEY generalDelegate:self]; // BOOL ret=[mapManager start:BMKMAP_APPKEY generalDelegate:self];
if (!ret) { // if (!ret) {
NSLog(@"manager start failed!"); // NSLog(@"manager start failed!");
} // }
//
//
/** /**
* 极光推送 推送消息已去 用云信 * 极光推送 推送消息已去 用云信
*/ */
@@ -65,8 +65,9 @@
"scale" : "3x" "scale" : "3x"
}, },
{ {
"idiom" : "ios-marketing",
"size" : "1024x1024", "size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "1231520920961_.pic_hd.jpg",
"scale" : "1x" "scale" : "1x"
} }
], ],
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "graybtn_big.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "greenbtn_big.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "走势图背景.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 898 KiB

+21
View File
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "走势图.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -1,13 +0,0 @@
//
// BaseComponent.h
// BaseComponent
//
// Created by baidu on 14-3-17.
// Copyright (c) 2014年 baidu. All rights reserved.
//
#import "BMKGeneralDelegate.h"
#import "BMKMapManager.h"
#import "BMKTypes.h"
#import "BMKUserLocation.h"
#import "BMKVersion.h"
@@ -1,24 +0,0 @@
//
// BMKGeneralDelegate.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
///通知Delegate
@protocol BMKGeneralDelegate <NSObject>
@optional
/**
*返回网络错误
*@param iError 错误号
*/
- (void)onGetNetworkState:(int)iError;
/**
*返回授权验证错误
*@param iError 错误号 : 为0时验证通过,具体参加BMKPermissionCheckResultCode
*/
- (void)onGetPermissionState:(int)iError;
@end
@@ -1,76 +0,0 @@
/*
* BMKMapManager.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKGeneralDelegate.h"
#import <UIKit/UIKit.h>
#import "BMKTypes.h"
enum EN_PERMISSION_STATUS
{
E_PERMISSION_OK = 0, // 授权验证通过
E_PERMISSION_SERVER_ERROR = -200, //服务端数据错误,无法解析服务端返回数据
E_PERMISSION_NETWORK_ERROR = -300, //无法建立与服务端的连接
};
//地图模块枚举
typedef enum {
BMKMapModuleTile = 0, //瓦片图模块
}BMKMapModule;
///主引擎类
@interface BMKMapManager : NSObject
/**
*百度地图SDK所有接口均支持百度坐标(BD09LL)和国测局坐标(GCJ02),用此方法设置您使用的坐标类型.
*默认是BD09LLBMK_COORDTYPE_BD09LL)坐标.
*如果需要使用GCJ02坐标,需要设置CoordinateType为:BMK_COORDTYPE_COMMON.
*/
+ (BOOL)setCoordinateTypeUsedInBaiduMapSDK:(BMK_COORD_TYPE) coorType;
/**
*获取百度地图SDK当前使用的经纬度类型
*@return 经纬度类型
*/
+ (BMK_COORD_TYPE)getCoordinateTypeUsedInBaiduMapSDK;
/**
*是否开启打印某模块的log,默认不打印log
*debug时,建议打开,有利于调试程序;release时建议关闭
*@param enable 是否开启
*@param mapModule 地图模块
*/
+ (void)logEnable:(BOOL) enable module:(BMKMapModule) mapModule;
/**
*启动引擎
*@param key 申请的有效key
*@param delegate
*/
-(BOOL)start:(NSString*)key generalDelegate:(id<BMKGeneralDelegate>)delegate;
/**
*获取所有在线服务消耗的发送流量,单位:字节
*/
-(int)getTotalSendFlaxLength;
/**
*获取所有在线服务消耗的接收流量,单位:字节
*/
-(int)getTotalRecvFlaxLength;
/**
*停止引擎
*/
-(BOOL)stop;
@end
@@ -1,184 +0,0 @@
//
// BMKType.h
// MapPlatform
//
// Created by BaiduMapAPI on 13-3-26.
// Copyright (c) 2013年 baidu. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>
#import <UIKit/UIKit.h>
typedef enum
{
BMK_COORDTYPE_GPS = 0, ///GPS设备采集的原始GPS坐标(WGS-84)
BMK_COORDTYPE_COMMON, ///GCJ坐标,google地图、soso地图、aliyun地图、mapabc地图和amap地图所用坐标
BMK_COORDTYPE_BD09LL, ///bd09ll 百度经纬度坐标
} BMK_COORD_TYPE;
enum {
BMKMapTypeNone = 0, ///< 空白地图
BMKMapTypeStandard = 1, ///< 标准地图
BMKMapTypeSatellite = 2, ///< 卫星地图
};
typedef NSUInteger BMKMapType;
typedef enum {
BMKErrorOk = 0, ///< 正确,无错误
BMKErrorConnect = 2, ///< 网络连接错误
BMKErrorData = 3, ///< 数据错误
BMKErrorRouteAddr = 4, ///<起点或终点选择(有歧义)
BMKErrorResultNotFound = 100, ///< 搜索结果未找到
BMKErrorLocationFailed = 200, ///< 定位失败
BMKErrorPermissionCheckFailure = 300, ///< 百度地图API授权Key验证失败
BMKErrorParse = 310 ///< 数据解析失败
}BMKErrorCode;
//鉴权结果状态码
typedef enum {
E_PERMISSIONCHECK_CONNECT_ERROR = -300,//链接服务器错误
E_PERMISSIONCHECK_DATA_ERROR = -200,//服务返回数据异常
E_PERMISSIONCHECK_OK = 0, // 授权验证通过
E_PERMISSIONCHECK_KEY_ERROR = 101, //ak不存在
E_PERMISSIONCHECK_MCODE_ERROR = 102, //mcode签名值不正确
E_PERMISSIONCHECK_UID_KEY_ERROR = 200, // APP不存在,AK有误请检查再重试
E_PERMISSIONCHECK_KEY_FORBIDEN= 201, // APP被用户自己禁用,请在控制台解禁
/*
*更多鉴权状态码请参考:
*http://developer.baidu.com/map/index.php?title=lbscloud/api/appendix
*/
}BMKPermissionCheckResultCode;
//检索结果状态码
typedef enum{
BMK_SEARCH_NO_ERROR = 0,///<检索结果正常返回
BMK_SEARCH_AMBIGUOUS_KEYWORD,///<检索词有岐义
BMK_SEARCH_AMBIGUOUS_ROURE_ADDR,///<检索地址有岐义
BMK_SEARCH_NOT_SUPPORT_BUS,///<该城市不支持公交搜索
BMK_SEARCH_NOT_SUPPORT_BUS_2CITY,///<不支持跨城市公交
BMK_SEARCH_RESULT_NOT_FOUND,///<没有找到检索结果
BMK_SEARCH_ST_EN_TOO_NEAR,///<起终点太近
BMK_SEARCH_KEY_ERROR,///<key错误
BMK_SEARCH_NETWOKR_ERROR,///网络连接错误
BMK_SEARCH_NETWOKR_TIMEOUT,///网络连接超时
BMK_SEARCH_PERMISSION_UNFINISHED,///还未完成鉴权,请在鉴权通过后重试
BMK_SEARCH_INDOOR_ID_ERROR,///室内图ID错误
BMK_SEARCH_FLOOR_ERROR,///室内图检索楼层错误
BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING,///起终点不在支持室内路线的室内图内
BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING,///起终点不在同一个室内
BMK_SEARCH_PARAMETER_ERROR,///参数错误
}BMKSearchErrorCode;
//调起百度地图结果状态码
typedef enum{
BMK_OPEN_NO_ERROR = 0,///<正常
BMK_OPEN_WEB_MAP,///打开的是web地图
BMK_OPEN_OPTION_NULL,///<传入的参数为空
BMK_OPEN_NOT_SUPPORT,///<没有安装百度地图,或者版本太低
BMK_OPEN_POI_DETAIL_UID_NULL,///<poi详情 poiUid为空
BMK_OPEN_POI_NEARBY_KEYWORD_NULL,///<poi周边 keyWord为空
BMK_OPEN_ROUTE_START_ERROR,///<路线起点有误
BMK_OPEN_ROUTE_END_ERROR,///<路线终点有误
BMK_OPEN_PANORAMA_UID_ERROR,///<调起全景 poiUid不正确
BMK_OPEN_PANORAMA_ABSENT,///<调起全景 此处不支持全景
BMK_OPEN_PERMISSION_UNFINISHED,///还未完成鉴权,请在鉴权通过后重试
BMK_OPEN_KEY_ERROR,///<app key错误
BMK_OPEN_NETWOKR_ERROR,///网络连接错误
}BMKOpenErrorCode;
///表示一个经纬度范围
typedef struct {
CLLocationDegrees latitudeDelta; ///< 纬度范围
CLLocationDegrees longitudeDelta; ///< 经度范围
} BMKCoordinateSpan;
///表示一个经纬度区域
typedef struct {
CLLocationCoordinate2D northEast; ///< 东北角点经纬度坐标
CLLocationCoordinate2D southWest; ///< 西南角点经纬度坐标
} BMKCoordinateBounds;
///表示一个经纬度区域
typedef struct {
CLLocationCoordinate2D center; ///< 中心点经纬度坐标
BMKCoordinateSpan span; ///< 经纬度范围
} BMKCoordinateRegion;
///表示一个经纬度坐标点
typedef struct {
int latitudeE6; ///< 纬度,乘以1e6之后的值
int longitudeE6; ///< 经度,乘以1e6之后的值
} BMKGeoPoint;
///地理坐标点,用直角地理坐标表示
typedef struct {
double x; ///< 横坐标
double y; ///< 纵坐标
} BMKMapPoint;
///矩形大小,用直角地理坐标表示
typedef struct {
double width; ///< 宽度
double height; ///< 高度
} BMKMapSize;
///矩形,用直角地理坐标表示
typedef struct {
BMKMapPoint origin; ///< 屏幕左上点对应的直角地理坐标
BMKMapSize size; ///< 坐标范围
} BMKMapRect;
///地图缩放比例
typedef CGFloat BMKZoomScale;
/// 经过投影后的世界范围大小,与经纬度(-85,180)投影后的坐标值对应
UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld;
/// 经过投影后的世界矩形范围
UIKIT_EXTERN const BMKMapRect BMKMapRectWorld;
/// 空的直角坐标矩形
UIKIT_EXTERN const BMKMapRect BMKMapRectNull;
///线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
@interface BMKPlanNode : NSObject{
NSString* _cityName;
NSString* _name;
CLLocationCoordinate2D _pt;
}
///节点所在城市
@property (nonatomic, strong) NSString* cityName;
///节点所在城市ID
@property (nonatomic, assign) NSInteger cityID;
///节点名称
@property (nonatomic, strong) NSString* name;
///节点坐标
@property (nonatomic) CLLocationCoordinate2D pt;
@end
///室内路线检索节点信息
@interface BMKIndoorPlanNode : NSObject
///节点所在楼层
@property (nonatomic, retain) NSString* floor;
///节点坐标
@property (nonatomic) CLLocationCoordinate2D pt;
@end
///此类表示地址结果的层次化信息
@interface BMKAddressComponent : NSObject
/// 街道号码
@property (nonatomic, strong) NSString* streetNumber;
/// 街道名称
@property (nonatomic, strong) NSString* streetName;
/// 区县名称
@property (nonatomic, strong) NSString* district;
/// 城市名称
@property (nonatomic, strong) NSString* city;
/// 省份名称
@property (nonatomic, strong) NSString* province;
/// 国家
@property (nonatomic, strong) NSString* country;
/// 国家代码
@property (nonatomic, strong) NSString* countryCode;
@end
@@ -1,30 +0,0 @@
//
// BMKUserLocation.h
// BaseComponent
//
// Created by Baidu on 3/26/14.
// Copyright (c) 2014 baidu. All rights reserved.
//
#import <CoreLocation/CLLocation.h>
#import <Foundation/Foundation.h>
#import "BMKBaseComponent.h"
@class CLLocation;
@class CLHeading;
@interface BMKUserLocation : NSObject
/// 位置更新状态,如果正在更新位置信息,则该值为YES
@property (readonly, nonatomic, getter=isUpdating) BOOL updating;
/// 位置信息,尚未定位成功,则该值为nil
@property (readonly, nonatomic,strong) CLLocation *location;
/// heading信息,尚未定位成功,则该值为nil
@property (readonly, nonatomic, strong) CLHeading *heading;
/// 定位标注点要显示的标题信息
@property (strong, nonatomic) NSString *title;
/// 定位标注点要显示的子标题信息.
@property (strong, nonatomic) NSString *subtitle;
@end
File diff suppressed because it is too large Load Diff
@@ -1,66 +0,0 @@
--------------------------------------------------------------------------------------
iOS 地图 SDK v3.3.0是适用于iOS系统移动设备的矢量地图开发包
--------------------------------------------------------------------------------------
地图SDK功能介绍(全功能开发包):
地图:提供地图展示和地图操作功能;
POI检索:支持周边检索、区域检索和城市内兴趣点检索;
地理编码:提供经纬度和地址信息相互转化的功能接口;
线路规划:支持公交、驾车、步行三种方式的线路规划;
覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
LBS云检索:支持查询存储在LBS云内的自有数据;
特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
--------------------------------------------------------------------------------------
注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
新 版 提 示 】
【 注 意 】
1、自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)
添加方法:在 TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择libssl.a和libcrypto.a添加到工程中 。
2、支持CocoaPods导入
pod setup //更新CocoPods的本地库
pod search BaiduMapKit //下载最新地图SDK
【 新 增 】
[ 基 础 地 图 ]
3D地图下,增加显示天空效果,无需设置
[ 工 具 ]
1.全面支持GCJ02坐标输入/输出,全局设置方法如下:
[BMKMapManager setCoordinateTypeUsedInBaiduMapSDK:BMK_COORDTYPE_COMMON];//默认为BD09LL坐标,且此方法仅在国内生效,国外均为WGS84坐标
2. 新增调启步行AR导航接口:openBaiduMapwalkARNavigation
[ LBS云]
云检索中,keywords 改为非必填项
【 优 化 】
优化个性化地图元素分类
【 修 复 】
少部分地铁线及室内图无法显示问题(v3.2.0引入的问题)。␍未下载全国离线基础包时,离线状态下全国(球)地图显示异常。␍␍
@@ -1,10 +0,0 @@
//
// BMKLocationComponent.h
// LocationComponent
//
// Created by Baidu on 3/31/14.
// Copyright (c) 2014 baidu. All rights reserved.
//
#import "BMKLocationService.h"
#import "BMKLocationVersion.h"
@@ -1,110 +0,0 @@
//
// BMKLocationService.h
// LocationComponent
//
// Created by Baidu on 3/28/14.
// Copyright (c) 2014 baidu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKUserLocation.h>
@class CLLocation;
/// 定位服务Delegate,调用startUserLocationService定位成功后,用此Delegate来获取定位数据
@protocol BMKLocationServiceDelegate <NSObject>
@optional
/**
*在将要启动定位时,会调用此函数
*/
- (void)willStartLocatingUser;
/**
*在停止定位后,会调用此函数
*/
- (void)didStopLocatingUser;
/**
*用户方向更新后,会调用此函数
*@param userLocation 新的用户位置
*/
- (void)didUpdateUserHeading:(BMKUserLocation *)userLocation;
/**
*用户位置更新后,会调用此函数
*@param userLocation 新的用户位置
*/
- (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation;
/**
*定位失败后,会调用此函数
*@param error 错误号
*/
- (void)didFailToLocateUserWithError:(NSError *)error;
@end
@interface BMKLocationService : NSObject
/// 当前用户位置,返回坐标类型为当前设置的坐标类型
@property (nonatomic, readonly) BMKUserLocation *userLocation;
/// 定位服务Delegate,调用startUserLocationService定位成功后,用此Delegate来获取定位数据
@property (nonatomic, weak) id<BMKLocationServiceDelegate> delegate;
/**
*打开定位服务
*需要在info.plist文件中添加(以下二选一,两个都添加默认使用NSLocationWhenInUseUsageDescription)
*NSLocationWhenInUseUsageDescription 允许在前台使用时获取GPS的描述
*NSLocationAlwaysUsageDescription 允许永远可获取GPS的描述
*/
-(void)startUserLocationService;
/**
*关闭定位服务
*/
-(void)stopUserLocationService;
#pragma mark - 定位参数,具体含义可参考CLLocationManager相关属性的注释
/// 设定定位的最小更新距离。默认为kCLDistanceFilterNone
@property(nonatomic, assign) CLLocationDistance distanceFilter;
/// 设定定位精度。默认为kCLLocationAccuracyBest。
@property(nonatomic, assign) CLLocationAccuracy desiredAccuracy;
/// 设定最小更新角度。默认为1度,设定为kCLHeadingFilterNone会提示任何角度改变。
@property(nonatomic, assign) CLLocationDegrees headingFilter;
/// 指定定位是否会被系统自动暂停。默认为YES。只在iOS 6.0之后起作用。
@property(nonatomic, assign) BOOL pausesLocationUpdatesAutomatically;
///指定定位:是否允许后台定位更新。默认为NO。只在iOS 9.0之后起作用。设为YES时,Info.plist中 UIBackgroundModes 必须包含 "location"
@property(nonatomic, assign) BOOL allowsBackgroundLocationUpdates;
#pragma mark - 废弃接口
/**
* 2.9.0起废弃(使用distanceFilter属性替换),空实现
*
*在打开定位服务前设置
*指定定位的最小更新距离(米),默认:kCLDistanceFilterNone
*/
+ (void)setLocationDistanceFilter:(CLLocationDistance) distanceFilter __deprecated_msg("废弃方法(空实现),使用distanceFilter属性替换");
/**
* 2.9.0起废弃(使用distanceFilter属性替换),空实现
*
*获取当前 定位的最小更新距离(米)
*/
+ (CLLocationDistance)getCurrentLocationDistanceFilter __deprecated_msg("废弃方法(空实现),使用distanceFilter属性替换");
/**
* 2.9.0起废弃(使用desiredAccuracy属性替换),空实现
*
*在打开定位服务前设置
*设置定位精确度,默认:kCLLocationAccuracyBest
*/
+ (void)setLocationDesiredAccuracy:(CLLocationAccuracy) desiredAccuracy __deprecated_msg("废弃方法(空实现),使用desiredAccuracy属性替换");
/**
* 2.9.0起废弃(使用desiredAccuracy属性替换),空实现
*
*获取当前 定位精确度
*/
+ (CLLocationAccuracy)getCurrentLocationDesiredAccuracy __deprecated_msg("废弃方法(空实现),使用desiredAccuracy属性替换");
@end
@@ -1,32 +0,0 @@
//
// BMKLocationVersion.h
// LocationComponent
//
// Created by wzy on 15/9/9.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKLocationVersion_h
#define BMKLocationVersion_h
#import <UIKit/UIKit.h>
/**
*重要:
*location组件的版本和base组件的版本必须一致,否则不能正常使用
*/
/**
*获取当前地图API location组件 的版本号
*当前location组件版本 : 3.3.0
*return 返回当前API location组件 的版本号
*/
UIKIT_EXTERN NSString* BMKGetMapApiLocationComponentVersion();
/**
*检查location组件的版本号是否和base组件的版本号一致
*return 版本号一致返回YES
*/
UIKIT_EXTERN BOOL BMKCheckLocationComponentIsLegal();
#endif /* BMKLocationVersion_h */
@@ -1,67 +0,0 @@
定位功能:获取当前位置信息;
--------------------------------------------------------------------------------------
iOS 地图 SDK v3.3.0是适用于iOS系统移动设备的矢量地图开发包
--------------------------------------------------------------------------------------
地图SDK功能介绍(全功能开发包):
地图:提供地图展示和地图操作功能;
POI检索:支持周边检索、区域检索和城市内兴趣点检索;
地理编码:提供经纬度和地址信息相互转化的功能接口;
线路规划:支持公交、驾车、步行三种方式的线路规划;
覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
LBS云检索:支持查询存储在LBS云内的自有数据;
特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
--------------------------------------------------------------------------------------
注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
新 版 提 示 】
【 注 意 】
1、自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)
添加方法:在 TARGETS->Build Phases-> Link Binary With Libaries中点击“+”按钮,在弹出的窗口中点击“Add Other”按钮,选择libssl.a和libcrypto.a添加到工程中 。
2、支持CocoaPods导入
pod setup //更新CocoPods的本地库
pod search BaiduMapKit //下载最新地图SDK
【 新 增 】
[ 基 础 地 图 ]
3D地图下,增加显示天空效果,无需设置
[ 工 具 ]
1.全面支持GCJ02坐标输入/输出,全局设置方法如下:
[BMKMapManager setCoordinateTypeUsedInBaiduMapSDK:BMK_COORDTYPE_COMMON];//默认为BD09LL坐标,且此方法仅在国内生效,国外均为WGS84坐标
2. 新增调启步行AR导航接口:openBaiduMapwalkARNavigation
[ LBS云]
云检索中,keywords 改为非必填项
【 优 化 】
优化个性化地图元素分类
【 修 复 】
少部分地铁线及室内图无法显示问题(v3.2.0引入的问题)。␍未下载全国离线基础包时,离线状态下全国(球)地图显示异常。␍␍
@@ -1,21 +0,0 @@
/*
* BMKActionPaopaoView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
/// 该类用于定义一个PaopaoView
@interface BMKActionPaopaoView : UIView
/**
*初始化并返回一个BMKActionPaopaoView
*@param customView 自定义ViewcustomViewnil时返回默认的PaopaoView
*@return 初始化成功则返回BMKActionPaopaoView,否则返回nil
*/
- (id)initWithCustomView:(UIView*)customView;
@end
@@ -1,38 +0,0 @@
//
// BMKAnnotation.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
/// 该类为标注点的protocol,提供了标注类的基本信息函数
@protocol BMKAnnotation <NSObject>
///标注view中心坐标.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@optional
/**
*获取annotation标题
*@return 返回annotation的标题信息
*/
- (NSString *)title;
/**
*获取annotation副标题
*@return 返回annotation的副标题信息
*/
- (NSString *)subtitle;
/**
*设置标注的坐标,在拖拽时会被调用.
*@param newCoordinate 新的坐标值
*/
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
@end
@@ -1,110 +0,0 @@
/*
* BMKAnnotationView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKActionPaopaoView.h"
#if __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED
enum {
BMKAnnotationViewDragStateNone = 0, ///< 静止状态.
BMKAnnotationViewDragStateStarting, ///< 开始拖动
BMKAnnotationViewDragStateDragging, ///< 拖动中
BMKAnnotationViewDragStateCanceling, ///< 取消拖动
BMKAnnotationViewDragStateEnding ///< 拖动结束
};
typedef NSUInteger BMKAnnotationViewDragState;
#endif
@class BMKAnnotationViewInternal;
@protocol BMKAnnotation;
@class BMKMapView;
@class BMKMapViewInternal;
///标注view
@interface BMKAnnotationView : UIView
{
@private
BMKAnnotationViewInternal *_internal;
BOOL _enabled3D;
CGPoint _originPt;
CGPoint startPoint;
}
/**
*初始化并返回一个annotation view
*@param annotation 关联的annotation对象
*@param reuseIdentifier 如果要重用view,传入一个字符串,否则设为nil,建议重用view
*@return 初始化成功则返回annotation view,否则返回nil
*/
- (id)initWithAnnotation:(id <BMKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier;
///复用标志
@property (nonatomic, readonly) NSString *reuseIdentifier;
///paopaoView
@property (nonatomic, strong)BMKActionPaopaoView* paopaoView;
/**
*当view从reuse队列里取出时被调用
*默认不做任何事
*/
- (void)prepareForReuse;
///关联的annotation
@property (nonatomic, strong) id <BMKAnnotation> annotation;
///annotation view显示的图像
@property (nonatomic, strong) UIImage *image;
///默认情况下, annotation view的中心位于annotation的坐标位置,可以设置centerOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素
@property (nonatomic) CGPoint centerOffset;
///默认情况下, 弹出的气泡位于view正中上方,可以设置calloutOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素
@property (nonatomic) CGPoint calloutOffset;
///默认情况下,标注没有3D效果,可以设置enabled3D改变使用3D效果,使得标注在地图旋转和俯视时跟随旋转、俯视
@property (nonatomic) BOOL enabled3D;
///默认为YES,当为NO时view忽略触摸事件
@property (nonatomic, getter=isEnabled) BOOL enabled;
///默认为NO,当view被点中时被设为YES,用户不要直接设置这个属性.若设置,需要在设置后调用BMKMapView的- (void)mapForceRefresh; 方法刷新地图
@property (nonatomic, getter=isSelected) BOOL selected;
/**
*设定view的选中状态
*该方法被BMKMapView调用
*@param selected 如果view需要显示为选中状态,该值为YES
*@param animated 如果需要动画效果,该值为YES,暂不支持
*/
- (void)setSelected:(BOOL)selected animated:(BOOL)animated;
///当为YES时,view被选中时会弹出气泡,annotation必须实现了title这个方法
@property (nonatomic) BOOL canShowCallout;
///显示在气泡左侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值)
@property (strong, nonatomic) UIView *leftCalloutAccessoryView;
///显示在气泡右侧的view(使用默认气泡时,view的width最大值为32,height最大值为41,大于则使用最大值)
@property (strong, nonatomic) UIView *rightCalloutAccessoryView;
///当设为YES并实现了setCoordinate:方法时,支持将view在地图上拖动, ios 3.2以后支持
@property (nonatomic, getter=isDraggable) BOOL draggable __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2);
///当前view的拖动状态, ios 3.2以后支持
@property (nonatomic) BMKAnnotationViewDragState dragState __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_2);
@end
@@ -1,48 +0,0 @@
/*
* BMKArcline.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一段圆弧
@interface BMKArcline : BMKMultiPoint <BMKOverlay>
{
BMKMapRect _boundingMapRect;
bool isYouArc;
}
/**
*根据指定坐标点生成一段圆弧
*@param points 指定的直角坐标点数组(需传入3个点)
*@return 新生成的圆弧对象
*/
+ (BMKArcline *)arclineWithPoints:(BMKMapPoint *)points;
/**
*根据指定经纬度生成一段圆弧
*@param coords 指定的经纬度坐标点数组(需传入3个点)
*@return 新生成的圆弧对象
*/
+ (BMKArcline *)arclineWithCoordinates:(CLLocationCoordinate2D *)coords;
/**
*重新设置圆弧坐标
*@param points 指定的直角坐标点数组(需传入3个点)
*@return 是否设置成功
*/
- (BOOL)setArclineWithPoints:(BMKMapPoint *)points;
/**
*重新设置圆弧坐标
*@param coords 指定的经纬度坐标点数组(需传入3个点)
*@param count 坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setArclineWithCoordinates:(CLLocationCoordinate2D *)coords;
@end
@@ -1,27 +0,0 @@
/*
* BMKArclineView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKArcline.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个圆弧View
@interface BMKArclineView : BMKOverlayGLBasicView
/**
*根据指定的弧线生成一个圆弧View
*@param arcline 指定的弧线数据对象
*@return 新生成的弧线View
*/
- (id)initWithArcline:(BMKArcline *)arcline;
/// 该View对应的圆弧数据对象
@property (nonatomic, readonly) BMKArcline *arcline;
@end
@@ -1,28 +0,0 @@
//
// BMKBaseIndoorMapInfo.h
// MapComponent
//
// Created by wzy on 16/4/2.
// Copyright © 2016年 baidu. All rights reserved.
//
#ifndef BMKBaseIndoorMapInfo_h
#define BMKBaseIndoorMapInfo_h
#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
///此类表示室内图基础信息
@interface BMKBaseIndoorMapInfo : NSObject
/// 室内ID
@property (nonatomic, strong) NSString* strID;
/// 当前楼层
@property (nonatomic, strong) NSString* strFloor;
/// 所有楼层信息
@property (nonatomic, strong) NSMutableArray* arrStrFloors;
@end
#endif /* BMKBaseIndoorMapInfo_h */
@@ -1,61 +0,0 @@
/*
* BMKCircle.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKShape.h"
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 该类用于定义一个圆
@interface BMKCircle : BMKMultiPoint <BMKOverlay> {
@package
BOOL _invalidate;
CLLocationCoordinate2D _coordinate;
CLLocationDistance _radius;
BMKMapRect _boundingMapRect;
}
/**
*根据中心点和半径生成圆
*@param coord 中心点的经纬度坐标
*@param radius 半径,单位:米
*@return 新生成的圆
*/
+ (BMKCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
radius:(CLLocationDistance)radius;
/**
*根据指定的直角坐标矩形生成圆,半径由较长的那条边决定,radius = MAX(width, height)/2
*@param mapRect 指定的直角坐标矩形
*@return 新生成的圆
*/
+ (BMKCircle *)circleWithMapRect:(BMKMapRect)mapRect;
/// 中心点坐标
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
/// 半径,单位:米
@property (nonatomic, assign) CLLocationDistance radius;
/// 该圆的外接矩形
@property (nonatomic, readonly) BMKMapRect boundingMapRect;
/**
*设置圆的中心点和半径
*@param coord 中心点的经纬度坐标
*@param radius 半径,单位:米
*@return 是否设置成功
*/
- (BOOL)setCircleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius;
/**
*根据指定的直角坐标矩形设置圆,半径由较长的那条边决定,radius = MAX(width, height)/2
*@param mapRect 指定的直角坐标矩形
*@return 是否设置成功
*/
- (BOOL)setCircleWithMapRect:(BMKMapRect)mapRect;
@end
@@ -1,27 +0,0 @@
/*
* BMKCircleView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKCircle.h"
#import "BMKOverlayGLBasicView.h"
/// 该类用于定义圆对应的View
@interface BMKCircleView : BMKOverlayGLBasicView
/**
*根据指定圆生成对应的View
*@param circle 指定的圆
*@return 生成的View
*/
- (id)initWithCircle:(BMKCircle *)circle;
/// 该View对应的圆
@property (nonatomic, readonly) BMKCircle *circle;
@end
@@ -1,26 +0,0 @@
/*
* BMKGradient.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
///此类表示热力图渐变色
@interface BMKGradient : NSObject{
}
///渐变色用到的所有颜色数组,数组成员类型为UIColor
@property (nonatomic,strong) NSArray* mColors;
///每一个颜色的起始点数组,,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的
@property (nonatomic,strong) NSArray* mStartPoints;
//渐变色的初始化方法,使用默认colorMapSize1000进行初始化
- (id)initWithColors:(NSArray*)colors startPoints:(NSArray*)startPoints;
@end
@@ -1,65 +0,0 @@
/*
* BMKGroundOverlay.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 该类用于定义一个图片图层
@interface BMKGroundOverlay : BMKMultiPoint<BMKOverlay>
{
@public
float zoomLevel;
CLLocationCoordinate2D _pt;
BMKCoordinateBounds _bound;
CGPoint _anchor;
UIImage* _icon;
int iconID;
BOOL isCenterPt;
int left;
int bottom;
int width;
int height;
}
/// 两种绘制GroundOverlay的方式之一:绘制的位置地理坐标,与anchor配对使用
@property (nonatomic,assign) CLLocationCoordinate2D pt;
/// 用位置绘制时图片的锚点,图片左上角为(0.0f,0.0f),向右向下为正
/// 使用groundOverlayWithPosition初始化时生效
@property (nonatomic,assign) CGPoint anchor;
/// 两种绘制GroundOverlay的方式之二:绘制的地理区域范围,图片在此区域内合理缩放
@property (nonatomic,assign) BMKCoordinateBounds bound;
/// 绘制图片
@property(nonatomic, strong) UIImage *icon;
///图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为[0.0f, 1.0f],默认为1.0f
@property(nonatomic) GLfloat alpha;
/**
*根据指定经纬度坐标生成一个groundOverlay
*@param position 指定的经纬度坐标
*@param zoomLevel 不损失精度绘制原始图片的地图等级
*@param anchor 绘制图片的锚点
*@param icon 绘制使用的图片
*@return 新生成的groundOverlay对象
*/
+ (BMKGroundOverlay *)groundOverlayWithPosition:(CLLocationCoordinate2D)position
zoomLevel:(CGFloat)zoomLevel
anchor:(CGPoint)anchor
icon:(UIImage*)icon;
/**
*根据指定区域生成一个groundOverlay
*@param bounds 指定的经纬度区域
*@param icon 绘制使用的图片
*@return 新生成的groundOverlay对象
*/
+ (BMKGroundOverlay *)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
icon:(UIImage*)icon;
@end
@@ -1,28 +0,0 @@
/*
* BMKGroundOverlayView.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKGroundOverlay.h"
#import "BMKOverlayPathView.h"
/// 该类用于定义一个BMKGroundOverlayView
@interface BMKGroundOverlayView : BMKOverlayView
/**
*根据指定的groundOverlay生成一个View
*@param groundOverlay 指定的groundOverlay数据对象
*@return 新生成的View
*/
- (id)initWithGroundOverlay:(BMKGroundOverlay *)groundOverlay;
/// 该View对应的ground数据对象
@property (nonatomic, readonly) BMKGroundOverlay *groundOverlay;
@end
@@ -1,48 +0,0 @@
/*
* BMKHeatMap.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKGradient.h"
///热力图节点信息
@interface BMKHeatMapNode : NSObject{
double _intensity;
CLLocationCoordinate2D _pt;
}
///点的强度权值
@property (nonatomic) double intensity;
///点的位置坐标
@property (nonatomic) CLLocationCoordinate2D pt;
@end
///热力图的绘制数据和显示样式类
@interface BMKHeatMap : NSObject
{
int _mRadius; //Heatmap point radius
BMKGradient* _mGradient;//Gradient of the color map
double _mOpacity;//Opacity of the overall heatmap overlay [0...1]
NSMutableArray* _mData;
}
///设置热力图点半径,默认为12ps
@property (nonatomic, assign) int mRadius;
///设置热力图渐变,有默认值 DEFAULT_GRADIENT
@property (nonatomic, strong) BMKGradient* mGradient;
///设置热力图层透明度,默认 0.6
@property (nonatomic, assign) double mOpacity;
///用户传入的热力图数据,数组,成员类型为BMKHeatMapNode
@property (nonatomic, strong) NSMutableArray* mData;
@end
@@ -1,33 +0,0 @@
/*
* BMKLocationViewDisplayParam.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
///此类表示定位图层自定义样式参数
@interface BMKLocationViewDisplayParam : NSObject
///定位图标X轴偏移量(屏幕坐标)
@property (nonatomic, assign) CGFloat locationViewOffsetX;
///定位图标Y轴偏移量(屏幕坐标)
@property (nonatomic, assign) CGFloat locationViewOffsetY;
///精度圈是否显示,默认YES
@property (nonatomic, assign) BOOL isAccuracyCircleShow;
///精度圈 填充颜色
@property (nonatomic, strong) UIColor *accuracyCircleFillColor;
///精度圈 边框颜色
@property (nonatomic, strong) UIColor *accuracyCircleStrokeColor;
///跟随态旋转角度是否生效,默认YES
@property (nonatomic, assign) BOOL isRotateAngleValid;
///定位图标名称,需要将该图片放到 mapapi.bundle/images 目录下
@property (nonatomic, strong) NSString* locationViewImgName;
@end
@@ -1,39 +0,0 @@
/*
* BMKMapComponent.h
* BMKMapComponent
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMapVersion.h"
#import "BMKAnnotation.h"
#import "BMKAnnotationView.h"
#import "BMKMapView.h"
#import "BMKBaseIndoorMapInfo.h"
#import "BMKOfflineMap.h"
#import "BMKOfflineMapType.h"
#import "BMKOverlay.h"
#import "BMKShape.h"
#import "BMKPointAnnotation.h"
#import "BMKPinAnnotationView.h"
#import "BMKMultiPoint.h"
#import "BMKArcline.h"
#import "BMKPolyline.h"
#import "BMKPolygon.h"
#import "BMKCircle.h"
#import "BMKOverlayView.h"
#import "BMKOverlayPathView.h"
#import "BMKOverlayGLBasicView.h"
#import "BMKPolygonView.h"
#import "BMKPolylineView.h"
#import "BMKCircleView.h"
#import "BMKArclineView.h"
#import "BMKGroundOverlay.h"
#import "BMKGroundOverlayView.h"
#import "BMKGradient.h"
#import "BMKTileLayer.h"
#import "BMKTileLayerView.h"
@@ -1,40 +0,0 @@
/*
* BMKMapStatus.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <CoreLocation/CoreLocation.h>
#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
//#import <QuartzCore/QuartzCore.h>
///此类表示地图状态信息
@interface BMKMapStatus : NSObject
{
float _fLevel; // 缩放比例,319级
float _fRotation; // 旋转角度
float _fOverlooking; // 俯视角度
CGPoint _targetScreenPt;//屏幕坐标(中心点)
CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点)
}
///缩放级别:[3~19]
@property (nonatomic, assign) float fLevel;
///旋转角度
@property (nonatomic, assign) float fRotation;
///俯视角度:[-45~0]
@property (nonatomic, assign) float fOverlooking;
///屏幕中心点坐标:在屏幕内,超过无效
@property (nonatomic) CGPoint targetScreenPt;
///地理中心点坐标:经纬度
@property (nonatomic) CLLocationCoordinate2D targetGeoPt;
///当前地图范围,采用直角坐标系表示,向右向下增长
@property (nonatomic, assign, readonly) BMKMapRect visibleMapRect;
@end
@@ -1,32 +0,0 @@
//
// BMKMapVersion.h
// MapComponent
//
// Created by wzy on 15/9/9.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKMapVersion_h
#define BMKMapVersion_h
#import <UIKit/UIKit.h>
/**
*重要:
*map组件的版本和base组件的版本必须一致,否则不能正常使用
*/
/**
*获取当前地图API map组件 的版本号
*当前map组件版本 : 3.3.0
*return 返回当前API map组件 的版本号
*/
UIKIT_EXTERN NSString* BMKGetMapApiMapComponentVersion();
/**
*检查map组件的版本号是否和base组件的版本号一致
*return 版本号一致返回YES
*/
UIKIT_EXTERN BOOL BMKCheckMapComponentIsLegal();
#endif /* BMKMapVersion_h */
@@ -1,726 +0,0 @@
/*
* BMKMapView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <BaiduMapAPI_Base/BMKBaseComponent.h>
#import "BMKAnnotation.h"
#import "BMKAnnotationView.h"
#import "BMKOverlayView.h"
#import "UIKit/UIKit.h"
#import "BMKMapStatus.h"
#import "BMKLocationViewDisplayParam.h"
#import "BMKHeatMap.h"
#import "BMKBaseIndoorMapInfo.h"
@protocol BMKMapViewDelegate;
///点击地图标注返回数据结构
@interface BMKMapPoi : NSObject
///点标注的名称
@property (nonatomic,strong) NSString* text;
///点标注的经纬度坐标
@property (nonatomic,assign) CLLocationCoordinate2D pt;
///点标注的uid,可能为空
@property (nonatomic,strong) NSString* uid;
@end
typedef enum {
BMKUserTrackingModeNone = 0, /// 普通定位模式
BMKUserTrackingModeHeading, /// 定位方向模式
BMKUserTrackingModeFollow, /// 定位跟随模式
BMKUserTrackingModeFollowWithHeading, /// 定位罗盘模式
} BMKUserTrackingMode;
///枚举:logo位置
typedef enum {
BMKLogoPositionLeftBottom = 0, /// 地图左下方
BMKLogoPositionLeftTop, /// 地图左上方
BMKLogoPositionCenterBottom, /// 地图中下方
BMKLogoPositionCenterTop, /// 地图中上方
BMKLogoPositionRightBottom, /// 地图右下方
BMKLogoPositionRightTop, /// 地图右上方
} BMKLogoPosition;
///枚举:室内图切换楼层结果
typedef enum {
BMKSwitchIndoorFloorSuccess = 0, /// 切换楼层成功
BMKSwitchIndoorFloorFailed, /// 切换楼层失败
BMKSwitchIndoorFloorNotFocused, /// 地图还未聚焦到传入的室内图
BMKSwitchIndoorFloorNotExist, /// 当前室内图不存在该楼层
} BMKSwitchIndoorFloorError;
///地图View类,使用此View可以显示地图窗口,并且对地图进行相关的操作
@interface BMKMapView : UIView
/// 地图View的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
@property (nonatomic, weak) id<BMKMapViewDelegate> delegate;
/// 当前地图类型,可设定为标准地图、卫星地图
@property (nonatomic) BMKMapType mapType;
/// 当前地图的经纬度范围,设定的该范围可能会被调整为适合地图窗口显示的范围
@property (nonatomic) BMKCoordinateRegion region;
/// 限制地图的显示范围(地图状态改变时,该范围不会在地图显示范围外。设置成功后,会调整地图显示该范围)
@property (nonatomic) BMKCoordinateRegion limitMapRegion;
/// 指南针的位置,设定坐标以BMKMapView左上角为原点,向右向下增长
@property (nonatomic) CGPoint compassPosition;
/// 指南针的宽高
@property (nonatomic, readonly) CGSize compassSize;
/// 当前地图的中心点,改变该值时,地图的比例尺级别不会发生变化
@property (nonatomic) CLLocationCoordinate2D centerCoordinate;
/// 地图比例尺级别,在手机上当前可使用的级别为3-21级
@property (nonatomic) float zoomLevel;
/// 地图的自定义最小比例尺级别
@property (nonatomic) float minZoomLevel;
/// 地图的自定义最大比例尺级别
@property (nonatomic) float maxZoomLevel;
/// 地图旋转角度,在手机上当前可使用的范围为-180~180度
@property (nonatomic) int rotation;
/// 地图俯视角度,在手机上当前可使用的范围为-45~0度
@property (nonatomic) int overlooking;
///设定地图是否现显示3D楼块效果
@property(nonatomic, getter=isBuildingsEnabled) BOOL buildingsEnabled;
///设定地图是否显示底图poi标注(不包含室内图标注),默认YES
@property(nonatomic, assign) BOOL showMapPoi;
///设定地图是否打开路况图层
@property(nonatomic, getter=isTrafficEnabled) BOOL trafficEnabled;
///设定地图是否打开百度城市热力图图层(百度自有数据),注:地图层级大于11时,可显示热力图
@property(nonatomic, getter=isBaiduHeatMapEnabled) BOOL baiduHeatMapEnabled;
///设定地图View能否支持所有手势操作
@property(nonatomic) BOOL gesturesEnabled;
///设定地图View能否支持用户多点缩放(双指)
@property(nonatomic, getter=isZoomEnabled) BOOL zoomEnabled;
///设定地图View能否支持用户缩放(双击或双指单击)
@property(nonatomic, getter=isZoomEnabledWithTap) BOOL zoomEnabledWithTap;
///设定地图View能否支持用户移动地图
@property(nonatomic, getter=isScrollEnabled) BOOL scrollEnabled;
///设定地图View能否支持俯仰角
@property(nonatomic, getter=isOverlookEnabled) BOOL overlookEnabled;
///设定地图View能否支持旋转
@property(nonatomic, getter=isRotateEnabled) BOOL rotateEnabled;
/// 设定地图是否回调force touch事件,默认为NO,仅适用于支持3D Touch的情况,开启后会回调 - mapview:onForceTouch:force:maximumPossibleForce:
@property(nonatomic) BOOL forceTouchEnabled;
/// 设定是否显式比例尺
@property (nonatomic) BOOL showMapScaleBar;
/// 比例尺的位置,设定坐标以BMKMapView左上角为原点,向右向下增长
@property (nonatomic) CGPoint mapScaleBarPosition;
/// 比例尺的宽高
@property (nonatomic, readonly) CGSize mapScaleBarSize;
/// logo位置,默认BMKLogoPositionLeftBottom
@property (nonatomic) BMKLogoPosition logoPosition;
///当前地图范围,采用直角坐标系表示,向右向下增长
@property (nonatomic) BMKMapRect visibleMapRect;
/**
*地图预留边界,默认:UIEdgeInsetsZero。
*注:设置后,会根据mapPadding调整logo、比例尺、指南针的位置。
* 当updateTargetScreenPtWhenMapPaddingChanged==YES时,地图中心(屏幕坐标:BMKMapStatus.targetScreenPt)跟着改变
*/
@property (nonatomic) UIEdgeInsets mapPadding;
///设置mapPadding时,地图中心(屏幕坐标:BMKMapStatus.targetScreenPt)是否跟着改变,默认YES
@property (nonatomic) BOOL updateTargetScreenPtWhenMapPaddingChanged;
///设定地图View能否支持以手势中心点为轴进行旋转和缩放
@property(nonatomic, getter=isChangeWithTouchPointCenterEnabled) BOOL ChangeWithTouchPointCenterEnabled;
/**
*设置自定义地图样式
*注:必须在BMKMapView对象初始化之前调用
*@param customMapStyleJsonFilePath 自定义样式文件所在路径,包含文件名
*/
+ (void)customMapStyle:(NSString*) customMapStyleJsonFilePath;
/**
* 自定义地图样式开关,影响所有BMKMapView对象
*@param enable 自定义地图样式是否生效
*/
+ (void)enableCustomMapStyle:(BOOL) enable;
/**
* 2.10.0起废弃,空实现,逻辑由地图SDK控制
*
*当应用即将后台时调用,停止一切调用opengl相关的操作。
*/
+(void)willBackGround __deprecated_msg("废弃方法(空实现),逻辑由地图SDK控制");
/**
* 2.10.0起废弃,空实现,逻辑由地图SDK控制
*
*当应用恢复前台状态时调用。
*/
+(void)didForeGround __deprecated_msg("废弃方法(空实现),逻辑由地图SDK控制");
/**
*当mapview即将被显式的时候调用,恢复之前存储的mapview状态。
*/
-(void)viewWillAppear;
/**
*当mapview即将被隐藏的时候调用,存储当前mapview的状态。
*/
-(void)viewWillDisappear;
/**
*强制刷新mapview
*/
- (void)mapForceRefresh;
/**
*放大一级比例尺
*@return 是否成功
*/
- (BOOL)zoomIn;
/**
*缩小一级比例尺
*@return 是否成功
*/
- (BOOL)zoomOut;
/**
*根据当前地图View的窗口大小调整传入的region,返回适合当前地图窗口显示的region,调整过程会保证中心点不改变
*@param region 待调整的经纬度范围
*@return 调整后适合当前地图窗口显示的经纬度范围
*/
- (BMKCoordinateRegion)regionThatFits:(BMKCoordinateRegion)region;
/**
*设定当前地图的显示范围
*@param region 要设定的地图范围,用经纬度的方式表示
*@param animated 是否采用动画效果
*/
- (void)setRegion:(BMKCoordinateRegion)region animated:(BOOL)animated;
/**
*设定地图中心点坐标
*@param coordinate 要设定的地图中心点坐标,用经纬度表示
*@param animated 是否采用动画效果
*/
- (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated;
/**
*获得地图当前可视区域截图
*@return 返回view范围内的截取的UIImage
*/
-(UIImage*) takeSnapshot;
/**
*获得地图区域区域截图
*@return 返回指定区域的截取的UIImage
*/
-(UIImage*) takeSnapshot:(CGRect)rect;
/**
*设置罗盘的图片
*@param image 设置的图片
*/
- (void)setCompassImage:(UIImage *)image;
/**
*设定当前地图的显示范围,采用直角坐标系表示
*@param mapRect 要设定的地图范围,用直角坐标系表示
*@param animate 是否采用动画效果
*/
- (void)setVisibleMapRect:(BMKMapRect)mapRect animated:(BOOL)animate;
/**
*根据当前地图View的窗口大小调整传入的mapRect,返回适合当前地图窗口显示的mapRect,调整过程会保证中心点不改变
*@param mapRect 待调整的地理范围,采用直角坐标系表示
*@return 调整后适合当前地图窗口显示的地理范围,采用直角坐标系
*/
- (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect;
/**
*设定地图的显示范围,并使mapRect四周保留insets指定的边界区域
*@param mapRect 要设定的地图范围,用直角坐标系表示
*@param insets 指定的四周边界大小
*@param animate 是否采用动画效果
*/
- (void)setVisibleMapRect:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets animated:(BOOL)animate;
/**
*根据当前地图View的窗口大小调整传入的mapRect,返回适合当前地图窗口显示的mapRect,并且在该mapRect四周保留insets指定的边界区域
*@param mapRect 待调整的地理范围,采用直角坐标系表示
×@param insets mapRect四周要预留的边界大小
*@return 调整后适合当前地图窗口显示的地理范围,采用直角坐标系
*/
- (BMKMapRect)mapRectThatFits:(BMKMapRect)mapRect edgePadding:(UIEdgeInsets)insets;
/**
*将经纬度坐标转换为View坐标
*@param coordinate 待转换的经纬度坐标
*@param view 指定相对的View
*@return 转换后的View坐标
*/
- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view;
/**
*将View坐标转换成经纬度坐标
*@param point 待转换的View坐标
*@param view point坐标所在的view
*@return 转换后的经纬度坐标
*/
- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(UIView *)view;
/**
*将经纬度矩形区域转换为View矩形区域
*@param region 待转换的经纬度矩形
*@param view 指定相对的View
*@return 转换后的View矩形区域
*/
- (CGRect)convertRegion:(BMKCoordinateRegion)region toRectToView:(UIView *)view;
/**
*将View矩形区域转换成经纬度矩形区域
*@param rect 待转换的View矩形区域
*@param view rect坐标所在的view
*@return 转换后的经纬度矩形区域
*/
- (BMKCoordinateRegion)convertRect:(CGRect)rect toRegionFromView:(UIView *)view;
/**
*将直角地理坐标矩形区域转换为View矩形区域
*@param mapRect 待转换的直角地理坐标矩形
*@param view 指定相对的View
*@return 转换后的View矩形区域
*/
- (CGRect)convertMapRect:(BMKMapRect)mapRect toRectToView:(UIView *)view;
/**
*将View矩形区域转换成直角地理坐标矩形区域
*@param rect 待转换的View矩形区域
*@param view rect坐标所在的view
*@return 转换后的直角地理坐标矩形区域
*/
- (BMKMapRect)convertRect:(CGRect)rect toMapRectFromView:(UIView *)view;
/**
*将BMKMapPoint转换为opengles可以直接使用的坐标
@param mapPoint BMKMapPoint坐标
@return opengles 直接支持的坐标
*/
- (CGPoint)glPointForMapPoint:(BMKMapPoint)mapPoint;
/**
*批量将BMKMapPoint转换为opengles可以直接使用的坐标
@param mapPoints BMKMapPoint坐标数据指针
@param count 个数,count不能大于数组长度
@return opengles 直接支持的坐标数据指针(需要调用者手动释放)
*/
- (CGPoint *)glPointsForMapPoints:(BMKMapPoint *)mapPoints count:(NSUInteger)count;
/**
* 设置地图中心点在地图中的屏幕坐标位置
* @param ptInScreen 要设定的地图中心点位置,为屏幕坐标,设置的中心点不能超过屏幕范围,否则无效
*/
- (void)setMapCenterToScreenPt:(CGPoint)ptInScreen;
/**
* 获取地图状态
*@return 返回地图状态信息
*/
- (BMKMapStatus*)getMapStatus;
/**
* 设置地图状态
* @param [in] mapStatus 地图状态信息
*/
- (void)setMapStatus:(BMKMapStatus*)mapStatus;
/**
* 设置地图状态
* @param [in] mapStatus 地图状态信息
* @param [in] bAnimation 是否需要动画效果,true:需要做动画
*/
- (void)setMapStatus:(BMKMapStatus*)mapStatus withAnimation:(BOOL)bAnimation;
/**
* 设置地图状态
* @param [in] mapStatus 地图状态信息
* @param [in] bAnimation 是否需要动画效果,true:需要做动画
* @param [in] ulDuration 指定动画时间,单位:ms
*/
- (void)setMapStatus:(BMKMapStatus*)mapStatus withAnimation:(BOOL)bAnimation withAnimationTime:(int)ulDuration;
/**
* 判断当前图区是否支持百度热力图(百度自有数据)
* @return 支持返回YES,否则返回NO
*/
- (BOOL)isSurpportBaiduHeatMap;
@end
@interface BMKMapView (IndoorMapAPI)
/// 设定地图是否显示室内图(包含室内图标注),默认不显示
@property (nonatomic, assign) BOOL baseIndoorMapEnabled;
/// 设定室内图标注是否显示,默认YES,仅当显示室内图(baseIndoorMapEnabled为YES)时生效
@property (nonatomic, assign) BOOL showIndoorMapPoi;
/**
* 设置室内图楼层
* @param strFloor 楼层
* @param strID 室内图ID
* @return 切换结果
*/
- (BMKSwitchIndoorFloorError)switchBaseIndoorMapFloor:(NSString*)strFloor withID:(NSString*)strID;
/**
* 获取当前聚焦的室内图信息
* @return 当前聚焦的室内图信息。没有聚焦的室内图,返回nil
*/
- (BMKBaseIndoorMapInfo*)getFocusedBaseIndoorMapInfo;
@end
@interface BMKMapView (LocationViewAPI)
/// 设定是否显示定位图层
@property (nonatomic) BOOL showsUserLocation;
/// 设定定位模式,取值为:BMKUserTrackingMode
@property (nonatomic) BMKUserTrackingMode userTrackingMode;
/// 返回定位坐标点是否在当前地图可视区域内
@property (nonatomic, readonly, getter=isUserLocationVisible) BOOL userLocationVisible;
/**
*动态定制我的位置样式
* @param [in] locationViewDisplayParam 样式参数
*/
- (void)updateLocationViewWithParam:(BMKLocationViewDisplayParam*)locationViewDisplayParam;
/**
*动态更新我的位置数据
* @param [in] userLocation 定位数据
*/
-(void)updateLocationData:(BMKUserLocation*)userLocation;
@end
@interface BMKMapView (AnnotationAPI)
/// 当前地图View的已经添加的标注数组
@property (nonatomic, readonly) NSArray *annotations;
//设定是否总让选中的annotaion置于最前面
@property (nonatomic, assign) BOOL isSelectedAnnotationViewFront;
/**
*向地图窗口添加标注,需要实现BMKMapViewDelegate的-mapView:viewForAnnotation:函数来生成标注对应的View
*@param annotation 要添加的标注
*/
- (void)addAnnotation:(id <BMKAnnotation>)annotation;
/**
*向地图窗口添加一组标注,需要实现BMKMapViewDelegate的-mapView:viewForAnnotation:函数来生成标注对应的View
*@param annotations 要添加的标注数组
*/
- (void)addAnnotations:(NSArray *)annotations;
/**
*移除标注
*@param annotation 要移除的标注
*/
- (void)removeAnnotation:(id <BMKAnnotation>)annotation;
/**
*移除一组标注
*@param annotation 要移除的标注数组
*/
- (void)removeAnnotations:(NSArray *)annotations;
/**
*查找指定标注对应的View,如果该标注尚未显示,返回nil
*@param annotation 指定的标注
*@return 指定标注对应的View
*/
- (BMKAnnotationView *)viewForAnnotation:(id <BMKAnnotation>)annotation;
/**
*根据指定标识查找一个可被复用的标注View,一般在delegate中使用,用此函数来代替新申请一个View
*@param identifier 指定标识
*@return 返回可被复用的标注View
*/
- (BMKAnnotationView *)dequeueReusableAnnotationViewWithIdentifier:(NSString *)identifier;
/**
*选中指定的标注,本版暂不支持animate效果
*@param annotation 指定的标注
*@param animated 本版暂不支持
*/
- (void)selectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
/**
*取消指定的标注的选中状态,本版暂不支持animate效果
*@param annotation 指定的标注
*@param animated 本版暂不支持
*/
- (void)deselectAnnotation:(id <BMKAnnotation>)annotation animated:(BOOL)animated;
/**
*设置地图使显示区域显示所有annotations,如果数组中只有一个则直接设置地图中心为annotation的位置
*@param annotations 指定的标注
*@param animated 是否启动动画
*/
- (void)showAnnotations:(NSArray *)annotations animated:(BOOL)animated;
/**
*获取矩形区域内的所有annotations
*@param bounds 矩形区域(经纬度)
*@return 该矩形区域内的所有annotations
*/
- (NSArray *)annotationsInCoordinateBounds:(BMKCoordinateBounds) bounds;
@end
///地图View类(和Overlay操作相关的接口)
@interface BMKMapView (OverlaysAPI)
/**
*向地图窗口添加Overlay,需要实现BMKMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的View
*@param overlay 要添加的overlay
*/
- (void)addOverlay:(id <BMKOverlay>)overlay;
/**
*向地图窗口添加一组Overlay,需要实现BMKMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的View
*@param overlays 要添加的overlay数组
*/
- (void)addOverlays:(NSArray *)overlays;
/**
*移除Overlay
*@param overlay 要移除的overlay
*/
- (void)removeOverlay:(id <BMKOverlay>)overlay;
/**
*移除一组Overlay
*@param overlays 要移除的overlay数组
*/
- (void)removeOverlays:(NSArray *)overlays;
/**
*在指定的索引处添加一个Overlay
*@param overlay 要添加的overlay
*@param index 指定的索引
*/
- (void)insertOverlay:(id <BMKOverlay>)overlay atIndex:(NSUInteger)index;
/**
*在交换指定索引处的Overlay
*@param index1 索引1
*@param index2 索引2
*/
- (void)exchangeOverlayAtIndex:(NSUInteger)index1 withOverlayAtIndex:(NSUInteger)index2;
/**
*在指定的Overlay之上插入一个overlay
*@param overlay 带添加的Overlay
*@param sibling 用于指定相对位置的Overlay
*/
- (void)insertOverlay:(id <BMKOverlay>)overlay aboveOverlay:(id <BMKOverlay>)sibling;
/**
*在指定的Overlay之下插入一个overlay
*@param overlay 带添加的Overlay
*@param sibling 用于指定相对位置的Overlay
*/
- (void)insertOverlay:(id <BMKOverlay>)overlay belowOverlay:(id <BMKOverlay>)sibling;
/// 当前mapView中已经添加的Overlay数组
@property (nonatomic, readonly) NSArray *overlays;
/**
*查找指定overlay对应的View,如果该View尚未创建,返回nil
*@param overlay 指定的overlay
*@return 指定overlay对应的View
*/
- (BMKOverlayView *)viewForOverlay:(id <BMKOverlay>)overlay;
@end
@interface BMKMapView (HeatMapAPI)
/**
*添加热力图
* @param [BMKHeatMap*] heatMap 热力图绘制和显示数据
*/
- (void)addHeatMap:(BMKHeatMap*)heatMap;
/**
*移除热力图
*/
- (void)removeHeatMap;
@end
/// MapView的DelegatemapView通过此类来通知用户对应的事件
@protocol BMKMapViewDelegate <NSObject>
@optional
/**
*地图初始化完毕时会调用此接口
*@param mapview 地图View
*/
- (void)mapViewDidFinishLoading:(BMKMapView *)mapView;
/**
*地图渲染完毕后会调用此接口
*@param mapview 地图View
*/
- (void)mapViewDidFinishRendering:(BMKMapView *)mapView;
/**
*地图渲染每一帧画面过程中,以及每次需要重绘地图时(例如添加覆盖物)都会调用此接口
*@param mapview 地图View
*@param status 此时地图的状态
*/
- (void)mapView:(BMKMapView *)mapView onDrawMapFrame:(BMKMapStatus*)status;
/**
*地图区域即将改变时会调用此接口
*@param mapview 地图View
*@param animated 是否动画
*/
- (void)mapView:(BMKMapView *)mapView regionWillChangeAnimated:(BOOL)animated;
/**
*地图区域改变完成后会调用此接口
*@param mapview 地图View
*@param animated 是否动画
*/
- (void)mapView:(BMKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
/**
*根据anntation生成对应的View
*@param mapView 地图View
*@param annotation 指定的标注
*@return 生成的标注View
*/
- (BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id <BMKAnnotation>)annotation;
/**
*当mapView新添加annotation views时,调用此接口
*@param mapView 地图View
*@param views 新添加的annotation views
*/
- (void)mapView:(BMKMapView *)mapView didAddAnnotationViews:(NSArray *)views;
/**
*当选中一个annotation views时,调用此接口
*@param mapView 地图View
*@param views 选中的annotation views
*/
- (void)mapView:(BMKMapView *)mapView didSelectAnnotationView:(BMKAnnotationView *)view;
/**
*当取消选中一个annotation views时,调用此接口
*@param mapView 地图View
*@param views 取消选中的annotation views
*/
- (void)mapView:(BMKMapView *)mapView didDeselectAnnotationView:(BMKAnnotationView *)view;
/**
*拖动annotation view时,若view的状态发生变化,会调用此函数。ios3.2以后支持
*@param mapView 地图View
*@param view annotation view
*@param newState 新状态
*@param oldState 旧状态
*/
- (void)mapView:(BMKMapView *)mapView annotationView:(BMKAnnotationView *)view didChangeDragState:(BMKAnnotationViewDragState)newState
fromOldState:(BMKAnnotationViewDragState)oldState;
/**
*当点击annotation view弹出的泡泡时,调用此接口
*@param mapView 地图View
*@param view 泡泡所属的annotation view
*/
- (void)mapView:(BMKMapView *)mapView annotationViewForBubble:(BMKAnnotationView *)view;
/**
*根据overlay生成对应的View
*@param mapView 地图View
*@param overlay 指定的overlay
*@return 生成的覆盖物View
*/
- (BMKOverlayView *)mapView:(BMKMapView *)mapView viewForOverlay:(id <BMKOverlay>)overlay;
/**
*当mapView新添加overlay views时,调用此接口
*@param mapView 地图View
*@param overlayViews 新添加的overlay views
*/
- (void)mapView:(BMKMapView *)mapView didAddOverlayViews:(NSArray *)overlayViews;
/**
*点中覆盖物后会回调此接口,目前只支持点中BMKPolylineView时回调
*@param mapview 地图View
*@param overlayView 覆盖物view信息
*/
- (void)mapView:(BMKMapView *)mapView onClickedBMKOverlayView:(BMKOverlayView *)overlayView;
/**
*点中底图标注后会回调此接口
*@param mapview 地图View
*@param mapPoi 标注点信息
*/
- (void)mapView:(BMKMapView *)mapView onClickedMapPoi:(BMKMapPoi*)mapPoi;
/**
*点中底图空白处会回调此接口
*@param mapview 地图View
*@param coordinate 空白处坐标点的经纬度
*/
- (void)mapView:(BMKMapView *)mapView onClickedMapBlank:(CLLocationCoordinate2D)coordinate;
/**
*双击地图时会回调此接口
*@param mapview 地图View
*@param coordinate 返回双击处坐标点的经纬度
*/
- (void)mapview:(BMKMapView *)mapView onDoubleClick:(CLLocationCoordinate2D)coordinate;
/**
*长按地图时会回调此接口
*@param mapview 地图View
*@param coordinate 返回长按事件坐标点的经纬度
*/
- (void)mapview:(BMKMapView *)mapView onLongClick:(CLLocationCoordinate2D)coordinate;
/**
*3DTouch 按地图时会回调此接口(仅在支持3D Touch,且fouchTouchEnabled属性为YES时,会回调此接口)
*@param mapview 地图View
*@param coordinate 触摸点的经纬度
*@param force 触摸该点的力度(参考UITouch的force属性)
*@param maximumPossibleForce 当前输入机制下的最大可能力度(参考UITouch的maximumPossibleForce属性)
*/
- (void)mapview:(BMKMapView *)mapView onForceTouch:(CLLocationCoordinate2D)coordinate force:(CGFloat)force maximumPossibleForce:(CGFloat)maximumPossibleForce;
/**
*地图状态改变完成后会调用此接口
*@param mapview 地图View
*/
- (void)mapStatusDidChanged:(BMKMapView *)mapView;
/**
*地图进入/移出室内图会调用此接口
*@param mapview 地图View
*@param flag YES:进入室内图; NO:移出室内图
*@param info 室内图信息
*/
- (void)mapview:(BMKMapView *)mapView baseIndoorMapWithIn:(BOOL)flag baseIndoorMapInfo:(BMKBaseIndoorMapInfo *)info;
@end
@@ -1,35 +0,0 @@
/*
* BMKMultiPoint.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKShape.h"
/// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
@interface BMKMultiPoint : BMKShape {
@package
BMKMapPoint *_points;
NSUInteger _pointCount;
BMKMapRect _boundingRect;
}
/// 坐标点数组
@property (nonatomic, readonly) BMKMapPoint *points;
/// 坐标点的个数
@property (nonatomic, readonly) NSUInteger pointCount;
/**
*将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中
*@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length
*@param range 指定要拷贝的数据段
*/
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
@end
@@ -1,114 +0,0 @@
/*
* BMKOfflineMap.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKOfflineMapType.h"
@protocol BMKOfflineMapDelegate;
///离线地图事件类型
enum {
TYPE_OFFLINE_UPDATE = 0, ///<下载或更新
TYPE_OFFLINE_ZIPCNT = 1, ///<检测到的压缩包个数
TYPE_OFFLINE_UNZIP = 2, ///<当前解压的离线包
TYPE_OFFLINE_ERRZIP = 3, ///<错误的离线包
TYPE_OFFLINE_NEWVER = 4, ///<有新版本
TYPE_OFFLINE_UNZIPFINISH = 5, ///<扫描完毕
TYPE_OFFLINE_ADD = 6 ///<新增离线包
};
///离线地图服务
@interface BMKOfflineMap : NSObject
@property (nonatomic, weak) id<BMKOfflineMapDelegate> delegate;
/**
*自2.9.0起废弃,不支持扫描导入离线包
*扫描离线地图压缩包,异步函数
*@return 成功返回YES,否则返回NO
*/
- (BOOL)scan:(BOOL)deleteFailedr __deprecated_msg("废弃方法(空实现),自2.9.0起废弃,不支持扫描导入离线包");
/**
*启动下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)start:(int)cityID;
/**
*启动更新指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)update:(int)cityID;
/**
*暂停下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)pause:(int)cityID;
/**
*删除下载指定城市id的离线地图
*@param cityID 指定的城市id
*@return 成功返回YES,否则返回NO
*/
- (BOOL)remove:(int)cityID;
/**
*返回热门城市列表
*@return 热门城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)getHotCityList;
/**
*返回所有支持离线地图的城市列表
*@return 支持离线地图的城市列表,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)getOfflineCityList;
/**
*根据城市名搜索该城市离线地图记录
*@param cityName 城市名
*@return 该城市离线地图记录,用户需要显示释放该数组,数组元素为BMKOLSearchRecord
*/
- (NSArray*)searchCity:(NSString*)cityName;
/**
*返回各城市离线地图更新信息
*@return 各城市离线地图更新信息,用户需要显示释放该数组,数组元素为BMKOLUpdateElement
*/
- (NSArray*)getAllUpdateInfo;
/**
*返回指定城市id离线地图更新信息
*@param cityID 指定的城市id
*@return 指定城市id离线地图更新信息
*/
- (BMKOLUpdateElement*)getUpdateInfo:(int)cityID;
@end
///离线地图delegate,用于获取通知
@protocol BMKOfflineMapDelegate<NSObject>
/**
*返回通知结果
*@param type 事件类型: TYPE_OFFLINE_UPDATE,TYPE_OFFLINE_ZIPCNT,TYPE_OFFLINE_UNZIP, TYPE_OFFLINE_ERRZIP, TYPE_VER_UPDATE, TYPE_OFFLINE_UNZIPFINISH, TYPE_OFFLINE_ADD
*@param state 事件状态,当type为TYPE_OFFLINE_UPDATE时,表示正在下载或更新城市id为state的离线包,当type为TYPE_OFFLINE_ZIPCNT时,表示检测到state个离线压缩包,当type为TYPE_OFFLINE_ADD时,表示新安装的离线地图数目,当type为TYPE_OFFLINE_UNZIP时,表示正在解压第state个离线包,当type为TYPE_OFFLINE_ERRZIP时,表示有state个错误包,当type为TYPE_VER_UPDATE时,表示id为state的城市离线包有更新,当type为TYPE_OFFLINE_UNZIPFINISH时,表示扫瞄完成,成功导入state个离线包
*/
- (void)onGetOfflineMapState:(int)type withState:(int)state;
@end
@@ -1,66 +0,0 @@
/*
* BMKOffineMapType.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
///离线地图搜索城市记录结构
@interface BMKOLSearchRecord : NSObject
{
NSString* _cityName;
int _size;
int _cityID;
int _cityType;
NSArray* _childCities;
}
///城市名称
@property (nonatomic, strong) NSString* cityName;
///数据包总大小
@property (nonatomic) int size;
///城市ID
@property (nonatomic) int cityID;
///城市类型 0:全国;1:省份;2:城市;如果是省份,可以通过childCities得到子城市列表
@property (nonatomic) int cityType;
///子城市列表
@property (nonatomic, strong) NSArray* childCities;
@end
///离线地图更新信息
@interface BMKOLUpdateElement : NSObject
{
NSString* _cityName;
int _cityID;
int _size;
int _serversize;
BOOL _update;
int _ratio;
int _status;
CLLocationCoordinate2D _pt;
}
///城市名称
@property (nonatomic, strong) NSString* cityName;
///城市ID
@property (nonatomic) int cityID;
///已下载数据大小,单位:字节
@property (nonatomic) int size;
///服务端数据大小,当update为YES时有效,单位:字节
@property (nonatomic) int serversize;
///下载比率,100为下载完成,下载完成后会自动导入,status为4时离线包导入完成
@property (nonatomic) int ratio;
///下载状态, -1:未定义 1:正在下载 2:等待下载 3:已暂停 4:完成 5:校验失败 6:网络异常 7:读写异常 8:Wifi网络异常 9:离线包数据格式异常,需重新下载离线包 10:离线包导入中
@property (nonatomic) int status;
///更新状态,离线包是否有更新(有更新需重新下载)
@property (nonatomic) BOOL update;
///城市中心点
@property (nonatomic) CLLocationCoordinate2D pt;
@end
@@ -1,32 +0,0 @@
/*
* BMKOverlay.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKAnnotation.h"
#import <BaiduMapAPI_Base/BMKTypes.h>
/// 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
@protocol BMKOverlay <BMKAnnotation>
@required
/// 返回区域中心坐标.
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
/// 返回区域外接矩形
@property (nonatomic, readonly) BMKMapRect boundingMapRect;
@optional
/**
*判断指定的矩形是否与本Overlay相交,用于更精确的控制overlay view的显示.
*默认使用BMKMapRectIntersectsRect([overlay boundingRect], mapRect)代替.
*@param mapRect 指定的BMKMapRect
*@return 如果相交返回YES,否则返回NO
*/
- (BOOL)intersectsMapRect:(BMKMapRect)mapRect;
@end
@@ -1,34 +0,0 @@
/*
* BMKOverlayGLBasicView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKOverlayView.h"
/// 该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类
@interface BMKOverlayGLBasicView : BMKOverlayView {
}
/// 填充颜色
/// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
@property (strong, nonatomic) UIColor *fillColor;
/// 画笔颜色
/// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
@property (strong, nonatomic) UIColor *strokeColor;
/// 画笔宽度,默认为0
@property (nonatomic) CGFloat lineWidth;
/// path对象
@property CGPathRef path;
/// 是否为虚线样式,默认NO
@property (nonatomic) BOOL lineDash;
/// 是否纹理图片平铺绘制,默认NO
@property (assign, nonatomic) BOOL tileTexture;
/// 纹理图片是否缩放(tileTexture为YES时生效),默认NO
@property (assign, nonatomic) BOOL keepScale;
@end
@@ -1,88 +0,0 @@
/*
* BMKOverlayPathView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKOverlayView.h"
/// 该类定义了一个基本的OverlayView
@interface BMKOverlayPathView : BMKOverlayView {
@package
UIColor *_fillColor;
UIColor *_strokeColor;
CGFloat _lineWidth;
CGLineJoin _lineJoin;
CGLineCap _lineCap;
CGFloat _miterLimit;
CGFloat _lineDashPhase;
NSArray *_lineDashPattern;
CGPathRef _path;
}
/// 填充颜色
@property (strong) UIColor *fillColor;
/// 画笔颜色
@property (strong) UIColor *strokeColor;
/// 画笔宽度,默认为0
@property CGFloat lineWidth;
/// LineJoin,默认为kCGLineJoinRound
@property CGLineJoin lineJoin;
/// LineCap,默认为kCGLineCapRound
@property CGLineCap lineCap;
/// miterLimit,在样式为kCGLineJoinMiter时有效,默认为10
@property CGFloat miterLimit;
/// lineDashPhase, 默认为0
@property CGFloat lineDashPhase;
/// lineDashPattern,一个NSNumbers的数组,默认为nil
@property (copy) NSArray *lineDashPattern;
/**
*生成要绘制的path,子类需要重写此函数,并且对path属性赋值:self.path = newPath;
*/
- (void)createPath;
/// path对象
@property CGPathRef path;
/**
*刷新path,调用该函数将会使已经缓存的path失效,将会重新调用createPath来生成新的path对象
*/
- (void)invalidatePath;
/**
*应用画笔属性
*@param context CGContext对象
*@param zoomScale 当前的zoomScale
*/
- (void)applyStrokePropertiesToContext:(CGContextRef)context
atZoomScale:(BMKZoomScale)zoomScale;
/**
*应用画刷属性
*@param context CGContext对象
*@param zoomScale 当前的zoomScale
*/
- (void)applyFillPropertiesToContext:(CGContextRef)context
atZoomScale:(BMKZoomScale)zoomScale;
/**
*绘制path
*@param path 要绘制的CGPath
*@param context CGContext对象
*/
- (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
/**
*填充path
*@param path 要绘制的CGPath
*@param context CGContext对象
*/
- (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
@end
@@ -1,207 +0,0 @@
/*
* BMKOverlayView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKOverlay.h"
/// 该类是地图覆盖物View的基类,提供绘制overlay的接口但本身并无实现,所有地图覆盖物View需要继承自此类
@interface BMKOverlayView : UIView
{
@package
id <BMKOverlay> _overlay;
BMKMapRect _boundingMapRect;
CGAffineTransform _mapTransform;
id _geometryDelegate;
id _canDrawCache;
BOOL keepScale;
CFTimeInterval _lastTile;
CFRunLoopTimerRef _scheduledScaleTimer;
struct {
unsigned int keepAlive:1;
unsigned int levelCrossFade:1;
unsigned int drawingDisabled:1;
unsigned int usesTiledLayer:1;
} _flags;
//@private
// int geometrylayerID;
}
/// 设置该overlay的GeometryDelegate
- (void)setOverlayGeometryDelegate:(id)delegate;
/**
*初始化并返回一个overlay view
*@param overlay 关联的overlay对象
*@return 初始化成功则返回overlay view,否则返回nil
*/
- (id)initWithOverlay:(id <BMKOverlay>)overlay;
///关联的overlay对象
@property (nonatomic, readonly) id <BMKOverlay> overlay;
/**
*将直角坐标转为overlay view坐标
*@param mapPoint 直角坐标
*@return 对应的view坐标
*/
- (CGPoint)pointForMapPoint:(BMKMapPoint)mapPoint;
/**
*将overlay view坐标转为直角坐标
*@param point view坐标
*@return 对应的直角坐标
*/
- (BMKMapPoint)mapPointForPoint:(CGPoint)point;
/**
*将二维地图投影矩形转为overlay view矩形
*@param mapRect 二维地图投影矩形
*@return 对应的view矩形
*/
- (CGRect)rectForMapRect:(BMKMapRect)mapRect;
/**
*将overlay view区域转为二维地图投影区域
*@param rect 指定的view矩形
*@return 对应的二维地图投影矩形
*/
- (BMKMapRect)mapRectForRect:(CGRect)rect;
/**
*判断ovlerlay view是否准备绘制内容
*默认返回YES,如果用户设为NO,当需要绘制内容时要显示调用setNeedsDisplayInMapRect:zoomScale:方法
*@param mapRect 需要更新的地图矩形区域
*@param zoomScale 当前的缩放因子
*@return 如果view准备好绘制内容,返回YES,否则返回NO
*/
- (BOOL)canDrawMapRect:(BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale;
/**
*绘制overlay view内容
*该方法默认不做任何事,子类需要重载该方法来绘制view的内容
*@param mapRect 需要更新的地图矩形区域
*@param zoomScale 当前的缩放因子
*@param context 使用的graphics context
*/
- (void)drawMapRect:(BMKMapRect)mapRect zoomScale:(BMKZoomScale)zoomScale inContext:(CGContextRef)context;
/**
*使view在给定矩形的区域无效,系统将重绘该区域
*@param mapRect 需要更新的区域
*/
- (void)setNeedsDisplayInMapRect:(BMKMapRect)mapRect;
/**
*使用OpenGLES 绘制线
@param points 直角坐标点
@param pointCount 点个数
@param strokeColor 线颜色
@param lineWidth OpenGLES支持线宽尺寸
@param looped 是否闭合, 如polyline会设置NO, polygon会设置YES.
*/
- (void)renderLinesWithPoints:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped;
/**
*使用OpenGLES 绘制线
@param points 直角坐标点
@param pointCount 点个数
@param strokeColor 线颜色
@param lineWidth OpenGLES支持线宽尺寸
@param looped 是否闭合, 如polyline会设置NO, polygon会设置YES.
@param lineDash 是否虚线样式
*/
- (void)renderLinesWithPoints:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount strokeColor:(UIColor *)strokeColor lineWidth:(CGFloat)lineWidth looped:(BOOL)looped lineDash:(BOOL)lineDash;
/**
*使用OpenGLES 按指定纹理绘制线
@param points 直角坐标点
@param pointCount 点个数
@param lineWidth OpenGLES支持线宽尺寸
@param textureID 纹理ID,使用- (void)loadStrokeTextureImage:(UIImage *)textureImage;加载
@param looped 是否闭合, 如polyline会设置NO, polygon会设置YES.
*/
- (void)renderTexturedLinesWithPoints:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID looped:(BOOL)looped;
/**
*使用OpenGLES 按指定纹理绘制线
@param points 直角坐标点
@param pointCount 点个数
@param lineWidth OpenGLES支持线宽尺寸
@param textureID 纹理ID,使用- (void)loadStrokeTextureImage:(UIImage *)textureImage;加载
@param looped 是否闭合, 如polyline会设置NO, polygon会设置YES.
@param tileTexture 是否纹理图片平铺绘制
@param keepScale 纹理图片是否缩放(tileTexture为YES时生效)
*/
- (void)renderTexturedLinesWithPoints:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount lineWidth:(CGFloat)lineWidth textureID:(GLuint)textureID strokeColor:(UIColor *)strokeColor looped:(BOOL)looped tileTexture:(BOOL) tileTexture keepScale:(BOOL) keepScale;
/**
*使用OpenGLES 分段纹理绘制线
@param partPt 分段直角坐标点
@param lineWidth OpenGLES支持线宽尺寸
@param textureIndexs 分段纹理索引,使用- (void)loadStrokeTextureImage:(UIImage *)textureImage;加载
@param isFoucs 是否使用分段纹理绘制
*/
-(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs;
/**
*使用OpenGLES 分段纹理绘制线/分段颜色绘制线
@param partPt 分段直角坐标点
@param lineWidth OpenGLES支持线宽尺寸
@param textureIndexs 分段纹理索引,使用- (BOOL)loadStrokeTextureImages:(UIImage *)textureImage;加载
@param isFoucs 是否使用分段纹理绘制
@param tileTexture 是否纹理图片平铺绘制
@param keepScale 纹理图片是否缩放(tileTexture为YES时生效)
*/
-(void)renderTexturedLinesWithPartPoints:(NSArray*)partPt lineWidth:(CGFloat)lineWidth textureIndexs:(NSArray*)textureIndexs isFocus:(BOOL) isFoucs tileTexture:(BOOL) tileTexture keepScale:(BOOL) keepScale;
/**
*使用OpenGLES 绘制区域
@param points 直角坐标点
@param pointCount 点个数
@param fillColor 填充颜色
@param usingTriangleFan YES对应GL_TRIANGLE_FAN, NO对应GL_TRIANGLES
*/
- (void)renderRegionWithPoints:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan;
/**
*使用OpenGLES 绘制区域(支持凹多边形)
@param points 直角坐标点
@param pointCount 点个数
@param fillColor 填充颜色
@param usingTriangleFan YES对应GL_TRIANGLE_FAN, NO对应GL_TRIANGLES
*/
- (void)renderATRegionWithPoint:(BMKMapPoint *)points pointCount:(NSUInteger)pointCount fillColor:(UIColor *)fillColor usingTriangleFan:(BOOL)usingTriangleFan;
/**
*绘制函数(子类需要重载来实现)
*/
- (void)glRender;
///关联的纹理对象ID
@property (nonatomic, readonly) GLuint strokeTextureID;
/**
*加载纹理图片
@param textureImage 图片对象,opengl要求图片宽高必须是2的n次幂,如果图片对象为nil,则清空原有纹理
@return openGL纹理ID, 若纹理加载失败返回0
*/
- (GLuint)loadStrokeTextureImage:(UIImage *)textureImage;
/**
*加载分段纹理绘制 所需的纹理图片
@param textureImages 必须UIImage数组,opengl要求图片宽高必须是2的n次幂,否则,返回NO,无法分段纹理绘制
@return 是否成功
*/
- (BOOL)loadStrokeTextureImages:(NSArray *)textureImages;
/// 使用分段颜色绘制时,必须设置(内容必须为UIColor)
/// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor。使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
@property (nonatomic, strong) NSArray *colors;
@end
@@ -1,31 +0,0 @@
/*
* BMKPinAnnotationView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKAnnotationView.h"
enum {
BMKPinAnnotationColorRed = 0,
BMKPinAnnotationColorGreen,
BMKPinAnnotationColorPurple
};
typedef NSUInteger BMKPinAnnotationColor;
///提供类似大头针效果的annotation view
@interface BMKPinAnnotationView : BMKAnnotationView
{
@private
BMKPinAnnotationColor _pinColor;
BOOL _animatesDrop;
}
///大头针的颜色,有BMKPinAnnotationColorRed, BMKPinAnnotationColorGreen, BMKPinAnnotationColorPurple三种
@property (nonatomic) BMKPinAnnotationColor pinColor;
///动画效果
@property (nonatomic) BOOL animatesDrop;
@end
@@ -1,22 +0,0 @@
/*
* BMKPointAnnotation.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKShape.h"
#import <CoreLocation/CLLocation.h>
///表示一个点的annotation
@interface BMKPointAnnotation : BMKShape {
@package
CLLocationCoordinate2D _coordinate;
}
///该点的坐标
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
@end
@@ -1,48 +0,0 @@
/*
* BMKPolygon.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一个多边形区域
@interface BMKPolygon : BMKMultiPoint <BMKOverlay>
/**
*根据多个点生成多边形
*@param points 直角坐标点数组,这些点将被拷贝到生成的多边形对象中
*@param count 点的个数
*@return 新生成的多边形对象
*/
+ (BMKPolygon *)polygonWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
/**
*根据多个点生成多边形
*@param coords 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中
*@param count 点的个数
*@return 新生成的多边形对象
*/
+ (BMKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
/**
*重新设置多边形顶点
*@param points 指定的直角坐标点数组
*@param count 坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolygonWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
/**
*重新设置多边形顶点
*@param coords 指定的经纬度坐标点数组
*@param count 坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
@end
@@ -1,27 +0,0 @@
/*
* BMKPolygonView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKPolygon.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个多边形View
@interface BMKPolygonView : BMKOverlayGLBasicView
/**
*根据指定的多边形生成一个多边形View
*@param polygon 指定的多边形数据对象
*@return 新生成的多边形View
*/
- (id)initWithPolygon:(BMKPolygon *)polygon;
/// 该View对应的多边形数据
@property (nonatomic, readonly) BMKPolygon *polygon;
@end
@@ -1,97 +0,0 @@
/*
* BMKPolyline.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKMultiPoint.h"
#import "BMKOverlay.h"
/// 此类用于定义一段折线
@interface BMKPolyline : BMKMultiPoint <BMKOverlay>
/**
*根据指定坐标点生成一段折线
*@param points 指定的直角坐标点数组
*@param count 坐标点的个数
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
/**
*根据指定坐标点生成一段折线
*@param coords 指定的经纬度坐标点数组
*@param count 坐标点的个数
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
/**
*重新设置折线坐标点
*@param points 指定的直角坐标点数组
*@param count 坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
/**
*重新设置折线坐标点
*@param coords 指定的经纬度坐标点数组
*@param count 坐标点的个数
*@return 是否设置成功
*/
- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
#pragma mark - 以下方法和属性只适用于分段纹理绘制和分段颜色绘制
///纹理索引数组(颜色索引数组)
@property (nonatomic, strong) NSArray *textureIndex;
/**
*分段纹理绘制/分段颜色绘制,根据指定坐标点生成一段折线
*
*分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray *)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制
*分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
*
*@param points 指定的直角坐标点数组
*@param count 坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithPoints:(BMKMapPoint *)points count:(NSUInteger)count textureIndex:(NSArray*) textureIndex;
/**
*根据指定坐标点生成一段折线
*
*分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray *)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制
*分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
*
*@param coords 指定的经纬度坐标点数组
*@param count 坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 新生成的折线对象
*/
+ (BMKPolyline *)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count textureIndex:(NSArray*) textureIndex;
/**
*重新设置折线坐标点 和 纹理索引
*@param points 指定的直角坐标点数组
*@param count 坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 是否设置成功
*/
- (BOOL)setPolylineWithPoints:(BMKMapPoint *)points count:(NSInteger) count textureIndex:(NSArray*) textureIndex;
/**
*重新设置折线坐标点
*@param coords 指定的经纬度坐标点数组
*@param count 坐标点的个数
*@param textureIndex 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理
*@return 是否设置成功
*/
- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count textureIndex:(NSArray*) textureIndex;
@end
@@ -1,33 +0,0 @@
/*
* BMKPolylineView.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import "BMKPolyline.h"
#import "BMKOverlayGLBasicView.h"
/// 此类用于定义一个折线View
@interface BMKPolylineView : BMKOverlayGLBasicView
/**
*根据指定的折线生成一个折线View
*@param polyline 指定的折线数据对象
*@return 新生成的折线View
*/
- (id)initWithPolyline:(BMKPolyline *)polyline;
/// 该View对应的折线数据对象
@property (nonatomic, readonly) BMKPolyline *polyline;
#pragma mark - 以下方法和属性只适用于分段纹理绘制/分段颜色绘制
/// 是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
@property (nonatomic, assign) BOOL isFocus;
@end
@@ -1,21 +0,0 @@
/*
* BMKShape.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <Foundation/Foundation.h>
#import"BMKAnnotation.h"
/// 该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
@interface BMKShape : NSObject <BMKAnnotation> {
}
/// 要显示的标题
@property (copy) NSString *title;
/// 要显示的副标题
@property (copy) NSString *subtitle;
@end
@@ -1,84 +0,0 @@
//
// BMKTileLayer.h
// MapComponent
//
// Created by wzy on 15/8/7.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKTileLayer_h
#define BMKTileLayer_h
#import "BMKOverlay.h"
/**
@brief 该类是覆盖在球面墨卡托投影上的图片tiles的数据源,是抽象类,不能直接使用该类添加瓦片图,需要使用其子类(BMKURLTileLayer或BMKSyncTileLayer
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKTileLayer : NSObject <BMKOverlay>
/// tileLayer的可见最小Zoom值,默认3
@property (nonatomic, assign) NSInteger minZoom;
/// tileLayer的可见最大Zoom值,默认21,且不能小于minZoom
@property (nonatomic, assign) NSInteger maxZoom;
/// tileOverlay的可渲染区域,默认世界范围
@property (nonatomic) BMKMapRect visibleMapRect;
@end
/**
@brief 通过提供url模板的方法,提供数据源。不应该继承该类,且必须通过 initWithURLTemplate: 来初始化
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKURLTileLayer : BMKTileLayer
/// 同initWithURLTemplate:中的URLTemplate
@property (readonly) NSString *URLTemplate;
/*!
@brief 根据指定的URLTemplate生成tileOverlay
@param URLTemplate是一个包含"{x}","{y}","{z}"的字符串,"{x}","{y}"表示tile的坐标,"{z}"表示当tile显示的级别。"{x}","{y}","{z}"会被tile的坐标值所替换,并生成用来加载tile图片数据的URL 。例如: http://server/path?x={x}&y={y}&z={z}。
@return 以指定的URLTemplate字符串生成tileOverlay
*/
- (id)initWithURLTemplate:(NSString *)URLTemplate;
/**
@brief 清除当前瓦片图层缓存图片
*/
- (BOOL)cleanTileDataCache;
@end
/**
@brief 通过同步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 tileForX:y:zoom: 方法
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKSyncTileLayer : BMKTileLayer
/**
@brief 通过同步方法获取瓦片数据,子类必须实现该方法
这个方法会在多个线程中调用,需要考虑线程安全
@param (x, y, zoom)瓦片坐标
@return (x, y, zoom)所对应瓦片的UIImage对象
*/
- (UIImage *)tileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom;
@end
/**
@brief 通过异步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 loadTileForX:y:zoom:result: 方法
*瓦片图片是jpeg或者png格式,size为256x256
*/
@interface BMKAsyncTileLayer : BMKTileLayer
/**
@brief 通过异步方法获取瓦片数据,子类必须实现该方法
@param (x, y, zoom)瓦片坐标
@return result 用来传入瓦片数据或加载瓦片失败的error访问的回调block
*/
- (void)loadTileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom result:(void (^)(UIImage *tileImage, NSError *error))result;
@end
#endif /* BMKTileLayer_h */
@@ -1,30 +0,0 @@
//
// BMKTileLayerView.h
// MapComponent
//
// Created by wzy on 15/8/7.
// Copyright © 2015年 baidu. All rights reserved.
//
#ifndef BMKTileLayerView_h
#define BMKTileLayerView_h
#import "BMKOverlayView.h"
#import "BMKTileLayer.h"
/// 该类用于定义一个BMKTileLayerView
@interface BMKTileLayerView : BMKOverlayView
/**
*@brief 根据指定的tileLayer生成将tiles显示在地图上的View
*@param tileLayer 制定了覆盖图片,以及图片的覆盖区域
*@return 以tileLayer新生成View
*/
- (id)initWithTileLayer:(BMKTileLayer*) tileLayer;
/// 该View对应的tileLayer数据对象
@property (nonatomic, readonly) BMKTileLayer *tileLayer;
@end
#endif /* BMKTileLayerView_h */
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,106 +0,0 @@
{
"ver":3,
"cities":
[
{"i":131,"n":"北京市","bl": 12893020.92, "bb": 4781550.32, "br": 13022044.92, "bt": 4899310.32},
{"i":289,"n":"上海市","bl": 13478516.92, "bb": 3608446.32, "br": 13566964.92, "bt": 3672830.32},
{"i":257,"n":"广州市","bl": 12574260.92, "bb": 2604350.32, "br": 12640436.92, "bt": 2668222.32},
{"i":340,"n":"深圳市","bl": 12662868.92, "bb": 2556766.32, "br": 12730708.92, "bt": 2599518.32},
{"i":179,"n":"杭州市","bl": 13351892.92, "bb": 3502942.32, "br": 13423700.92, "bt": 3547614.32},
{"i":176,"n":"太原市","bl": 12487124.92, "bb": 4508254.32, "br": 12543796.92, "bt": 4560446.32},
{"i":332,"n":"天津市","bl": 13012180.92, "bb": 4689758.32, "br": 13110484.92, "bt": 4745822.32},
{"i":288,"n":"济南市","bl": 12993108.92, "bb": 4340606.32, "br": 13087956.92, "bt": 4397694.32},
{"i":224,"n":"苏州市","bl": 13377780.92, "bb": 3618878.32, "br": 13451572.92, "bt": 3705534.32},
{"i":194,"n":"厦门市","bl": 13107028.92, "bb": 2778878.32, "br": 13188308.92, "bt": 2834942.32},
{"i":236,"n":"青岛市","bl": 13366836.92, "bb": 4261630.32, "br": 13419476.92, "bt": 4333950.32},
{"i":268,"n":"郑州市","bl": 12628724.92, "bb": 4088862.32, "br": 12685300.92, "bt": 4123422.32},
{"i":75,"n":"成都市","bl": 11550516.92, "bb": 3543262.32, "br": 11622324.92, "bt": 3597790.32},
{"i":218,"n":"武汉市","bl": 12695220.92, "bb": 3523934.32, "br": 12756148.92, "bt": 3578590.32},
{"i":315,"n":"南京市","bl": 13197364.92, "bb": 3725150.32, "br": 13256884.92, "bt": 3782494.32},
{"i":233,"n":"西安市","bl": 12106228.92, "bb": 4019550.32, "br": 12158836.92, "bt": 4062046.32},
{"i":127,"n":"合肥市","bl": 13033076.92, "bb": 3697886.32, "br": 13082996.92, "bt": 3744606.32},
{"i":300,"n":"福州市","bl": 13258484.92, "bb": 2964830.32, "br": 13312756.92, "bt": 3016030.32},
{"i":158,"n":"长沙市","bl": 12562932.92, "bb": 3239966.32, "br": 12607860.92, "bt": 3265502.32},
{"i":150,"n":"石家庄市","bl": 12724788.92, "bb": 4541342.32, "br": 12774580.92, "bt": 4578718.32},
{"i":132,"n":"重庆市","bl": 11840820.92, "bb": 3400990.32, "br": 11881012.92, "bt": 3445534.32},
{"i":104,"n":"昆明市","bl": 11420468.92, "bb": 2843294.32, "br": 11464500.92, "bt": 2877726.32},
{"i":261,"n":"南宁市","bl":12036148.92,"bb":2564894.32,"br":12082612.92,"bt":2609310.32},
{"i":163,"n":"南昌市","bl": 12877940.92, "bb": 3291614.32, "br": 12923508.92, "bt": 3328734.32},
{"i":53,"n":"长春市","bl": 13926516.92, "bb": 5396574.32, "br": 13983348.92, "bt": 5446494.32},
{"i":146,"n":"贵阳市","bl": 11854964.92, "bb": 3024990.32, "br": 11901300.92, "bt": 3072606.32},
{"i":180,"n":"宁波市","bl": 13508084.92, "bb": 3449630.32, "br": 13576052.92, "bt": 3491102.32},
{"i":48,"n":"哈尔滨市","bl": 14051444.92, "bb": 5685534.32, "br": 14123764.92, "bt": 5737886.32},
{"i":92,"n":"乌鲁木齐市","bl": 9718644.92, "bb": 5391262.32, "br": 9779444.92, "bt": 5444894.32},
{"i":317,"n":"无锡市","bl": 13362487.810000, "bb": 3664426.860000, "br": 13422487.810000, "bt": 3704426.860000},
{"i":321,"n":"呼和浩特市","bl": 12400108.610000, "bb": 4938853.060000, "br": 12460108.610000, "bt": 4978853.060000},
{"i":178,"n":"温州市","bl": 13405366.190000, "bb": 3209086.950000, "br": 13465366.190000, "bt": 3249086.950000},
{"i":125,"n":"海口市","bl": 12252102.320000, "bb": 2240885.320000, "br": 12312102.320000, "bt": 2280885.320000},
{"i":316,"n":"徐州市","bl": 13015462.300000, "bb": 4021039.600000, "br": 13075462.300000, "bt": 4061039.600000},
{"i":119,"n":"东莞市","bl": 12634225.340000, "bb": 2600346.880000, "br": 12694225.340000, "bt": 2640346.880000},
{"i":347,"n":"连云港市","bl": 13236519.120000, "bb": 4065375.220000, "br": 13296519.120000, "bt": 4105375.220000},
{"i":138,"n":"佛山市","bl": 12564159.160000, "bb": 2599393.220000, "br": 12624159.160000, "bt": 2639393.220000},
{"i":307,"n":"保定市","bl": 12826963.350000, "bb": 4658360.500000, "br": 12886963.350000, "bt": 4698360.500000},
{"i":36,"n":"兰州市","bl": 11527683.250000, "bb": 4264074.360000, "br": 11587683.250000, "bt": 4304074.360000},
{"i":58,"n":"沈阳市","bl": 13710624.940000, "bb": 5083604.930000, "br": 13770624.940000, "bt": 5123604.930000},
{"i":134,"n":"泉州市","bl": 13172675.600000, "bb": 2825515.500000, "br": 13232675.600000, "bt": 2865515.500000},
{"i":167,"n":"大连市","bl": 13505871.310000, "bb": 4667215.520000, "br": 13565871.310000, "bt": 4707215.520000},
{"i":153,"n":"洛阳市","bl": 12487737.400000, "bb": 4072892.140000, "br": 12547737.400000, "bt": 4112892.140000},
{"i":160,"n":"镇江市","bl": 13267907.460000, "bb": 3747190.940000, "br": 13327907.460000, "bt": 3787190.940000},
{"i":162,"n":"淮安市","bl": 13220523.910000, "bb": 3932219.560000, "br": 13280523.910000, "bt": 3972219.560000},
{"i":349,"n":"九江市","bl": 12883184.520000, "bb": 3426185.890000, "br": 12943184.520000, "bt": 3466185.890000},
{"i":161,"n":"南通市","bl": 13425756.380000, "bb": 3722375.180000, "br": 13485756.380000, "bt": 3762375.180000},
{"i":360,"n":"银川市","bl": 11792979.760000, "bb": 4603825.040000, "br": 11852979.760000, "bt": 4643825.040000},
{"i":142,"n":"桂林市","bl": 12244323.040000, "bb": 2869670.320000, "br": 12304323.040000, "bt": 2909670.320000},
{"i":149,"n":"沧州市","bl": 12979360.980000, "bb": 4574826.050000, "br": 13039360.980000, "bt": 4614826.050000},
{"i":191,"n":"廊坊市","bl": 12961526.930000, "bb": 4748788.230000, "br": 13021526.930000, "bt": 4788788.230000},
{"i":348,"n":"常州市","bl": 13326465.000000, "bb": 3690635.190000, "br": 13386465.000000, "bt": 3730635.190000},
{"i":187,"n":"中山市","bl": 12596223.350000, "bb": 2540577.370000, "br": 12656223.350000, "bt": 2580577.370000},
{"i":287,"n":"潍坊市","bl": 13233041.640000, "bb": 4353827.070000, "br": 13293041.640000, "bt": 4393827.070000},
{"i":305,"n":"柳州市","bl": 12150978.590000, "bb": 2755794.040000, "br": 12210978.590000, "bt": 2795794.040000},
{"i":308,"n":"周口市","bl": 12733375.120000, "bb": 3934511.680000, "br": 12793375.120000, "bt": 3974511.680000},
{"i":333,"n":"金华市","bl": 13289808.730000, "bb": 3347777.040000, "br": 13349808.730000, "bt": 3387777.040000},
{"i":234,"n":"临沂市","bl": 13143777.400000, "bb": 4128945.460000, "br": 13203777.400000, "bt": 4168945.460000},
{"i":55,"n":"吉林市","bl": 14059253.890000, "bb": 5395759.910000, "br": 14119253.890000, "bt": 5435759.910000},
{"i":334,"n":"嘉兴市","bl": 13413135.590000, "bb": 3561369.510000, "br": 13473135.590000, "bt": 3601369.510000},
{"i":301,"n":"惠州市","bl": 12706274.780000, "bb": 2608830.720000, "br": 12766274.780000, "bt": 2648830.720000},
{"i":66,"n":"西宁市","bl": 11298876.410000, "bb": 4343410.220000, "br": 11358876.410000, "bt": 4383410.220000},
{"i":326,"n":"烟台市","bl": 13474264.830000, "bb": 4467886.610000, "br": 13534264.830000, "bt": 4507886.610000},
{"i":265,"n":"唐山市","bl": 13126264.690000, "bb": 4767766.500000, "br": 13186264.690000, "bt": 4807766.500000},
{"i":244,"n":"台州市","bl": 13488854.290000, "bb": 3292807.610000, "br": 13548854.290000, "bt": 3332807.610000},
{"i":151,"n":"邯郸市","bl": 12714293.860000, "bb": 4339069.600000, "br": 12774293.860000, "bt": 4379069.600000},
{"i":293,"n":"绍兴市","bl": 13394438.130000, "bb": 3462292.230000, "br": 13454438.130000, "bt": 3502292.230000},
{"i":157,"n":"荆州市","bl": 12464843.300000, "bb": 3504596.710000, "br": 12524843.300000, "bt": 3544596.710000},
{"i":140,"n":"珠海市","bl": 12611851.330000, "bb": 2506069.550000, "br": 12671851.330000, "bt": 2546069.550000},
{"i":152,"n":"新乡市","bl": 12650840.640000, "bb": 4160790.270000, "br": 12710840.640000, "bt": 4200790.270000},
{"i":223,"n":"盐城市","bl": 13345056.760000, "bb": 3902107.560000, "br": 13405056.760000, "bt": 3942107.560000},
{"i":220,"n":"岳阳市","bl": 12565513.920000, "bb": 3382693.340000, "br": 12625513.920000, "bt": 3422693.340000},
{"i":303,"n":"汕头市","bl": 12964315.300000, "bb": 2641400.920000, "br": 13024315.300000, "bt": 2681400.920000},
{"i":309,"n":"南阳市","bl": 12498348.170000, "bb": 3853326.130000, "br": 12558348.170000, "bt": 3893326.130000},
{"i":286,"n":"济宁市","bl": 12950082.650000, "bb": 4173680.010000, "br": 13010082.650000, "bt": 4213680.010000},
{"i":277,"n":"宿迁市","bl": 13138893.220000, "bb": 3978280.610000, "br": 13198893.220000, "bt": 4018280.610000},
{"i":346,"n":"扬州市","bl": 13264784.040000, "bb": 3773942.000000, "br": 13324784.040000, "bt": 3813942.000000},
{"i":302,"n":"江门市","bl": 12557936.300000, "bb": 2544165.550000, "br": 12617936.300000, "bt": 2584165.550000},
{"i":199,"n":"阳江市","bl": 12435359.340000, "bb": 2460045.770000, "br": 12495359.340000, "bt": 2500045.770000},
{"i":354,"n":"淄博市","bl": 13112425.710000, "bb": 4366080.450000, "br": 13172425.710000, "bt": 4406080.450000},
{"i":338,"n":"肇庆市","bl": 12491313.980000, "bb": 2604634.130000, "br": 12551313.980000, "bt": 2644634.130000},
{"i":365,"n":"赣州市","bl": 12764746.090000, "bb": 2941136.590000, "br": 12824746.090000, "bt": 2981136.590000},
{"i":266,"n":"邢台市","bl": 12718500.990000, "bb": 4402806.700000, "br": 12778500.990000, "bt": 4442806.700000},
{"i":159,"n":"衡阳市","bl": 12502909.750000, "bb": 3071248.080000, "br": 12562909.750000, "bt": 3111248.080000},
{"i":238,"n":"晋中市","bl": 12520130.570000, "bb": 4489828.420000, "br": 12580130.570000, "bt": 4529828.420000},
{"i":267,"n":"安阳市","bl": 12699723.380000, "bb": 4270388.550000, "br": 12759723.380000, "bt": 4310388.550000},
{"i":240,"n":"绵阳市","bl": 11625891.880000, "bb": 3655935.190000, "br": 11685891.880000, "bt": 3695935.190000},
{"i":325,"n":"泰安市","bl": 13004475.870000, "bb": 4281068.220000, "br": 13064475.870000, "bt": 4321068.220000},
{"i":276,"n":"泰州市","bl": 13319534.730000, "bb": 3782809.030000, "br": 13379534.730000, "bt": 3822809.030000},
{"i":155,"n":"许昌市","bl": 12642226.900000, "bb": 3988261.730000, "br": 12702226.900000, "bt": 4028261.730000},
{"i":328,"n":"运城市","bl": 12327360.880000, "bb": 4124403.790000, "br": 12387360.880000, "bt": 4164403.790000},
{"i":264,"n":"张家口市","bl": 12760056.420000, "bb": 4936342.980000, "br": 12820056.420000, "bt": 4976342.980000},
{"i":353,"n":"菏泽市","bl": 12823462.270000, "bb": 4154706.020000, "br": 12883462.270000, "bt": 4194706.020000},
{"i":237,"n":"朔州市","bl": 12491344.520000, "bb": 4722817.090000, "br": 12551344.520000, "bt": 4762817.090000},
{"i":211,"n":"焦作市","bl": 12572821.050000, "bb": 4150929.200000, "br": 12632821.050000, "bt": 4190929.200000},
{"i":366,"n":"聊城市","bl": 12881739.700000, "bb": 4317899.460000, "br": 12941739.700000, "bt": 4357899.460000},
{"i":337,"n":"铜陵市","bl": 13085741.520000, "bb": 3582909.300000, "br": 13145741.520000, "bt": 3622909.300000},
{"i":368,"n":"临汾市","bl": 12386576.140000, "bb": 4268945.310000, "br": 12446576.140000, "bt": 4308945.310000},
{"i":198,"n":"湛江市","bl": 12255916.770000, "bb": 2386974.260000, "br": 12315916.770000, "bt": 2426974.260000},
{"i":213,"n":"平顶山市","bl": 12582730.050000, "bb": 3950697.960000, "br": 12642730.050000, "bt": 3990697.960000}
]
}
@@ -1 +0,0 @@
{"cities":[{"4k":0,"bb":4757504,"bl":12849152,"br":13082624,"bt":4994048,"c":[],"cl":2,"dom":1,"frc":1,"h":"bj","i":131,"its":1,"l":12,"n":"北京市","p":"beijing_131","s":45521986,"v":320,"x":12959247,"y":4825323},{"4k":0,"bb":3568640,"bl":13454336,"br":13582336,"bt":3724288,"c":[],"cl":2,"dom":1,"frc":1,"h":"sh","i":289,"its":1,"l":12,"n":"上海市","p":"shanghai_289","s":41108081,"v":320,"x":13523376,"y":3641154},{"4k":0,"bb":2556928,"bl":12574720,"br":12698624,"bt":2728960,"c":[],"cl":2,"dom":1,"frc":1,"h":"gz","i":257,"its":1,"l":12,"n":"广州市","p":"guangzhou_257","s":30107772,"v":320,"x":12609501,"y":2631394},{"4k":0,"bb":3640320,"bl":13176832,"br":13275136,"bt":3822592,"c":[],"cl":2,"dom":1,"frc":1,"h":"nj","i":315,"its":1,"l":12,"n":"南京市","p":"nanjing_315","s":21777532,"v":320,"x":13225203,"y":3748900},{"4k":0,"bb":3379200,"bl":13174784,"br":13440000,"bt":3556352,"c":[],"cl":2,"dom":1,"frc":1,"h":"hz","i":179,"its":1,"l":12,"n":"杭州市","p":"hangzhou_179","s":23401139,"v":320,"x":13376654,"y":3517776},{"4k":0,"bb":3493888,"bl":11468800,"br":11677696,"bt":3667968,"c":[],"cl":2,"dom":1,"frc":1,"h":"cd","i":75,"its":1,"l":12,"n":"成都市","p":"chengdu_75","s":28504148,"v":320,"x":11585284,"y":3567299},{"4k":0,"bb":2523136,"bl":12654592,"br":12764160,"bt":2598912,"c":[],"cl":2,"dom":1,"frc":1,"h":"sz","i":340,"its":1,"l":12,"n":"深圳市","p":"shenzhen_340","s":28685707,"v":320,"x":12697742,"y":2560988},{"bb":2511872,"bl":12670976,"br":12747776,"bt":2564096,"c":[],"cl":2,"dom":1,"frc":2,"gs":63494441,"gv":75,"h":"xgtbxz","i":2912,"its":0,"l":11,"n":"香港特别行政区","p":"xianggangtebiexingzheng_2912","s":63494441,"v":75,"x":12709499,"y":2529064},{"bb":2507776,"bl":12639232,"br":12648448,"bt":2522112,"c":[],"cl":2,"dom":1,"frc":2,"gs":22632328,"gv":75,"h":"amtbxz","i":2911,"its":0,"l":13,"n":"澳门特别行政区","p":"aomentebiexingzheng_2911","s":22632328,"v":75,"x":12640429,"y":2518425}],"dver":333,"fver":1}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"std": 10, "c": 522, "stg": 11, "assets": [{"path": "mode_1/bus.sty", "version": 54}, {"path": "mode_1/car.sty", "version": 48}, {"path": "mode_1/cycle.sty", "version": 301}, {"path": "mode_1/map.rs", "version": 36}, {"path": "mode_1/map.sty", "version": 496}, {"path": "mode_1/reduct.rs", "version": 12}, {"path": "mode_1/reduct.sty", "version": 323}, {"path": "mode_1/traffic.rs", "version": 291}, {"path": "mode_1/traffic.sty", "version": 1116}, {"path": "mode_2/map.sty", "version": 35}, {"path": "mode_4/map.rs", "version": 9}, {"path": "mode_4/map.sty", "version": 476}], "stc": 1253, "h": 456, "idrresver": 133, "sc": 20160613, "gd": 79, "didr": 1194, "idrcfgver": 1135, "idrs": 14, "d": 522}
@@ -1,157 +0,0 @@
{"citys":[
{"bb":2521743,"bl":12636529,"br":12644693,"bt":2529413,"i":140,"n":"广东省-珠海市"},
{"bb":3527130,"bl":12706616,"br":12743019,"bt":3595932,"i":218,"n":"湖北省-武汉市"},
{"bb":4275086,"bl":13190039,"br":13294707,"bt":4397364,"i":287,"n":"山东省-潍坊市"},
{"bb":3304221,"bl":12890531,"br":12910477,"bt":3338311,"i":163,"n":"江西省-南昌市"},
{"bb":3852302,"bl":13336346,"br":13394828,"bt":3935484,"i":223,"n":"江苏省-盐城市"},
{"bb":4791047,"bl":11891862,"br":11892309,"bt":4791584,"i":123,"n":"内蒙古自治区-乌海市"},
{"bb":4948459,"bl":12789601,"br":12790946,"bt":4958900,"i":264,"n":"河北省-张家口市"},
{"bb":3356523,"bl":12876437,"br":12923113,"bt":3447675,"i":349,"n":"江西省-九江市"},
{"bb":4618696,"bl":11821341,"br":11832385,"bt":4623402,"i":360,"n":"宁夏回族自治区-银川市"},
{"bb":3052009,"bl":11323053,"br":11323150,"bt":3052163,"i":81,"n":"四川省-攀枝花市"},
{"bb":3607062,"bl":11596828,"br":11623998,"bt":3628023,"i":74,"n":"四川省-德阳市"},
{"bb":3669880,"bl":11658160,"br":11662033,"bt":3672163,"i":240,"n":"四川省-绵阳市"},
{"bb":3550018,"bl":11537534,"br":11607721,"bt":3610240,"i":75,"n":"四川省-成都市"},
{"bb":3796716,"bl":11780842,"br":11787354,"bt":3798733,"i":329,"n":"四川省-广元市"},
{"bb":4337790,"bl":12912536,"br":12912855,"bt":4339636,"i":366,"n":"山东省-聊城市"},
{"bb":2454949,"bl":12348740,"br":12351009,"bt":2455653,"i":139,"n":"广东省-茂名市"},
{"bb":5405222,"bl":9754780,"br":9754976,"bt":5405378,"i":92,"n":"新疆维吾尔自治区-乌鲁木齐市"},
{"bb":2433348,"bl":12147231,"br":12147389,"bt":2433497,"i":295,"n":"广西壮族自治区-北海市"},
{"bb":2628381,"bl":12200925,"br":12201207,"bt":2628900,"i":341,"n":"广西壮族自治区-贵港市"},
{"bb":2773447,"bl":12180362,"br":12184034,"bt":2776702,"i":305,"n":"广西壮族自治区-柳州市"},
{"bb":2786227,"bl":12419017,"br":12419137,"bt":2786391,"i":260,"n":"广西壮族自治区-贺州市"},
{"bb":2491207,"bl":12092552,"br":12093347,"bt":2493227,"i":145,"n":"广西壮族自治区-钦州市"},
{"bb":2590032,"bl":12053096,"br":12069583,"bt":2600266,"i":261,"n":"广西壮族自治区-南宁市"},
{"bb":2887725,"bl":12278483,"br":12281780,"bt":2892368,"i":142,"n":"广西壮族自治区-桂林市"},
{"bb":4955113,"bl":12431309,"br":12439334,"bt":4960956,"i":321,"n":"内蒙古自治区-呼和浩特市"},
{"bb":6345148,"bl":13072844,"br":13073236,"bt":6345462,"i":61,"n":"内蒙古自治区-呼伦贝尔市"},
{"bb":4990069,"bl":12592106,"br":12592285,"bt":4990204,"i":168,"n":"内蒙古自治区-乌兰察布市"},
{"bb":4947775,"bl":11956262,"br":11958446,"bt":4949579,"i":169,"n":"内蒙古自治区-巴彦淖尔市"},
{"bb":4778002,"bl":12217855,"br":12246820,"bt":4813085,"i":283,"n":"内蒙古自治区-鄂尔多斯市"},
{"bb":4923267,"bl":12225069,"br":12249286,"bt":4936424,"i":229,"n":"内蒙古自治区-包头市"},
{"bb":5170734,"bl":13238319,"br":13238738,"bt":5171113,"i":297,"n":"内蒙古自治区-赤峰市"},
{"bb":5426862,"bl":12922482,"br":12923575,"bt":5428073,"i":63,"n":"内蒙古自治区-锡林郭勒盟"},
{"bb":5702412,"bl":14091136,"br":14104570,"bt":5715202,"i":48,"n":"黑龙江省-哈尔滨市"},
{"bb":5845542,"bl":13926100,"br":13926598,"bt":5845973,"i":50,"n":"黑龙江省-大庆市"},
{"bb":3207014,"bl":11099787,"br":11099850,"bt":3207075,"i":115,"n":"云南省-迪庆藏族自治州"},
{"bb":4086393,"bl":13267591,"br":13267744,"bt":4086520,"i":347,"n":"江苏省-连云港市"},
{"bb":3392072,"bl":13048485,"br":13049434,"bt":3392699,"i":225,"n":"江西省-景德镇市"},
{"bb":3969832,"bl":12562386,"br":12614645,"bt":4028604,"i":213,"n":"河南省-平顶山市"},
{"bb":4537682,"bl":12741220,"br":12764689,"bt":4575193,"i":150,"n":"河北省-石家庄市"},
{"bb":3696668,"bl":13192783,"br":13193337,"bt":3700308,"i":358,"n":"安徽省-马鞍山市"},
{"bb":4796992,"bl":13266340,"br":13332691,"bt":4839496,"i":148,"n":"河北省-秦皇岛市"},
{"bb":5112739,"bl":13793419,"br":13793793,"bt":5113165,"i":184,"n":"辽宁省-抚顺市"},
{"bb":2865049,"bl":13027531,"br":13027848,"bt":2865190,"i":193,"n":"福建省-龙岩市"},
{"bb":3204806,"bl":12795783,"br":12795916,"bt":3204919,"i":164,"n":"江西省-新余市"},
{"bb":4691272,"bl":13032908,"br":13104173,"bt":4748502,"i":332,"n":"天津市-天津市"},
{"bb":5167523,"bl":13774211,"br":13787926,"bt":5177785,"i":60,"n":"辽宁省-铁岭市"},
{"bb":3488881,"bl":13326393,"br":13408164,"bt":3536951,"i":179,"n":"浙江省-杭州市"},
{"bb":3716512,"bl":13248134,"br":13340225,"bt":3772481,"i":160,"n":"江苏省-镇江市"},
{"bb":5414532,"bl":14091186,"br":14091560,"bt":5415314,"i":55,"n":"吉林省-吉林市"},
{"bb":4734300,"bl":13131761,"br":13188308,"bt":4868439,"i":265,"n":"河北省-唐山市"},
{"bb":4849552,"bl":12613435,"br":12613574,"bt":4849720,"i":355,"n":"山西省-大同市"},
{"bb":3565809,"bl":12389026,"br":12398900,"bt":3573668,"i":270,"n":"湖北省-宜昌市"},
{"bb":3574290,"bl":13480966,"br":13561930,"bt":3691836,"i":289,"n":"上海市-上海市"},
{"bb":3789734,"bl":13286625,"br":13299061,"bt":3844878,"i":346,"n":"江苏省-扬州市"},
{"bb":3652849,"bl":13214228,"br":13252441,"bt":3786221,"i":315,"n":"江苏省-南京市"},
{"bb":3478355,"bl":13593355,"br":13617454,"bt":3484936,"i":245,"n":"浙江省-舟山市"},
{"bb":4305001,"bl":13100634,"br":13100912,"bt":4309273,"i":124,"n":"山东省-莱芜市"},
{"bb":3238216,"bl":12569902,"br":12649824,"bt":3260551,"i":158,"n":"湖南省-长沙市"},
{"bb":3203018,"bl":12587468,"br":12597602,"bt":3209218,"i":222,"n":"湖南省-株洲市"},
{"bb":5077825,"bl":13731260,"br":13749941,"bt":5121310,"i":58,"n":"辽宁省-沈阳市"},
{"bb":2960635,"bl":12795397,"br":12795614,"bt":2960797,"i":365,"n":"江西省-赣州市"},
{"bb":2553554,"bl":12669597,"br":12728039,"bt":2589794,"i":340,"n":"广东省-深圳市"},
{"bb":3861940,"bl":13065126,"br":13065476,"bt":3862133,"i":126,"n":"安徽省-蚌埠市"},
{"bb":2622645,"bl":12521060,"br":12550046,"bt":2654414,"i":338,"n":"广东省-肇庆市"},
{"bb":4299423,"bl":12999677,"br":13042334,"bt":4303466,"i":325,"n":"山东省-泰安市"},
{"bb":3428296,"bl":13385613,"br":13457111,"bt":3495580,"i":293,"n":"浙江省-绍兴市"},
{"bb":3177635,"bl":13422861,"br":13449765,"bt":3230896,"i":178,"n":"浙江省-温州市"},
{"bb":2659275,"bl":12993669,"br":12997463,"bt":2661424,"i":303,"n":"广东省-汕头市"},
{"bb":2590213,"bl":12730639,"br":12743727,"bt":2630014,"i":301,"n":"广东省-惠州市"},
{"bb":4344009,"bl":13120612,"br":13170322,"bt":4408571,"i":354,"n":"山东省-淄博市"},
{"bb":4108973,"bl":12730348,"br":12730821,"bt":4109122,"i":210,"n":"河南省-开封市"},
{"bb":4407670,"bl":12912609,"br":13049791,"bt":4516609,"i":372,"n":"山东省-德州市"},
{"bb":2582084,"bl":12644732,"br":12714491,"bt":2628446,"i":119,"n":"广东省-东莞市"},
{"bb":3526128,"bl":12493446,"br":12493744,"bt":3526471,"i":157,"n":"湖北省-荆州市"},
{"bb":2705455,"bl":12767850,"br":12768696,"bt":2707511,"i":200,"n":"广东省-河源市"},
{"bb":4799843,"bl":12911156,"br":13037613,"bt":4906211,"i":131,"n":"北京市-北京市"},
{"bb":2844916,"bl":11409472,"br":11459615,"bt":2870947,"i":104,"n":"云南省-昆明市"},
{"bb":3763267,"bl":13341471,"br":13361425,"bt":3863271,"i":276,"n":"江苏省-泰州市"},
{"bb":3509051,"bl":12809000,"br":12813148,"bt":3514024,"i":311,"n":"湖北省-黄石市"},
{"bb":4112232,"bl":13054210,"br":13059605,"bt":4113572,"i":172,"n":"山东省-枣庄市"},
{"bb":4079053,"bl":11769417,"br":11789704,"bt":4083410,"i":196,"n":"甘肃省-天水市"},
{"bb":4050384,"bl":12102827,"br":12108681,"bt":4064914,"i":323,"n":"陕西省-咸阳市"},
{"bb":4535789,"bl":12923254,"br":13064395,"bt":4654095,"i":149,"n":"河北省-沧州市"},
{"bb":5415303,"bl":13937779,"br":13959668,"bt":5427313,"i":53,"n":"吉林省-长春市"},
{"bb":5003079,"bl":13587899,"br":13593683,"bt":5012719,"i":228,"n":"辽宁省-盘锦市"},
{"bb":4145139,"bl":13169749,"br":13175035,"bt":4152928,"i":234,"n":"山东省-临沂市"},
{"bb":4998894,"bl":13484894,"br":13489515,"bt":5002871,"i":166,"n":"辽宁省-锦州市"},
{"bb":3598889,"bl":13404612,"br":13487529,"bt":3735367,"i":224,"n":"江苏省-苏州市"},
{"bb":2835999,"bl":13199589,"br":13203748,"bt":2855141,"i":134,"n":"福建省-泉州市"},
{"bb":2653447,"bl":12931872,"br":12932137,"bt":2653679,"i":259,"n":"广东省-揭阳市"},
{"bb":3666171,"bl":13300965,"br":13356547,"bt":3722289,"i":348,"n":"江苏省-常州市"},
{"bb":4473807,"bl":13191176,"br":13211172,"bt":4479691,"i":174,"n":"山东省-东营市"},
{"bb":3601203,"bl":13173484,"br":13181193,"bt":3656532,"i":129,"n":"安徽省-芜湖市"},
{"bb":4675535,"bl":13528482,"br":13557968,"bt":4710202,"i":167,"n":"辽宁省-大连市"},
{"bb":3342019,"bl":13298093,"br":13385859,"bt":3412907,"i":333,"n":"浙江省-金华市"},
{"bb":2565026,"bl":12577247,"br":12589564,"bt":2586470,"i":302,"n":"广东省-江门市"},
{"bb":4139749,"bl":12949022,"br":13023028,"bt":4215506,"i":286,"n":"山东省-济宁市"},
{"bb":3047606,"bl":11877369,"br":11890125,"bt":3052161,"i":146,"n":"贵州省-贵阳市"},
{"bb":3203783,"bl":12734254,"br":12734589,"bt":3204049,"i":278,"n":"江西省-宜春市"},
{"bb":2587044,"bl":12565652,"br":12612286,"bt":2639815,"i":138,"n":"广东省-佛山市"},
{"bb":2400116,"bl":12275244,"br":12292804,"bt":2448849,"i":198,"n":"广东省-湛江市"},
{"bb":2790632,"bl":13140053,"br":13156436,"bt":2814121,"i":194,"n":"福建省-厦门市"},
{"bb":4258074,"bl":13353843,"br":13417549,"bt":4394804,"i":236,"n":"山东省-青岛市"},
{"bb":3539934,"bl":12789264,"br":12805639,"bt":3634786,"i":271,"n":"湖北省-黄冈市"},
{"bb":4518869,"bl":12525445,"br":12539608,"bt":4537742,"i":176,"n":"山西省-太原市"},
{"bb":3644700,"bl":13338760,"br":13410637,"bt":3731365,"i":317,"n":"江苏省-无锡市"},
{"bb":4435721,"bl":13587884,"br":13635133,"bt":4487593,"i":175,"n":"山东省-威海市"},
{"bb":3259492,"bl":13028660,"br":13028853,"bt":3259727,"i":279,"n":"江西省-鹰潭市"},
{"bb":3601682,"bl":13115815,"br":13118532,"bt":3604902,"i":337,"n":"安徽省-铜陵市"},
{"bb":3400579,"bl":12591841,"br":12603364,"bt":3403134,"i":220,"n":"湖南省-岳阳市"},
{"bb":3757653,"bl":12699641,"br":12773601,"bt":3787585,"i":214,"n":"河南省-信阳市"},
{"bb":2050684,"bl":12180053,"br":12218401,"bt":2068379,"i":121,"n":"海南省-三亚市"},
{"bb":4357524,"bl":13012985,"br":13049377,"bt":4393720,"i":288,"n":"山东省-济南市"},
{"bb":4039348,"bl":13043276,"br":13052901,"bt":4045847,"i":316,"n":"江苏省-徐州市"},
{"bb":4466450,"bl":13136403,"br":13139105,"bt":4467579,"i":235,"n":"山东省-滨州市"},
{"bb":3749173,"bl":12483347,"br":12494432,"bt":3754156,"i":156,"n":"湖北省-襄阳市"},
{"bb":4281756,"bl":11535981,"br":11564035,"bt":4290003,"i":36,"n":"甘肃省-兰州市"},
{"bb":2478665,"bl":12464890,"br":12465233,"bt":2478788,"i":199,"n":"广东省-阳江市"},
{"bb":2909266,"bl":13247302,"br":13247675,"bt":2909594,"i":195,"n":"福建省-莆田市"},
{"bb":3285263,"bl":13126494,"br":13133363,"bt":3286223,"i":364,"n":"江西省-上饶市"},
{"bb":4051723,"bl":11927734,"br":11954843,"bt":4055540,"i":171,"n":"陕西省-宝鸡市"},
{"bb":4026329,"bl":12122462,"br":12134828,"bt":4056242,"i":233,"n":"陕西省-西安市"},
{"bb":4935470,"bl":13607896,"br":13608922,"bt":4936668,"i":281,"n":"辽宁省-营口市"},
{"bb":4675099,"bl":12854566,"br":12869812,"bt":4680394,"i":307,"n":"河北省-保定市"},
{"bb":4854894,"bl":13844932,"br":13848679,"bt":4858477,"i":282,"n":"辽宁省-丹东市"},
{"bb":2790081,"bl":13098085,"br":13115201,"bt":2798347,"i":255,"n":"福建省-漳州市"},
{"bb":3872851,"bl":12530861,"br":12531072,"bt":3873005,"i":309,"n":"河南省-南阳市"},
{"bb":4193489,"bl":13299086,"br":13307157,"bt":4197734,"i":173,"n":"山东省-日照市"},
{"bb":3577158,"bl":13412579,"br":13448829,"bt":3580587,"i":334,"n":"浙江省-嘉兴市"},
{"bb":4361269,"bl":11327803,"br":11330709,"bt":4363317,"i":66,"n":"青海省-西宁市"},
{"bb":4084958,"bl":12513944,"br":12519996,"bt":4095327,"i":153,"n":"河南省-洛阳市"},
{"bb":3716524,"bl":13411213,"br":13543891,"bt":3812000,"i":161,"n":"江苏省-南通市"},
{"bb":2590954,"bl":12598509,"br":12672841,"bt":2672358,"i":257,"n":"广东省-广州市"},
{"bb":3061300,"bl":13307685,"br":13308083,"bt":3061571,"i":192,"n":"福建省-宁德市"},
{"bb":3939594,"bl":13250767,"br":13264890,"bt":3952492,"i":162,"n":"江苏省-淮安市"},
{"bb":3404095,"bl":11826382,"br":12066229,"bt":3587135,"i":132,"n":"重庆市-重庆市"},
{"bb":3118760,"bl":12800735,"br":12800923,"bt":3118914,"i":318,"n":"江西省-吉安市"},
{"bb":3882855,"bl":11915124,"br":11915578,"bt":3883524,"i":352,"n":"陕西省-汉中市"},
{"bb":4101709,"bl":12646756,"br":12666984,"bt":4111212,"i":268,"n":"河南省-郑州市"},
{"bb":3392926,"bl":13485188,"br":13567655,"bt":3525038,"i":180,"n":"浙江省-宁波市"},
{"bb":5001428,"bl":13692398,"br":13692509,"bt":5001585,"i":320,"n":"辽宁省-鞍山市"},
{"bb":3460579,"bl":12722695,"br":12728898,"bt":3466940,"i":362,"n":"湖北省-咸宁市"},
{"bb":4769904,"bl":12989988,"br":13005513,"bt":4834853,"i":191,"n":"河北省-廊坊市"},
{"bb":3707453,"bl":13021544,"br":13077331,"bt":3739673,"i":127,"n":"安徽省-合肥市"},
{"bb":4328254,"bl":12713178,"br":12749295,"bt":4371287,"i":151,"n":"河北省-邯郸市"},
{"bb":2945711,"bl":13270470,"br":13291558,"bt":2995111,"i":300,"n":"福建省-福州市"},
{"bb":2251569,"bl":12281702,"br":12298297,"bt":2263763,"i":125,"n":"海南省-海口市"},
{"bb":2556005,"bl":12600200,"br":12626685,"bt":2577258,"i":187,"n":"广东省-中山市"},
{"bb":3966715,"bl":13168130,"br":13212300,"bt":3999787,"i":277,"n":"江苏省-宿迁市"},
{"bb":3183089,"bl":12674161,"br":12674806,"bt":3184398,"i":350,"n":"江西省-萍乡市"},
{"bb":4928581,"bl":13438927,"br":13455690,"bt":4949446,"i":319,"n":"辽宁省-葫芦岛市"},
{"bb":4422186,"bl":12742242,"br":12746942,"bt":4424899,"i":266,"n":"河北省-邢台市"},
{"bb":4408531,"bl":13352522,"br":13538768,"bt":4527984,"i":326,"n":"山东省-烟台市"},
{"bb":3245675,"bl":13473870,"br":13519294,"bt":3373843,"i":244,"n":"浙江省-台州市"},
{"bb":2772752,"bl":12928590,"br":12928829,"bt":2772980,"i":141,"n":"广东省-梅州市"}
],"dver":1135,"fver":1000}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Some files were not shown because too many files have changed in this diff Show More