Latest 0.0.2
Homepage https://github.com/crash-wu/SGLocationUtil
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Describe

基于ArcGis加载天地图瓦片的定位功能

Usage

//=======================================//
//          MARK: 单例模式                 //
//=======================================//
public static let sharedInstance = SGLocationUtil()

/**
获取用户当前位置信息,并且展示到地图上

:param: mapView     当前地图

:param: symbolImage 显示图标名称
*/
public func getUserLocation (mapView:AGSMapView,symbolImage:String)

/**
获取当前用户用户位置坐标

:returns: 用户位置坐标
*/
public func getUserPoint()->AGSPoint

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

ArcGIS-Runtime-SDK-iOS for version 10.2.5

Installation

SGLocationUtil is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SGLocationUtil"

Author

吴小星, [email protected]

License

SGLocationUtil is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SGLocationUtil",
    "version": "0.0.2",
    "summary": "u57fau4e8eArcGisu52a0u8f7du5929u5730u56feu74e6u7247u7684u5b9au4f4du529fu80fd",
    "description": "u57fau4e8eArcGisu52a0u8f7du5929u5730u56feu74e6u7247u7684u5b9au4f4du529fu80fd.",
    "homepage": "https://github.com/crash-wu/SGLocationUtil",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5434u5c0fu661f": "[email protected]"
    },
    "source": {
        "git": "https://github.com/crash-wu/SGLocationUtil.git",
        "tag": "0.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SGLocationUtil/Classes/*.swift",
    "xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": "$(HOME)/Library/SDKs/ArcGIS/iOS",
        "OTHER_LDFLAGS": "-lObjC -framework ArcGIS -l c++",
        "ENABLE_BITCODE": "NO",
        "CLANG_ENABLE_MODULES": "YES"
    }
}

Pin It on Pinterest

Share This