What is the distance unit for GeometryEngine.Offset?

301
1
12-24-2017 03:50 PM
DavidHarris4
New Contributor

What follows is the documentation. There is nothing I can find that tells me what unit is being used for Distance. 

I'm trying to offset polylines on a map. Can anyone help?

public Geometry Offset( Geometry geometry, double distance, OffsetType offsetType, double bevelRatio )

Parameters

geometry
The geometry to calculate offset for. MapPoint and Multipoint are not supported.
distance
The offset distance for the geometry.
offsetType
The offset type of the offset geometry.
bevelRatio
The ratio used to produce a bevel join instead of a miter join (used only when joins is miter).

0 Kudos
1 Reply
JoeHershman
MVP Regular Contributor

It's based on the units of the spatial reference of the geometry

0 Kudos