Grid cell shape:
hexagon
square
triangle
Cell size units:
degrees
feet
kilometers
meters
miles
radians
Cell size
Clear
Draw gridded polygon
This sample shows how to calculate a gridded pattern within a drawn polygon based on a physical distances. For gridded patterns that are based on pixel distances, use a fill pattern with a polygon. This sample uses the open source
Turf.js
library to for some of the spatial calculation.