SGSketchLayer_OC 0.0.2

SGSketchLayer_OC 0.0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2016

Maintained by crash_wu.



  • By
  • 吴小星

SGSketchLayer-OC

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

(绘制点)

(绘制折线)

(绘制曲线)

(绘制曲面,多边形)