ESRI arcgis 10.1.1 ios skd 中通过gps 设备进行地图上的导航功能
来源:互联网 发布:linux 文件夹写权限 编辑:程序博客网 时间:2024/06/05 19:47
实现,ESRI arcgis 10.1.1 ios skd 中通过gps 设备进行地图上的导航功能。
参考 资料: http://gis.stackexchange.com/questions/57487/force-arcgis-ios-to-use-gps-data-from-external-gps-device
相关例子 : http://www.arcgis.com/home/item.html?id=5e9fe50031f5461796b5d158a11d0bad
步骤:
- 定义一个 mapView 对象。
AGSMapView* _mapView;
- 使用 locationDisplay 方法
[self.mapView.locationDisplay addObserver:self forKeyPath:@"navigationMode" options:(NSKeyValueObservingOptionNew) context:NULL];self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeNavigation; - 切换定位开关功能
-(IBAction)locationBtnClicked:(id)sender{ NSLog(@"开始定位"); if(!self.mapView.locationDisplay.dataSourceStarted) { [self.mapView.locationDisplay startDataSource]; self.mapView.locationDisplay.autoPanMode = AGSLocationDisplayAutoPanModeDefault; //Set a wander extent equal to 75% of the map's envelope //The map will re-center on the location symbol only when //the symbol moves out of the wander extent //self.mapView.locationDisplay.wanderExtentFactor = 0.75; }else{ [self.mapView.locationDisplay stopDataSource]; } }
- 实现定位方法
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {}
- ESRI arcgis 10.1.1 ios skd 中通过gps 设备进行地图上的导航功能
- iOS通过CLLocationManager调用地图导航功能
- Arcgis ios skd 中 设置背景颜色 和方格 的颜色
- 百度地图通过GPS定位导航
- ArcGIS for iOS地图上添加测距功能,及显示相应的路径图层
- 在ios中使用手机定位获得的经纬度坐标 通过 arcgis的api 显示在wgs84 坐标系的地图上。
- Android手机实现GPS语音导航功能(Google地图导航)
- ArcGis api for flex 中 Map控件的属性开关(地图控件的导航功能开关属性)
- 基于ArcGIS 的GPS数据地图匹配
- GPS地图的一些功能
- 凯立德GPS导航地图的文件说明
- arcgis for ios 去掉地图上的开发英文
- "类型同时存在于ESRI.ArcGIS.AxMapControl.dll和ESRI.ArcGIS.MapControl.dll中"的错误
- ArcGIS 10.1在制图上的增强(来自Esri 2012 UC)
- 【越狱开发】启动iOS设备上的WebInspector功能进行网页调试
- iOS 根据地图上的点画线 画导航
- 调用地图的导航功能
- 调用Iphone中默认地图的导航功能
- 杭电水题--排序 关于strtok的一些问题
- C# PrintDocument类
- Android ANR异常及解决方法
- 机器学习实战笔记(二)KNN(K-Nearest Neighbors) k-近邻算法
- 多图详解 iPhone SDK下载安装教程
- ESRI arcgis 10.1.1 ios skd 中通过gps 设备进行地图上的导航功能
- AWR
- 【Oracle】-【索引】先查数据再建索引,还是先建索引再插数据?
- Win7中CHM打不开的解决方法
- 协议森林02 小喇叭开始广播 (以太网与WiFi协议)
- Window8平板键盘中英文字符的问题
- rman备份与脚本
- Google地图的经纬度
- QT槽传递参数的方法