├── .gitignore
├── EasyMap
├── AMapManager.swift
├── BMapManager.swift
└── MapManager.swift
├── EasyMapDemo
├── EasyMapDemo.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcuserdata
│ │ │ └── ghy.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcuserdata
│ │ └── ghy.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ ├── EasyMapDemo.xcscheme
│ │ └── xcschememanagement.plist
└── EasyMapDemo
│ ├── AMap
│ ├── AMapFoundationKit.framework
│ │ ├── 1.3.3.3c27c01
│ │ ├── AMapFoundationKit
│ │ └── Headers
│ │ │ ├── AMapFoundationKit.h
│ │ │ ├── AMapFoundationVersion.h
│ │ │ ├── AMapServices.h
│ │ │ ├── AMapURLSearch.h
│ │ │ ├── AMapURLSearchConfig.h
│ │ │ ├── AMapURLSearchType.h
│ │ │ └── AMapUtility.h
│ ├── AMapLocationKit.framework
│ │ ├── 2.3.0.2c6b5d0
│ │ ├── AMapLocationKit
│ │ └── Headers
│ │ │ ├── AMapGeoFenceError.h
│ │ │ ├── AMapGeoFenceManager.h
│ │ │ ├── AMapGeoFenceRegionObj.h
│ │ │ ├── AMapLocationCommonObj.h
│ │ │ ├── AMapLocationKit.h
│ │ │ ├── AMapLocationManager.h
│ │ │ ├── AMapLocationRegionObj.h
│ │ │ └── AMapLocationVersion.h
│ ├── AMapSearchKit.framework
│ │ ├── 4.4.1.d4983af
│ │ ├── AMapSearchKit
│ │ └── Headers
│ │ │ ├── AMapCommonObj.h
│ │ │ ├── AMapNearbySearchManager.h
│ │ │ ├── AMapNearbyUploadInfo.h
│ │ │ ├── AMapSearchAPI.h
│ │ │ ├── AMapSearchError.h
│ │ │ ├── AMapSearchKit.h
│ │ │ ├── AMapSearchObj.h
│ │ │ └── AMapSearchVersion.h
│ └── MAMapKit.framework
│ │ ├── 4.5.0.7fd5a81
│ │ ├── AMap.bundle
│ │ └── images
│ │ │ ├── greenPin.png
│ │ │ ├── greenPin@2x.png
│ │ │ ├── greenPin@3x.png
│ │ │ ├── greenPin_lift.png
│ │ │ ├── greenPin_lift@2x.png
│ │ │ ├── greenPin_lift@3x.png
│ │ │ ├── pin_shadow.png
│ │ │ ├── pin_shadow@2x.png
│ │ │ ├── pin_shadow@3x.png
│ │ │ ├── purplePin.png
│ │ │ ├── purplePin@2x.png
│ │ │ ├── purplePin@3x.png
│ │ │ ├── purplePin_lift.png
│ │ │ ├── purplePin_lift@2x.png
│ │ │ ├── purplePin_lift@3x.png
│ │ │ ├── redPin.png
│ │ │ ├── redPin@2x.png
│ │ │ ├── redPin@3x.png
│ │ │ ├── redPin_lift.png
│ │ │ ├── redPin_lift@2x.png
│ │ │ └── redPin_lift@3x.png
│ │ ├── Headers
│ │ ├── MAAnnotation.h
│ │ ├── MAAnnotationView.h
│ │ ├── MACircle.h
│ │ ├── MACircleRenderer.h
│ │ ├── MACircleView.h
│ │ ├── MAGeodesicPolyline.h
│ │ ├── MAGeometry.h
│ │ ├── MAGroundOverlay.h
│ │ ├── MAGroundOverlayRenderer.h
│ │ ├── MAGroundOverlayView.h
│ │ ├── MAHeatMapTileOverlay.h
│ │ ├── MAMapKit.h
│ │ ├── MAMapVersion.h
│ │ ├── MAMapView.h
│ │ ├── MAMultiColoredPolylineRenderer.h
│ │ ├── MAMultiPoint.h
│ │ ├── MAMultiPolyline.h
│ │ ├── MAOverlay.h
│ │ ├── MAOverlayPathRenderer.h
│ │ ├── MAOverlayPathView.h
│ │ ├── MAOverlayRenderer.h
│ │ ├── MAOverlayView.h
│ │ ├── MAPinAnnotationView.h
│ │ ├── MAPointAnnotation.h
│ │ ├── MAPolygon.h
│ │ ├── MAPolygonRenderer.h
│ │ ├── MAPolygonView.h
│ │ ├── MAPolyline.h
│ │ ├── MAPolylineRenderer.h
│ │ ├── MAPolylineView.h
│ │ ├── MAShape.h
│ │ ├── MATileOverlay.h
│ │ ├── MATileOverlayRenderer.h
│ │ ├── MATileOverlayView.h
│ │ ├── MAUserLocation.h
│ │ └── MAUserLocationRepresentation.h
│ │ └── MAMapKit
│ ├── AMapViewController.swift
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
│ ├── BMap
│ ├── BaiduMapAPI_Base.framework
│ │ ├── BaiduMapAPI_Base
│ │ ├── Headers
│ │ │ ├── BMKBaseComponent.h
│ │ │ ├── BMKGeneralDelegate.h
│ │ │ ├── BMKMapManager.h
│ │ │ ├── BMKTypes.h
│ │ │ ├── BMKUserLocation.h
│ │ │ └── BMKVersion.h
│ │ └── readme.txt
│ ├── BaiduMapAPI_Cloud.framework
│ │ ├── BaiduMapAPI_Cloud
│ │ ├── Headers
│ │ │ ├── BMKCloudPOIList.h
│ │ │ ├── BMKCloudSearch.h
│ │ │ ├── BMKCloudSearchComponent.h
│ │ │ ├── BMKCloudSearchInfo.h
│ │ │ └── BMKCloudVersion.h
│ │ └── readme.txt
│ ├── BaiduMapAPI_Location.framework
│ │ ├── BaiduMapAPI_Location
│ │ ├── Headers
│ │ │ ├── BMKLocationComponent.h
│ │ │ ├── BMKLocationService.h
│ │ │ └── BMKLocationVersion.h
│ │ └── readme.txt
│ ├── BaiduMapAPI_Map.framework
│ │ ├── BaiduMapAPI_Map
│ │ ├── Headers
│ │ │ ├── BMKActionPaopaoView.h
│ │ │ ├── BMKAnnotation.h
│ │ │ ├── BMKAnnotationView.h
│ │ │ ├── BMKArcline.h
│ │ │ ├── BMKArclineView.h
│ │ │ ├── BMKBaseIndoorMapInfo.h
│ │ │ ├── BMKCircle.h
│ │ │ ├── BMKCircleView.h
│ │ │ ├── BMKGradient.h
│ │ │ ├── BMKGroundOverlay.h
│ │ │ ├── BMKGroundOverlayView.h
│ │ │ ├── BMKHeatMap.h
│ │ │ ├── BMKLocationViewDisplayParam.h
│ │ │ ├── BMKMapComponent.h
│ │ │ ├── BMKMapStatus.h
│ │ │ ├── BMKMapVersion.h
│ │ │ ├── BMKMapView.h
│ │ │ ├── BMKMultiPoint.h
│ │ │ ├── BMKOfflineMap.h
│ │ │ ├── BMKOfflineMapType.h
│ │ │ ├── BMKOverlay.h
│ │ │ ├── BMKOverlayGLBasicView.h
│ │ │ ├── BMKOverlayPathView.h
│ │ │ ├── BMKOverlayView.h
│ │ │ ├── BMKPinAnnotationView.h
│ │ │ ├── BMKPointAnnotation.h
│ │ │ ├── BMKPolygon.h
│ │ │ ├── BMKPolygonView.h
│ │ │ ├── BMKPolyline.h
│ │ │ ├── BMKPolylineView.h
│ │ │ ├── BMKShape.h
│ │ │ ├── BMKTileLayer.h
│ │ │ └── BMKTileLayerView.h
│ │ ├── Resources
│ │ │ └── mapapi.bundle
│ │ │ │ ├── files
│ │ │ │ ├── CustomIndex
│ │ │ │ ├── DVDirectory.cfg
│ │ │ │ ├── DVDirectory_Retina.cfg
│ │ │ │ ├── DVHotMap.cfg
│ │ │ │ ├── DVHotMap_Retina.cfg
│ │ │ │ ├── DVHotcity.cfg
│ │ │ │ ├── DVHotcity_Retina.cfg
│ │ │ │ ├── DVSDirectory.cfg
│ │ │ │ ├── DVSDirectory_Retina.cfg
│ │ │ │ ├── DVVersion.cfg
│ │ │ │ ├── DVVersion_Retina.cfg
│ │ │ │ ├── ResPack.rs
│ │ │ │ ├── channel
│ │ │ │ ├── indoor
│ │ │ │ │ ├── DVIndoor.cfg
│ │ │ │ │ ├── IndoorResPack.rs
│ │ │ │ │ └── baseindoormap.sty
│ │ │ │ ├── mapstyle.sty
│ │ │ │ ├── satellitestyle.sty
│ │ │ │ └── trafficstyle.sty
│ │ │ │ └── images
│ │ │ │ ├── baidumap_logo.png
│ │ │ │ ├── baidumap_logo@2x.png
│ │ │ │ ├── bnavi_icon_location_fixed.png
│ │ │ │ ├── bnavi_icon_location_fixed@2x.png
│ │ │ │ ├── direction_wheel.png
│ │ │ │ ├── direction_wheel@2x.png
│ │ │ │ ├── icon_action_paopao_middle_left.png
│ │ │ │ ├── icon_action_paopao_middle_left@2x.png
│ │ │ │ ├── icon_action_paopao_middle_left_highlighted.png
│ │ │ │ ├── icon_action_paopao_middle_left_highlighted@2x.png
│ │ │ │ ├── icon_action_paopao_middle_right.png
│ │ │ │ ├── icon_action_paopao_middle_right@2x.png
│ │ │ │ ├── icon_action_paopao_middle_right_highlighted.png
│ │ │ │ ├── icon_action_paopao_middle_right_highlighted@2x.png
│ │ │ │ ├── icon_cellphone.png
│ │ │ │ ├── icon_cellphone2.png
│ │ │ │ ├── icon_cellphone2@2x.png
│ │ │ │ ├── icon_cellphone@2x.png
│ │ │ │ ├── icon_center_point.png
│ │ │ │ ├── icon_center_point@2x.png
│ │ │ │ ├── icon_compass.png
│ │ │ │ ├── icon_compass@2x.png
│ │ │ │ ├── icon_compass_background.png
│ │ │ │ ├── icon_compass_background@2x.png
│ │ │ │ ├── icon_direction.png
│ │ │ │ ├── icon_direction@2x.png
│ │ │ │ ├── icon_line_nofocus.png
│ │ │ │ ├── icon_nav_bus.png
│ │ │ │ ├── icon_nav_bus@2x.png
│ │ │ │ ├── icon_nav_end.png
│ │ │ │ ├── icon_nav_end@2x.png
│ │ │ │ ├── icon_nav_rail.png
│ │ │ │ ├── icon_nav_rail@2x.png
│ │ │ │ ├── icon_nav_start.png
│ │ │ │ ├── icon_nav_start@2x.png
│ │ │ │ ├── icon_nav_waypoint.png
│ │ │ │ ├── icon_nav_waypoint@2x.png
│ │ │ │ ├── icon_paopao_middle_left.png
│ │ │ │ ├── icon_paopao_middle_left@2x.png
│ │ │ │ ├── icon_paopao_middle_left_highlighted.png
│ │ │ │ ├── icon_paopao_middle_left_highlighted@2x.png
│ │ │ │ ├── icon_paopao_middle_right.png
│ │ │ │ ├── icon_paopao_middle_right@2x.png
│ │ │ │ ├── icon_paopao_middle_right_highlighted.png
│ │ │ │ ├── icon_paopao_middle_right_highlighted@2x.png
│ │ │ │ ├── lineDashTexture.png
│ │ │ │ ├── line_texture.png
│ │ │ │ ├── pin_green.png
│ │ │ │ ├── pin_green@2x.png
│ │ │ │ ├── pin_purple.png
│ │ │ │ ├── pin_purple@2x.png
│ │ │ │ ├── pin_red.png
│ │ │ │ └── pin_red@2x.png
│ │ └── readme.txt
│ ├── BaiduMapAPI_Radar.framework
│ │ ├── BaiduMapAPI_Radar
│ │ ├── Headers
│ │ │ ├── BMKRadarComponent.h
│ │ │ ├── BMKRadarManager.h
│ │ │ ├── BMKRadarOption.h
│ │ │ ├── BMKRadarResult.h
│ │ │ └── BMKRadarVersion.h
│ │ └── readme.txt
│ ├── BaiduMapAPI_Search.framework
│ │ ├── BaiduMapAPI_Search
│ │ ├── Headers
│ │ │ ├── BMKBusLineSearch.h
│ │ │ ├── BMKBusLineSearchOption.h
│ │ │ ├── BMKDistrictSearch.h
│ │ │ ├── BMKGeocodeSearch.h
│ │ │ ├── BMKGeocodeSearchOption.h
│ │ │ ├── BMKGeocodeType.h
│ │ │ ├── BMKPoiSearch.h
│ │ │ ├── BMKPoiSearchOption.h
│ │ │ ├── BMKPoiSearchType.h
│ │ │ ├── BMKRouteSearch.h
│ │ │ ├── BMKRouteSearchOption.h
│ │ │ ├── BMKRouteSearchType.h
│ │ │ ├── BMKSearchBase.h
│ │ │ ├── BMKSearchComponent.h
│ │ │ ├── BMKSearchVersion.h
│ │ │ ├── BMKShareURLSearch.h
│ │ │ ├── BMKShareUrlSearchOption.h
│ │ │ ├── BMKSuggestionSearch.h
│ │ │ └── BMKSuggestionSearchOption.h
│ │ └── readme.txt
│ ├── BaiduMapAPI_Utils.framework
│ │ ├── BaiduMapAPI_Utils
│ │ ├── Headers
│ │ │ ├── BMKFavPoiInfo.h
│ │ │ ├── BMKFavPoiManager.h
│ │ │ ├── BMKGeometry.h
│ │ │ ├── BMKNavigation.h
│ │ │ ├── BMKOpenOption.h
│ │ │ ├── BMKOpenPanorama.h
│ │ │ ├── BMKOpenPoi.h
│ │ │ ├── BMKOpenPoiOption.h
│ │ │ ├── BMKOpenRoute.h
│ │ │ ├── BMKOpenRouteOption.h
│ │ │ ├── BMKUtilsComponent.h
│ │ │ └── BMKUtilsVersion.h
│ │ └── readme.txt
│ └── thirdlibs
│ │ ├── libcrypto.a
│ │ └── libssl.a
│ ├── BMapViewController.swift
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── Bridge-Header.h
│ ├── Extensions.swift
│ ├── Info.plist
│ └── MapViewController.swift
├── LICENSE
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo.xcodeproj/project.xcworkspace/xcuserdata/ghy.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo.xcodeproj/project.xcworkspace/xcuserdata/ghy.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo.xcodeproj/xcuserdata/ghy.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo.xcodeproj/xcuserdata/ghy.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | EasyMapDemo.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 86FB39801E248C53006F5801
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/1.3.3.3c27c01:
--------------------------------------------------------------------------------
1 | 1.3.3.3c27c01
2 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/AMapFoundationKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/AMapFoundationKit
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapFoundationKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapFoundationKit.h
3 | // AMapFoundationKit
4 | //
5 | // Created by xiaoming han on 15/10/28.
6 | // Copyright © 2015年 Amap.com. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 | #import
13 | #import
14 |
15 | #import
16 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapFoundationVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapFoundationVersion.h
3 | // AMapFoundation
4 | //
5 | // Created by xiaoming han on 15/10/26.
6 | // Copyright © 2015年 Amap.com. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #ifndef AMapFoundationVersion_h
12 | #define AMapFoundationVersion_h
13 |
14 | #define AMapFoundationVersionNumber 10303
15 |
16 | FOUNDATION_EXTERN NSString * const AMapFoundationVersion;
17 | FOUNDATION_EXTERN NSString * const AMapFoundationName;
18 |
19 | #endif /* AMapFoundationVersion_h */
20 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapServices.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapSearchServices.h
3 | // AMapSearchKit
4 | //
5 | // Created by xiaoming han on 15/6/18.
6 | // Copyright (c) 2015年 xiaoming han. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AMapServices : NSObject
12 |
13 | + (AMapServices *)sharedServices;
14 |
15 | /**
16 | * APIkey。设置key,需要绑定对应的bundle id。
17 | */
18 | @property (nonatomic, copy) NSString *apiKey;
19 |
20 | /**
21 | * 是否开启HTTPS,从1.3.3版本开始默认为YES。
22 | */
23 | @property (nonatomic, assign) BOOL enableHTTPS;
24 |
25 | /**
26 | * 是否启用崩溃日志上传。默认为YES, 只有在真机上设置有效。
27 | * 开启崩溃日志上传有助于我们更好的了解SDK的状况,可以帮助我们持续优化和改进SDK。
28 | * 需要注意的是,我是通过设置NSUncaughtExceptionHandler来捕获异常的,如果您的APP中使用了其他收集崩溃日志的SDK,或者自己有设置NSUncaughtExceptionHandler的话,请保证 AMapServices 的初始化是在其他设置NSUncaughtExceptionHandler操作之后进行的,我们的handler会再处理完异常后调用前一次设置的handler,保证之前设置的handler会被执行。
29 | */
30 | @property (nonatomic, assign) BOOL crashReportEnabled;
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapURLSearch.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapURLSearch.h
3 | // AMapFoundation
4 | //
5 | // Created by xiaoming han on 15/10/28.
6 | // Copyright © 2015年 Amap.com. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AMapURLSearchConfig.h"
11 |
12 | /// 调起高德地图URL进行搜索,若是调起失败,可使用`+ (void)getLatestAMapApp;`方法获取最新版高德地图app.
13 | @interface AMapURLSearch : NSObject
14 |
15 | /// 打开高德地图AppStore页面
16 | + (void)getLatestAMapApp;
17 |
18 | /**
19 | * 调起高德地图app驾车导航.
20 | *
21 | * @param config 配置参数.
22 | *
23 | * @return 是否成功.若为YES则成功调起,若为NO则无法调起.
24 | */
25 | + (BOOL)openAMapNavigation:(AMapNaviConfig *)config;
26 |
27 | /**
28 | * 调起高德地图app进行路径规划.
29 | *
30 | * @param config 配置参数.
31 | *
32 | * @return 是否成功.
33 | */
34 | + (BOOL)openAMapRouteSearch:(AMapRouteConfig *)config;
35 |
36 | /**
37 | * 调起高德地图app进行POI搜索.
38 | *
39 | * @param config 配置参数.
40 | *
41 | * @return 是否成功.
42 | */
43 | + (BOOL)openAMapPOISearch:(AMapPOIConfig *)config;
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapURLSearchConfig.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMapURLSearchConfig.h
3 | // MAMapKitNew
4 | //
5 | // Created by xiaoming han on 15/5/25.
6 | // Copyright (c) 2015年 xiaoming han. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import "AMapURLSearchType.h"
12 |
13 | /// 导航配置信息
14 | @interface AMapNaviConfig : NSObject
15 |
16 | /// 应用返回的Scheme
17 | @property (nonatomic, copy) NSString *appScheme;
18 |
19 | /// 应用名称
20 | @property (nonatomic, copy) NSString *appName;
21 |
22 | /// 终点
23 | @property (nonatomic, assign) CLLocationCoordinate2D destination;
24 |
25 | /// 导航策略
26 | @property (nonatomic, assign) AMapDrivingStrategy strategy;
27 |
28 | @end
29 |
30 | #pragma mark -
31 |
32 | /// 路径搜索配置信息
33 | @interface AMapRouteConfig : NSObject
34 |
35 | /// 应用返回的Scheme
36 | @property (nonatomic, copy) NSString *appScheme;
37 |
38 | /// 应用名称
39 | @property (nonatomic, copy) NSString *appName;
40 |
41 | /// 起点坐标
42 | @property (nonatomic, assign) CLLocationCoordinate2D startCoordinate;
43 |
44 | /// 终点坐标
45 | @property (nonatomic, assign) CLLocationCoordinate2D destinationCoordinate;
46 |
47 | /// 驾车策略
48 | @property (nonatomic, assign) AMapDrivingStrategy drivingStrategy;
49 |
50 | /// 公交策略
51 | @property (nonatomic, assign) AMapTransitStrategy transitStrategy;
52 |
53 | /// 路径规划类型
54 | @property (nonatomic, assign) AMapRouteSearchType routeType;
55 |
56 | @end
57 |
58 | #pragma mark -
59 |
60 | /// POI搜索配置信息
61 | @interface AMapPOIConfig : NSObject
62 |
63 | /// 应用返回的Scheme
64 | @property (nonatomic, copy) NSString *appScheme;
65 |
66 | /// 应用名称
67 | @property (nonatomic, copy) NSString *appName;
68 |
69 | /// 搜索关键字
70 | @property (nonatomic, copy) NSString *keywords;
71 |
72 | /// 左上角坐标
73 | @property (nonatomic, assign) CLLocationCoordinate2D leftTopCoordinate;
74 |
75 | /// 右下角坐标
76 | @property (nonatomic, assign) CLLocationCoordinate2D rightBottomCoordinate;
77 |
78 | @end
79 |
80 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapURLSearchType.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMapURLSearchType.h
3 | // MAMapKitNew
4 | //
5 | // Created by xiaoming han on 15/5/25.
6 | // Copyright (c) 2015年 xiaoming han. All rights reserved.
7 | //
8 |
9 | /// 驾车策略
10 | typedef NS_ENUM(NSInteger, AMapDrivingStrategy)
11 | {
12 | AMapDrivingStrategyFastest = 0, //速度最快
13 | AMapDrivingStrategyMinFare = 1, //避免收费
14 | AMapDrivingStrategyShortest = 2, //距离最短
15 |
16 | AMapDrivingStrategyNoHighways = 3, //不走高速
17 | AMapDrivingStrategyAvoidCongestion = 4, //躲避拥堵
18 |
19 | AMapDrivingStrategyAvoidHighwaysAndFare = 5, //不走高速且避免收费
20 | AMapDrivingStrategyAvoidHighwaysAndCongestion = 6, //不走高速且躲避拥堵
21 | AMapDrivingStrategyAvoidFareAndCongestion = 7, //躲避收费和拥堵
22 | AMapDrivingStrategyAvoidHighwaysAndFareAndCongestion = 8 //不走高速躲避收费和拥堵
23 | };
24 |
25 | /// 公交策略
26 | typedef NS_ENUM(NSInteger, AMapTransitStrategy)
27 | {
28 | AMapTransitStrategyFastest = 0,//最快捷
29 | AMapTransitStrategyMinFare = 1,//最经济
30 | AMapTransitStrategyMinTransfer = 2,//最少换乘
31 | AMapTransitStrategyMinWalk = 3,//最少步行
32 | AMapTransitStrategyMostComfortable = 4,//最舒适
33 | AMapTransitStrategyAvoidSubway = 5,//不乘地铁
34 | };
35 |
36 | /// 路径规划类型
37 | typedef NS_ENUM(NSInteger, AMapRouteSearchType)
38 | {
39 | AMapRouteSearchTypeDriving = 0, //驾车
40 | AMapRouteSearchTypeTransit = 1, //公交
41 | AMapRouteSearchTypeWalking = 2, //步行
42 | };
43 |
44 |
45 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapFoundationKit.framework/Headers/AMapUtility.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapUtility.h
3 | // AMapFoundation
4 | //
5 | // Created by xiaoming han on 15/10/27.
6 | // Copyright © 2015年 Amap.com. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | /**
13 | * 工具方法
14 | */
15 |
16 | FOUNDATION_STATIC_INLINE NSString * AMapEmptyStringIfNil(NSString *s)
17 | {
18 | return s ? s : @"";
19 | }
20 |
21 |
22 | /// 坐标类型枚举
23 | typedef NS_ENUM(NSUInteger, AMapCoordinateType)
24 | {
25 | AMapCoordinateTypeBaidu = 0, // Baidu
26 | AMapCoordinateTypeMapBar, // MapBar
27 | AMapCoordinateTypeMapABC, // MapABC
28 | AMapCoordinateTypeSoSoMap, // SoSoMap
29 | AMapCoordinateTypeAliYun, // AliYun
30 | AMapCoordinateTypeGoogle, // Google
31 | AMapCoordinateTypeGPS, // GPS
32 | };
33 |
34 | /**
35 | * 转换目标经纬度为高德坐标系
36 | *
37 | * @param coordinate 待转换的经纬度
38 | * @param type 坐标系类型
39 | *
40 | * @return 高德坐标系经纬度
41 | */
42 | FOUNDATION_EXTERN CLLocationCoordinate2D AMapCoordinateConvert(CLLocationCoordinate2D coordinate, AMapCoordinateType type);
43 |
44 | /**
45 | * 判断目标经纬度是否在大陆以及港、澳地区。输入参数为高德坐标系。
46 | *
47 | * @param coordinate 待判断的目标经纬度
48 | * @return 是否在大陆以及港、澳地区
49 | */
50 | FOUNDATION_EXTERN BOOL AMapDataAvailableForCoordinate(CLLocationCoordinate2D coordinate);
51 |
52 |
53 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/2.3.0.2c6b5d0:
--------------------------------------------------------------------------------
1 | 2.3.0.2c6b5d0
2 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/AMapLocationKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/AMapLocationKit
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/Headers/AMapGeoFenceError.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapGeoFenceError.h
3 | // AMapLocationKit
4 | //
5 | // Created by eidan on 16/12/15.
6 | // Copyright © 2016年 Amap. All rights reserved.
7 | //
8 |
9 | #ifndef AMapGeoFenceError_h
10 | #define AMapGeoFenceError_h
11 |
12 |
13 | ///AMapGeoFence errorDomain
14 | extern NSString * const AMapGeoFenceErrorDomain;
15 |
16 | ///地理围栏错误码
17 | typedef NS_ENUM(NSInteger, AMapGeoFenceErrorCode) {
18 | AMapGeoFenceErrorUnknown = 1, ///< 未知错误
19 | AMapGeoFenceErrorInvalidParameter = 2, ///< 参数错误
20 | AMapGeoFenceErrorFailureConnection = 3, ///< 网络连接异常
21 | AMapGeoFenceErrorFailureAuth = 4, ///< 鉴权失败
22 | AMapGeoFenceErrorNoValidFence = 5, ///< 无可用围栏
23 | AMapGeoFenceErroFailureLocating = 6, ///< 定位错误
24 | };
25 |
26 | #endif /* AMapGeoFenceError_h */
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/Headers/AMapGeoFenceRegionObj.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapGeoFenceRegionObj.h
3 | // AMapLocationKit
4 | //
5 | // Created by hanxiaoming on 16/12/5.
6 | // Copyright © 2016年 Amap. All rights reserved.
7 | //
8 |
9 | #import "AMapLocationCommonObj.h"
10 |
11 |
12 | ///AMapGeoFence Region State
13 | typedef NS_ENUM(NSInteger, AMapGeoFenceRegionStatus)
14 | {
15 | AMapGeoFenceRegionStatusUnknown = 0, ///< 未知
16 | AMapGeoFenceRegionStatusInside = 1, ///< 在范围内
17 | AMapGeoFenceRegionStatusOutside = 2, ///< 在范围外
18 | AMapGeoFenceRegionStatusStayed = 3, ///< 停留(在范围内超过10分钟)
19 | };
20 |
21 | #pragma mark - AMapGeoFenceRegion
22 |
23 |
24 | ///地理围栏基类,不可直接使用。(since v2.3.0)
25 | @interface AMapGeoFenceRegion : NSObject
26 |
27 |
28 | ///AMapGeoFenceRegion的唯一标识符
29 | @property (nonatomic, copy, readonly) NSString *identifier;
30 |
31 |
32 | ///用户自定义ID,可为nil。
33 | @property (nonatomic, copy, readonly) NSString *customID;
34 |
35 |
36 | ///坐标点和围栏的关系,比如用户的位置和围栏的关系
37 | @property (nonatomic, assign) AMapGeoFenceRegionStatus fenceStatus;
38 |
39 | @end
40 |
41 |
42 | #pragma mark - AMapLocationCircleRegion
43 |
44 |
45 | ///圆形地理围栏(since v2.3.0)
46 | @interface AMapGeoFenceCircleRegion : AMapGeoFenceRegion
47 |
48 |
49 | ///中心点的经纬度坐标
50 | @property (nonatomic, readonly) CLLocationCoordinate2D center;
51 |
52 |
53 | ///半径,单位:米
54 | @property (nonatomic, readonly) CLLocationDistance radius;
55 |
56 | @end
57 |
58 |
59 | #pragma mark -AMapGeoFencePolygonRegion
60 |
61 |
62 | ///多边形地理围栏(since v2.3.0)
63 | @interface AMapGeoFencePolygonRegion : AMapGeoFenceRegion
64 |
65 |
66 | ///经纬度坐标点数据
67 | @property (nonatomic, readonly) CLLocationCoordinate2D *coordinates;
68 |
69 |
70 | ///经纬度坐标点的个数
71 | @property (nonatomic, readonly) NSInteger count;
72 |
73 |
74 | @end
75 |
76 |
77 | #pragma mark -AMapGeoFencePOIRegion
78 |
79 |
80 | ///兴趣点(POI)地理围栏(since v2.3.0)
81 | @interface AMapGeoFencePOIRegion : AMapGeoFenceCircleRegion
82 |
83 |
84 | ///POI信息
85 | @property (nonatomic, strong, readonly) AMapLocationPOIItem *POIItem;
86 |
87 |
88 | @end
89 |
90 |
91 | #pragma mark -AMapGeoFenceDistrictRegion
92 |
93 |
94 | ///行政区划地理围栏(since v2.3.0)
95 | @interface AMapGeoFenceDistrictRegion : AMapGeoFenceRegion
96 |
97 |
98 | ///行政区域信息
99 | @property (nonatomic, strong, readonly) AMapLocationDistrictItem *districtItem;
100 |
101 |
102 | ///行政区域轮廓坐标点,每个行政区可能有多个模块,每个模块的坐标点数组由AMapLocationPoint构成
103 | @property (nonatomic, copy, readonly) NSArray *> *polylinePoints;
104 |
105 |
106 | @end
107 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/Headers/AMapLocationKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapLocationKit.h
3 | // AMapLocationKit
4 | //
5 | // Created by AutoNavi on 15/10/22.
6 | // Copyright © 2015年 Amap. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #import
12 | #import
13 | #import
14 |
15 | #import
16 | #import
17 | #import
18 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/Headers/AMapLocationRegionObj.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapLocationRegionObj.h
3 | // AMapLocationKit
4 | //
5 | // Created by AutoNavi on 15/11/27.
6 | // Copyright © 2015年 Amap. All rights reserved.
7 | //
8 |
9 | #import "AMapLocationCommonObj.h"
10 |
11 | // 以下类涉及的坐标需要使用高德坐标系坐标(GCJ02)
12 |
13 | #pragma mark - AMapLocationRegion
14 |
15 |
16 | ///AMapLocationRegion类,该类提供范围类的基本信息,并无具体实现,不要直接使用。
17 | @interface AMapLocationRegion : NSObject
18 |
19 | ///AMapLocationRegion的identifier
20 | @property (nonatomic, copy, readonly) NSString *identifier;
21 |
22 | ///当进入region范围时是否通知,默认YES
23 | @property (nonatomic, assign) BOOL notifyOnEntry;
24 |
25 | ///当离开region范围时是否通知,默认YES
26 | @property (nonatomic, assign) BOOL notifyOnExit;
27 |
28 | /**
29 | * @brief 初始化方法
30 | * @param identifier 唯一标识符,必填,不可为nil
31 | */
32 | - (instancetype)initWithIdentifier:(NSString *)identifier;
33 |
34 | /**
35 | * @brief 坐标点是否在范围内
36 | * @param coordinate 要判断的坐标点
37 | * @return 是否在范围内
38 | */
39 | - (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate;
40 |
41 | @end
42 |
43 | #pragma mark - AMapLocationCircleRegion
44 |
45 |
46 | ///AMapLocationCircleRegion类,定义一个圆形范围。
47 | @interface AMapLocationCircleRegion : AMapLocationRegion
48 |
49 | ///中心点的经纬度坐标
50 | @property (nonatomic, readonly) CLLocationCoordinate2D center;
51 |
52 | ///半径,单位:米
53 | @property (nonatomic, readonly) CLLocationDistance radius;
54 |
55 | /**
56 | * @brief 根据中心点和半径生成圆形范围
57 | * @param center 中心点的经纬度坐标
58 | * @param radius 半径,单位:米
59 | * @param identifier 唯一标识符,必填,不可为nil
60 | * @return AMapLocationCircleRegion类实例
61 | */
62 | - (instancetype)initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier;
63 |
64 |
65 | @end
66 |
67 | #pragma mark - AMapLocationPolygonRegion
68 |
69 |
70 | ///AMapLocationCircleRegion类,定义一个闭合多边形范围,点与点之间按顺序尾部相连, 第一个点与最后一个点相连。
71 | @interface AMapLocationPolygonRegion : AMapLocationRegion
72 |
73 | ///经纬度坐标点数据
74 | @property (nonatomic, readonly) CLLocationCoordinate2D *coordinates;
75 |
76 | ///经纬度坐标点的个数
77 | @property (nonatomic, readonly) NSInteger count;
78 |
79 | /**
80 | * @brief 根据经纬度坐标数据生成闭合多边形范围
81 | * @param coordinates 经纬度坐标点数据,coordinates对应的内存会拷贝,调用者负责该内存的释放
82 | * @param count 经纬度坐标点的个数,不可小于3个
83 | * @param identifier 唯一标识符,必填,不可为nil
84 | * @return AMapLocationCircleRegion类实例
85 | */
86 | - (instancetype)initWithCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSInteger)count identifier:(NSString *)identifier;
87 |
88 |
89 |
90 | @end
91 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapLocationKit.framework/Headers/AMapLocationVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapLoctionVersion.h
3 | // AMapLocationKit
4 | //
5 | // Created by AutoNavi on 16/1/22.
6 | // Copyright © 2016年 Amap. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | #ifndef AMapLoctionVersion_h
13 | #define AMapLoctionVersion_h
14 |
15 | #define AMapLocationVersionNumber 20300
16 | #define AMapLocationFoundationVersionMinRequired 10303
17 |
18 | // 依赖库版本检测
19 | #if AMapFoundationVersionNumber < AMapLocationFoundationVersionMinRequired
20 | #error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com"
21 | #endif
22 |
23 | FOUNDATION_EXTERN NSString * const AMapLocationVersion;
24 | FOUNDATION_EXTERN NSString * const AMapLocationName;
25 |
26 | #endif /* AMapLoctionVersion_h */
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/4.4.1.d4983af:
--------------------------------------------------------------------------------
1 | 4.4.1.d4983af
2 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/AMapSearchKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/AMapSearchKit
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/Headers/AMapNearbySearchManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapNearbySearchManager.h
3 | // AMapSearchKit
4 | //
5 | // Created by xiaoming han on 15/8/31.
6 | // Copyright (c) 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AMapSearchError.h"
11 |
12 | @class AMapNearbySearchManager;
13 | @class AMapNearbyUploadInfo;
14 |
15 | /// 附近搜索代理
16 | @protocol AMapNearbySearchManagerDelegate
17 | @optional
18 |
19 | /*
20 | * 开启自动上传,需实现该回调。
21 | */
22 | - (AMapNearbyUploadInfo *)nearbyInfoForUploading:(AMapNearbySearchManager *)manager;
23 |
24 | /**
25 | * 用户信息上传完毕回调。
26 | *
27 | * @param error 错误,为空时表示成功。
28 | */
29 | - (void)onNearbyInfoUploadedWithError:(NSError *)error;
30 |
31 | /**
32 | * 用户信息清除完毕回调。
33 | *
34 | * @param error 错误,为空时表示成功。
35 | */
36 | - (void)onUserInfoClearedWithError:(NSError *)error;
37 |
38 |
39 | @end
40 |
41 | /// 附近搜索管理类,同时只能有一个实例开启,否则可能会出现错误。
42 | @interface AMapNearbySearchManager : NSObject
43 |
44 | /**
45 | * manager单例.
46 | *
47 | * 初始化之前请设置key,否则将无法正常使用该服务.
48 | *
49 | * @return nearbySearch实例。
50 | */
51 | + (instancetype)sharedInstance;
52 |
53 | /// 请使用单例。
54 | - (instancetype)init __attribute__((unavailable));
55 |
56 | /// 上传最小间隔,默认15s,最小7s。自动上传的过程中设置无效。
57 | @property (nonatomic, assign) NSTimeInterval uploadTimeInterval;
58 |
59 | /// 代理对象。
60 | @property (nonatomic, weak) id delegate;
61 |
62 | /// 是否正在自动上传状态中。
63 | @property (nonatomic, readonly) BOOL isAutoUploading;
64 |
65 | /**
66 | * 启动自动上传。
67 | */
68 | - (void)startAutoUploadNearbyInfo;
69 |
70 | /**
71 | * 关闭自动上传。
72 | */
73 | - (void)stopAutoUploadNearbyInfo;
74 |
75 | /**
76 | * 执行单次上传,执行间隔不低于uploadTimeInterval最小值,否则执行失败。
77 | *
78 | * @param info 需要上传的信息。
79 | *
80 | * @return 成功执行返回YES,否则返回NO。
81 | */
82 | - (BOOL)uploadNearbyInfo:(AMapNearbyUploadInfo *)info;
83 |
84 | /**
85 | * 清除服务器上某一用户的信息。
86 | *
87 | * @param userID 指定的用户ID
88 | *
89 | * @return 成功执行返回YES,否则返回NO。
90 | */
91 | - (BOOL)clearUserInfoWithID:(NSString *)userID;
92 |
93 |
94 | @end
95 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/Headers/AMapNearbyUploadInfo.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapNearbyUploadInfo.h
3 | // AMapSearchKit
4 | //
5 | // Created by xiaoming han on 15/9/6.
6 | // Copyright (c) 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | /// 上传经纬度类型
13 | typedef NS_ENUM(NSInteger, AMapSearchCoordinateType)
14 | {
15 | AMapSearchCoordinateTypeGPS = 1, //!< 标准GPS坐标
16 | AMapSearchCoordinateTypeAMap = 2, //!< 高德坐标
17 | };
18 |
19 |
20 | /// 附近搜索上传信息
21 | @interface AMapNearbyUploadInfo : NSObject
22 |
23 | /**
24 | * 用户唯一标识,不能为空,否则上传会失败。
25 | * 长度不超过32字符,只能包含英文、数字、下划线、短横杠.
26 | */
27 | @property (nonatomic, copy) NSString *userID;
28 |
29 | /// 坐标类型,默认是 AMapSearchCoordinateTypeAMap
30 | @property (nonatomic, assign) AMapSearchCoordinateType coordinateType;
31 |
32 | /// 用户位置经纬度。
33 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/Headers/AMapSearchKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapSearchKit.h
3 | // AMapSearchKit
4 | //
5 | // Created by xiaoming han on 15/7/22.
6 | // Copyright (c) 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 | #import
13 | #import
14 | #import
15 |
16 | #import
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/AMapSearchKit.framework/Headers/AMapSearchVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // AMapSearchVersion.h
3 | // AMapSearchKit
4 | //
5 | // Created by xiaoming han on 15/10/27.
6 | // Copyright © 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | #ifndef AMapSearchVersion_h
13 | #define AMapSearchVersion_h
14 |
15 | #define AMapSearchVersionNumber 40401
16 | #define AMapSearchMinRequiredFoundationVersion 10200
17 |
18 | // 依赖库版本检测
19 | #if AMapFoundationVersionNumber < AMapSearchMinRequiredFoundationVersion
20 | #error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com"
21 | #endif
22 |
23 | FOUNDATION_EXTERN NSString * const AMapSearchVersion;
24 | FOUNDATION_EXTERN NSString * const AMapSearchName;
25 |
26 | #endif /* AMapSearchVersion_h */
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/4.5.0.7fd5a81:
--------------------------------------------------------------------------------
1 | 4.5.0.7fd5a81
2 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/greenPin_lift@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/pin_shadow@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/purplePin_lift@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/AMap.bundle/images/redPin_lift@3x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAAnnotation.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAAnnotation.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi on 13-12-13.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 |
13 | /*!
14 | @brief 该类为标注点的protocol,提供了标注类的基本信息函数
15 | */
16 | @protocol MAAnnotation
17 |
18 | /*!
19 | @brief 标注view中心坐标
20 | */
21 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
22 |
23 | @optional
24 |
25 | /*!
26 | @brief 获取annotation标题
27 | @return 返回annotation的标题信息
28 | */
29 | @property (nonatomic, readonly, copy) NSString *title;
30 |
31 | /*!
32 | @brief 获取annotation副标题
33 | @return 返回annotation的副标题信息
34 | */
35 | @property (nonatomic, readonly, copy) NSString *subtitle;
36 |
37 | /**
38 | @brief 设置标注的坐标,在拖拽时会被调用.
39 | @param newCoordinate 新的坐标值
40 | */
41 | - (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
42 |
43 | @end
44 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MACircle.h:
--------------------------------------------------------------------------------
1 | //
2 | // MACircle.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAShape.h"
10 | #import "MAOverlay.h"
11 | #import "MAGeometry.h"
12 |
13 | /*!
14 | @brief 该类用于定义一个圆, 通常MACircle是MACircleRenderer的model
15 | */
16 | @interface MACircle : MAShape
17 |
18 | /*!
19 | @brief 根据中心点和半径生成圆
20 | @param coord 中心点的经纬度坐标
21 | @param radius 半径,单位:米
22 | @return 新生成的圆
23 | */
24 | + (instancetype)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
25 | radius:(CLLocationDistance)radius;
26 |
27 | /*!
28 | @brief 根据map rect生成圆
29 | @param mapRect 生成的圆的直径为MAX(width, height)
30 | @return 新生成的圆
31 | */
32 | + (instancetype)circleWithMapRect:(MAMapRect)mapRect;
33 |
34 | /*!
35 | @brief 中心点经纬度坐标
36 | */
37 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
38 |
39 | /*!
40 | @brief 半径,单位:米
41 | */
42 | @property (nonatomic, readonly) CLLocationDistance radius;
43 |
44 | /*!
45 | @brief 该圆的外接map rect
46 | */
47 | @property (nonatomic, readonly) MAMapRect boundingMapRect;
48 |
49 | @end
50 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MACircleRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MACircleRenderer.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MACircle.h"
10 | #import "MAOverlayPathRenderer.h"
11 |
12 | /*!
13 | @brief 该类是MACircle的显示圆renderer,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
14 | */
15 | @interface MACircleRenderer : MAOverlayPathRenderer
16 |
17 | /*!
18 | @brief 根据指定圆生成对应的Renderer
19 | @param circle 指定的MACircle model
20 | @return 生成的Renderer
21 | */
22 | - (instancetype)initWithCircle:(MACircle *)circle;
23 |
24 | /*!
25 | @brief 关联的MAcirlce model
26 | */
27 | @property (nonatomic, readonly) MACircle *circle;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MACircleView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MACircleView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayPathView.h"
10 | #import "MACircle.h"
11 |
12 | /*!
13 | @brief 该类是MACircle的显示圆View,可以通过MAOverlayPathView修改其fill和stroke attributes
14 | */
15 | @interface MACircleView : MAOverlayPathView
16 |
17 | /*!
18 | @brief 根据指定圆生成对应的View
19 | @param circle 指定的MACircle model
20 | @return 生成的View
21 | */
22 | - (id)initWithCircle:(MACircle *)circle;
23 |
24 | /*!
25 | @brief 关联的MAcirlce model
26 | */
27 | @property (nonatomic, readonly) MACircle *circle;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAGeodesicPolyline.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAGeodesicPolyline.h
3 | // MapKit_static
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAPolyline.h"
10 |
11 | @interface MAGeodesicPolyline : MAPolyline
12 |
13 | /*!
14 | @brief 根据map point数据生成Geodesic
15 | @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放
16 | @param count map point个数
17 | @return 生成的Geodesic
18 | */
19 | + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
20 |
21 | /*!
22 | @brief 根据经纬度坐标数据生成Geodesic
23 | @param coords 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放
24 | @param count 经纬度坐标个数
25 | @return 生成的Geodesic
26 | */
27 | + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAGroundOverlay.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAGroundOverlay.h
3 | // DevDemo2D
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAShape.h"
10 | #import "MAOverlay.h"
11 |
12 | /*!
13 | @brief 该类用于确定覆盖在地图上的图片,及其覆盖区域, 通常MAGroundOverlay是MAGroundOverlayRenderer的model
14 | */
15 | @interface MAGroundOverlay : MAShape
16 |
17 | /*!
18 | @brief 绘制在地图上的覆盖图片
19 | */
20 | @property (nonatomic, readonly) UIImage *icon;
21 |
22 | /*!
23 | @brief 覆盖图片在地图尺寸等同于其像素的zoom值
24 | */
25 | @property (nonatomic, readonly) CGFloat zoomLevel;
26 |
27 | /*!
28 | @brief 图片在地图中的覆盖范围
29 | */
30 | @property (nonatomic, readonly) MACoordinateBounds bounds;
31 |
32 | /*!
33 | @brief 根据bounds值和icon生成GroundOverlay
34 | @param bounds 图片的在地图的覆盖范围
35 | @param icon 覆盖图片
36 | @return 以bounds和icon 新生成GroundOverlay
37 | */
38 | + (instancetype)groundOverlayWithBounds:(MACoordinateBounds)bounds
39 | icon:(UIImage *)icon;
40 |
41 | /*!
42 | @brief 根据coordinate,icon,zoomLevel生成GroundOverlay
43 | @param coordinate 图片的在地图上的中心点
44 | @param zoomLevel 图片在地图尺寸等同于像素的zoom值
45 | @param icon 覆盖图片
46 | @return 以coordinate,icon,zoomLevel 新生成GroundOverlay
47 | */
48 | + (instancetype)groundOverlayWithCoordinate:(CLLocationCoordinate2D)coordinate
49 | zoomLevel:(CGFloat)zoomLevel
50 | icon:(UIImage *)icon;
51 |
52 | @end
53 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAGroundOverlayRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAGroundOverlayRenderer.h
3 | // DevDemo2D
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayRenderer.h"
10 | #import "MAGroundOverlay.h"
11 |
12 | /*!
13 | @brief 此类是将MAGroundOverlay中的覆盖图片显示在地图上的renderer;
14 | */
15 | @interface MAGroundOverlayRenderer : MAOverlayRenderer
16 |
17 | /*!
18 | @brief groundOverlay 具有覆盖图片,以及图片覆盖的区域
19 | */
20 | @property (nonatomic ,readonly) MAGroundOverlay *groundOverlay;
21 |
22 | /*!
23 | @brief 根据指定的GroundOverlay生成将图片显示在地图上Renderer
24 | @param groundOverlay 制定了覆盖图片,以及图片的覆盖区域的groundOverlay
25 | @return 以GroundOverlay新生成Renderer
26 | */
27 | - (instancetype)initWithGroundOverlay:(MAGroundOverlay *)groundOverlay;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAGroundOverlayView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAGroundOverlayView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayView.h"
10 | #import "MAGroundOverlay.h"
11 |
12 | /*!
13 | @brief 此类是将MAGroundOverlay中的覆盖图片显示在地图上的View;
14 | */
15 | @interface MAGroundOverlayView : MAOverlayView
16 |
17 | /*!
18 | @brief groundOverlay 具有覆盖图片,以及图片覆盖的区域
19 | */
20 | @property (nonatomic ,readonly) MAGroundOverlay *groundOverlay;
21 |
22 | /*!
23 | @brief 根据指定的GroundOverlay生成将图片显示在地图上View
24 | @param groundOverlay 制定了覆盖图片,以及图片的覆盖区域的groundOverlay
25 | @return 以GroundOverlay新生成View
26 | */
27 | - (id)initWithGroundOverlay:(MAGroundOverlay *)groundOverlay;
28 |
29 |
30 | @end
31 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAHeatMapTileOverlay.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAHeatMapTileOverlay.h
3 | // test2D
4 | //
5 | // Created by xiaoming han on 15/4/21.
6 | // Copyright (c) 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MATileOverlay.h"
10 |
11 | /**
12 | * 热力图节点
13 | */
14 | @interface MAHeatMapNode : NSObject
15 |
16 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
17 | @property (nonatomic, assign) float intensity;
18 |
19 | @end
20 |
21 | /**
22 | * 热力图渐变属性
23 | */
24 | @interface MAHeatMapGradient : NSObject
25 |
26 | @property (nonatomic, readonly) NSArray *colors; // default [blue,green,red]
27 | @property (nonatomic, readonly) NSArray *startPoints; // default [@(0.2),@(0.5),@(0,9)]
28 |
29 | ///重新设置gradient的时候,需要执行 MATileOverlayView 中的 reloadData 方法.
30 | - (instancetype)initWithColor:(NSArray *)colors andWithStartPoints:(NSArray *)startPoints;
31 |
32 | @end
33 |
34 | /**
35 | * 热力图tileOverlay
36 | */
37 | @interface MAHeatMapTileOverlay : MATileOverlay
38 |
39 | @property (nonatomic, strong) NSArray *data; // MAHeatMapNode array
40 | @property (nonatomic, assign) NSInteger radius; // 12, 范围:0-100 screen point
41 | @property (nonatomic, assign) CGFloat opacity; // 0.6,范围:0-1
42 |
43 | @property (nonatomic, strong) MAHeatMapGradient *gradient;
44 |
45 | @property (nonatomic, assign) BOOL allowRetinaAdapting; //是否开启高清热力图,默认关闭。
46 |
47 | @end
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAMapKit.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMapKit.h
3 | // MAMapKit
4 | //
5 | // Created by xiaoming han on 15/12/7.
6 | // Copyright © 2015年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 | #import
13 | #import
14 | #import
15 | #import
16 | #import
17 | #import
18 | #import
19 | #import
20 | #import
21 | #import
22 | #import
23 | #import
24 | #import
25 | #import
26 | #import
27 | #import
28 | #import
29 | #import
30 | #import
31 | #import
32 | #import
33 | #import
34 | #import
35 | #import
36 | #import
37 |
38 | #pragma mark - deprecated
39 |
40 | #import
41 | #import
42 | #import
43 | #import
44 | #import
45 | #import
46 | #import
47 |
48 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAMapVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMapVersion.h
3 | // MAMapKit
4 | //
5 | // Created by yi chen on 2/24/16.
6 | // Copyright © 2016 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #ifndef MAMapVersion_h
12 | #define MAMapVersion_h
13 |
14 | #define MAMapVersionNumber 40500
15 | #define MAMapMinRequiredFoundationVersion 10200
16 |
17 | // 依赖库版本检测
18 | #if AMapFoundationVersionNumber < MAMapMinRequiredFoundationVersion
19 | #error "The AMapFoundationKit version is less than minimum required, please update! Any questions please to visit http://lbs.amap.com"
20 | #endif
21 |
22 | FOUNDATION_EXTERN NSString * const MAMapKitVersion;
23 | FOUNDATION_EXTERN NSString * const MAMapKitName;
24 |
25 |
26 | #endif /* MAMapVersion_h */
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAMultiColoredPolylineRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMultiColoredPolylineRenderer.h
3 | // MapKit_static
4 | //
5 | // Created by yi chen on 12/11/15.
6 | // Copyright © 2015 songjian. All rights reserved.
7 | //
8 |
9 | #import "MAPolylineRenderer.h"
10 | #import "MAMultiPolyline.h"
11 |
12 | /*!
13 | 此类用于绘制MAMultiPolyline对应的多段线,支持分段颜色绘制
14 | MAMultiColoredPolylineRenderer仅支持lineJoin = kCGLineJoinRound, lineCap = kCGLineCapRound,设为其他值无效。
15 | */
16 | @interface MAMultiColoredPolylineRenderer : MAPolylineRenderer
17 |
18 | /*!
19 | @brief 根据指定的MAPolyline生成一个多段线Renderer
20 | @param multiPolyline 指定MAMultiPolyline
21 | @return 新生成的多段线Renderer
22 | */
23 | - (instancetype)initWithMultiPolyline:(MAMultiPolyline *)multiPolyline;
24 |
25 | /*!
26 | @brief 关联的MAMultiPolyline model
27 | */
28 | @property (nonatomic, readonly) MAMultiPolyline *multiPolyline;
29 |
30 | /*!
31 | @brief 分段绘制的颜色。
32 | 需要分段颜色绘制时,必须设置(内容必须为UIColor)
33 | */
34 | @property (nonatomic, strong) NSArray *strokeColors;
35 |
36 | /*!
37 | @brief 颜色是否渐变。
38 | 在颜色渐变情况下,暂不支持虚线绘制。
39 | */
40 | @property (nonatomic, assign, getter=isGradient) BOOL gradient;
41 |
42 | @end
43 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAMultiPoint.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMultiPoint.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "MAGeometry.h"
11 | #import "MAShape.h"
12 |
13 | /*!
14 | @brief 该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化
15 | */
16 | @interface MAMultiPoint : MAShape
17 |
18 | /*!
19 | @brief 坐标点数组
20 | */
21 | @property (nonatomic, readonly) MAMapPoint *points;
22 |
23 | /*!
24 | @brief 坐标点的个数
25 | */
26 | @property (nonatomic, readonly) NSUInteger pointCount;
27 |
28 | /*!
29 | @brief 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中
30 | @param coords 调用者提供的内存空间, 该空间长度必须大于等于要拷贝的坐标点的个数(range.length)
31 | @param range 要拷贝的数据范围
32 | */
33 | - (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAMultiPolyline.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAMultiPolyline.h
3 | // MapKit_static
4 | //
5 | // Created by yi chen on 12/11/15.
6 | // Copyright © 2015 songjian. All rights reserved.
7 | //
8 |
9 | #import "MAPolyline.h"
10 |
11 | /*!
12 | @brief 此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色绘制,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAMultiPolyline是MAMultiColoredPolylineRenderer(分段颜色绘制)model
13 | */
14 | @interface MAMultiPolyline : MAPolyline
15 |
16 | /*!
17 | @brief 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理
18 | */
19 | @property (nonatomic, strong, readonly) NSArray *drawStyleIndexes;
20 |
21 | /*!
22 | @brief 分段绘制,根据map point数据生成多段线
23 |
24 | 分段颜色绘制:其对应的MAMultiColoredPolylineRenderer必须设置strokeColors属性
25 |
26 | @param points 指定的直角坐标点数组
27 | @param count 坐标点的个数
28 | @param drawStyleIndexes 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理
29 | @return 新生成的折线对象
30 | */
31 | + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count drawStyleIndexes:(NSArray*)drawStyleIndexes;
32 |
33 | /*!
34 | @brief 分段绘制,根据经纬度坐标数据生成多段线
35 |
36 | 分段颜色绘制:其对应的MAMultiColoredPolylineRenderer必须设置strokeColors属性
37 |
38 | @param coords 指定的经纬度坐标点数组
39 | @param count 坐标点的个数
40 | @param drawStyleIndexes 颜色索引数组,成员为NSNumber,且为非负数,负数按0处理
41 | @return 新生成的折线对象
42 | */
43 | + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count drawStyleIndexes:(NSArray*)drawStyleIndexes;
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAOverlay.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAOverlay.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAAnnotation.h"
10 | #import "MAGeometry.h"
11 |
12 | /*!
13 | @brief 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
14 | */
15 | @protocol MAOverlay
16 | @required
17 |
18 | /*!
19 | @brief 返回区域中心坐标.
20 | */
21 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
22 |
23 | /*!
24 | @brief 区域外接矩形
25 | */
26 | @property (nonatomic, readonly) MAMapRect boundingMapRect;
27 |
28 | @optional
29 |
30 | /*!
31 | @brief 判断boundingMapRect和给定的mapRect是否相交,可以用MAMapRectIntersectsRect([overlay boundingMapRect], mapRect)替代
32 | @param mapRect 指定的map rect
33 | @return 两个矩形是否相交
34 | */
35 | - (BOOL)intersectsMapRect:(MAMapRect)mapRect;
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAOverlayPathRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAOverlayPathRenderer.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "MAOverlayRenderer.h"
11 |
12 | /*!
13 | @brief 该类提供使用CGPathRef来绘制overlay,默认的操作是使用fill attributes, stroke attributes绘制当前path到context中, 可以使用该类的子类MACircleRenderer, MAPolylineRenderer, MAPolygonRenderer或者继承该类, 如果继承该类,需要重载-(void)createPath方法
14 | */
15 | @interface MAOverlayPathRenderer : MAOverlayRenderer
16 |
17 | /*!
18 | @brief 填充颜色,默认是[UIColor colorWithRed:0 green:1 blue:0 alpha:0.6]
19 | */
20 | @property (strong) UIColor *fillColor;
21 |
22 | /*!
23 | @brief 笔触颜色,默认是[UIColor colorWithRed:1 green:0 blue:0 alpha:0.6]
24 | */
25 | @property (strong) UIColor *strokeColor;
26 |
27 | /*!
28 | @brief 笔触宽度,默认是0
29 | */
30 | @property CGFloat lineWidth;
31 |
32 | /*!
33 | @brief LineJoin,默认是kCGLineJoinRound
34 | */
35 | @property CGLineJoin lineJoin;
36 |
37 | /*!
38 | @brief LineCap,默认是kCGLineCapRound
39 | */
40 | @property CGLineCap lineCap;
41 |
42 | /*!
43 | @brief MiterLimit,默认是10.f
44 | */
45 | @property CGFloat miterLimit;
46 |
47 | /*!
48 | @brief LineDashPhase,默认是0.f
49 | */
50 | @property CGFloat lineDashPhase;
51 |
52 | /*!
53 | @brief LineDashPattern,默认是nil
54 | */
55 | @property (copy) NSArray *lineDashPattern;
56 |
57 | /*!
58 | @brief 子类需要重载该方法并设置(self.path = newPath)
59 | */
60 | - (void)createPath;
61 |
62 | /*!
63 | @brief 当前的path
64 | */
65 | @property CGPathRef path;
66 |
67 | /*!
68 | @brief 释放当前path,调用之后 path == NULL
69 | */
70 | - (void)invalidatePath;
71 |
72 | /*!
73 | @brief 将当前的stroke attributes设置到指定的context
74 | @param context 目标context
75 | @param zoomScale 当前缩放比例值
76 | */
77 | - (void)applyStrokePropertiesToContext:(CGContextRef)context atZoomScale:(MAZoomScale)zoomScale;
78 |
79 | /*!
80 | @brief 将当前的fill attributes设置到指定的context
81 | @param context 目标context
82 | @param zoomScale 当前缩放比例值
83 | */
84 | - (void)applyFillPropertiesToContext:(CGContextRef)context atZoomScale:(MAZoomScale)zoomScale;
85 |
86 | /*!
87 | @brief 绘制path
88 | @param path 要绘制的path
89 | @param context 目标context
90 | */
91 | - (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
92 |
93 | /*!
94 | @brief 填充path
95 | @param path 要绘制的path
96 | @param context 目标context
97 | */
98 | - (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
99 |
100 | @end
101 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAOverlayPathView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAOverlayPathView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayView.h"
10 |
11 | /*!
12 | @brief 该类提供使用CGPathRef来绘制overlay,默认的操作是使用fill attributes, stroke attributes绘制当前path到context中, 可以使用该类的子类MACircleView, MAPolylineView, MAPolygonView或者继承该类, 如果继承该类,需要重载-(void)createPath方法
13 | */
14 | @interface MAOverlayPathView : MAOverlayView
15 |
16 | /*!
17 | @brief 填充颜色,默认是[UIColor colorWithRed:0 green:1 blue:0 alpha:0.6]
18 | */
19 | @property (strong) UIColor *fillColor;
20 |
21 | /*!
22 | @brief 笔触颜色,默认是[UIColor colorWithRed:1 green:0 blue:0 alpha:0.6]
23 | */
24 | @property (strong) UIColor *strokeColor;
25 |
26 | /*!
27 | @brief 笔触宽度,默认是0
28 | */
29 | @property CGFloat lineWidth;
30 |
31 | /*!
32 | @brief LineJoin,默认是kCGLineJoinRound
33 | */
34 | @property CGLineJoin lineJoin;
35 |
36 | /*!
37 | @brief LineCap,默认是kCGLineCapRound
38 | */
39 | @property CGLineCap lineCap;
40 |
41 | /*!
42 | @brief MiterLimit,默认是10.f
43 | */
44 | @property CGFloat miterLimit;
45 |
46 | /*!
47 | @brief LineDashPhase,默认是0.f
48 | */
49 | @property CGFloat lineDashPhase;
50 |
51 | /*!
52 | @brief LineDashPattern,默认是nil
53 | */
54 | @property (copy) NSArray *lineDashPattern;
55 |
56 | /*!
57 | @brief 子类需要重载该方法并设置(self.path = newPath)
58 | */
59 | - (void)createPath;
60 |
61 | /*!
62 | @brief 当前的path
63 | */
64 | @property CGPathRef path;
65 |
66 | /*!
67 | @brief 释放当前path,调用之后 path == NULL
68 | */
69 | - (void)invalidatePath;
70 |
71 | /*!
72 | @brief 将当前的stroke attributes设置到指定的context
73 | @param context 目标context
74 | @param zoomScale 当前缩放比例值
75 | */
76 | - (void)applyStrokePropertiesToContext:(CGContextRef)context atZoomScale:(MAZoomScale)zoomScale;
77 |
78 | /*!
79 | @brief 将当前的fill attributes设置到指定的context
80 | @param context 目标context
81 | @param zoomScale 当前缩放比例值
82 | */
83 | - (void)applyFillPropertiesToContext:(CGContextRef)context atZoomScale:(MAZoomScale)zoomScale;
84 |
85 | /*!
86 | @brief 绘制path
87 | @param path 要绘制的path
88 | @param context 目标context
89 | */
90 | - (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
91 |
92 | /*!
93 | @brief 填充path
94 | @param path 要绘制的path
95 | @param context 目标context
96 | */
97 | - (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
98 |
99 | @end
100 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAOverlayRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAOverlayRenderer.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAGeometry.h"
10 | #import "MAOverlay.h"
11 |
12 | /*!
13 | @brief 该类是地图覆盖物Renderer的基类, 提供绘制overlay的接口但并无实际的实现
14 | */
15 | @interface MAOverlayRenderer : NSObject
16 |
17 | /*!
18 | @brief 初始化并返回一个overlay renderer
19 | @param overlay 关联的overlay对象
20 | @return 初始化成功则返回overlay renderer,否则返回nil
21 | */
22 | - (id)initWithOverlay:(id )overlay;
23 |
24 | /*!
25 | @brief 关联的overlay对象
26 | */
27 | @property (nonatomic, readonly) id overlay;
28 |
29 | /*!
30 | @brief 将MAMapPoint转化为相对于receiver的本地坐标
31 | @param mapPoint 要转化的MAMapPoint
32 | @return 相对于receiver的本地坐标
33 | */
34 | - (CGPoint)pointForMapPoint:(MAMapPoint)mapPoint;
35 |
36 | /*!
37 | @brief 将相对于receiver的本地坐标转化为MAMapPoint
38 | @param point 要转化的相对于receiver的本地坐标
39 | @return MAMapPoint
40 | */
41 | - (MAMapPoint)mapPointForPoint:(CGPoint)point;
42 |
43 | /*!
44 | @brief 将MAMapRect转化为相对于receiver的本地rect
45 | @param mapRect 要转化的MAMapRect
46 | @return 相对于receiver的本地rect
47 | */
48 | - (CGRect)rectForMapRect:(MAMapRect)mapRect;
49 |
50 | /*!
51 | @brief 将相对于receiver的本地rect转化为MAMapRect
52 | @param rect 要转化的相对于receiver的本地rect
53 | @return MAMapRect
54 | */
55 | - (MAMapRect)mapRectForRect:(CGRect)rect;
56 |
57 | /*!
58 | @brief 判断overlay renderer是否可以绘制包含的内容
59 | @param mapRect 该MAMapRect范围内需要绘制
60 | @param zoomScale 当前的缩放比例值
61 | @return 是否可以进行绘制
62 | */
63 | - (BOOL)canDrawMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale;
64 |
65 | /*!
66 | @brief 绘制overlay renderer的内容
67 | @param mapRect 该MAMapRect范围内需要更新
68 | @param zoomScale 当前的缩放比例值
69 | @param context 绘制操作的graphics context
70 | */
71 | - (void)drawMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale inContext:(CGContextRef)context;
72 |
73 | - (void)setNeedsDisplay;
74 |
75 | /*!
76 | @brief 重绘指定map rect内的内容
77 | @param mapRect 该map rect范围内的内容需要重绘
78 | */
79 | - (void)setNeedsDisplayInMapRect:(MAMapRect)mapRect;
80 |
81 | /*!
82 | @brief 重绘指定zoom scale下map rect内的内容
83 | @param mapRect 该map rect范围内的内容需要重绘
84 | @param zoomScale 当前的缩放比例值
85 | */
86 | - (void)setNeedsDisplayInMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale;
87 |
88 | /*!
89 | @brief overlay的透明度
90 | */
91 | @property CGFloat alpha;
92 |
93 | /*!
94 | @brief context的比例系数
95 | */
96 | @property (readonly) CGFloat contentScaleFactor;
97 |
98 | @end
99 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAOverlayView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAOverlayView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAGeometry.h"
10 | #import "MAOverlay.h"
11 |
12 | /*!
13 | @brief 该类是地图覆盖物View的基类, 提供绘制overlay的接口但并无实际的实现
14 | */
15 | @interface MAOverlayView : UIView
16 |
17 | /*!
18 | @brief 初始化并返回一个overlay view
19 | @param overlay 关联的overlay对象
20 | @return 初始化成功则返回overlay view,否则返回nil
21 | */
22 | - (id)initWithOverlay:(id )overlay;
23 |
24 | /*!
25 | @brief 关联的overlay对象
26 | */
27 | @property (nonatomic, readonly) id overlay;
28 |
29 | /*!
30 | @brief 将MAMapPoint转化为相对于receiver的本地坐标
31 | @param mapPoint 要转化的MAMapPoint
32 | @return 相对于receiver的本地坐标
33 | */
34 | - (CGPoint)pointForMapPoint:(MAMapPoint)mapPoint;
35 |
36 | /*!
37 | @brief 将相对于receiver的本地坐标转化为MAMapPoint
38 | @param point 要转化的相对于receiver的本地坐标
39 | @return MAMapPoint
40 | */
41 | - (MAMapPoint)mapPointForPoint:(CGPoint)point;
42 |
43 | /*!
44 | @brief 将MAMapRect转化为相对于receiver的本地rect
45 | @param mapRect 要转化的MAMapRect
46 | @return 相对于receiver的本地rect
47 | */
48 | - (CGRect)rectForMapRect:(MAMapRect)mapRect;
49 |
50 | /*!
51 | @brief 将相对于receiver的本地rect转化为MAMapRect
52 | @param rect 要转化的相对于receiver的本地rect
53 | @return MAMapRect
54 | */
55 | - (MAMapRect)mapRectForRect:(CGRect)rect;
56 |
57 | /*!
58 | @brief 判断overlay view是否可以绘制包含的内容
59 | @param mapRect 该MAMapRect范围内需要绘制
60 | @param zoomScale 当前的缩放比例值
61 | @return 是否可以进行绘制
62 | */
63 | - (BOOL)canDrawMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale;
64 |
65 | /*!
66 | @brief 绘制overlay view的内容
67 | @param mapRect 该MAMapRect范围内需要更新
68 | @param zoomScale 当前的缩放比例值
69 | @param context 绘制操作的graphics context
70 | */
71 | - (void)drawMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale inContext:(CGContextRef)context;
72 |
73 | - (void)setNeedsDisplay;
74 |
75 | /*!
76 | @brief 重绘指定map rect内的内容
77 | @param mapRect 该map rect范围内的内容需要重绘
78 | */
79 | - (void)setNeedsDisplayInMapRect:(MAMapRect)mapRect;
80 |
81 | /*!
82 | @brief 重绘指定zoom scale下map rect内的内容
83 | @param mapRect 该map rect范围内的内容需要重绘
84 | @param zoomScale 当前的缩放比例值
85 | */
86 | - (void)setNeedsDisplayInMapRect:(MAMapRect)mapRect zoomScale:(MAZoomScale)zoomScale;
87 |
88 | /*!
89 | @brief overlay的透明度
90 | */
91 | @property CGFloat alpha;
92 |
93 | /*!
94 | @brief context的比例系数
95 | */
96 | @property (readonly) CGFloat contentScaleFactor;
97 |
98 | @end
99 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPinAnnotationView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPinAnnotationView.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAAnnotationView.h"
10 |
11 | typedef NS_ENUM(NSInteger, MAPinAnnotationColor) {
12 | MAPinAnnotationColorRed = 0,
13 | MAPinAnnotationColorGreen,
14 | MAPinAnnotationColorPurple
15 | };
16 |
17 | /*!
18 | @brief 提供类似大头针效果的annotation view
19 | */
20 | @interface MAPinAnnotationView : MAAnnotationView
21 |
22 | /*!
23 | @brief 大头针的颜色,有MAPinAnnotationColorRed, MAPinAnnotationColorGreen, MAPinAnnotationColorPurple三种
24 | */
25 | @property (nonatomic) MAPinAnnotationColor pinColor;
26 |
27 | /*!
28 | @brief 动画效果
29 | */
30 | @property (nonatomic) BOOL animatesDrop;
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPointAnnotation.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPointAnnotation.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAShape.h"
10 |
11 | /*!
12 | @brief 点标注数据
13 | */
14 | @interface MAPointAnnotation : MAShape
15 |
16 | /*!
17 | @brief 经纬度
18 | */
19 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
20 |
21 | /**
22 | 是否固定在屏幕一点, 注意,拖动或者手动改变经纬度,都会导致设置失效
23 | */
24 | @property (nonatomic, assign, getter = isLockedToScreen) BOOL lockedToScreen;
25 |
26 | /**
27 | 固定屏幕点的坐标
28 | */
29 | @property (nonatomic, assign) CGPoint lockedScreenPoint;
30 |
31 | @end
32 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolygon.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolygon.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAMultiPoint.h"
10 | #import "MAOverlay.h"
11 |
12 | /*!
13 | @brief 此类用于定义一个由多个点组成的闭合多边形, 点与点之间按顺序尾部相连, 第一个点与最后一个点相连, 通常MAPolygon是MAPolygonRenderer的model
14 | */
15 | @interface MAPolygon : MAMultiPoint
16 |
17 | /*!
18 | @brief 根据map point数据生成多边形
19 | @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放
20 | @param count 点的个数
21 | @return 新生成的多边形
22 | */
23 | + (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
24 |
25 | /*!
26 | @brief 根据map point数据和interior polygons生成多边形
27 | @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放
28 | @param count 点的个数
29 | @param interiorPolygons MAPolygon数组,指定在生成的多边形中需要裁剪掉的区域
30 | @return 新生成的多边形
31 | */
32 | + (instancetype)polygonWithPoints:(MAMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons;
33 |
34 | /*!
35 | @brief 根据经纬度坐标数据生成闭合多边形
36 | @param coords 经纬度坐标点数据,coords对应的内存会拷贝,调用者负责该内存的释放
37 | @param count 经纬度坐标点数组个数
38 | @return 新生成的多边形
39 | */
40 | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
41 |
42 | /*!
43 | @brief 根据经纬度坐标数据和interior polygons生成闭合多边形
44 | @param coords 经纬度坐标点数据,coords对应的内存会拷贝,调用者负责该内存的释放
45 | @param count 经纬度坐标点数组个数
46 | @param interiorPolygons MAPolygon数组,指定在生成的多边形中需要裁剪掉的区域
47 | @return 新生成的多边形
48 | */
49 | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons;
50 |
51 | /*!
52 | @brief 内嵌MAPolygon数组,在生成的多边形中将会裁减掉内嵌polygon包含的区域
53 | */
54 | @property (readonly) NSArray *interiorPolygons;
55 |
56 | @end
57 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolygonRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolygonRenderer.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayPathRenderer.h"
10 | #import "MAPolygon.h"
11 |
12 | /*!
13 | @brief 此类是MAPolygon的显示多边形Renderer,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
14 | */
15 | @interface MAPolygonRenderer : MAOverlayPathRenderer
16 |
17 | /*!
18 | @brief 根据指定的多边形生成一个多边形renderer
19 | @param polygon 指定的多边形数据对象
20 | @return 新生成的多边形renderer
21 | */
22 | - (id)initWithPolygon:(MAPolygon *)polygon;
23 |
24 | /*!
25 | @brief 关联的MAPolygon model
26 | */
27 | @property (nonatomic, readonly) MAPolygon *polygon;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolygonView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolygonView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayPathView.h"
10 | #import "MAPolygon.h"
11 |
12 | /*!
13 | @brief 此类是MAPolygon的显示多边形View,可以通过MAOverlayPathView修改其fill和stroke attributes
14 | */
15 | @interface MAPolygonView : MAOverlayPathView
16 |
17 | /*!
18 | @brief 根据指定的多边形生成一个多边形view
19 | @param polygon 指定的多边形数据对象
20 | @return 新生成的多边形view
21 | */
22 | - (id)initWithPolygon:(MAPolygon *)polygon;
23 |
24 | /*!
25 | @brief 关联的MAPolygon model
26 | */
27 | @property (nonatomic, readonly) MAPolygon *polygon;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolyline.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolyline.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAMultiPoint.h"
10 | #import "MAOverlay.h"
11 |
12 | /*!
13 | @brief 此类用于定义一个由多个点相连的多段线,点与点之间尾部想连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRenderer的model
14 | */
15 | @interface MAPolyline : MAMultiPoint
16 |
17 | /*!
18 | @brief 根据map point数据生成多段线
19 | @param points map point数据,points对应的内存会拷贝,调用者负责该内存的释放
20 | @param count map point个数
21 | @return 生成的多段线
22 | */
23 | + (instancetype)polylineWithPoints:(MAMapPoint *)points count:(NSUInteger)count;
24 |
25 | /*!
26 | @brief 根据经纬度坐标数据生成多段线
27 | @param coords 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放
28 | @param count 经纬度坐标个数
29 | @return 生成的多段线
30 | */
31 | + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
32 |
33 | @end
34 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolylineRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolylineRenderer.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayPathRenderer.h"
10 | #import "MAPolyline.h"
11 |
12 | /*!
13 | @brief 此类是MAPolyline的显示多段线renderer,可以通过MAOverlayPathRenderer修改其fill和stroke attributes
14 | */
15 | @interface MAPolylineRenderer : MAOverlayPathRenderer
16 |
17 | /*!
18 | @brief 根据指定的MAPolyline生成一个多段线renderer
19 | @param polyline 指定MAPolyline
20 | @return 新生成的多段线renderer
21 | */
22 | - (id)initWithPolyline:(MAPolyline *)polyline;
23 |
24 | /*!
25 | @brief 关联的MAPolyline model
26 | */
27 | @property (nonatomic, readonly) MAPolyline *polyline;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAPolylineView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAPolylineView.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayPathView.h"
10 | #import "MAPolyline.h"
11 |
12 | /*!
13 | @brief 此类是MAPolyline的显示多段线View,可以通过MAOverlayPathView修改其fill和stroke attributes
14 | */
15 | @interface MAPolylineView : MAOverlayPathView
16 |
17 | /*!
18 | @brief 根据指定的MAPolyline生成一个多段线view
19 | @param polyline 指定MAPolyline
20 | @return 新生成的多段线view
21 | */
22 | - (id)initWithPolyline:(MAPolyline *)polyline;
23 |
24 | /*!
25 | @brief 关联的MAPolyline model
26 | */
27 | @property (nonatomic, readonly) MAPolyline *polyline;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAShape.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAShape.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2013年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "MAAnnotation.h"
11 |
12 | /*!
13 | @brief 该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
14 | */
15 | @interface MAShape : NSObject
16 |
17 | /*!
18 | @brief 标题
19 | */
20 | @property (nonatomic, copy) NSString *title;
21 |
22 | /*!
23 | @brief 副标题
24 | */
25 | @property (nonatomic, copy) NSString *subtitle;
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MATileOverlay.h:
--------------------------------------------------------------------------------
1 | //
2 | // MATileOverlay.h
3 | // MAMapKitNew
4 | //
5 | // Created by xiaoming han on 14-1-24.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlay.h"
10 |
11 | /**
12 | 该类是覆盖在球面墨卡托投影上的图片tiles的数据源
13 | */
14 | @interface MATileOverlay : NSObject
15 |
16 | /**
17 | 根据指定的URLTemplate生成tileOverlay
18 |
19 | @param URLTemplate URLTemplate是一个包含"{x}","{y}","{z}","{scale}"的字符串,"{x}","{y}","{z}","{scale}"会被tile path的值所替换,并生成用来加载tile图片数据的URL 。例如: http://server/path?x={x}&y={y}&z={z}&scale={scale}。
20 |
21 | @return 以指定的URLTemplate字符串生成tileOverlay
22 | */
23 | - (instancetype)initWithURLTemplate:(NSString *)URLTemplate;
24 |
25 | /**
26 | 默认tileSize 256x256
27 | */
28 | @property CGSize tileSize;
29 |
30 | /**
31 | overlay可以渲染的最小缩放级别。当0级时,一个tile覆盖整个世界范围,1级时覆盖 1/4th 世界,2级时1/16th,以此类推。
32 | */
33 | @property NSInteger minimumZ;
34 |
35 | /**
36 | overlay可以渲染的最大缩放级别。
37 | */
38 | @property NSInteger maximumZ;
39 |
40 | @property (readonly) NSString *URLTemplate;
41 |
42 | /**
43 | 区域外接矩形,可用来设定tileOverlay的可渲染区域
44 | */
45 | @property (nonatomic) MAMapRect boundingMapRect;
46 |
47 | @end
48 |
49 | /**
50 | 记录某特定tile的据结构。contentScaleFactor根据设备的ScrennScale而定, 为1.0或2.0。
51 | */
52 | typedef struct {
53 | NSInteger x;
54 | NSInteger y;
55 | NSInteger z;
56 | CGFloat contentScaleFactor;
57 | } MATileOverlayPath;
58 |
59 | /**
60 | 子类可覆盖CustomLoading中的方法来自定义加载MATileOverlay的行为。
61 | */
62 | @interface MATileOverlay (CustomLoading)
63 |
64 | /**
65 | 以tile path生成URL。用于加载tile, 此方法默认填充URLTemplate
66 |
67 | @param path path
68 | @return path相应的url
69 | */
70 | - (NSURL *)URLForTilePath:(MATileOverlayPath)path;
71 |
72 | /**
73 | 加载被请求的tile, 并以tile数据或加载tile失败error访问回调block; 默认实现为首先用 -URLForTilePath 去获取URL, 然后用异步NSURLConnection加载tile数据。当绘制大面积的tileOverlay时,建议重写此函数并实现缓存机制。
74 |
75 | @param path path
76 | @param result 用来传入tile数据或加载tile失败的error访问的回调block
77 | */
78 | - (void)loadTileAtPath:(MATileOverlayPath)path result:(void (^)(NSData *tileData, NSError *error))result;
79 |
80 | @end
81 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MATileOverlayRenderer.h:
--------------------------------------------------------------------------------
1 | //
2 | // MATileOverlayRenderer.h
3 | // MAMapKitNew
4 | //
5 | // Created by xiaoming han on 14-1-24.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayRenderer.h"
10 | #import "MATileOverlay.h"
11 |
12 | /*!
13 | @brief 此类将MATileOverlay中的tile渲染到地图上
14 | */
15 | @interface MATileOverlayRenderer : MAOverlayRenderer
16 |
17 | /*!
18 | @brief 覆盖在球面墨卡托投影上的图片tiles的数据源
19 | */
20 | @property (nonatomic ,readonly) MATileOverlay *tileOverlay;
21 |
22 | /*!
23 | @brief 根据指定的tileOverlay生成MATileOverlayRenderer
24 | @param overlay 数据源
25 | @return 初始化成功则返回overlay renderer,否则返回nil
26 | */
27 | - (instancetype)initWithTileOverlay:(MATileOverlay *)overlay;
28 |
29 | /*!
30 | @brief 清除所有tile的缓存,并刷新overlay
31 | */
32 | - (void)reloadData;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MATileOverlayView.h:
--------------------------------------------------------------------------------
1 | //
2 | // MATileOverlayView.h
3 | // MAMapKitNew
4 | //
5 | // Created by xiaoming han on 14-5-4.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import "MAOverlayView.h"
10 | #import "MATileOverlay.h"
11 |
12 | /*!
13 | @brief 此类将MATileOverlay中的tile渲染到地图上
14 | */
15 | @interface MATileOverlayView : MAOverlayView
16 |
17 | /*!
18 | @brief 覆盖在球面墨卡托投影上的图片tiles的数据源
19 | */
20 | @property (nonatomic ,readonly) MATileOverlay *tileOverlay;
21 |
22 | /*!
23 | @brief 根据指定的tileOverlay生成MAOverlayView
24 | @param overlay 数据源
25 | @return 初始化成功则返回overlayView,否则返回nil
26 | */
27 | - (id)initWithTileOverlay:(MATileOverlay *)overlay;
28 |
29 | /*!
30 | @brief 清除所有tile的缓存,并刷新overlay
31 | */
32 | - (void)reloadData;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAUserLocation.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAUserLocation.h
3 | // MAMapKit
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2012年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "MAAnnotation.h"
11 |
12 | @class CLLocation;
13 | @class CLHeading;
14 |
15 | /*!
16 | @brief 定位信息类
17 | */
18 | @interface MAUserLocation : NSObject
19 |
20 | /*!
21 | @brief 位置更新状态,如果正在更新位置信息,则该值为YES.
22 | */
23 | @property (nonatomic, readonly, getter = isUpdating) BOOL updating;
24 |
25 | /*!
26 | @brief 位置信息, 如果MAMapView的showsUserLocation为NO, 或者尚未定位成功, 则该值为nil.
27 | */
28 | @property (nonatomic, readonly) CLLocation *location;
29 |
30 | /*!
31 | @brief heading信息.
32 | */
33 | @property (nonatomic, readonly) CLHeading *heading;
34 |
35 | /*!
36 | @brief 定位标注点要显示的标题信息.
37 | */
38 | @property (nonatomic, copy) NSString *title;
39 |
40 | /*!
41 | @brief 定位标注点要显示的子标题信息.
42 | */
43 | @property (nonatomic, copy) NSString *subtitle;
44 |
45 | @end
46 |
47 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/Headers/MAUserLocationRepresentation.h:
--------------------------------------------------------------------------------
1 | //
2 | // MAUserLocationRepresentation.h
3 | // MAMapKitNew
4 | //
5 | // Created by AutoNavi.
6 | // Copyright (c) 2014年 AutoNavi. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | /*!
13 | @brief 精度圈样式信息
14 | */
15 | @interface MAUserLocationRepresentation : NSObject
16 |
17 | /*!
18 | @brief 标注图片。若设置为nil,则为默认图片。
19 | */
20 | @property (nonatomic, strong) UIImage *image;
21 |
22 | /*!
23 | @brief 是否显示精度圈。默认为YES
24 | */
25 | @property (nonatomic, assign) BOOL showsAccuracyRing;
26 |
27 | /*!
28 | @brief 是否显示方向指示(MAUserTrackingModeFollowWithHeading模式开启)。默认为YES
29 | */
30 | @property (nonatomic, assign) BOOL showsHeadingIndicator;
31 |
32 | /*!
33 | @brief 精度圈边线宽度,默认是2
34 | */
35 | @property (nonatomic, assign) CGFloat lineWidth;
36 |
37 | /*!
38 | @brief 精度圈填充颜色
39 | */
40 | @property (nonatomic, strong) UIColor *fillColor;
41 |
42 | /*!
43 | @brief 精度圈边线颜色
44 | */
45 | @property (nonatomic, strong) UIColor *strokeColor;
46 |
47 | /*!
48 | @brief 边线虚线样式, 默认是nil
49 | */
50 | @property (nonatomic, copy) NSArray *lineDashPattern;
51 |
52 | @end
53 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/MAMapKit:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/AMap/MAMapKit.framework/MAMapKit
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AMapViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AMapViewController.swift
3 | // EasyMapDemo
4 | //
5 | // Created by ghysrc on 2017/1/10.
6 | // Copyright © 2017年 ghysrc. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class AMapViewController: UIViewController {
12 |
13 | private var location:CLLocation?
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 | AMapServices.shared().apiKey = "2f0e64657df91d70a5ae584cbfdc0829"
18 | // Do any additional setup after loading the view.
19 | }
20 | @IBAction func startLocating(_ sender: UIButton) {
21 | AMap.getLocation(onSuccess: { (location) in
22 | self.location = location
23 | sender.setTitle("\(location.coordinate.latitude), \(location.coordinate.longitude)", for: .normal)
24 | }) { (error) in
25 | self.showAlert(title: error.localizedDescription)
26 | }
27 | }
28 |
29 | @IBAction func reverseGeocoder(_ sender: UIButton) {
30 | guard let coordinate = self.location?.coordinate else {
31 | self.showAlert(title: "Click Locate First")
32 | return
33 | }
34 | AMap.reverseGeocoder(coordinate: coordinate, onSuccess: { (response) in
35 | self.showAlert(title: response.regeocode.formattedAddress)
36 | }) { (error) in
37 | self.showAlert(title: error.localizedDescription)
38 | }
39 | }
40 |
41 | @IBAction func poiSearch(_ sender: UIButton) {
42 | guard let coordinate = self.location?.coordinate else {
43 | self.showAlert(title: "Click Locate First")
44 | return
45 | }
46 | AMap.searchPoi(near: coordinate, radius: 1000, keywords: "hotel", types: "", page: 1, offset: 10, sortByDistance: true, requireExtension: false, onSuccess: { (response) in
47 | var names = [String]()
48 | for item in response.pois {
49 | names.append(item.name)
50 | }
51 | self.showActionSheet(title: "POI Result", buttons: names)
52 | }) { (error) in
53 | self.showAlert(title: error.localizedDescription)
54 | }
55 | }
56 |
57 | override func didReceiveMemoryWarning() {
58 | super.didReceiveMemoryWarning()
59 | // Dispose of any resources that can be recreated.
60 | }
61 |
62 |
63 | /*
64 | // MARK: - Navigation
65 |
66 | // In a storyboard-based application, you will often want to do a little preparation before navigation
67 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
68 | // Get the new view controller using segue.destinationViewController.
69 | // Pass the selected object to the new view controller.
70 | }
71 | */
72 |
73 | }
74 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // EasyMapDemo
4 | //
5 | // Created by ghysrc on 2017/1/10.
6 | // Copyright © 2017年 ghysrc. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | }
43 | ],
44 | "info" : {
45 | "version" : 1,
46 | "author" : "xcode"
47 | }
48 | }
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/BaiduMapAPI_Base:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/BaiduMapAPI_Base
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/Headers/BMKBaseComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // BaseComponent.h
3 | // BaseComponent
4 | //
5 | // Created by baidu on 14-3-17.
6 | // Copyright (c) 2014年 baidu. All rights reserved.
7 | //
8 |
9 | #import "BMKGeneralDelegate.h"
10 | #import "BMKMapManager.h"
11 | #import "BMKTypes.h"
12 | #import "BMKUserLocation.h"
13 | #import "BMKVersion.h"
14 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/Headers/BMKGeneralDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKGeneralDelegate.h
3 | // BMapKit
4 | //
5 | // Copyright 2011 Baidu Inc. All rights reserved.
6 | //
7 |
8 | #import
9 |
10 | ///通知Delegate
11 | @protocol BMKGeneralDelegate
12 | @optional
13 | /**
14 | *返回网络错误
15 | *@param iError 错误号
16 | */
17 | - (void)onGetNetworkState:(int)iError;
18 |
19 | /**
20 | *返回授权验证错误
21 | *@param iError 错误号 : 为0时验证通过,具体参加BMKPermissionCheckResultCode
22 | */
23 | - (void)onGetPermissionState:(int)iError;
24 | @end
25 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/Headers/BMKMapManager.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKMapManager.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKGeneralDelegate.h"
10 | #import
11 |
12 | enum EN_PERMISSION_STATUS
13 | {
14 | E_PERMISSION_OK = 0, // 授权验证通过
15 | E_PERMISSION_SERVER_ERROR = -200, //服务端数据错误,无法解析服务端返回数据
16 | E_PERMISSION_NETWORK_ERROR = -300, //无法建立与服务端的连接
17 |
18 | };
19 |
20 | //地图模块枚举
21 | typedef enum {
22 | BMKMapModuleTile = 0, //瓦片图模块
23 | }BMKMapModule;
24 |
25 | ///主引擎类
26 | @interface BMKMapManager : NSObject
27 |
28 | /**
29 | *是否开启打印某模块的log,默认不打印log
30 | *debug时,建议打开,有利于调试程序;release时建议关闭
31 | *@param enable 是否开启
32 | *@param mapModule 地图模块
33 | */
34 | + (void)logEnable:(BOOL) enable module:(BMKMapModule) mapModule;
35 |
36 | /**
37 | *启动引擎
38 | *@param key 申请的有效key
39 | *@param delegate
40 | */
41 | -(BOOL)start:(NSString*)key generalDelegate:(id)delegate;
42 |
43 | /**
44 | *获取所有在线服务消耗的发送流量,单位:字节
45 | */
46 | -(int)getTotalSendFlaxLength;
47 |
48 | /**
49 | *获取所有在线服务消耗的接收流量,单位:字节
50 | */
51 | -(int)getTotalRecvFlaxLength;
52 |
53 | /**
54 | *停止引擎
55 | */
56 | -(BOOL)stop;
57 |
58 |
59 |
60 | @end
61 |
62 |
63 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/Headers/BMKUserLocation.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKUserLocation.h
3 | // BaseComponent
4 | //
5 | // Created by Baidu on 3/26/14.
6 | // Copyright (c) 2014 baidu. All rights reserved.
7 | //
8 | #import
9 | #import
10 | #import "BMKBaseComponent.h"
11 | @class CLLocation;
12 | @class CLHeading;
13 | @interface BMKUserLocation : NSObject
14 |
15 | /// 位置更新状态,如果正在更新位置信息,则该值为YES
16 | @property (readonly, nonatomic, getter=isUpdating) BOOL updating;
17 |
18 | /// 位置信息,尚未定位成功,则该值为nil
19 | @property (readonly, nonatomic,strong) CLLocation *location;
20 |
21 | /// heading信息,尚未定位成功,则该值为nil
22 | @property (readonly, nonatomic, strong) CLHeading *heading;
23 |
24 | /// 定位标注点要显示的标题信息
25 | @property (strong, nonatomic) NSString *title;
26 |
27 | /// 定位标注点要显示的子标题信息.
28 | @property (strong, nonatomic) NSString *subtitle;
29 |
30 | @end
31 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Base.framework/readme.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | --------------------------------------------------------------------------------------
6 |
7 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
8 |
9 | --------------------------------------------------------------------------------------
10 |
11 | 地图SDK功能介绍(全功能开发包):
12 |
13 | 地图:提供地图展示和地图操作功能;
14 |
15 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
16 |
17 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
18 |
19 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
20 |
21 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
22 |
23 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
24 |
25 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
26 |
27 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
28 |
29 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
30 |
31 | LBS云检索:支持查询存储在LBS云内的自有数据;
32 |
33 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
34 |
35 |
36 | --------------------------------------------------------------------------------------
37 |
38 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
39 |
40 | 【 新版提示 】
41 | 1、自v3.2.0起,全面支持HTTPS
42 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
43 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
44 | 地图数据加载升级,加载性能大幅提升
45 |
46 | 【 修 复 】
47 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Cloud.framework/BaiduMapAPI_Cloud:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Cloud.framework/BaiduMapAPI_Cloud
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Cloud.framework/Headers/BMKCloudSearchComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // LBSSearchComponent.h
3 | // LBSSearchComponent
4 | //
5 | // Created by baidu on 14-3-10.
6 | // Copyright (c) 2014年 baidu. All rights reserved.
7 | //
8 |
9 | #import "BMKCloudVersion.h"
10 | #import "BMKCloudPOIList.h"
11 | #import "BMKCloudSearch.h"
12 | #import "BMKCloudSearchInfo.h"
13 |
14 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Cloud.framework/Headers/BMKCloudVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKCloudVersion.h
3 | // LBSSearchComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKCloudVersion_h
10 | #define BMKCloudVersion_h
11 |
12 | #import
13 |
14 | /**
15 | *重要:
16 | *base组件的版本和cloud组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API cloud组件 的版本号
21 | *当前cloud组件版本 : 3.2.1
22 | *return 返回当前API cloud组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiCloudComponentVersion();
25 |
26 | /**
27 | *检查cloud组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckCloudComponentIsLegal();
31 |
32 | #endif /* BMKCloudVersion_h */
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Cloud.framework/readme.txt:
--------------------------------------------------------------------------------
1 | LBS云检索:包括LBS云检索(周边、区域、城市内、详情);
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Location.framework/BaiduMapAPI_Location:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Location.framework/BaiduMapAPI_Location
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Location.framework/Headers/BMKLocationComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKLocationComponent.h
3 | // LocationComponent
4 | //
5 | // Created by Baidu on 3/31/14.
6 | // Copyright (c) 2014 baidu. All rights reserved.
7 | //
8 |
9 | #import "BMKLocationService.h"
10 | #import "BMKLocationVersion.h"
11 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Location.framework/Headers/BMKLocationVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKLocationVersion.h
3 | // LocationComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKLocationVersion_h
10 | #define BMKLocationVersion_h
11 |
12 | #import
13 |
14 | /**
15 | *重要:
16 | *location组件的版本和base组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API location组件 的版本号
21 | *当前location组件版本 : 3.2.1
22 | *return 返回当前API location组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiLocationComponentVersion();
25 |
26 | /**
27 | *检查location组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckLocationComponentIsLegal();
31 |
32 | #endif /* BMKLocationVersion_h */
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Location.framework/readme.txt:
--------------------------------------------------------------------------------
1 | 定位功能:获取当前位置信息;
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/BaiduMapAPI_Map:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/BaiduMapAPI_Map
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKActionPaopaoView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKActionPaopaoView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | /// 该类用于定义一个PaopaoView
11 | @interface BMKActionPaopaoView : UIView
12 |
13 | /**
14 | *初始化并返回一个BMKActionPaopaoView
15 | *@param customView 自定义View,customView=nil时返回默认的PaopaoView
16 | *@return 初始化成功则返回BMKActionPaopaoView,否则返回nil
17 | */
18 | - (id)initWithCustomView:(UIView*)customView;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKAnnotation.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKAnnotation.h
3 | // BMapKit
4 | //
5 | // Copyright 2011 Baidu Inc. All rights reserved.
6 | //
7 |
8 | #import
9 | #import
10 | #import
11 |
12 | /// 该类为标注点的protocol,提供了标注类的基本信息函数
13 | @protocol BMKAnnotation
14 |
15 | ///标注view中心坐标.
16 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
17 |
18 | @optional
19 |
20 | /**
21 | *获取annotation标题
22 | *@return 返回annotation的标题信息
23 | */
24 | - (NSString *)title;
25 |
26 | /**
27 | *获取annotation副标题
28 | *@return 返回annotation的副标题信息
29 | */
30 | - (NSString *)subtitle;
31 |
32 | /**
33 | *设置标注的坐标,在拖拽时会被调用.
34 | *@param newCoordinate 新的坐标值
35 | */
36 | - (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
37 |
38 | @end
39 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKArcline.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKArcline.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKMultiPoint.h"
10 | #import "BMKOverlay.h"
11 |
12 | /// 此类用于定义一段圆弧
13 | @interface BMKArcline : BMKMultiPoint
14 | {
15 | BMKMapRect _boundingMapRect;
16 | bool isYouArc;
17 | }
18 |
19 | /**
20 | *根据指定坐标点生成一段圆弧
21 | *@param points 指定的直角坐标点数组(需传入3个点)
22 | *@return 新生成的圆弧对象
23 | */
24 | + (BMKArcline *)arclineWithPoints:(BMKMapPoint *)points;
25 |
26 | /**
27 | *根据指定经纬度生成一段圆弧
28 | *@param coords 指定的经纬度坐标点数组(需传入3个点)
29 | *@return 新生成的圆弧对象
30 | */
31 | + (BMKArcline *)arclineWithCoordinates:(CLLocationCoordinate2D *)coords;
32 |
33 | /**
34 | *重新设置圆弧坐标
35 | *@param points 指定的直角坐标点数组(需传入3个点)
36 | *@return 是否设置成功
37 | */
38 | - (BOOL)setArclineWithPoints:(BMKMapPoint *)points;
39 |
40 | /**
41 | *重新设置圆弧坐标
42 | *@param coords 指定的经纬度坐标点数组(需传入3个点)
43 | *@param count 坐标点的个数
44 | *@return 是否设置成功
45 | */
46 | - (BOOL)setArclineWithCoordinates:(CLLocationCoordinate2D *)coords;
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKArclineView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKArclineView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | #import "BMKArcline.h"
12 | #import "BMKOverlayGLBasicView.h"
13 |
14 | /// 此类用于定义一个圆弧View
15 | @interface BMKArclineView : BMKOverlayGLBasicView
16 |
17 | /**
18 | *根据指定的弧线生成一个圆弧View
19 | *@param arcline 指定的弧线数据对象
20 | *@return 新生成的弧线View
21 | */
22 | - (id)initWithArcline:(BMKArcline *)arcline;
23 |
24 | /// 该View对应的圆弧数据对象
25 | @property (nonatomic, readonly) BMKArcline *arcline;
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKBaseIndoorMapInfo.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKBaseIndoorMapInfo.h
3 | // MapComponent
4 | //
5 | // Created by wzy on 16/4/2.
6 | // Copyright © 2016年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKBaseIndoorMapInfo_h
10 | #define BMKBaseIndoorMapInfo_h
11 |
12 | #import
13 | #import
14 | #import
15 |
16 | ///此类表示室内图基础信息
17 | @interface BMKBaseIndoorMapInfo : NSObject
18 |
19 | /// 室内ID
20 | @property (nonatomic, strong) NSString* strID;
21 | /// 当前楼层
22 | @property (nonatomic, strong) NSString* strFloor;
23 | /// 所有楼层信息
24 | @property (nonatomic, strong) NSMutableArray* arrStrFloors;
25 |
26 | @end
27 |
28 | #endif /* BMKBaseIndoorMapInfo_h */
29 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKCircle.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKCircle.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKShape.h"
10 | #import "BMKMultiPoint.h"
11 | #import "BMKOverlay.h"
12 |
13 | /// 该类用于定义一个圆
14 | @interface BMKCircle : BMKMultiPoint {
15 | @package
16 | BOOL _invalidate;
17 | CLLocationCoordinate2D _coordinate;
18 | CLLocationDistance _radius;
19 | BMKMapRect _boundingMapRect;
20 | }
21 |
22 | /**
23 | *根据中心点和半径生成圆
24 | *@param coord 中心点的经纬度坐标
25 | *@param radius 半径,单位:米
26 | *@return 新生成的圆
27 | */
28 | + (BMKCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord
29 | radius:(CLLocationDistance)radius;
30 |
31 | /**
32 | *根据指定的直角坐标矩形生成圆,半径由较长的那条边决定,radius = MAX(width, height)/2
33 | *@param mapRect 指定的直角坐标矩形
34 | *@return 新生成的圆
35 | */
36 | + (BMKCircle *)circleWithMapRect:(BMKMapRect)mapRect;
37 |
38 | /// 中心点坐标
39 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
40 |
41 | /// 半径,单位:米
42 | @property (nonatomic, assign) CLLocationDistance radius;
43 |
44 | /// 该圆的外接矩形
45 | @property (nonatomic, readonly) BMKMapRect boundingMapRect;
46 |
47 | /**
48 | *设置圆的中心点和半径
49 | *@param coord 中心点的经纬度坐标
50 | *@param radius 半径,单位:米
51 | *@return 是否设置成功
52 | */
53 | - (BOOL)setCircleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius;
54 | /**
55 | *根据指定的直角坐标矩形设置圆,半径由较长的那条边决定,radius = MAX(width, height)/2
56 | *@param mapRect 指定的直角坐标矩形
57 | *@return 是否设置成功
58 | */
59 | - (BOOL)setCircleWithMapRect:(BMKMapRect)mapRect;
60 |
61 | @end
62 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKCircleView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKCircleView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | #import "BMKCircle.h"
12 | #import "BMKOverlayGLBasicView.h"
13 |
14 | /// 该类用于定义圆对应的View
15 | @interface BMKCircleView : BMKOverlayGLBasicView
16 |
17 | /**
18 | *根据指定圆生成对应的View
19 | *@param circle 指定的圆
20 | *@return 生成的View
21 | */
22 | - (id)initWithCircle:(BMKCircle *)circle;
23 |
24 | /// 该View对应的圆
25 | @property (nonatomic, readonly) BMKCircle *circle;
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKGradient.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGradient.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 | #import
10 | ///此类表示热力图渐变色
11 | @interface BMKGradient : NSObject{
12 |
13 | }
14 | ///渐变色用到的所有颜色数组,数组成员类型为UIColor
15 | @property (nonatomic,strong) NSArray* mColors;
16 | ///每一个颜色的起始点数组,,数组成员类型为 [0,1]的double值, given as a percentage of the maximum intensity,个数和mColors的个数必须相同,数组内元素必须时递增的
17 | @property (nonatomic,strong) NSArray* mStartPoints;
18 |
19 | //渐变色的初始化方法,使用默认colorMapSize1000进行初始化
20 | - (id)initWithColors:(NSArray*)colors startPoints:(NSArray*)startPoints;
21 | @end
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKGroundOverlay.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGroundOverlay.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import "BMKMultiPoint.h"
9 | #import "BMKOverlay.h"
10 | /// 该类用于定义一个图片图层
11 | @interface BMKGroundOverlay : BMKMultiPoint
12 | {
13 | @public
14 | float zoomLevel;
15 | CLLocationCoordinate2D _pt;
16 | BMKCoordinateBounds _bound;
17 | CGPoint _anchor;
18 | UIImage* _icon;
19 | int iconID;
20 | BOOL isCenterPt;
21 | int left;
22 | int bottom;
23 | int width;
24 | int height;
25 | }
26 | /// 两种绘制GroundOverlay的方式之一:绘制的位置地理坐标,与anchor配对使用
27 | @property (nonatomic,assign) CLLocationCoordinate2D pt;
28 |
29 | /// 用位置绘制时图片的锚点,图片左上角为(0.0f,0.0f),向右向下为正
30 | /// 使用groundOverlayWithPosition初始化时生效
31 | @property (nonatomic,assign) CGPoint anchor;
32 |
33 | /// 两种绘制GroundOverlay的方式之二:绘制的地理区域范围,图片在此区域内合理缩放
34 | @property (nonatomic,assign) BMKCoordinateBounds bound;
35 |
36 | /// 绘制图片
37 | @property(nonatomic, strong) UIImage *icon;
38 |
39 | ///图片纹理透明度,最终透明度 = 纹理透明度 * alpha,取值范围为[0.0f, 1.0f],默认为1.0f
40 | @property(nonatomic) GLfloat alpha;
41 |
42 | /**
43 | *根据指定经纬度坐标生成一个groundOverlay
44 | *@param position 指定的经纬度坐标
45 | *@param zoomLevel 不损失精度绘制原始图片的地图等级
46 | *@param anchor 绘制图片的锚点
47 | *@param icon 绘制使用的图片
48 | *@return 新生成的groundOverlay对象
49 | */
50 | + (BMKGroundOverlay *)groundOverlayWithPosition:(CLLocationCoordinate2D)position
51 | zoomLevel:(CGFloat)zoomLevel
52 | anchor:(CGPoint)anchor
53 | icon:(UIImage*)icon;
54 |
55 | /**
56 | *根据指定区域生成一个groundOverlay
57 | *@param bounds 指定的经纬度区域
58 | *@param icon 绘制使用的图片
59 | *@return 新生成的groundOverlay对象
60 | */
61 | + (BMKGroundOverlay *)groundOverlayWithBounds:(BMKCoordinateBounds)bounds
62 | icon:(UIImage*)icon;
63 |
64 |
65 | @end
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKGroundOverlayView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGroundOverlayView.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | #import "BMKGroundOverlay.h"
12 | #import "BMKOverlayPathView.h"
13 |
14 | /// 该类用于定义一个BMKGroundOverlayView
15 | @interface BMKGroundOverlayView : BMKOverlayView
16 |
17 | /**
18 | *根据指定的groundOverlay生成一个View
19 | *@param groundOverlay 指定的groundOverlay数据对象
20 | *@return 新生成的View
21 | */
22 | - (id)initWithGroundOverlay:(BMKGroundOverlay *)groundOverlay;
23 |
24 | /// 该View对应的ground数据对象
25 | @property (nonatomic, readonly) BMKGroundOverlay *groundOverlay;
26 |
27 | @end
28 |
29 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKHeatMap.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKHeatMap.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 | #import
10 | #import
11 | #import "BMKGradient.h"
12 | ///热力图节点信息
13 | @interface BMKHeatMapNode : NSObject{
14 | double _intensity;
15 | CLLocationCoordinate2D _pt;
16 | }
17 |
18 | ///点的强度权值
19 | @property (nonatomic) double intensity;
20 | ///点的位置坐标
21 | @property (nonatomic) CLLocationCoordinate2D pt;
22 |
23 | @end
24 |
25 |
26 |
27 | ///热力图的绘制数据和显示样式类
28 | @interface BMKHeatMap : NSObject
29 | {
30 | int _mRadius; //Heatmap point radius
31 | BMKGradient* _mGradient;//Gradient of the color map
32 | double _mOpacity;//Opacity of the overall heatmap overlay [0...1]
33 | NSMutableArray* _mData;
34 |
35 | }
36 | ///设置热力图点半径,默认为12ps
37 | @property (nonatomic, assign) int mRadius;
38 | ///设置热力图渐变,有默认值 DEFAULT_GRADIENT
39 | @property (nonatomic, strong) BMKGradient* mGradient;
40 | ///设置热力图层透明度,默认 0.6
41 | @property (nonatomic, assign) double mOpacity;
42 | ///用户传入的热力图数据,数组,成员类型为BMKHeatMapNode
43 | @property (nonatomic, strong) NSMutableArray* mData;
44 |
45 | @end
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKLocationViewDisplayParam.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKLocationViewDisplayParam.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 | #import
10 |
11 |
12 | ///此类表示定位图层自定义样式参数
13 | @interface BMKLocationViewDisplayParam : NSObject
14 |
15 | ///定位图标X轴偏移量(屏幕坐标)
16 | @property (nonatomic, assign) CGFloat locationViewOffsetX;
17 | ///定位图标Y轴偏移量(屏幕坐标)
18 | @property (nonatomic, assign) CGFloat locationViewOffsetY;
19 | ///精度圈是否显示,默认YES
20 | @property (nonatomic, assign) BOOL isAccuracyCircleShow;
21 | ///精度圈 填充颜色
22 | @property (nonatomic, strong) UIColor *accuracyCircleFillColor;
23 | ///精度圈 边框颜色
24 | @property (nonatomic, strong) UIColor *accuracyCircleStrokeColor;
25 | ///跟随态旋转角度是否生效,默认YES
26 | @property (nonatomic, assign) BOOL isRotateAngleValid;
27 | ///定位图标名称,需要将该图片放到 mapapi.bundle/images 目录下
28 | @property (nonatomic, strong) NSString* locationViewImgName;
29 |
30 | @end
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKMapComponent.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKMapComponent.h
3 | * BMKMapComponent
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import "BMKMapVersion.h"
9 |
10 | #import "BMKAnnotation.h"
11 | #import "BMKAnnotationView.h"
12 |
13 | #import "BMKMapView.h"
14 | #import "BMKBaseIndoorMapInfo.h"
15 | #import "BMKOfflineMap.h"
16 | #import "BMKOfflineMapType.h"
17 |
18 | #import "BMKOverlay.h"
19 | #import "BMKShape.h"
20 | #import "BMKPointAnnotation.h"
21 | #import "BMKPinAnnotationView.h"
22 | #import "BMKMultiPoint.h"
23 | #import "BMKArcline.h"
24 | #import "BMKPolyline.h"
25 | #import "BMKPolygon.h"
26 | #import "BMKCircle.h"
27 | #import "BMKOverlayView.h"
28 | #import "BMKOverlayPathView.h"
29 | #import "BMKOverlayGLBasicView.h"
30 | #import "BMKPolygonView.h"
31 | #import "BMKPolylineView.h"
32 | #import "BMKCircleView.h"
33 | #import "BMKArclineView.h"
34 | #import "BMKGroundOverlay.h"
35 | #import "BMKGroundOverlayView.h"
36 | #import "BMKGradient.h"
37 | #import "BMKTileLayer.h"
38 | #import "BMKTileLayerView.h"
39 |
40 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKMapStatus.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKMapStatus.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import
11 | #import
12 | //#import
13 |
14 | ///此类表示地图状态信息
15 | @interface BMKMapStatus : NSObject
16 | {
17 | float _fLevel; // 缩放比例,3-19级
18 | float _fRotation; // 旋转角度
19 | float _fOverlooking; // 俯视角度
20 |
21 | CGPoint _targetScreenPt;//屏幕坐标(中心点)
22 | CLLocationCoordinate2D _targetGeoPt;//地理坐标(中心点)
23 | }
24 | ///缩放级别:[3~19]
25 | @property (nonatomic, assign) float fLevel;
26 | ///旋转角度
27 | @property (nonatomic, assign) float fRotation;
28 | ///俯视角度:[-45~0]
29 | @property (nonatomic, assign) float fOverlooking;
30 | ///屏幕中心点坐标:在屏幕内,超过无效
31 | @property (nonatomic) CGPoint targetScreenPt;
32 | ///地理中心点坐标:经纬度
33 | @property (nonatomic) CLLocationCoordinate2D targetGeoPt;
34 | ///当前地图范围,采用直角坐标系表示,向右向下增长
35 | @property (nonatomic, assign, readonly) BMKMapRect visibleMapRect;
36 |
37 | @end
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKMapVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKMapVersion.h
3 | // MapComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKMapVersion_h
10 | #define BMKMapVersion_h
11 |
12 | #import
13 |
14 | /**
15 | *重要:
16 | *map组件的版本和base组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API map组件 的版本号
21 | *当前map组件版本 : 3.2.1
22 | *return 返回当前API map组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiMapComponentVersion();
25 |
26 | /**
27 | *检查map组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckMapComponentIsLegal();
31 |
32 | #endif /* BMKMapVersion_h */
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKMultiPoint.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKMultiPoint.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import
11 | #import "BMKShape.h"
12 |
13 | /// 该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
14 | @interface BMKMultiPoint : BMKShape {
15 | @package
16 | BMKMapPoint *_points;
17 | NSUInteger _pointCount;
18 |
19 | BMKMapRect _boundingRect;
20 | }
21 |
22 | /// 坐标点数组
23 | @property (nonatomic, readonly) BMKMapPoint *points;
24 |
25 | /// 坐标点的个数
26 | @property (nonatomic, readonly) NSUInteger pointCount;
27 |
28 | /**
29 | *将内部的直角坐标数据转换为经纬度坐标点数据,并拷贝到指定的数组中
30 | *@param coords 经纬度坐标数组,转换后的坐标将存储到该数组中,该数组长度必须大于等于要拷贝的坐标点的个数(range.length)
31 | *@param range 指定要拷贝的数据段
32 | */
33 | - (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range;
34 |
35 | @end
36 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKOfflineMapType.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKOffineMapType.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import
11 |
12 | ///离线地图搜索城市记录结构
13 | @interface BMKOLSearchRecord : NSObject
14 | {
15 | NSString* _cityName;
16 | int _size;
17 | int _cityID;
18 | int _cityType;
19 | NSArray* _childCities;
20 | }
21 | ///城市名称
22 | @property (nonatomic, strong) NSString* cityName;
23 | ///数据包总大小
24 | @property (nonatomic) int size;
25 | ///城市ID
26 | @property (nonatomic) int cityID;
27 | ///城市类型 0:全国;1:省份;2:城市;如果是省份,可以通过childCities得到子城市列表
28 | @property (nonatomic) int cityType;
29 | ///子城市列表
30 | @property (nonatomic, strong) NSArray* childCities;
31 |
32 |
33 | @end
34 |
35 |
36 | ///离线地图更新信息
37 | @interface BMKOLUpdateElement : NSObject
38 | {
39 | NSString* _cityName;
40 | int _cityID;
41 | int _size;
42 | int _serversize;
43 | BOOL _update;
44 | int _ratio;
45 | int _status;
46 | CLLocationCoordinate2D _pt;
47 | }
48 | ///城市名称
49 | @property (nonatomic, strong) NSString* cityName;
50 | ///城市ID
51 | @property (nonatomic) int cityID;
52 | ///已下载数据大小,单位:字节
53 | @property (nonatomic) int size;
54 | ///服务端数据大小,当update为YES时有效,单位:字节
55 | @property (nonatomic) int serversize;
56 | ///下载比率,100为下载完成,下载完成后会自动导入,status为4时离线包导入完成
57 | @property (nonatomic) int ratio;
58 | ///下载状态, -1:未定义 1:正在下载 2:等待下载 3:已暂停 4:完成 5:校验失败 6:网络异常 7:读写异常 8:Wifi网络异常 9:离线包数据格式异常,需重新下载离线包 10:离线包导入中
59 | @property (nonatomic) int status;
60 | ///更新状态,离线包是否有更新(有更新需重新下载)
61 | @property (nonatomic) BOOL update;
62 | ///城市中心点
63 | @property (nonatomic) CLLocationCoordinate2D pt;
64 |
65 | @end
66 |
67 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKOverlay.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKOverlay.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKAnnotation.h"
10 | #import
11 |
12 | /// 该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
13 | @protocol BMKOverlay
14 | @required
15 |
16 | /// 返回区域中心坐标.
17 | @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
18 |
19 | /// 返回区域外接矩形
20 | @property (nonatomic, readonly) BMKMapRect boundingMapRect;
21 |
22 | @optional
23 | /**
24 | *判断指定的矩形是否与本Overlay相交,用于更精确的控制overlay view的显示.
25 | *默认使用BMKMapRectIntersectsRect([overlay boundingRect], mapRect)代替.
26 | *@param mapRect 指定的BMKMapRect
27 | *@return 如果相交返回YES,否则返回NO
28 | */
29 | - (BOOL)intersectsMapRect:(BMKMapRect)mapRect;
30 |
31 | @end
32 |
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKOverlayGLBasicView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKOverlayGLBasicView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import "BMKOverlayView.h"
11 |
12 | /// 该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类
13 | @interface BMKOverlayGLBasicView : BMKOverlayView {
14 |
15 | }
16 |
17 | /// 填充颜色
18 | /// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
19 | @property (strong, nonatomic) UIColor *fillColor;
20 | /// 画笔颜色
21 | /// 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
22 | @property (strong, nonatomic) UIColor *strokeColor;
23 | /// 画笔宽度,默认为0
24 | @property (nonatomic) CGFloat lineWidth;
25 | /// path对象
26 | @property CGPathRef path;
27 | /// 是否为虚线样式,默认NO
28 | @property (nonatomic) BOOL lineDash;
29 | /// 是否纹理图片平铺绘制,默认NO
30 | @property (assign, nonatomic) BOOL tileTexture;
31 | /// 纹理图片是否缩放(tileTexture为YES时生效),默认NO
32 | @property (assign, nonatomic) BOOL keepScale;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKOverlayPathView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKOverlayPathView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import "BMKOverlayView.h"
11 |
12 | /// 该类定义了一个基本的OverlayView
13 | @interface BMKOverlayPathView : BMKOverlayView {
14 | @package
15 | UIColor *_fillColor;
16 | UIColor *_strokeColor;
17 |
18 | CGFloat _lineWidth;
19 | CGLineJoin _lineJoin;
20 | CGLineCap _lineCap;
21 | CGFloat _miterLimit;
22 | CGFloat _lineDashPhase;
23 | NSArray *_lineDashPattern;
24 |
25 | CGPathRef _path;
26 | }
27 |
28 | /// 填充颜色
29 | @property (strong) UIColor *fillColor;
30 | /// 画笔颜色
31 | @property (strong) UIColor *strokeColor;
32 |
33 | /// 画笔宽度,默认为0
34 | @property CGFloat lineWidth;
35 | /// LineJoin,默认为kCGLineJoinRound
36 | @property CGLineJoin lineJoin;
37 | /// LineCap,默认为kCGLineCapRound
38 | @property CGLineCap lineCap;
39 | /// miterLimit,在样式为kCGLineJoinMiter时有效,默认为10
40 | @property CGFloat miterLimit;
41 | /// lineDashPhase, 默认为0
42 | @property CGFloat lineDashPhase;
43 | /// lineDashPattern,一个NSNumbers的数组,默认为nil
44 | @property (copy) NSArray *lineDashPattern;
45 |
46 | /**
47 | *生成要绘制的path,子类需要重写此函数,并且对path属性赋值:self.path = newPath;
48 | */
49 | - (void)createPath;
50 | /// path对象
51 | @property CGPathRef path;
52 |
53 | /**
54 | *刷新path,调用该函数将会使已经缓存的path失效,将会重新调用createPath来生成新的path对象
55 | */
56 | - (void)invalidatePath;
57 |
58 |
59 | /**
60 | *应用画笔属性
61 | *@param context CGContext对象
62 | *@param zoomScale 当前的zoomScale
63 | */
64 | - (void)applyStrokePropertiesToContext:(CGContextRef)context
65 | atZoomScale:(BMKZoomScale)zoomScale;
66 |
67 | /**
68 | *应用画刷属性
69 | *@param context CGContext对象
70 | *@param zoomScale 当前的zoomScale
71 | */
72 | - (void)applyFillPropertiesToContext:(CGContextRef)context
73 | atZoomScale:(BMKZoomScale)zoomScale;
74 | /**
75 | *绘制path
76 | *@param path 要绘制的CGPath
77 | *@param context CGContext对象
78 | */
79 | - (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
80 |
81 | /**
82 | *填充path
83 | *@param path 要绘制的CGPath
84 | *@param context CGContext对象
85 | */
86 | - (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
87 |
88 | @end
89 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKPinAnnotationView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPinAnnotationView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKAnnotationView.h"
10 | enum {
11 | BMKPinAnnotationColorRed = 0,
12 | BMKPinAnnotationColorGreen,
13 | BMKPinAnnotationColorPurple
14 | };
15 | typedef NSUInteger BMKPinAnnotationColor;
16 |
17 | ///提供类似大头针效果的annotation view
18 | @interface BMKPinAnnotationView : BMKAnnotationView
19 | {
20 | @private
21 | BMKPinAnnotationColor _pinColor;
22 | BOOL _animatesDrop;
23 | }
24 | ///大头针的颜色,有BMKPinAnnotationColorRed, BMKPinAnnotationColorGreen, BMKPinAnnotationColorPurple三种
25 | @property (nonatomic) BMKPinAnnotationColor pinColor;
26 | ///动画效果
27 | @property (nonatomic) BOOL animatesDrop;
28 |
29 |
30 | @end
31 |
32 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKPointAnnotation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPointAnnotation.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 |
10 | #import
11 | #import "BMKShape.h"
12 | #import
13 |
14 | ///表示一个点的annotation
15 | @interface BMKPointAnnotation : BMKShape {
16 | @package
17 | CLLocationCoordinate2D _coordinate;
18 | }
19 | ///该点的坐标
20 | @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
21 |
22 | @end
23 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKPolygon.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPolygon.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 |
10 | #import "BMKMultiPoint.h"
11 | #import "BMKOverlay.h"
12 |
13 | /// 此类用于定义一个多边形区域
14 | @interface BMKPolygon : BMKMultiPoint
15 | /**
16 | *根据多个点生成多边形
17 | *@param points 直角坐标点数组,这些点将被拷贝到生成的多边形对象中
18 | *@param count 点的个数
19 | *@return 新生成的多边形对象
20 | */
21 | + (BMKPolygon *)polygonWithPoints:(BMKMapPoint *)points count:(NSUInteger)count;
22 |
23 | /**
24 | *根据多个点生成多边形
25 | *@param coords 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中
26 | *@param count 点的个数
27 | *@return 新生成的多边形对象
28 | */
29 | + (BMKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
30 |
31 | /**
32 | *重新设置多边形顶点
33 | *@param points 指定的直角坐标点数组
34 | *@param count 坐标点的个数
35 | *@return 是否设置成功
36 | */
37 | - (BOOL)setPolygonWithPoints:(BMKMapPoint *)points count:(NSInteger) count;
38 |
39 | /**
40 | *重新设置多边形顶点
41 | *@param coords 指定的经纬度坐标点数组
42 | *@param count 坐标点的个数
43 | *@return 是否设置成功
44 | */
45 | - (BOOL)setPolygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSInteger) count;
46 |
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKPolygonView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPolygonView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | #import "BMKPolygon.h"
12 | #import "BMKOverlayGLBasicView.h"
13 |
14 | /// 此类用于定义一个多边形View
15 | @interface BMKPolygonView : BMKOverlayGLBasicView
16 |
17 | /**
18 | *根据指定的多边形生成一个多边形View
19 | *@param polygon 指定的多边形数据对象
20 | *@return 新生成的多边形View
21 | */
22 | - (id)initWithPolygon:(BMKPolygon *)polygon;
23 |
24 | /// 该View对应的多边形数据
25 | @property (nonatomic, readonly) BMKPolygon *polygon;
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKPolylineView.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPolylineView.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | #import "BMKPolyline.h"
12 | #import "BMKOverlayGLBasicView.h"
13 |
14 | /// 此类用于定义一个折线View
15 | @interface BMKPolylineView : BMKOverlayGLBasicView
16 |
17 | /**
18 | *根据指定的折线生成一个折线View
19 | *@param polyline 指定的折线数据对象
20 | *@return 新生成的折线View
21 | */
22 | - (id)initWithPolyline:(BMKPolyline *)polyline;
23 |
24 | /// 该View对应的折线数据对象
25 | @property (nonatomic, readonly) BMKPolyline *polyline;
26 |
27 |
28 | #pragma mark - 以下方法和属性只适用于分段纹理绘制/分段颜色绘制
29 |
30 | /// 是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
31 | @property (nonatomic, assign) BOOL isFocus;
32 |
33 | @end
34 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKShape.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKShape.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import"BMKAnnotation.h"
11 |
12 | /// 该类为一个抽象类,定义了基于BMKAnnotation的BMKShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
13 | @interface BMKShape : NSObject {
14 | }
15 |
16 | /// 要显示的标题
17 | @property (copy) NSString *title;
18 | /// 要显示的副标题
19 | @property (copy) NSString *subtitle;
20 |
21 | @end
22 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKTileLayer.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKTileLayer.h
3 | // MapComponent
4 | //
5 | // Created by wzy on 15/8/7.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKTileLayer_h
10 | #define BMKTileLayer_h
11 | #import "BMKOverlay.h"
12 |
13 | /**
14 | @brief 该类是覆盖在球面墨卡托投影上的图片tiles的数据源,是抽象类,不能直接使用该类添加瓦片图,需要使用其子类(BMKURLTileLayer或BMKSyncTileLayer)
15 | *瓦片图片是jpeg或者png格式,size为256x256
16 | */
17 | @interface BMKTileLayer : NSObject
18 |
19 | /// tileLayer的可见最小Zoom值,默认3
20 | @property (nonatomic, assign) NSInteger minZoom;
21 |
22 | /// tileLayer的可见最大Zoom值,默认21,且不能小于minZoom
23 | @property (nonatomic, assign) NSInteger maxZoom;
24 |
25 | /// tileOverlay的可渲染区域,默认世界范围
26 | @property (nonatomic) BMKMapRect visibleMapRect;
27 |
28 | @end
29 |
30 | /**
31 | @brief 通过提供url模板的方法,提供数据源。不应该继承该类,且必须通过 initWithURLTemplate: 来初始化
32 | *瓦片图片是jpeg或者png格式,size为256x256
33 | */
34 | @interface BMKURLTileLayer : BMKTileLayer
35 |
36 | /// 同initWithURLTemplate:中的URLTemplate
37 | @property (readonly) NSString *URLTemplate;
38 |
39 | /*!
40 | @brief 根据指定的URLTemplate生成tileOverlay
41 | @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}。
42 | @return 以指定的URLTemplate字符串生成tileOverlay
43 | */
44 | - (id)initWithURLTemplate:(NSString *)URLTemplate;
45 |
46 | /**
47 | @brief 清除当前瓦片图层缓存图片
48 | */
49 | - (BOOL)cleanTileDataCache;
50 |
51 | @end
52 |
53 | /**
54 | @brief 通过同步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 tileForX:y:zoom: 方法
55 | *瓦片图片是jpeg或者png格式,size为256x256
56 | */
57 | @interface BMKSyncTileLayer : BMKTileLayer
58 |
59 | /**
60 | @brief 通过同步方法获取瓦片数据,子类必须实现该方法
61 | 这个方法会在多个线程中调用,需要考虑线程安全
62 | @param (x, y, zoom)瓦片坐标
63 | @return (x, y, zoom)所对应瓦片的UIImage对象
64 | */
65 | - (UIImage *)tileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom;
66 |
67 | @end
68 |
69 | /**
70 | @brief 通过异步方法获取瓦片数据,是一个抽象类,需要通过继承该类,并重载 loadTileForX:y:zoom:result: 方法
71 | *瓦片图片是jpeg或者png格式,size为256x256
72 | */
73 | @interface BMKAsyncTileLayer : BMKTileLayer
74 |
75 | /**
76 | @brief 通过异步方法获取瓦片数据,子类必须实现该方法
77 | @param (x, y, zoom)瓦片坐标
78 | @return result 用来传入瓦片数据或加载瓦片失败的error访问的回调block
79 | */
80 | - (void)loadTileForX:(NSInteger)x y:(NSInteger)y zoom:(NSInteger)zoom result:(void (^)(UIImage *tileImage, NSError *error))result;
81 |
82 | @end
83 |
84 | #endif /* BMKTileLayer_h */
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Headers/BMKTileLayerView.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKTileLayerView.h
3 | // MapComponent
4 | //
5 | // Created by wzy on 15/8/7.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKTileLayerView_h
10 | #define BMKTileLayerView_h
11 |
12 | #import "BMKOverlayView.h"
13 | #import "BMKTileLayer.h"
14 |
15 | /// 该类用于定义一个BMKTileLayerView
16 | @interface BMKTileLayerView : BMKOverlayView
17 |
18 | /**
19 | *@brief 根据指定的tileLayer生成将tiles显示在地图上的View
20 | *@param tileLayer 制定了覆盖图片,以及图片的覆盖区域
21 | *@return 以tileLayer新生成View
22 | */
23 | - (id)initWithTileLayer:(BMKTileLayer*) tileLayer;
24 |
25 | /// 该View对应的tileLayer数据对象
26 | @property (nonatomic, readonly) BMKTileLayer *tileLayer;
27 |
28 | @end
29 |
30 | #endif /* BMKTileLayerView_h */
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVDirectory.cfg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVDirectory.cfg
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVDirectory_Retina.cfg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVDirectory_Retina.cfg
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVHotcity.cfg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVHotcity.cfg
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVHotcity_Retina.cfg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVHotcity_Retina.cfg
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVVersion.cfg:
--------------------------------------------------------------------------------
1 | {"d":33,"gd":0,"note":0,"maps":107,"mapsearchs":0,"maproutes":0,"itss":6,"itsls":0,"doms":11,"didr":0,"idrs":0,"idrresver":0,"idrcfgver":0,"internalmaps":0,"v_rscinternal":0,"internalspecialmaps":0,"v_rscinternalspecial":0,"busstyver":0,"c":44,"gc":0,"sc":0,"v_rsc":2,"v_rscsearch":0,"v_rscroute":0,"walkdaymstyle":0,"walkdaysstyle":0,"h":0}
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/DVVersion_Retina.cfg:
--------------------------------------------------------------------------------
1 | {"d":33,"gd":0,"note":0,"maps":121,"mapsearchs":0,"maproutes":0,"itss":7,"itsls":0,"doms":17,"didr":0,"idrs":1006,"idrresver":132,"idrcfgver":1110,"internalmaps":0,"v_rscinternal":0,"internalspecialmaps":0,"v_rscinternalspecial":0,"busstyver":0,"c":44,"gc":0,"sc":0,"v_rsc":3,"v_rscsearch":0,"v_rscroute":0,"walkdaymstyle":0,"walkdaysstyle":0,"h":0}
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/ResPack.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/ResPack.rs
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/channel:
--------------------------------------------------------------------------------
1 | 1099a
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/indoor/IndoorResPack.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/indoor/IndoorResPack.rs
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/indoor/baseindoormap.sty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/indoor/baseindoormap.sty
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/mapstyle.sty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/mapstyle.sty
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/satellitestyle.sty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/satellitestyle.sty
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/trafficstyle.sty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/files/trafficstyle.sty
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/baidumap_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/baidumap_logo.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/baidumap_logo@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/baidumap_logo@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/bnavi_icon_location_fixed@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/direction_wheel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/direction_wheel.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/direction_wheel@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/direction_wheel@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_left_highlighted@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_action_paopao_middle_right_highlighted@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone2.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone2@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone2@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_cellphone@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_center_point.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_center_point.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_center_point@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_center_point@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass_background.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass_background@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_compass_background@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_direction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_direction.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_direction@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_direction@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_line_nofocus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_line_nofocus.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_bus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_bus.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_bus@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_bus@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_end.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_end.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_end@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_end@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_rail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_rail.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_rail@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_rail@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_start.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_start@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_start@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_waypoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_waypoint.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_waypoint@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_nav_waypoint@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_left_highlighted@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/icon_paopao_middle_right_highlighted@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/lineDashTexture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/lineDashTexture.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/line_texture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/line_texture.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_green.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_green@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_green@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_purple.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_purple@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_purple@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_red.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_red@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/Resources/mapapi.bundle/images/pin_red@2x.png
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Map.framework/readme.txt:
--------------------------------------------------------------------------------
1 | 基础地图:包括基本矢量地图、卫星图、实时路况图和各种地图覆盖物,此外还包括各种与地图相关的操作和事件监听;
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/BaiduMapAPI_Radar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/BaiduMapAPI_Radar
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/Headers/BMKRadarComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKRadarComponent.h
3 | // RadarComponent
4 | //
5 | // Created by wzy on 15/4/21.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef RadarComponent_BMKRadarComponent_h
10 | #define RadarComponent_BMKRadarComponent_h
11 |
12 | #import "BMKRadarManager.h"
13 | #import "BMKRadarOption.h"
14 | #import "BMKRadarResult.h"
15 | #import "BMKRadarVersion.h"
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/Headers/BMKRadarManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKRadarManager.h
3 | // RadarComponent
4 | //
5 | // Created by wzy on 15/4/22.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef RadarComponent_BMKRadarManager_h
10 | #define RadarComponent_BMKRadarManager_h
11 |
12 | #import "BMKRadarOption.h"
13 | #import "BMKRadarResult.h"
14 |
15 | ///雷达delegate
16 | @protocol BMKRadarManagerDelegate
17 |
18 | @optional
19 | /*
20 | *开启自动上传,需实现该回调
21 | */
22 | - (BMKRadarUploadInfo*)getRadarAutoUploadInfo;
23 |
24 | /**
25 | *返回雷达 上传结果
26 | *@param error 错误号,@see BMKRadarErrorCode
27 | */
28 | - (void)onGetRadarUploadResult:(BMKRadarErrorCode) error;
29 |
30 | /**
31 | *返回雷达 清除我的信息结果
32 | *@param error 错误号,@see BMKRadarErrorCode
33 | */
34 | - (void)onGetRadarClearMyInfoResult:(BMKRadarErrorCode) error;
35 |
36 | /**
37 | *返回雷达 查询周边的用户信息结果
38 | *@param result 结果,类型为@see BMKRadarNearbyResult
39 | *@param error 错误号,@see BMKRadarErrorCode
40 | */
41 | - (void)onGetRadarNearbySearchResult:(BMKRadarNearbyResult*) result error:(BMKRadarErrorCode) error;
42 |
43 | @end
44 |
45 |
46 | ///周边雷达管理类
47 | @interface BMKRadarManager : NSObject
48 |
49 | /// 上传时用,上传前需设置,不设置自动生成userId;切换用户时,需手动清除原先用户的位置信息
50 | @property (nonatomic, strong) NSString* userId;
51 |
52 | /**
53 | *获取周边雷达实例,使用引用计数管理该实例内存
54 | */
55 | + (BMKRadarManager*)getRadarManagerInstance;
56 | /**
57 | *release周边雷达实例,使用引用计数管理该实例内存
58 | */
59 | + (void)releaseRadarManagerInstance;
60 |
61 | /**
62 | *添加周边雷达delegate,用于结果回调
63 | *不需要时,需要使用removeRadarManagerDelegate:移除,否则影响内存释放
64 | *@param delegate, 添加的id对象
65 | */
66 | - (void)addRadarManagerDelegate:(id) delegate;
67 |
68 | /**
69 | *移除周边雷达delegate,取消结果回调
70 | *@param delegate, 需要移除的id对象
71 | */
72 | - (void)removeRadarManagerDelegate:(id) delegate;
73 |
74 | /**
75 | *启动自动上传用户位置信息
76 | *必须实现回调方法@see getRadarAutoUploadInfo,获取@see BMKRadarUploadInfo
77 | *@param interval 时间间隔,不小于5s(小于强制设为5s)
78 | */
79 | - (void)startAutoUpload:(NSTimeInterval) interval;
80 |
81 | /**
82 | *停止自动上传用户位置信息
83 | */
84 | - (void)stopAutoUpload;
85 |
86 | /**
87 | *单次上传用户位置信息
88 | *上传时间间隔不小于5s,否则return NO
89 | *返回结果回调:@see onGetRadarUploadResult:
90 | *@param info 位置信息
91 | */
92 | - (BOOL)uploadInfoRequest:(BMKRadarUploadInfo*) info;
93 |
94 | /**
95 | *清除我的位置信息
96 | *返回结果回调:@see onGetRadarClearMyInfoResult:
97 | */
98 | - (BOOL)clearMyInfoRequest;
99 |
100 | /**
101 | *查询周边的用户信息
102 | *返回结果回调:@see onGetRadarNearbySearchResult:error:
103 | *@param option 查询参数: 类型为@see BMKRadarNearbySearchOption
104 | */
105 | - (BOOL)getRadarNearbySearchRequest:(BMKRadarNearbySearchOption*) option;
106 |
107 | @end
108 | #endif
109 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/Headers/BMKRadarOption.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKRadarOption.h
3 | // RadarComponent
4 | //
5 | // Created by wzy on 15/4/22.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef RadarComponent_BMKRadarOption_h
10 | #define RadarComponent_BMKRadarOption_h
11 |
12 | #import
13 |
14 | ///用户信息类
15 | @interface BMKRadarUploadInfo : NSObject
16 |
17 | ///地址坐标,百度经纬度坐标 (必须)
18 | @property (nonatomic, assign) CLLocationCoordinate2D pt;
19 |
20 | ///扩展信息,和该用户相关的信息(可选)
21 | @property (nonatomic, strong) NSString* extInfo;
22 |
23 | @end
24 |
25 | typedef enum{
26 | BMK_RADAR_SORT_TYPE_DISTANCE_FROM_NEAR_TO_FAR = 0,//距离由近及远排序
27 | BMK_RADAR_SORT_TYPE_DISTANCE_FROM_FAR_TO_NEAR,//距离由远及近排序
28 | BMK_RADAR_SORT_TYPE_TIME_FROM_PAST_TO_RECENT,//时间由过去到现在排序
29 | BMK_RADAR_SORT_TYPE_TIME_FROM_RECENT_TO_PAST,//时间由现在到过去排序
30 | }BMKRadarSortType;
31 |
32 | ///时间区间
33 | @interface BMKDateRange : NSObject
34 |
35 | ///起始时间
36 | @property (nonatomic, strong) NSDate* startDate;
37 | ///终止时间
38 | @property (nonatomic, strong) NSDate* endDate;
39 |
40 | @end
41 |
42 | ///查询周边的用户信息参数类
43 | @interface BMKRadarNearbySearchOption : NSObject
44 |
45 | ///地址坐标,百度经纬度坐标 (不设置,默认使用最后一次上传的坐标)
46 | @property (nonatomic, assign) CLLocationCoordinate2D centerPt;
47 | ///检索半径,单位米,默认1000
48 | @property (nonatomic, assign) NSUInteger radius;
49 | ///分页索引,可选,默认为0
50 | @property (nonatomic, assign) NSInteger pageIndex;
51 | ///页容量,可选,默认为50
52 | @property (nonatomic, assign) NSInteger pageCapacity;
53 | ///排序类型:默认按距离由近及远排序,BMK_RADAR_SORT_TYPE_DISTANCE_FROM_NEAR_TO_FAR
54 | @property (nonatomic, assign) BMKRadarSortType sortType;
55 | ///时间区间,可选,获取该时间区间内的用户信息
56 | @property (nonatomic, strong) BMKDateRange* dateRange;
57 |
58 |
59 | @end
60 |
61 | #endif
62 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/Headers/BMKRadarResult.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKRadarResult.h
3 | // RadarComponent
4 | //
5 | // Created by wzy on 15/4/22.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef RadarComponent_BMKRadarResult_h
10 | #define RadarComponent_BMKRadarResult_h
11 |
12 | #import "BMKRadarOption.h"
13 |
14 | ///雷达结果码
15 | typedef enum {
16 | BMK_RADAR_NO_ERROR = 0,///<成功
17 | BMK_RADAR_NO_RESULT,///<无结果
18 | BMK_RADAR_AK_NOT_BIND,///
13 |
14 | /**
15 | *重要:
16 | *radar组件的版本和base组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API radar组件 的版本号
21 | *当前radar组件版本 : 3.2.1
22 | *return 返回当前API radar组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiRadarComponentVersion();
25 |
26 | /**
27 | *检查radar组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckRadarComponentIsLegal();
31 |
32 | #endif /* BMKRadarVersion_h */
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Radar.framework/readme.txt:
--------------------------------------------------------------------------------
1 | 周边雷达:包含位置信息上传和检索周边相同应用的用户位置信息功能;
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/BaiduMapAPI_Search:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/BaiduMapAPI_Search
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKBusLineSearch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKBusLineSearch.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import "BMKPoiSearchType.h"
11 | #import
12 | #import "BMKBusLineSearchOption.h"
13 | #import "BMKRouteSearchType.h"
14 | #import "BMKSearchBase.h"
15 |
16 | @protocol BMKBusLineSearchDelegate;
17 | ///busline搜索服务
18 | @interface BMKBusLineSearch : BMKSearchBase
19 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
20 | @property (nonatomic, weak) id delegate;
21 |
22 | /**
23 | *公交详情检索
24 | *异步函数,返回结果在BMKBusLineSearchDelegate的onGetBusDetailResult通知
25 | *@param busLineSearchOption 公交线路检索信息类
26 | *@return 成功返回YES,否则返回NO
27 | */
28 | - (BOOL)busLineSearch:(BMKBusLineSearchOption*)busLineSearchOption;
29 |
30 |
31 | @end
32 |
33 | ///搜索delegate,用于获取搜索结果
34 | @protocol BMKBusLineSearchDelegate
35 | @optional
36 | /**
37 | *返回busdetail搜索结果
38 | *@param searcher 搜索对象
39 | *@param busLineResult 搜索结果
40 | *@param error 错误号,@see BMKSearchErrorCode
41 | */
42 | - (void)onGetBusDetailResult:(BMKBusLineSearch*)searcher result:(BMKBusLineResult*)busLineResult errorCode:(BMKSearchErrorCode)error;
43 |
44 | @end
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKBusLineSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKBusLineSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | /// 公交线路检索信息类
11 | @interface BMKBusLineSearchOption : NSObject
12 | {
13 | NSString *_city;
14 | NSString *_busLineUid;
15 | }
16 | ///城市名
17 | @property (nonatomic, strong) NSString *city;
18 | ///公交线路的uid
19 | @property (nonatomic, strong) NSString *busLineUid;
20 |
21 | @end
22 |
23 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKDistrictSearch.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKDistrictSearch.h
3 | // SearchComponent
4 | //
5 | // Created by wzy on 15/12/14.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKDistrictSearch_h
10 | #define BMKDistrictSearch_h
11 | #import
12 | #import "BMKSearchBase.h"
13 |
14 | /// 行政区域检索信息
15 | @interface BMKDistrictSearchOption : NSObject
16 |
17 | /// 城市名字(必须)
18 | @property (nonatomic, strong) NSString *city;
19 | /// 区县名字(可选)
20 | @property (nonatomic, strong) NSString *district;
21 |
22 | @end
23 |
24 | #pragma mark -
25 |
26 | /// 行政区域检索结果
27 | @interface BMKDistrictResult : NSObject
28 |
29 | /// 行政区域编码
30 | @property (nonatomic, assign) NSInteger code;
31 | /// 行政区域名称
32 | @property (nonatomic, strong) NSString *name;
33 | /// 行政区域中心点
34 | @property (nonatomic, assign) CLLocationCoordinate2D center;
35 | /// 行政区边界直角地理坐标点数据(NSString数组,字符串数据格式为: @"x,y;x,y")
36 | @property (nonatomic, strong) NSArray *paths;
37 |
38 | @end
39 |
40 | #pragma mark -
41 |
42 | @protocol BMKDistrictSearchDelegate;
43 |
44 | /// 行政区域搜索服务
45 | @interface BMKDistrictSearch : BMKSearchBase
46 | /// 检索模块的delegate,此处记得不用的时候需要置nil,否则影响内存的释放
47 | @property (nonatomic, weak) id delegate;
48 |
49 | /**
50 | *行政区域检索
51 | *异步函数,返回结果在BMKDistrictSearchDelegate的onGetDistrictResult通知
52 | *@param DistrictSearchOption 公交线路检索信息类
53 | *@return 成功返回YES,否则返回NO
54 | */
55 | - (BOOL)districtSearch:(BMKDistrictSearchOption*)districtSearchOption;
56 |
57 | @end
58 |
59 | #pragma mark -
60 |
61 | ///搜索delegate,用于获取行政区域搜索结果
62 | @protocol BMKDistrictSearchDelegate
63 | @optional
64 | /**
65 | *返回行政区域搜索结果
66 | *@param searcher 搜索对象
67 | *@param result 搜索结BMKDistrictSearch果
68 | *@param error 错误号,@see BMKSearchErrorCode
69 | */
70 | - (void)onGetDistrictResult:(BMKDistrictSearch *)searcher result:(BMKDistrictResult *)result errorCode:(BMKSearchErrorCode)error;
71 |
72 | @end
73 |
74 | #endif /* BMKDistrictSearch_h */
75 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKGeocodeSearch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGeocodeSearch.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKGeocodeSearchOption.h"
10 | #import "BMKGeocodeType.h"
11 | #import "BMKSearchBase.h"
12 |
13 | @protocol BMKGeoCodeSearchDelegate;
14 | ///geo搜索服务
15 | @interface BMKGeoCodeSearch : BMKSearchBase
16 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
17 | @property (nonatomic, weak) id delegate;
18 |
19 | /**
20 | *根据地址名称获取地理信息
21 | *异步函数,返回结果在BMKGeoCodeSearchDelegate的onGetAddrResult通知
22 | *@param geoCodeOption geo检索信息类
23 | *@return 成功返回YES,否则返回NO
24 | */
25 | - (BOOL)geoCode:(BMKGeoCodeSearchOption*)geoCodeOption;
26 | /**
27 | *根据地理坐标获取地址信息
28 | *异步函数,返回结果在BMKGeoCodeSearchDelegate的onGetAddrResult通知
29 | *@param reverseGeoCodeOption 反geo检索信息类
30 | *@return 成功返回YES,否则返回NO
31 | */
32 | - (BOOL)reverseGeoCode:(BMKReverseGeoCodeOption*)reverseGeoCodeOption;
33 |
34 |
35 | @end
36 |
37 | ///搜索delegate,用于获取搜索结果
38 | @protocol BMKGeoCodeSearchDelegate
39 | @optional
40 | /**
41 | *返回地址信息搜索结果
42 | *@param searcher 搜索对象
43 | *@param result 搜索结BMKGeoCodeSearch果
44 | *@param error 错误号,@see BMKSearchErrorCode
45 | */
46 | - (void)onGetGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error;
47 |
48 | /**
49 | *返回反地理编码搜索结果
50 | *@param searcher 搜索对象
51 | *@param result 搜索结果
52 | *@param error 错误号,@see BMKSearchErrorCode
53 | */
54 | - (void)onGetReverseGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKReverseGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error;
55 |
56 | @end
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKGeocodeSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGeoCodeSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | /// geo检索信息类
11 | @interface BMKGeoCodeSearchOption : NSObject
12 | {
13 | NSString *_address;
14 | NSString *_city;
15 | }
16 | ///地址
17 | @property (nonatomic, strong) NSString *address;
18 | ///城市名
19 | @property (nonatomic, strong) NSString *city;
20 | @end
21 |
22 | ///反geo检索信息类
23 | @interface BMKReverseGeoCodeOption : NSObject {
24 | CLLocationCoordinate2D _reverseGeoPoint;
25 | }
26 | ///经纬度
27 | @property (nonatomic, assign) CLLocationCoordinate2D reverseGeoPoint;
28 | @end
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKGeocodeType.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKGeocodeType.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 |
11 | ///反地址编码结果
12 | @interface BMKReverseGeoCodeResult : NSObject
13 | {
14 | BMKAddressComponent* _addressDetail;
15 | NSString* _address;
16 | CLLocationCoordinate2D _location;
17 | NSArray* _poiList;
18 | }
19 | ///层次化地址信息
20 | @property (nonatomic, strong) BMKAddressComponent* addressDetail;
21 | ///地址名称
22 | @property (nonatomic, strong) NSString* address;
23 | ///商圈名称
24 | @property (nonatomic, strong) NSString* businessCircle;
25 | ///结合当前位置POI的语义化结果描述
26 | @property (nonatomic, strong) NSString* sematicDescription;
27 | ///地址坐标
28 | @property (nonatomic) CLLocationCoordinate2D location;
29 | ///地址周边POI信息,成员类型为BMKPoiInfo
30 | @property (nonatomic, strong) NSArray* poiList;
31 |
32 | @end
33 |
34 | ///地址编码结果
35 | @interface BMKGeoCodeResult : NSObject
36 | {
37 | CLLocationCoordinate2D _location;
38 | NSString* _address;
39 | }
40 | ///地理编码位置
41 | @property (nonatomic) CLLocationCoordinate2D location;
42 | ///地理编码地址
43 | @property (nonatomic,strong) NSString* address;
44 |
45 | @end
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKPoiSearch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPoiSearch.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import "BMKPoiSearchType.h"
11 | #import "BMKPoiSearchOption.h"
12 | #import "BMKSearchBase.h"
13 |
14 | @protocol BMKPoiSearchDelegate;
15 | ///搜索服务
16 | @interface BMKPoiSearch : BMKSearchBase
17 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
18 | @property (nonatomic, weak) id delegate;
19 |
20 |
21 | /**
22 | *城市POI检索
23 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知
24 | *@param option 城市内搜索的搜索参数类(BMKCitySearchOption)
25 | *@return 成功返回YES,否则返回NO
26 | */
27 | - (BOOL)poiSearchInCity:(BMKCitySearchOption*)option;
28 |
29 | /**
30 | *根据范围和检索词发起范围检索
31 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知
32 | *@param option 范围搜索的搜索参数类(BMKBoundSearchOption)
33 | *@return 成功返回YES,否则返回NO
34 | */
35 | - (BOOL)poiSearchInbounds:(BMKBoundSearchOption*)option;
36 | /**
37 | *根据中心点、半径和检索词发起周边检索
38 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiResult通知
39 | *@param option 周边搜索的搜索参数类(BMKNearbySearchOption)
40 | *@param index 页码,如果是第一次发起搜索,填0,根据返回的结果可以去获取第n页的结果,页码从0开始
41 | *@return 成功返回YES,否则返回NO
42 | */
43 | - (BOOL)poiSearchNearBy:(BMKNearbySearchOption*)option;
44 | /**
45 | *根据poi uid 发起poi详情检索
46 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiDetailResult通知
47 | *@param option poi详情检索参数类(BMKPoiDetailSearchOption)
48 | *@return 成功返回YES,否则返回NO
49 | */
50 | - (BOOL)poiDetailSearch:(BMKPoiDetailSearchOption*)option;
51 | /**
52 | *poi室内检索
53 | *异步函数,返回结果在BMKPoiSearchDelegate的onGetPoiIndoorResult通知
54 | *@param option poi室内检索参数类(BMKPoiIndoorSearchOption)
55 | *@return 成功返回YES,否则返回NO
56 | */
57 | - (BOOL)poiIndoorSearch:(BMKPoiIndoorSearchOption*)option;
58 | @end
59 |
60 | ///搜索delegate,用于获取搜索结果
61 | @protocol BMKPoiSearchDelegate
62 | @optional
63 | /**
64 | *返回POI搜索结果
65 | *@param searcher 搜索对象
66 | *@param poiResult 搜索结果列表
67 | *@param errorCode 错误号,@see BMKSearchErrorCode
68 | */
69 | - (void)onGetPoiResult:(BMKPoiSearch*)searcher result:(BMKPoiResult*)poiResult errorCode:(BMKSearchErrorCode)errorCode;
70 |
71 | /**
72 | *返回POI详情搜索结果
73 | *@param searcher 搜索对象
74 | *@param poiDetailResult 详情搜索结果
75 | *@param errorCode 错误号,@see BMKSearchErrorCode
76 | */
77 | - (void)onGetPoiDetailResult:(BMKPoiSearch*)searcher result:(BMKPoiDetailResult*)poiDetailResult errorCode:(BMKSearchErrorCode)errorCode;
78 |
79 | /**
80 | *返回POI室内搜索结果
81 | *@param searcher 搜索对象
82 | *@param poiIndoorResult 搜索结果列表
83 | *@param errorCode 错误号,@see BMKSearchErrorCode
84 | */
85 | - (void)onGetPoiIndoorResult:(BMKPoiSearch*)searcher result:(BMKPoiIndoorResult*)poiIndoorResult errorCode:(BMKSearchErrorCode)errorCode;
86 | @end
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKPoiSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPoiSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 | #import
10 |
11 | typedef enum{
12 | BMK_POI_SORT_BY_COMPOSITE = 0,//综合排序
13 | BMK_POI_SORT_BY_DISTANCE,//距离由近到远排序
14 | }BMKPoiSortType;
15 |
16 | /// 检索基础信息类,所有类型Poi检索的基类
17 | @interface BMKBasePoiSearchOption : NSObject
18 | {
19 | NSString *_keyword;
20 | int _pageIndex;
21 | int _pageCapacity;
22 | }
23 | ///搜索关键字
24 | @property (nonatomic, strong) NSString *keyword;
25 | ///分页索引,可选,默认为0
26 | @property (nonatomic, assign) int pageIndex;
27 | ///分页数量,可选,默认为10,最多为50
28 | @property (nonatomic, assign) int pageCapacity;
29 |
30 | @end
31 |
32 | ///本地云检索参数信息类
33 | @interface BMKCitySearchOption : BMKBasePoiSearchOption {
34 | NSString *_city;
35 | }
36 | ///区域名称(市或区的名字,如北京市,海淀区),必选, 必须最长25个字符
37 | @property (nonatomic, strong) NSString *city;
38 | ///是否请求门址信息列表,默认为YES
39 | @property (nonatomic, assign) BOOL requestPoiAddressInfoList;
40 | @end
41 |
42 | ///周边云检索参数信息类
43 | @interface BMKNearbySearchOption : BMKBasePoiSearchOption {
44 | CLLocationCoordinate2D _location;
45 | int _radius;
46 | }
47 | ///检索的中心点,经纬度
48 | @property (nonatomic, assign) CLLocationCoordinate2D location;
49 | ///周边检索半径
50 | @property (nonatomic, assign) int radius;
51 | //搜索结果排序规则,可选,默认BMK_POI_SORT_BY_COMPOSITE
52 | @property (nonatomic, assign) BMKPoiSortType sortType;
53 |
54 | @end
55 |
56 | ///矩形云检索参数信息类
57 | @interface BMKBoundSearchOption : BMKBasePoiSearchOption {
58 | CLLocationCoordinate2D _leftBottom;
59 | CLLocationCoordinate2D _rightTop;
60 |
61 | }
62 | ///矩形区域,左下角和右上角的经纬度坐标点。
63 | @property (nonatomic, assign) CLLocationCoordinate2D leftBottom;
64 | @property (nonatomic, assign) CLLocationCoordinate2D rightTop;
65 | @end
66 |
67 | ///室内POI检索参数信息类
68 | @interface BMKPoiIndoorSearchOption : BMKBasePoiSearchOption
69 | /// 室内ID(必须)
70 | @property (nonatomic, strong) NSString *indoorId;
71 | /// 楼层(可选),设置后,会优先获取该楼层的室内POI,然后是其它楼层的
72 | @property (nonatomic, strong) NSString *floor;
73 | @end
74 |
75 | ///poi详情检索信息类
76 | @interface BMKPoiDetailSearchOption : NSObject {
77 | NSString* _poiUid;
78 | }
79 | ///poi的uid,从poi检索返回的BMKPoiResult结构中获取
80 | @property (nonatomic, strong) NSString* poiUid;
81 |
82 | @end
83 |
84 |
85 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKRouteSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKPoiSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2013 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | #import "BMKRouteSearchType.h"
11 | /// 路线查询基础信息类
12 | @interface BMKBaseRoutePlanOption : NSObject
13 | {
14 | BMKPlanNode *_from;
15 | BMKPlanNode *_to;
16 | }
17 | ///检索的起点,可通过关键字、坐标两种方式指定。cityName和cityID同时指定时,优先使用cityID
18 | @property (nonatomic, strong) BMKPlanNode *from;
19 | ///检索的终点,可通过关键字、坐标两种方式指定。cityName和cityID同时指定时,优先使用cityID
20 | @property (nonatomic, strong) BMKPlanNode *to;
21 | @end
22 | /// 步行查询基础信息类
23 | @interface BMKWalkingRoutePlanOption : BMKBaseRoutePlanOption
24 | {
25 |
26 | }
27 | @end
28 | /// 驾车查询基础信息类
29 | @interface BMKDrivingRoutePlanOption : BMKBaseRoutePlanOption
30 | {
31 | NSArray* _wayPointsArray;
32 | BMKDrivingPolicy _drivingPolicy;
33 | }
34 | @property (nonatomic, strong) NSArray *wayPointsArray;
35 | ///驾车检索策略,默认使用BMK_DRIVING_TIME_FIRST
36 | @property (nonatomic) BMKDrivingPolicy drivingPolicy;
37 |
38 | ///驾车检索获取路线每一个step的路况,默认使用BMK_DRIVING_REQUEST_TRAFFICE_TYPE_NONE
39 | @property (nonatomic) BMKDrivingRequestTrafficType drivingRequestTrafficType;
40 |
41 |
42 | @end
43 | /// 公交查询基础信息类
44 | @interface BMKTransitRoutePlanOption : BMKBaseRoutePlanOption
45 | {
46 | NSString* _city;
47 | BMKTransitPolicy _transitPolicy;
48 | }
49 | ///城市名,用于在哪个城市内进行检索
50 | @property (nonatomic, strong) NSString *city;
51 | ///公交检索策略,默认使用BMK_TRANSIT_TIME_FIRST
52 | @property (nonatomic) BMKTransitPolicy transitPolicy;
53 |
54 | @end
55 |
56 | /// 公共交通路线查询基础信息类(支持市内和跨城)(注:起终点城市不支持cityId)
57 | @interface BMKMassTransitRoutePlanOption : BMKBaseRoutePlanOption
58 |
59 | ///分页索引,可选,默认为0(从0开始)
60 | @property (nonatomic, assign) NSUInteger pageIndex;
61 | ///分页数量,可选,默认为10,取值范围[1,10]
62 | @property (nonatomic, assign) NSUInteger pageCapacity;
63 | ///市内公交换乘策略策略,可选,默认使用BMK_MASS_TRANSIT_INCITY_RECOMMEND
64 | @property (nonatomic, assign) BMKMassTransitIncityPolicy incityPolicy;
65 | ///跨城公交换乘策略,可选,默认使用BMK_MASS_TRANSIT_INTERCITY_TIME_FIRST
66 | @property (nonatomic, assign) BMKMassTransitIntercityPolicy intercityPolicy;
67 | ///跨城交通方式策略,可选,默认使用BMK_MASS_TRANSIT_INTERCITY_TRANS_TRAIN_FIRST
68 | @property (nonatomic, assign) BMKMassTransitIntercityTransPolicy intercityTransPolicy;
69 |
70 | @end
71 |
72 | /// 骑行查询基础信息类
73 | @interface BMKRidingRoutePlanOption : BMKBaseRoutePlanOption
74 |
75 | @end
76 |
77 | /// 室内路线规划查询基础信息类
78 | @interface BMKIndoorRoutePlanOption : NSObject
79 | ///检索的起点
80 | @property (nonatomic, strong) BMKIndoorPlanNode *from;
81 | ///检索的终点
82 | @property (nonatomic, strong) BMKIndoorPlanNode *to;
83 |
84 | @end
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKSearchBase.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKSearchBase.h
3 | // SearchComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKSearchBase_h
10 | #define BMKSearchBase_h
11 |
12 | ///检索服务基类
13 | @interface BMKSearchBase : NSObject
14 |
15 | @end
16 |
17 |
18 | #endif /* BMKSearchBase_h */
19 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKSearchComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKSearchComponent.h
3 | // SearchComponent
4 | //
5 | // Created by baidu on 14-3-10.
6 | // Copyright (c) 2014年 baidu. All rights reserved.
7 | //
8 |
9 | #import "BMKSearchVersion.h"
10 | #import "BMKPoiSearchType.h"
11 | #import "BMKGeocodeType.h"
12 | #import "BMKRouteSearchType.h"
13 | #import "BMKPoiSearchOption.h"
14 | #import "BMKPoiSearch.h"
15 | #import "BMKGeocodeSearch.h"
16 | #import "BMKGeocodeSearchOption.h"
17 | #import "BMKShareURLSearch.h"
18 | #import "BMKShareUrlSearchOption.h"
19 | #import "BMKSuggestionSearch.h"
20 | #import "BMKSuggestionSearchOption.h"
21 | #import "BMKBusLineSearch.h"
22 | #import "BMKBusLineSearchOption.h"
23 | #import "BMKRouteSearch.h"
24 | #import "BMKRouteSearchOption.h"
25 | #import "BMKDistrictSearch.h"
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKSearchVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKSearchVersion.h
3 | // SearchComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKSearchVersion_h
10 | #define BMKSearchVersion_h
11 |
12 | #import
13 |
14 | /**
15 | *重要:
16 | *base组件的版本和search组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API search组件 的版本号
21 | *当前search组件版本 : 3.2.1
22 | *return 返回当前API search组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiSearchComponentVersion();
25 |
26 | /**
27 | *检查search组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckSearchComponentIsLegal();
31 |
32 | #endif /* BMKSearchVersion_h */
33 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKShareURLSearch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKShareUrlSearch.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKShareUrlSearchOption.h"
10 | #import "BMKSearchBase.h"
11 |
12 | ///分享URL结果类
13 | @interface BMKShareURLResult : NSObject
14 | {
15 | NSString * _url;
16 | }
17 | ///返回结果url
18 | @property (nonatomic,strong) NSString* url;
19 | @end
20 |
21 |
22 | @protocol BMKShareURLSearchDelegate;
23 | ///短串搜索服务
24 | @interface BMKShareURLSearch : BMKSearchBase
25 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
26 | @property (nonatomic, weak) id delegate;
27 |
28 | /**
29 | *获取poi详情短串分享url
30 | *异步函数,返回结果在BMKShareUrlSearchDelegate的onGetPoiDetailShareURLResult通知
31 | *@param poiDetailShareUrlSearchOption poi详情短串分享检索信息类
32 | *@return 成功返回YES,否则返回NO
33 | */
34 | - (BOOL)requestPoiDetailShareURL:(BMKPoiDetailShareURLOption *) poiDetailShareUrlSearchOption;
35 |
36 | /**
37 | *获取反geo短串分享url
38 | *异步函数,返回结果在BMKShareUrlSearchDelegate的onGetLocationShareURLResult通知
39 | *@param reverseGeoShareUrlSearchOption 反geo短串分享检索信息类
40 | *@return 成功返回YES,否则返回NO
41 | */
42 | - (BOOL)requestLocationShareURL:(BMKLocationShareURLOption *)reverseGeoShareUrlSearchOption;
43 |
44 | /**
45 | *获取路线规划短串分享url
46 | *异步函数,返回结果在BMKShareUrlSearchDelegate的onGetRoutePlanShareURLResult通知
47 | *@param routePlanShareUrlSearchOption 取路线规划短串分享检索信息类
48 | *@return 成功返回YES,否则返回NO
49 | */
50 | - (BOOL)requestRoutePlanShareURL:(BMKRoutePlanShareURLOption *)routePlanShareUrlSearchOption;
51 |
52 |
53 | @end
54 |
55 | ///搜索delegate,用于获取搜索结果
56 | @protocol BMKShareURLSearchDelegate
57 | @optional
58 | /**
59 | *返回poi详情分享url
60 | *@param searcher 搜索对象
61 | *@param result 返回结果
62 | *@param error 错误号,@see BMKSearchErrorCode
63 | */
64 | - (void)onGetPoiDetailShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
65 |
66 | /**
67 | *返回位置信息分享url
68 | *@param searcher 搜索对象
69 | *@param result 返回结果
70 | *@param error 错误号,@see BMKSearchErrorCode
71 | */
72 | - (void)onGetLocationShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
73 |
74 | /**
75 | *返回路线规划分享url
76 | *@param searcher 搜索对象
77 | *@param result 返回结果
78 | *@param error 错误号,@see BMKSearchErrorCode
79 | */
80 | - (void)onGetRoutePlanShareURLResult:(BMKShareURLSearch *)searcher result:(BMKShareURLResult *)result errorCode:(BMKSearchErrorCode)error;
81 |
82 | @end
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKShareUrlSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKShareUrlSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | /// poi详情短串分享检索信息类
11 | @interface BMKPoiDetailShareURLOption : NSObject
12 | {
13 | NSString *_uid;
14 | }
15 | ///poi的uid
16 | @property (nonatomic, strong) NSString *uid;
17 |
18 | @end
19 |
20 | ///反geo短串分享检索信息类
21 | @interface BMKLocationShareURLOption : NSObject {
22 | NSString *_name;
23 | NSString *_snippet;
24 | CLLocationCoordinate2D _location;
25 | }
26 | ///名称
27 | @property (nonatomic, strong) NSString *name;
28 | ///通过短URL调起客户端时作为附加信息显示在名称下面
29 | @property (nonatomic, strong) NSString *snippet;
30 | ///经纬度
31 | @property (nonatomic, assign) CLLocationCoordinate2D location;
32 | @end
33 |
34 |
35 | ///路线规划短串分享
36 | typedef enum {
37 | BMK_ROUTE_PLAN_SHARE_URL_TYPE_DRIVE = 0, //驾车路线规划短串分享
38 | BMK_ROUTE_PLAN_SHARE_URL_TYPE_WALK = 1, //步行路线规划短串分享
39 | BMK_ROUTE_PLAN_SHARE_URL_TYPE_RIDE = 2, //骑行路线规划短串分享
40 | BMK_ROUTE_PLAN_SHARE_URL_TYPE_TRANSIT = 3, //公交路线规划短串分享
41 | }BMKRoutePlanShareURLType;
42 |
43 | ///路线规划短串分享检索信息类
44 | @interface BMKRoutePlanShareURLOption : NSObject
45 |
46 | ///路线规划短串分享类型
47 | @property (nonatomic, assign) BMKRoutePlanShareURLType routePlanType;
48 | ///起点,可通过关键字、坐标两种方式指定,使用关键字时必须指定from.cityID
49 | @property (nonatomic, strong) BMKPlanNode *from;
50 | ///终点,可通过关键字、坐标两种方式指定,使用关键字时必须指定to.cityID
51 | @property (nonatomic, strong) BMKPlanNode *to;
52 | ///cityID,当进行公交路线规划短串分享且起终点通过关键字指定时,必须指定
53 | @property (nonatomic, assign) NSUInteger cityID;
54 | ///公交路线规划短串分享时使用,分享的是第几条线路
55 | @property (nonatomic, assign) NSUInteger routeIndex;
56 |
57 | @end
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKSuggestionSearch.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKSuggestionSearch.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import "BMKSuggestionSearchOption.h"
10 | #import
11 | #import "BMKSearchBase.h"
12 |
13 | ///Suggestion结果类
14 | @interface BMKSuggestionResult : BMKSearchBase
15 | {
16 | NSArray* _keyList;
17 | NSArray* _cityList;
18 | NSArray* _districtList;
19 | }
20 | ///key列表,成员是NSString
21 | @property (nonatomic, strong) NSArray* keyList;
22 | ///city列表,成员是NSString
23 | @property (nonatomic, strong) NSArray* cityList;
24 | ///district列表,成员是NSString
25 | @property (nonatomic, strong) NSArray* districtList;
26 | ///poiId列表,成员是NSString
27 | @property (nonatomic, strong) NSArray* poiIdList;
28 | ///pt列表,成员是:封装成NSValue的CLLocationCoordinate2D
29 | @property (nonatomic, strong) NSArray* ptList;
30 |
31 | @end
32 |
33 | @protocol BMKSuggestionSearchDelegate;
34 | ///sug搜索服务
35 | @interface BMKSuggestionSearch : BMKSearchBase
36 | /// 检索模块的Delegate,此处记得不用的时候需要置nil,否则影响内存的释放
37 | @property (nonatomic, weak) id delegate;
38 |
39 | /**
40 | *搜索建议检索
41 | *@param suggestionSearchOption sug检索信息类
42 | *异步函数,返回结果在BMKSuggestionSearchDelegate的onGetSuggestionResult通知
43 | *@return 成功返回YES,否则返回NO
44 | */
45 | - (BOOL)suggestionSearch:(BMKSuggestionSearchOption*)suggestionSearchOption;
46 |
47 | @end
48 |
49 | ///搜索delegate,用于获取搜索结果
50 | @protocol BMKSuggestionSearchDelegate
51 | @optional
52 | /**
53 | *返回suggestion搜索结果
54 | *@param searcher 搜索对象
55 | *@param result 搜索结果
56 | *@param error 错误号,@see BMKSearchErrorCode
57 | */
58 | - (void)onGetSuggestionResult:(BMKSuggestionSearch*)searcher result:(BMKSuggestionResult*)result errorCode:(BMKSearchErrorCode)error;
59 |
60 |
61 | @end
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/Headers/BMKSuggestionSearchOption.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKSuggestionSearchOption.h
3 | * BMapKit
4 | *
5 | * Copyright 2014 Baidu Inc. All rights reserved.
6 | *
7 | */
8 |
9 | #import
10 | /// sug检索信息类
11 | @interface BMKSuggestionSearchOption : NSObject
12 | {
13 | NSString *_keyword;
14 | NSString *_cityname;
15 |
16 | }
17 | ///搜索关键字
18 | @property (nonatomic, strong) NSString *keyword;
19 | ///城市名
20 | @property (nonatomic, strong) NSString *cityname;
21 | ///是否只返回指定城市检索结果(默认:NO)(提示:海外区域暂不支持设置cityLimit)
22 | @property (nonatomic, assign) BOOL cityLimit;
23 |
24 | @end
25 |
26 |
27 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Search.framework/readme.txt:
--------------------------------------------------------------------------------
1 | 检索功能:包括POI检索,公交信息查询,路线规划,地理编码/反地理编码,在线建议查询,短串分享等;
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/BaiduMapAPI_Utils:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/BaiduMapAPI_Utils
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKFavPoiInfo.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKFavPoiInfo.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/4/8.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKFavPoiInfo_h
10 | #define UtilsComponent_BMKFavPoiInfo_h
11 |
12 | #import
13 | #import
14 |
15 | ///收藏点信息类
16 | @interface BMKFavPoiInfo : NSObject
17 |
18 | ///数据ID,自动生成
19 | @property (nonatomic, strong) NSString* favId;
20 | ///poi名称(添加或更新时,必须有)
21 | @property (nonatomic, strong) NSString* poiName;
22 | ///poi点Uid
23 | @property (nonatomic, strong) NSString* poiUid;
24 | ///poi坐标(添加或更新时,必须有)
25 | @property (nonatomic, assign) CLLocationCoordinate2D pt;
26 | ///poi地址
27 | @property (nonatomic, strong) NSString* address;
28 | ///城市名称
29 | @property (nonatomic, strong) NSString* cityName;
30 | ///添加或最后修改时间戳
31 | @property (nonatomic, assign) NSUInteger timeStamp;
32 |
33 |
34 | @end
35 |
36 | #endif
37 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKFavPoiManager.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKFavPoiManager.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/4/9.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKFavPoiManager_h
10 | #define UtilsComponent_BMKFavPoiManager_h
11 |
12 | #import "BMKFavPoiInfo.h"
13 |
14 | ///收藏点管理类
15 | @interface BMKFavPoiManager : NSObject
16 |
17 | /**
18 | * 添加一个poi点
19 | * @param favPoiInfo 点信息,in/out,输出包含favId和添加时间
20 | * @return -2:收藏夹已满,-1:名称为空,0:添加失败,1:添加成功
21 | */
22 | - (NSInteger)addFavPoi:(BMKFavPoiInfo*) favPoiInfo;
23 |
24 | /**
25 | * 获取一个收藏点信息
26 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId
27 | * @return 收藏点信息,没有返回nil
28 | */
29 | - (BMKFavPoiInfo*)getFavPoi:(NSString*) favId;
30 |
31 | /**
32 | * 获取所有收藏点信息
33 | * @return 点信息数组
34 | */
35 | - (NSArray*)getAllFavPois;
36 |
37 | /**
38 | * 更新一个收藏点
39 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId
40 | * @param favPoiInfo 点信息,in/out,输出包含修改时间
41 | * @return 成功返回YES,失败返回NO
42 | */
43 | - (BOOL)updateFavPoi:(NSString*) favId favPoiInfo:(BMKFavPoiInfo*) favPoiInfo;
44 |
45 | /**
46 | * 删除一个收藏点
47 | * @param favId 添加时返回的favId,也可通过getAllFavPois获取的信息中BMKFavPoiInfo的属性favId
48 | * @return 成功返回YES,失败返回NO
49 | */
50 | - (BOOL)deleteFavPoi:(NSString*) favId;
51 |
52 | /**
53 | * 清空所有收藏点
54 | * @return 成功返回YES,失败返回NO
55 | */
56 | - (BOOL)clearAllFavPois;
57 |
58 | @end
59 |
60 | #endif
61 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKNavigation.h:
--------------------------------------------------------------------------------
1 | /*
2 | * BMKNavigation.h
3 | * BMapKit
4 | *
5 | * Copyright 2011 Baidu Inc. All rights reserved.
6 | *
7 | */
8 | #import
9 | #import
10 | //定义调起导航的两种类型
11 | //注:自2.8.0开始废弃,只支持调起客户端导航,在调起客户端导航时,才会调起web导航
12 | typedef enum
13 | {
14 | BMK_NAVI_TYPE_NATIVE = 0,//客户端导航
15 | BMK_NAVI_TYPE_WEB,//web导航
16 | } BMK_NAVI_TYPE;
17 |
18 | ///此类管理调起导航时传入的参数
19 | @interface BMKNaviPara : NSObject
20 | {
21 | BMKPlanNode* _startPoint;
22 | BMKPlanNode* _endPoint;
23 | BMK_NAVI_TYPE _naviType;
24 | NSString* _appScheme;
25 | NSString* _appName;
26 | }
27 | ///起点,必须包含经纬度坐标(调起地图客户端时设置起点无效,以“我的位置”为起点)
28 | @property (nonatomic, strong) BMKPlanNode* startPoint;
29 | ///终点,必须包含经纬度坐标
30 | @property (nonatomic, strong) BMKPlanNode* endPoint;
31 | ///导航类型 注:自2.8.0开始废弃,只支持调起客户端导航,在调起客户端导航时,才会调起web导航
32 | @property (nonatomic, assign) BMK_NAVI_TYPE naviType __deprecated_msg("自2.8.0开始废弃");
33 | ///应用返回scheme
34 | @property (nonatomic, strong) NSString* appScheme;
35 | ///应用名称
36 | @property (nonatomic, strong) NSString* appName;
37 | ///调起百度地图客户端驾车导航失败后(步行、骑行导航设置该参数无效),是否支持调起web地图,默认:YES
38 | @property (nonatomic, assign) BOOL isSupportWeb;
39 |
40 | @end
41 |
42 | ///调起百度地图 -- 导航(驾车、步行、骑行)
43 | @interface BMKNavigation : NSObject
44 |
45 | /**
46 | *调起百度地图客户端驾车导航页面
47 | *@param para 调起驾车导航时传入得参数
48 | */
49 | + (BMKOpenErrorCode)openBaiduMapNavigation:(BMKNaviPara*)para;
50 |
51 | /**
52 | *调起百度地图客户端步行导航页面(不支持调起web地图)
53 | *客户端v8.8以后支持
54 | *@param para 调起步行导航时传入得参数
55 | */
56 | + (BMKOpenErrorCode)openBaiduMapWalkNavigation:(BMKNaviPara*)para;
57 |
58 | /**
59 | *调起百度地图客户端骑行导航页面(不支持调起web地图)
60 | *客户端v8.8以后支持
61 | *@param para 调起骑行导航时传入得参数
62 | */
63 | + (BMKOpenErrorCode)openBaiduMapRideNavigation:(BMKNaviPara*)para;
64 |
65 | @end
66 |
67 |
68 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenOption.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenOption.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/3/26.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKOpenOption_h
10 | #define UtilsComponent_BMKOpenOption_h
11 |
12 | ///调起百度地图参数基类
13 | @interface BMKOpenOption : NSObject
14 |
15 | ///应用返回scheme,用于调起后返回,没有不能返回
16 | @property (nonatomic, strong) NSString* appScheme;
17 | ///调起百度地图客户端失败后,是否支持调起web地图,默认:YES
18 | @property (nonatomic, assign) BOOL isSupportWeb;
19 |
20 | @end
21 |
22 | #endif
23 |
24 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenPanorama.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenPanorama.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 16/5/12.
6 | // Copyright © 2016年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKOpenPanorama_h
10 | #define BMKOpenPanorama_h
11 |
12 | #import
13 | #import "BMKOpenOption.h"
14 |
15 | @protocol BMKOpenPanoramaDelegate;
16 |
17 | ///调起百度地图全景参数类
18 | @interface BMKOpenPanoramaOption : BMKOpenOption
19 |
20 | ///poi的uid
21 | @property (nonatomic, strong) NSString* poiUid;
22 |
23 | @end
24 |
25 | ///调起百度地图 -- 全景
26 | @interface BMKOpenPanorama : NSObject
27 |
28 | @property (nonatomic, weak) id delegate;
29 |
30 | /**
31 | * 调起百度地图全景页面
32 | * 异步,调起结果在BMKOpenPanoramaDelegate的onGetOpenPanoramaStatus:通知
33 | *@param option 调起百度地图全景参数类(BMKOpenPanoramaOption)
34 | */
35 | - (void)openBaiduMapPanorama:(BMKOpenPanoramaOption *) option;
36 |
37 | @end
38 |
39 | ///调起百度地图全景delegate,用于获取调起状态
40 | @protocol BMKOpenPanoramaDelegate
41 |
42 | - (void)onGetOpenPanoramaStatus:(BMKOpenErrorCode) ecode;
43 |
44 | @end
45 |
46 | #endif /* BMKOpenPanorama_h */
47 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenPoi.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenPoi.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/3/26.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKOpenPoi_h
10 | #define UtilsComponent_BMKOpenPoi_h
11 |
12 | #import "BMKOpenPoiOption.h"
13 | #import
14 |
15 | ///调起百度地图 -- poi
16 | ///注:从iphone百度地图 8.2.0版本开始支持
17 | @interface BMKOpenPoi : NSObject
18 |
19 | /**
20 | * 调起百度地图poi详情页面
21 | * 注:从iphone百度地图 8.2.0版本开始支持
22 | *@param option poi详情参数类(BMKOpenPoiDetailOption)
23 | *@return 调起结果
24 | */
25 | + (BMKOpenErrorCode)openBaiduMapPoiDetailPage:(BMKOpenPoiDetailOption *) option;
26 |
27 | /**
28 | * 调起百度地图poi周边检索页面
29 | * 注:从iphone百度地图 8.2.0版本开始支持
30 | *@param option poi周边参数类(BMKOpenPoiNearbyOption)
31 | *@return 调起结果
32 | */
33 | + (BMKOpenErrorCode)openBaiduMapPoiNearbySearch:(BMKOpenPoiNearbyOption *) option;
34 |
35 | @end
36 |
37 | #endif
38 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenPoiOption.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenPoiOption.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/3/26.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKOpenPoiOption_h
10 | #define UtilsComponent_BMKOpenPoiOption_h
11 |
12 | #import
13 | #import
14 | #import "BMKOpenOption.h"
15 |
16 | ///调起百度地图: poi详情参数类
17 | @interface BMKOpenPoiDetailOption : BMKOpenOption
18 |
19 | ///poi的uid
20 | @property (nonatomic, strong) NSString* poiUid;
21 |
22 | @end
23 |
24 |
25 | ///调起百度地图: poi周边参数类
26 | @interface BMKOpenPoiNearbyOption : BMKOpenOption
27 |
28 | ///中心点(经纬度)
29 | @property (nonatomic, assign) CLLocationCoordinate2D location;
30 | ///半径
31 | @property (nonatomic, assign) NSUInteger radius;
32 | ///关键词
33 | @property (nonatomic, strong) NSString* keyword;
34 |
35 | @end
36 |
37 |
38 | #endif
39 |
40 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenRoute.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenRoute.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/3/26.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKOpenRoute_h
10 | #define UtilsComponent_BMKOpenRoute_h
11 | #import "BMKOpenRouteOption.h"
12 | #import
13 |
14 | ///调起百度地图 -- 路线
15 | ///注:从iphone百度地图 8.2.0版本开始支持
16 | @interface BMKOpenRoute : NSObject
17 |
18 | /**
19 | * 调起百度地图步行路线页面
20 | * 注:从iphone百度地图 8.2.0版本开始支持
21 | *@param option 步行路线参数类(BMKOpenWalkingRouteOption)
22 | *@return 调起结果
23 | */
24 | + (BMKOpenErrorCode)openBaiduMapWalkingRoute:(BMKOpenWalkingRouteOption *) option;
25 |
26 | /**
27 | * 调起百度地图公交路线页面
28 | * 注:从iphone百度地图 8.2.0版本开始支持
29 | *@param option 公交路线参数类(BMKOpenTransitRouteOption)
30 | *@return 调起结果
31 | */
32 | + (BMKOpenErrorCode)openBaiduMapTransitRoute:(BMKOpenTransitRouteOption *) option;
33 |
34 | /**
35 | * 调起百度地图驾车路线检索页面
36 | * 注:从iphone百度地图 8.2.0版本开始支持
37 | *@param option 驾车路线参数类(BMKOpenDrivingRouteOption)
38 | *@return 调起结果
39 | */
40 | + (BMKOpenErrorCode)openBaiduMapDrivingRoute:(BMKOpenDrivingRouteOption *) option;
41 |
42 | @end
43 |
44 |
45 | #endif
46 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKOpenRouteOption.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKOpenRouteOption.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/3/26.
6 | // Copyright (c) 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef UtilsComponent_BMKOpenRouteOption_h
10 | #define UtilsComponent_BMKOpenRouteOption_h
11 |
12 | #import
13 | #import "BMKOpenOption.h"
14 | #import
15 |
16 | typedef enum
17 | {
18 | BMK_OPEN_TRANSIT_RECOMMAND = 3, //推荐
19 | BMK_OPEN_TRANSIT_TRANSFER_FIRST, //少换乘
20 | BMK_OPEN_TRANSIT_WALK_FIRST, //少步行
21 | BMK_OPEN_TRANSIT_NO_SUBWAY, //不坐地铁
22 | BMK_OPEN_TRANSIT_TIME_FIRST, //时间短
23 | }BMKOpenTransitPolicy;
24 |
25 | ///此类管理调起百度地图路线时传入的参数
26 | @interface BMKOpenRouteOption : BMKOpenOption
27 |
28 | ///起点
29 | @property (nonatomic, strong) BMKPlanNode *startPoint;
30 | ///终点
31 | @property (nonatomic, strong) BMKPlanNode *endPoint;
32 |
33 | @end
34 |
35 | ///此类管理调起百度地图步行路线时传入的参数
36 | @interface BMKOpenWalkingRouteOption : BMKOpenRouteOption
37 |
38 | @end
39 |
40 | ///此类管理调起百度地图驾车路线时传入的参数
41 | @interface BMKOpenDrivingRouteOption : BMKOpenRouteOption
42 |
43 | @end
44 |
45 | ///此类管理调起百度地图公共交通路线时传入的参数
46 | @interface BMKOpenTransitRouteOption : BMKOpenRouteOption
47 |
48 | //策略,默认:BMK_OPEN_TRANSIT_RECOMMAND(异常值,强制使用BMK_OPEN_TRANSIT_RECOMMAND)
49 | @property (nonatomic, assign) BMKOpenTransitPolicy openTransitPolicy;
50 |
51 | @end
52 |
53 |
54 | #endif
55 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKUtilsComponent.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKUtilsComponent.h
3 | // baiduMapSdk
4 | //
5 | // Created by baidu on 14-4-22.
6 | // Copyright (c) 2014年 baidu. All rights reserved.
7 | //
8 |
9 |
10 | #import "BMKGeometry.h"
11 | #import "BMKNavigation.h"
12 | #import "BMKOpenPoi.h"
13 | #import "BMKOpenRoute.h"
14 | #import "BMKOpenPoiOption.h"
15 | #import "BMKOpenRouteOption.h"
16 | #import "BMKFavPoiManager.h"
17 | #import "BMKUtilsVersion.h"
18 | #import "BMKOpenPanorama.h"
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/Headers/BMKUtilsVersion.h:
--------------------------------------------------------------------------------
1 | //
2 | // BMKUtilsVersion.h
3 | // UtilsComponent
4 | //
5 | // Created by wzy on 15/9/9.
6 | // Copyright © 2015年 baidu. All rights reserved.
7 | //
8 |
9 | #ifndef BMKUtilsVersion_h
10 | #define BMKUtilsVersion_h
11 |
12 | #import
13 |
14 | /**
15 | *重要:
16 | *utils组件的版本和base组件的版本必须一致,否则不能正常使用
17 | */
18 |
19 | /**
20 | *获取当前地图API utils组件 的版本号
21 | *当前utils组件版本 : 3.2.1
22 | *return 返回当前API utils组件 的版本号
23 | */
24 | UIKIT_EXTERN NSString* BMKGetMapApiUtilsComponentVersion();
25 |
26 | /**
27 | *检查utils组件的版本号是否和base组件的版本号一致
28 | *return 版本号一致返回YES
29 | */
30 | UIKIT_EXTERN BOOL BMKCheckUtilsComponentIsLegal();
31 |
32 |
33 | #endif /* BMKUtilsVersion_h */
34 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/BaiduMapAPI_Utils.framework/readme.txt:
--------------------------------------------------------------------------------
1 | 计算工具:包括测距(两点之间距离)、坐标转换、调起百度地图等功能;
2 |
3 |
4 |
5 |
6 | --------------------------------------------------------------------------------------
7 |
8 | iOS 地图 SDK v3.2.1是适用于iOS系统移动设备的矢量地图开发包
9 |
10 | --------------------------------------------------------------------------------------
11 |
12 | 地图SDK功能介绍(全功能开发包):
13 |
14 | 地图:提供地图展示和地图操作功能;
15 |
16 | POI检索:支持周边检索、区域检索和城市内兴趣点检索;
17 |
18 | 地理编码:提供经纬度和地址信息相互转化的功能接口;
19 |
20 | 线路规划:支持公交、驾车、步行三种方式的线路规划;
21 |
22 | 覆盖物图层:支持在地图上添加覆盖物(标注、几何图形、热力图、地形图图层等),展示更丰富的LBS信息;
23 |
24 | 定位:获取当前位置信息,并在地图上展示(支持普通、跟随、罗盘三种模式);
25 |
26 | 离线地图:使用离线地图可节省用户流量,提供更好的地图展示效果;
27 |
28 | 调启百度地图:利用SDK接口,直接在本地打开百度地图客户端或WebApp,实现地图功能;
29 |
30 | 周边雷达:利用周边雷达功能,开发者可在App内低成本、快速实现查找周边使用相同App的用户位置的功能;
31 |
32 | LBS云检索:支持查询存储在LBS云内的自有数据;
33 |
34 | 特色功能:提供短串分享、Place详情检索、热力图等特色功能,帮助开发者搭建功能更加强大的应用;
35 |
36 |
37 | --------------------------------------------------------------------------------------
38 |
39 | 注:自v3.2.0起,百度地图iOS SDK全面支持HTTPS,需要广大开发者导入第三方openssl静态库:libssl.a和libcrypto.a(存放于thirdlib目录下)。
40 |
41 | 【 新版提示 】
42 | 1、自v3.2.0起,全面支持HTTPS
43 | 2、自v3.2.0起,地图引擎全面升级,主要升级特征有:
44 | 渲染架构技术升级,OpenGL ES从1.0升级到2.0
45 | 地图数据加载升级,加载性能大幅提升
46 |
47 | 【 修 复 】
48 | 修复下载离线地图时,delegate方法返回state错误问题
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/thirdlibs/libcrypto.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/thirdlibs/libcrypto.a
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMap/thirdlibs/libssl.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ghysrc/EasyMap/c1ce36ee2afec38caa6b445abdec4f6d7ae90aeb/EasyMapDemo/EasyMapDemo/BMap/thirdlibs/libssl.a
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/BMapViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // BMapViewController.swift
3 | // EasyMapDemo
4 | //
5 | // Created by ghysrc on 2017/1/10.
6 | // Copyright © 2017年 ghysrc. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class BMapViewController: UIViewController {
12 |
13 | private var location:CLLocation?
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 | let manager = BMKMapManager()
18 | manager.start("s0f0se2iZ3W5QpHl6EN3nnUDwCO3FWt8", generalDelegate: nil)
19 | // Do any additional setup after loading the view.
20 | }
21 | @IBAction func startLocating(_ sender: UIButton) {
22 | BMap.getLocation(onSuccess: { (location) in
23 | self.location = location
24 | sender.setTitle("\(location.coordinate.latitude), \(location.coordinate.longitude)", for: .normal)
25 | }) { (error) in
26 | self.showAlert(title: error.localizedDescription)
27 | }
28 | }
29 |
30 | @IBAction func reverseGeocoder(_ sender: UIButton) {
31 | guard let coordinate = self.location?.coordinate else {
32 | self.showAlert(title: "Click Locate First")
33 | return
34 | }
35 | BMap.reverseGeocoder(coordinate: coordinate, onSuccess: { (result) in
36 | self.showAlert(title: result.address)
37 | }) { (errorCode) in
38 | self.showAlert(title: "errorCode = \(errorCode)")
39 | }
40 | }
41 |
42 | @IBAction func poiSearch(_ sender: UIButton) {
43 | guard let coordinate = self.location?.coordinate else {
44 | self.showAlert(title: "Click Locate First")
45 | return
46 | }
47 | BMap.searchPoi(near: coordinate, radius: 1000, keyword: "food", onSuccess: { (result) in
48 | var names = [String]()
49 | for item in result.poiInfoList as! [BMKPoiInfo] {
50 | names.append(item.name)
51 | }
52 | self.showActionSheet(title: "POI Result", buttons: names)
53 | }) { (errorCode) in
54 | self.showAlert(title: "errorCode = \(errorCode)")
55 | }
56 | }
57 |
58 | override func didReceiveMemoryWarning() {
59 | super.didReceiveMemoryWarning()
60 | // Dispose of any resources that can be recreated.
61 | }
62 |
63 |
64 | /*
65 | // MARK: - Navigation
66 |
67 | // In a storyboard-based application, you will often want to do a little preparation before navigation
68 | override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
69 | // Get the new view controller using segue.destinationViewController.
70 | // Pass the selected object to the new view controller.
71 | }
72 | */
73 |
74 | }
75 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/Bridge-Header.h:
--------------------------------------------------------------------------------
1 | //
2 | // Bridge-Header.h
3 | // EasyMapDemo
4 | //
5 |
6 | #import
7 | #import
8 | #import
9 | #import
10 |
11 | #import //引入base相关所有的头文件
12 |
13 | #import //引入地图功能所有的头文件
14 |
15 | #import //引入检索功能所有的头文件
16 |
17 | #import //引入云检索功能所有的头文件
18 |
19 | #import //引入定位功能所有的头文件
20 |
21 | #import //引入计算工具所有的头文件
22 |
23 | #import //引入周边雷达功能所有的头文件
24 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/Extensions.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Extensions.swift
3 | // EasyMapDemo
4 | //
5 | // Created by ghysrc on 2017/1/10.
6 | // Copyright © 2017年 ghysrc. All rights reserved.
7 | //
8 |
9 |
10 | extension UIViewController {
11 |
12 | func showAlert(title:String) {
13 | let alert = UIAlertController(title: title, message: nil, preferredStyle: UIAlertControllerStyle.alert)
14 | let action = UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil)
15 | alert.addAction(action)
16 | self.present(alert, animated: true, completion: nil)
17 | }
18 |
19 | func showActionSheet(title:String, buttons:[String]) {
20 | let alert = UIAlertController(title: title, message: nil, preferredStyle: UIAlertControllerStyle.actionSheet)
21 | for btn in buttons {
22 | let action = UIAlertAction(title: btn, style: UIAlertActionStyle.default, handler: nil)
23 | alert.addAction(action)
24 | }
25 | self.present(alert, animated: true, completion: nil)
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDisplayName
6 | EasyMap
7 | NSLocationWhenInUseUsageDescription
8 | Use your location
9 | CFBundleDevelopmentRegion
10 | en
11 | CFBundleExecutable
12 | $(EXECUTABLE_NAME)
13 | CFBundleIdentifier
14 | $(PRODUCT_BUNDLE_IDENTIFIER)
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | $(PRODUCT_NAME)
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | 1.0
23 | CFBundleVersion
24 | 1
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UIRequiredDeviceCapabilities
32 |
33 | armv7
34 |
35 | UISupportedInterfaceOrientations
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/EasyMapDemo/EasyMapDemo/MapViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // EasyMapDemo
4 | //
5 | // Created by ghysrc on 2017/1/10.
6 | // Copyright © 2017年 ghysrc. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class MapViewController: UIViewController {
12 |
13 | private var location:CLLocation?
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 | // Do any additional setup after loading the view, typically from a nib.
18 | }
19 |
20 | @IBAction func startLocating(_ sender: UIButton) {
21 | Map.getLocation(onSuccess: { (location) in
22 | self.location = location
23 | sender.setTitle("\(location.coordinate.latitude), \(location.coordinate.longitude)", for: .normal)
24 | }) { (error) in
25 | self.showAlert(title: error.localizedDescription)
26 | }
27 | }
28 |
29 | @IBAction func reverseGeocoder(_ sender: UIButton) {
30 | if let l = self.location {
31 | Map.reverseGeocoder(location: l, onSuccess: { (placeMarks) in
32 | let mark = placeMarks[0]
33 | if let province = mark.administrativeArea, let city = mark.locality, let name = mark.name {
34 | self.showAlert(title: province + ", " + city + ", " + name)
35 | }
36 | }, onFail: { (error) in
37 | self.showAlert(title: error.localizedDescription)
38 | })
39 | } else {
40 | self.showAlert(title: "Click Locate First")
41 | }
42 | }
43 | @IBAction func poiSearch(_ sender: UIButton) {
44 | if let l = self.location {
45 | Map.searchPoi(near: l.coordinate, radius: 1000, keyWords: "hotel", onSuccess: { (items) in
46 | var names = [String]()
47 | for item in items {
48 | names.append(item.name!)
49 | }
50 | self.showActionSheet(title: "POI Result", buttons: names)
51 | }, onFail: { (error) in
52 | self.showAlert(title: error.localizedDescription)
53 | })
54 | } else {
55 | self.showAlert(title: "Click Locate First")
56 | }
57 | }
58 |
59 | override func didReceiveMemoryWarning() {
60 | super.didReceiveMemoryWarning()
61 | // Dispose of any resources that can be recreated.
62 | }
63 |
64 |
65 | }
66 |
67 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 ghysrc
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # EasyMap
2 | EasyMap provids a more easy way to deal with maps. (MapKit, [百度地图](http://lbsyun.baidu.com/), [高德地图](http://lbs.amap.com/) )
3 |
4 | ### Why use EasyMap?
5 |
6 | Here is a sample code to get current location
7 |
8 | ```swift
9 | class ViewController: UIViewController, CLLocationManagerDelegate
10 | ...
11 | let clManager = CLLocationManager()
12 | clManager.distanceFilter = kCLLocationAccuracyHundredMeters
13 | clManager.desiredAccuracy = 100
14 | clManager.delegate = self
15 | clManager.startUpdatingLocation()
16 |
17 | func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
18 | // Do something
19 | }
20 |
21 | func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
22 |
23 | }
24 | ```
25 |
26 | Well, I'm a lazy person, too many lines of codes here.
27 |
28 | Let's see how many lines left by using EasyMap.
29 |
30 | ```swift
31 | Map.getLocation(onSuccess: { (location) in
32 | // Do something
33 | }) { (error) in
34 |
35 | }
36 | ```
37 |
38 | ### Usage
39 |
40 | EasyMap contains three Map Services. There is just a slighty difference.
41 |
42 | - Map = MapKit
43 | - AMap = [高德地图](http://lbs.amap.com/)
44 | - BMap = [百度地图](http://lbsyun.baidu.com/)
45 |
46 | ##### Locate
47 |
48 | ```swift
49 | Map.getLocation(onSuccess: { (location) in
50 |
51 | }) { (error) in
52 |
53 | }
54 | ```
55 |
56 | ##### ReverseGeocoder
57 |
58 | ```swift
59 | BMap.reverseGeocoder(coordinate: coordinate, onSuccess: { (result) in
60 |
61 | }) { (errorCode) in
62 |
63 | }
64 | ```
65 |
66 | ##### Geocoder
67 |
68 | ```swift
69 | BMap.geocoder(address: "somewhere", city: "", onSuccess: { (result) in
70 |
71 | }) { (errorCode) in
72 |
73 | }
74 | ```
75 |
76 | ##### Get suggestions when typing
77 |
78 | ```swift
79 | AMap.searchInputTips(keywords: "plaza", onSuccess: { (response) in
80 |
81 | }, onFail: { (error) in
82 |
83 | })
84 | ```
85 |
86 | ##### Search nearby pois
87 |
88 | ```swift
89 | BMap.searchPoi(near: coordinate, radius: 1000, keyword: "hotel", onSuccess: { (result) in
90 |
91 | }, onFail: { (errorCode) in
92 |
93 | })
94 | ```
95 |
96 | ### TODO
97 |
98 | - [x] Demo Project
99 | - [ ] More Features
100 | - [ ] Cocopods
101 |
102 | ### Aboud Demo Project
103 |
104 | I don't suggest to download the demo project. The .framework files takes more than 100M, it may slow you down.
105 | ### Contribute
106 |
107 | - Pull Request is more than welcome
108 | - Found a bug or need a new feature, feel free to open a issue.
109 |
110 | ### License
111 |
112 | MIT
--------------------------------------------------------------------------------