Functions
area
- area(feature: any): number
-
Parameters
Returns number
bounds
- bounds(feature: any): [[number, number], [number, number]]
-
Parameters
Returns [[number, number], [number, number]]
centroid
- centroid(feature: any): [number, number]
-
Parameters
Returns [number, number]
distance
- distance(a: [number, number], b: [number, number]): number
-
Parameters
-
a: [number, number]
-
b: [number, number]
Returns number
interpolate
- interpolate(a: [number, number], b: [number, number]): function
-
Parameters
-
a: [number, number]
-
b: [number, number]
Returns function
-
- (t: number): [number, number]
-
Parameters
Returns [number, number]
length
- length(feature: any): number
-
Parameters
Returns number
projectionMutator
- projectionMutator(factory: function): function
- projectionMutator(factory: function): function
-
Parameters
Returns function
-
Parameters
Returns function
rotation
- rotation(rotate: [number, number] | [number, number, number]): Rotation
-
Parameters
-
rotate: [number, number] | [number, number, number]
stream
- stream(object: any, listener: Listener): void