SGLocationObjC 0.0.3

SGLocationObjC 0.0.3

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布最后发布2017年5月

crash_wu维护。



  • 吴小星

描述

基于 ArcGis 加载 TileMap 的定位功能

使用

@import SGLocationObjC;//到项目中

SGLocationUtil


/**
 *  @author crash         [email protected]   , 16-09-05 16:09:02
 *
 *  @brief  单例
 *
 *  @return 定位服务对象
 */
+(nonnull instancetype)sharedInstance;

/**
 *  @author crash         [email protected]   , 16-09-05 16:09:31
 *
 *  @brief  获取用户当前位置信息,并且展示到地图上
 *
 *  @param mapView   地图
 *  @param imageName 图标名称
 */
-(void)getUserLocation:(nonnull AGSMapView *)mapView andSymbolImage:(nonnull NSString *)imageName;

/**
 *  @author crash         [email protected]   , 16-09-05 16:09:29
 *
 *  @brief  获取当前用户用户位置坐标
 *
 *  @return 用户位置坐标
 */
-(nullable AGSPoint *)getUserPoint;

示例

要运行示例项目,请克隆仓库,并首先从 Example 目录运行 pod install

需求

ArcGIS-Runtime-SDK-iOS for version 10.2.5

安装

SGLocationObjC 可以通过 CocoaPods 获得。要安装它,只需将以下行添加到您的 Podfile 中

pod "SGLocationObjC"

作者

吴小星, [email protected]

许可证

SGLocationObjC 在 MIT 许可证下提供。有关更多信息,请参阅许可证文件。