Skip to content

Commit 0ed3b4c

Browse files
author
Nooras Fatima Ansari
committed
feat: Add geometry snippets [Esri#65] update in readme & changelog
1 parent 695817f commit 0ed3b4c

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,15 @@ All notable changes to the "arcgis-jsapi-snippets" extension will be documented
7474

7575
- Added `searchWidget` snippet
7676
- Added `searchWidgetWithCustomSources` snippet
77-
- Added `searchWidgetWithSources` snippet
77+
- Added `searchWidgetWithSources` snippet
78+
79+
## [Version 1.1.7]
80+
81+
- Added `CircleGeometry` snippet
82+
- Added `ExtentGeometry` snippet
83+
- Added `MeshGeometry` snippet
84+
- Added `MultipointGeometry` snippet
85+
- Added `PointGeometry` snippet
86+
- Added `PolylineGeometry` snippet
87+
- Added `PolygonGeometry` snippet
88+
- Added `SpatialReferenceGeometry` snippet

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ This extension adds a new option to the activity bar that lets you quickly brows
110110
| searchWidget | The Search widget provides a way to perform search operations on services or features provided by Esri. |
111111
| searchWidgetWithCustomSources | The search widget provides the capability to provide search capabilities to third-party services. To use a custom source with the search widget, you must set the widget's sources property with your own custom source. To create a custom search source, you need to construct a search source with on object containing two functions, getSuggestions and getResults. |
112112
| searchWidgetWithSources | The Search widget to search multiple Layer Sources based on given fields. To use multiple sources with the Search widget, you must set the widget's sources property. |
113+
| CircleGeometry | A circle is a Polygon created by specifying a center point and a radius. The point can be provided as a Point object or an array of latitude/longitude values. |
114+
| ExtentGeometry | Extent is used to describe the visible portion of a MapView. |
115+
| MeshGeometry | A mesh is a general, client-side 3D geometry type composed of vertices with attributes. The mesh geometry class has a number of convenience functions to create simple primitive shapes. Mesh geometries can be manually created by specifying vertexAttributes and components. |
116+
| MultipointGeometry | An ordered collection of points. |
117+
| PointGeometry | A location defined by X, Y, and Z coordinates. |
118+
| PolylineGeometry | A polyline contains an array of paths and spatialReference. Each path is represented as an array of points. |
119+
| PolygonGeometry | A polygon contains an array of rings and a spatialReference. Each ring is represented as an array of points. The first and last points of a ring must be the same. |
120+
| SpatialReferenceGeometry | Defines the spatial reference of a view, layer, or method parameters. |
113121

114122
### [TypeScript snippets](snippets/typescript.json)
115123

0 commit comments

Comments
 (0)