d4_geo 2.0.0 d4_geo: ^2.0.0 copied to clipboard
Geographic projections, spherical shapes and spherical trigonometry.
2.0.0 #
Removed #
GeoPathContext
is no longer exposed.GeoRawTransform
no longer exists.
Added #
GeoRawProjection
has been added to replaceGeoRawTransform
.
Changed #
- The type of the property
context
inPath
has been changed fromGeoPathContext
toPath
from thed4_path
library. - The
call
method inGeoPath
now optionally also takes a dynamic argument list. - The
pointRadius
property function inGeoTransform
now optionally also takes a dynamic argument list. GeoIdentity
now extendsGeoTransform
instead ofGeoProjection
.GeoProjection
no longer extendsGeoRawTransform
.- The
forward
andbackward
property functions inGeoProjection
have been replaced by their equivalent methodscall
andinvert
, respectively. GeoAlbersUsa
no longer extendsGeoRawTransform
.- The
forward
andbackward
property functions inGeoAlbersUsa
have been replaced by their equivalent methodscall
andinvert
, respectively. GeoTransverseMercator
no longer extendsGeoRawTransform
.- The
forward
andbackward
property functions inGeoTransverseMercator
have been replaced by their equivalent methodscall
andinvert
, respectively. GeoRotation
no longer extendsGeoRawTransform
- The
forward
andbackward
property functions inGeoRotation
have been replaced by their equivalent methodscall
andinvert
, respectively. - The
call
method inGeoTransform
has been renamed tostream
. - The
call
method inGeoProjection
has been renamed tostream
. - The
call
method inGeoAlbersUsa
has been renamed tostream
. - The
point
method inGeoStream
now acceptsx
,y
, and optionallyz
coordinates instead of a list of coordinates. - The
point
property function inGeoTransform
now acceptsx
,y
, and optionallyz
coordinates instead of a list of coordinates. - The
GeoProjectionMutator
class no longer takes a generic type parameterT
. - The
GeoProjectionMutator
constructor parameterfactory
now has a type that is a function optionally taking a dynamic argument list, rather than a function that takes a single argument of the generic typeT
. - The
call
method inGeoProjectionMutator
now optionally takes a list of dynamic arguments instead of a single argument of generic typeT
. - The
GeoConicProjection
factory parameterprojectAt
now has a type that is a function optionally taking a dynamic argument list, rather than a function that takes a single argument of the generic typeT
. Additionally, the function's return type is nowGeoRawProjection
instead ofGeoRawTransform
. - All raw projections are now of type
GeoRawProjection
instead ofGeoRawTransform
.
1.0.3 #
- Fixed a bug in the geoClipCircle function.
1.0.2 #
- Links in README.md must be secure to follow Dart file conventions. 1 link was insecure and have been updated.
- Added some badges to README.md.
1.0.1 #
- Formatting change to conform to Dart guidelines.
1.0.0 #
- Initial Release