Latest 0.0.2
Homepage https://github.com/crash-wu/SGSketchLayer-OC
License MIT
Platforms ios 7.0, requires ARC
Authors

SGSketchLayer-OC

CI Status
Version
License
Platform

Describe

A layer that allows the user to interactively sketch geometries on the map .You can sketch point(点) ,FoldLine(折线),Curve(曲线),Surfaces(曲面),Polygon(多边形) geometries from scratch.

Usage

import<SGSketchLayer_OC/SGSketchLayer_OC.h>

/**
*  @author crash         [email protected]   , 16-08-10 16:08:51
*
*  @brief  初始化绘图工具
*
*  @param sketchType 绘制图形类型
*
*  @return 绘图工具
*/
-(_Nullable instancetype)initWithSketchType:(SketchType )sketchType;

/**
*  @author crash         [email protected]   , 16-08-10 16:08:11
*
*  @brief  清除图层
*/
-(void)clear;

/**
*  @author crash         [email protected]   , 16-08-10 16:08:06
*
*  @brief  获取标绘图形
*
*  @return 获取标绘图形
*/
-( AGSGeometry* _Nullable )geometry;

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

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

pod "SGSketchLayer_OC"

Author

吴小星, [email protected]

License

SGSketchLayer-OC is available under the MIT license. See the LICENSE file for more info.

Exmaple

(绘制点)

(绘制折线)

(绘制曲线)

(绘制曲面,多边形)

Latest podspec

{
    "name": "SGSketchLayer_OC",
    "version": "0.0.2",
    "summary": "SGSketchLayer for Object-C.",
    "description": "A layer that allows the user to interactively sketch geometries on the map .You can sketch point(u70b9) ,FoldLine(u6298u7ebf),Curve(u66f2u7ebf),Surfaces(u66f2u9762),Polygon(u591au8fb9u5f62) geometries from scratch.",
    "homepage": "https://github.com/crash-wu/SGSketchLayer-OC",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5434u5c0fu661f": "[email protected]"
    },
    "source": {
        "git": "https://github.com/crash-wu/SGSketchLayer-OC.git",
        "tag": "0.0.2"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "SGSketchLayer-OC/Classes/*.{h,m}",
    "public_header_files": "SGSketchLayer-OC/Classes/*.h",
    "requires_arc": true,
    "xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": "$(HOME)/Library/SDKs/ArcGIS/iOS",
        "OTHER_LDFLAGS": "-lObjC -framework ArcGIS -l c++",
        "ENABLE_BITCODE": "NO"
    }
}

Pin It on Pinterest

Share This