Components Interactions Examples Tutorials API FAQ
Options
Menu

Module geo

Index

Functions

albers

albersUsa

area

  • area(feature: any): number

bounds

  • bounds(feature: any): [[number, number], [number, number]]

centroid

  • centroid(feature: any): [number, number]

circle

clipExtent

distance

  • distance(a: [number, number], b: [number, number]): number

graticule

interpolate

  • interpolate(a: [number, number], b: [number, number]): function
  • Parameters

    • a: [number, number]
    • b: [number, number]

    Returns function

      • (t: number): [number, number]
      • Parameters

        • t: number

        Returns [number, number]

length

  • length(feature: any): number

path

projection

projectionMutator

  • projectionMutator(factory: function): function
  • projectionMutator(factory: function): function

rotation

  • rotation(rotate: [number, number] | [number, number, number]): Rotation

stream

  • stream(object: any, listener: Listener): void

transform

Generated using TypeDoc