Creates a ZFactor instance.
Creates a ZFactor instance. specifically for Tiles that are in LatLng.
The unit of measure that the Tile(s) are in. Only two
LengthUnit
s are supported, Feet
and Meters
.
Creates a ZFactor instance which uses linear interplation to calculate ZFactors.
Creates a ZFactor instance which uses linear interplation to calculate ZFactors. The linear interploation itself is derived from the values given.
A Map that maps latitudes to ZFactors. It is not required to supply a ZFactor for every latitude intersected by the Tile(s). Rather, based on the values given, a linear interpolation will be created and any latitude not mapped will have its associated ZFactor derived from that interpolation.
When creating a ZFactor instance, the projection of the target Tile(s) needs to be taken into account. If the Tiles are in LatLng, then the conversion between Latitude and ZFactor can already be calculated. Otherwise, one will need to supply the transformation required to produce the ZFactor.