Class: Grid

Grid(options)

new Grid(options)

A Grid object draw in map.

Parameters:
Name Type Description
options

object with following keys:

  • size (optional) - the size of the grid
  • cellSize (optional) - the cell size of map
  • lineWidth (optional) - the width of the lines in the grid
Source: