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.
- Alphabetic
- By Inheritance
- ZFactor
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val LAT_LNG_FEET_AT_EQUATOR: Double(365217.6)
- final val LAT_LNG_METERS_AT_EQUATOR: Int(111320)
- def apply(produceZFactor: (Double) ⇒ Double): ZFactor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
LengthUnit
s are supported,Feet
andMeters
.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()