Description
(Added at v3.8)
Utility methods for working with JSON geometry objects.
When coding legacy (non-AMD) style, there is no need to require the module. All methods and properties are available in the namespace. For example,
esri.geometry.fromJson()
.
Samples
Search for
samples that use this class.
Methods
Method Details
Converts the input JSON object to the appropriate esri.geometry.* object.
Parameters:
<Object > json |
Required |
The JSON object. |
Requests the geometry type name as represented in the ArcGIS REST.
Parameters:
<Geometry > geometry |
Required |
The ArcGIS JavaScript API geometry type to be converted. |