@vx/geo
Installation
npm install --save @vx/geo
Components
API
<Graticule />
# Graticule.children<func>
# Graticule.graticule<func>
# Graticule.lines<func>
# Graticule.outline<func>
<Albers />
All props pass through to <Projection projection="albers" {...props} />
<Mercator />
All props pass through to <Projection projection="mercator" {...props} />
<NaturalEarth />
All props pass through to <Projection projection="naturalEarth" {...props} />
<Orthographic />
All props pass through to <Projection projection="orthographic" {...props} />
<Projection />
Component for all projections.
# Projection.center<array>
# Projection.centroid<func>
# Projection.children<func>
# Projection.className<string>
# Projection.clipAngle<number>
# Projection.clipExtent<array>
# Projection.data<array> required
# Projection.fitExtent<array>
# Projection.fitSize<array>
# Projection.precision<number>
# Projection.projection<string>
Default | 'mercator' |
# Projection.projectionFunc<func>
# Projection.rotate<array>
# Projection.scale<number>
# Projection.translate<array>