Returns a GeoJSON MultiLineString geometry object representing all meridians and parallels for this graticule.
Returns the current minor extent, which defaults to ⟨⟨-180°, -80° - ε⟩, ⟨180°, 80° + ε⟩⟩.
Sets the major and minor extents of this graticule.
Extent to use for major and minor extent of graticule.
Returns the current major extent, which defaults to ⟨⟨-180°, -90° + ε⟩, ⟨180°, 90° - ε⟩⟩.
Sets the major extent of this graticule.
Major extent of graticule.
Returns the current minor extent, which defaults to ⟨⟨-180°, -80° - ε⟩, ⟨180°, 80° + ε⟩⟩.
Sets the minor extent of this graticule.
Minor extent of graticule.
Returns an array of GeoJSON LineString geometry objects, one for each meridian or parallel for this graticule.
Returns a GeoJSON Polygon geometry object representing the outline of this graticule, i.e. along the meridians and parallels defining its extent.
Returns the current precision, which defaults to 2.5°.
Sets the precision for this graticule, in degrees.
Precision in degrees.
Returns the current minor step, which defaults to ⟨10°, 10°⟩.
Sets the major and minor step for this graticule
Major and minor step to use for this graticule.
Returns the current major step, which defaults to ⟨90°, 360°⟩.
Sets the major step for this graticule.
Major step.
Returns the current major step, which defaults to ⟨10°, 10°⟩.
Sets the minor step for this graticule.
Minor step.
Generated using TypeDoc
A Feature generator for graticules: a uniform grid of meridians and parallels for showing projection distortion. The default graticule has meridians and parallels every 10° between ±80° latitude; for the polar regions, there are meridians every 90°.