Create graticule or grid Layers.
Layer layer = Graticule.createHexagons(new Bounds(0,0,50,50), 5, 1, "angled")
| Constructor and description | 
|---|
                                Graticule
                                () | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            static Layer | 
                            createHexagons(Map options, Bounds bounds, double length, double spacing, java.lang.String orientation)Creates a hexagon polygon graticule.  | 
                        
 | 
                            static Layer | 
                            createLines(Map options, Bounds bounds, List lineDefs, double spacing)Creates a line based graticule 
  | 
                        
 | 
                            static Layer | 
                            createOvals(Map options, Bounds bounds, double length)Creates a oval polygon graticule.  | 
                        
 | 
                            static Layer | 
                            createRectangles(Map options, Bounds bounds, double width, double height, double spacing)Creates a rectangular polygon graticule 
 
  | 
                        
 | 
                            static Layer | 
                            createSquares(Map options, Bounds bounds, double length, double spacing)Creates a square polygon graticule.  | 
                        
| Methods inherited from class | Name | 
|---|---|
class java.lang.Object | 
                            java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
                        
Creates a hexagon polygon graticule.
options -  The optional named parameters:
 bounds -  The Boundslength -  The hexagon cell width and heightspacing -  The vertex spacing (-1 for non densified)orientation -  The cell orientation (flat or angled)Creates a line based graticule
options -  The optional named parameters:
 bounds -  The BoundslineDefs -  A List of line definitions.  Each line definition is a map with the following properties:
 orientation (vertical or horizontal), level, and spacing.spacing -  The vertex spacing (-1 for non densified)Creates a oval polygon graticule.
options -  The optional named parameters:
 bounds -  The Boundslength -  The square cell width and heightCreates a rectangular polygon graticule
options -  The optional named parameters:
 bounds -  The Boundswidth -  The cell widthheight -  The cell heightspacing -  The vertex spacing (-1 for non densified)Creates a square polygon graticule.
options -  The optional named parameters:
 bounds -  The Boundslength -  The square cell width and heightspacing -  The vertex spacing (-1 for non densified)