

inputGeometry: Geometry | Feature - The geometry to buffer.This is a planar measurement using Cartesian mathematics. Returns the planar (or Euclidean) buffer at a specified distance around the input geometry. Returns the geodetic area of the feature in square metersīuffer Buffer(inputGeometry, distance, unit?) -> Polygon Possible values: acres | square-feet | hectares | square-kilometers | square-miles | square-nautical-miles | square-meters | square-yards unit ( Optional): Text | Number - Measurement unit of the return value.polygon: Polygon | Feature | Array - The Polygon or Feature for which to calculate the geodetic area.Other profiles, such as popup, provide the full resolution geometry. $feature) as input to any geometry function in these contexts will return different results at each scale level. Therefore, using a feature's geometry (i.e. Support is limited to geometries with a Web Mercator (wkid 3857) or a WGS 84 (wkid 4326) spatial reference.įeature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. This is more reliable measurement of area than Area() because it takes into account the Earth's curvature. Returns the geodetic area of the input geometry or Feature in the given units. Returns the angle from a Point to a Feature, in degreesĪreaGeodetic AreaGeodetic(polygon, unit?) -> Number pointB: Point | Feature - The second Point or Feature used to calculate the angle.pointA: Point | Feature - The first Point or Feature used to calculate the angle.If the points are identical, then an angle of 0 degrees is returned. Point features can be used instead of any or both Point geometries. Only the x-y plane is considered for the measurement. For example, an angle of 90 degrees points due north. The angle is measured in a counter-clockwise direction relative to east. Returns the arithmetic angle of a line between two points in degrees (0 - 360).

