TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2016 |
Maintained by crash_wu.
A layer that allows the user to interactively sketch geometries on the map .You can sketch point(点) ,FoldLine(折线),Curve(曲线),Surfaces(曲面),Polygon(多边形) geometries from scratch.
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;
To run the example project, clone the repo, and run pod install
from the Example directory first.
ArcGIS-Runtime-SDK-iOS for version 10.2.5
SGSketchLayer-OC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SGSketchLayer_OC"
吴小星, [email protected]
SGSketchLayer-OC is available under the MIT license. See the LICENSE file for more info.