object ZFactor extends Serializable

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.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZFactor
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final val LAT_LNG_FEET_AT_EQUATOR: Double(365217.6)
  2. final val LAT_LNG_METERS_AT_EQUATOR: Int(111320)
  3. def apply(produceZFactor: (Double) ⇒ Double): ZFactor
  4. def forLatLng(unit: LengthUnit): ZFactor

    Creates a ZFactor instance.

    Creates a ZFactor instance. specifically for Tiles that are in LatLng.

    unit

    The unit of measure that the Tile(s) are in. Only two LengthUnits are supported, Feet and Meters.

  5. def interpolateFromTable(mappedLatitudes: Map[Double, Double]): ZFactor

    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.

    mappedLatitudes

    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.