projection.invert()

projection.invert(point)

Returns a new array [longitude, latitude] in degrees representing the unprojected point of the given projected point. The point must be specified as a two-element array [x, y] (typically in pixels). May return null if the specified point has no defined projected position, such as when the point is outside the clipping bounds of the projection.

This method is only defined on invertible projections.

doc_D3_Js
2016-11-24 10:28:29
Comments
Leave a Comment

Please login to continue.