play.extras.geojson

SphericalMercator

object SphericalMercator extends Serializable

Code is partially translated from the OpenLayers.js project.

See also

https://github.com/openlayers/ol3/blob/master/src/ol/proj/epsg3857projection.js

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SphericalMercator
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val EXTENT: List[Double]

  7. val HALF_SIZE: Double

    pre calculated earthradius * PI

  8. val RADIUS: Int

    earth radius in meter

  9. val WORLD_EXTENT: List[Int]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val crs: CrsFormat[SphericalMercator]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. implicit val format: Format[SphericalMercator]

  17. def fromEPSG4326(input: LatLng, factor: Double = RADIUS): SphericalMercator

    Transformation from EPSG:4326 to EPSG:3857

    Transformation from EPSG:4326 to EPSG:3857

    input

    in LatLng format

    returns

    EPSG:3857/SphericalMercator projection

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toEPSG4326(input: SphericalMercator, factor: Double = RADIUS): LatLng

    Transformation from EPSG:3857 to EPSG:4326

    Transformation from EPSG:3857 to EPSG:4326

    input

    in EPSG:3857/SphericalMercator format

    returns

    LatLng in EPSG4326 format

  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped