@vx/geo
Installation
npm install --save @vx/geo
Components
- Graticule
- Albers
- AlbersUsa
- CustomProjection
- EqualEarth
- Mercator
- NaturalEarth
- Orthographic
- Projection
API
<Graticule />
# Graticule.children<func>
# Graticule.graticule<func>
# Graticule.lines<func>
# Graticule.outline<func>
<Albers />
All props pass through to <Projection projection="albers" {...props} />
<AlbersUsa />
All props pass through to <Projection projection="albersUsa" {...props} />
<CustomProjection />
All props pass through to <Projection projection={customProjection} {...props} />
<EqualEarth />
All props pass through to <Projection projection="equalEarth" {...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.innerRef<union(func|object)>
# Projection.precision<number>
# Projection.projection<union(string|func)>
Default | 'mercator' |
# Projection.projectionFunc<func>
# Projection.rotate<array>
# Projection.scale<number>
# Projection.translate<array>