计算feometry面积esri/geometry/geometryEngineAsync
来源:互联网 发布:网络架构师年薪 编辑:程序博客网 时间:2024/05/24 05:53
Object: esri/geometry/geometryEngineAsync
[ AMD Module Require | Legacy Module Require ]
Methods
require(["esri/geometry/geometryEngineAsync"], function(geometryEngineAsync) { /* code goes here */ });
Description
(Added at v3.13)
A client-side asynchronous geometry engine. The difference between the geometryEngineAsync
and geometryEngine modules is the async functions return aPromise
that are resolved with the same argument as is returned by the sync functions. See theunion
method for a code sample.Known limitation: the
geometryEngineAsync
module requires a browser with Web Worker support. This can be tested for by inspecting thewindow.Worker
property in the browser. In addition to this, it is only supported using AMD-style coding syntax.geodesicArea(geometry, unit)
Promise
Calculates the area of the input geometry.geodesicArea(geometry, unit)函数详解
Calculates the area of the input geometry. As opposed to planarArea(), geodesicArea takes into account the curvature of the earth when performing this calculation. Therefore, when using input geometries with a spatial reference of either WGS-84 (wkid: 4326) or Web Mercator Auxiliary Sphere (wkid: 3857), it is best practice to calculate areas using geodesicArea(). If the input geometries have a projected coordinate system other than Web Mercator, use planarArea() instead.
This method only works with WGS-84 (wkid: 4326) and Web Mercator (wkid: 3857) spatial references.
This method only works with WGS-84 (wkid: 4326) and Web Mercator (wkid: 3857) spatial references.
Return type:
Promise
Parameters:<
Possible Values: acres | ares | hectares | square-feet | square-meters | square-yards | square-kilometers | square-miles
Geometry
> geometryRequiredThe input geometry.<String
|Number
> unitRequiredMeasurement unit of the return value. Defaults to the units of the input geometries. Use one of the possible values listed below or any of the numeric codes listed here.Possible Values: acres | ares | hectares | square-feet | square-meters | square-yards | square-kilometers | square-miles
阅读全文
0 0
- 计算feometry面积esri/geometry/geometryEngineAsync
- esri geometry-api-java的maven创建
- 计算几何学(Computational Geometry)
- 计算几何学(Computational Geometry)
- 计算面积
- 计算面积
- 计算面积
- 计算面积
- 无法嵌入互操作类型“ESRI.ArcGIS.Geometry.EnvelopeClass”
- Esri的云计算战略
- esri/dijit/Directions:计算方向
- SGU110 计算几何 Computational Geometry
- usaco Computational Geometry 计算几何
- 计算矩形面积
- 计算多边形面积 绿色
- 多边形面积计算
- 计算多边形的面积
- 面积计算系统
- ORACLE 手工建库
- bitMap
- shell提取文件名和目录名
- Ubuntu Linux 永久挂载(mount)分区
- 笔记
- 计算feometry面积esri/geometry/geometryEngineAsync
- 两个数据源的配置
- dlib 04 dlib自带demo 基于HOG的人脸特征检测
- Linux版 Matlab R2015a 的链接
- windows核心编程之线程同步与原子函数
- dubbo调用和maven依赖的区别
- iPhone x 原型适配的一些事儿
- 芯片的分类
- 四大组件---Service