May 2019
Beginner to intermediate
650 pages
14h 50m
English
Three other d3-geo functions and methods are worth mentioning here, since they encapsulate the complexity of very useful operations, such as point interpolation, rotation and containment. They are described in the following table.
|
Functions |
Description |
|
d3.geoInterpolate(a,b) |
Returns an interpolator function between two points a and b. Each point is an array of the form [longitude,latitude]. The interpolator function receives a value between 0 and 1 and returns the corresponding point on the great circle arc that passes between a and b. |
|
d3.geoRotation([yaw,pitch,roll]) |
Returns a rotation function that receives a [longitude,latitude] point and returns the new [longitude,latitude] after ... |
Read now
Unlock full access