Graticule
Component to render and style a graticule in a mapchart. The graticule can be freely placed before or after the geographies in order to render it behind or in front of the geographies.
import { Graticule } from "react-simple-maps"
js
Example
The following example shows a simple world map with a graticule created using the Graticule
component.
Note that the graticule will be missing an outline, which can be easily added using the Sphere
component.
Graticule props
Name | Type | Default |
---|---|---|
fill | String | transparent |
stroke | String | currentcolor |
step | Array | [10, 10] |