Name | Description |
---|
ARROW | Draws an arrow. |
CIRCLE | Draws a circle. |
DOWN_ARROW | Draws an arrow that points down. |
ELLIPSE | Draws an ellipse. |
EXTENT | Draws an extent box. |
FREEHAND_POLYGON | Draws a freehand polygon. |
FREEHAND_POLYLINE | Draws a freehand polyline. |
LEFT_ARROW | Draws an arrow that points left. |
LINE | Draws a line. |
MULTI_POINT | Draws a Multipoint. |
POINT | Draws a point. |
POLYGON | Draws a polygon. |
POLYLINE | Draws a polyline. |
RECTANGLE | Draws a rectangle. |
RIGHT_ARROW | Draws an arrow that points right. |
TRIANGLE | Draws a triangle. |
UP_ARROW | Draws an arrow that points up. |
参考:http://blog.csdn.net/xiaokui_wingfly/article/details/8492151转
常量定义
常量 | 描述 |
---|
ARROW | 绘制箭头. |
UP_ARROW | 绘制一个上箭头. |
DOWN_ARROW | 绘制一个下箭头 |
LEFT_ARROW | 绘制一个左箭头. |
RIGHT_ARROW | 绘制一个右箭头 |
POINT | 绘制点. |
MULTI_POINTPOINT | 绘制多点. |
ELLIPSE | 绘制一个椭圆形. |
POLYGON | 绘制多边形. |
POLYLINE | 绘制折线. |
FREEHAND_POLYGON | 手绘多边形. |
FREEHAND_POLYLINE | 手绘折线. |
LINE | 绘制线 |
RECTANGLE | 绘制一个矩形 |
CIRCLE | 绘制圆. |
TRIANGLE | 绘制一个三角形. |
EXTENT | Draws an extent box. |
属性
方法
事件
onDrawComplete() | Fired when the user has ended drawing. 这个事件对象具有以下属性 <Geometry> geometry | 集合图像绘制.这种几何形状的坐标具有相同的空间的地图参考. | <Geometry>geographicGeometry | 在地理坐标(纬度,经度)的绘制的形状的几何形状。仅当是Web墨卡托地图的空间参考或地理(4326)。 |
|
onDrawEnd(geometry) | 绘制完成时触发。 |