How to create a grid layer top of polygon

177
0
03-06-2024 11:16 AM
SaiPeketi
New Contributor II

Hi Community,

Can anyone help me out create a grid layer of 1ft x 1ft size on top of a polygon or geometry? I tried using the code of create vertical and horizontal line using ArcGIS JS for API.

I was checked by passing the coordinated vertical line and horizontal line but how we can do for the polygon geometry area.

var polyline1 = new Polyline([[0, 0],[5,0], [10, 0]]);
var polyline2 = new Polyline([[0, 0],[0,5], [0, 10]]);

Thanks,

Sai 

 

Tags (2)
0 Kudos
0 Replies