class ZoomedLayoutScheme extends LayoutScheme

Layout for zoom levels based off of a power-of-2 scheme, used in Leaflet et al.

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

Instance Constructors

  1. new ZoomedLayoutScheme(crs: CRS, tileSize: Int, resolutionThreshold: Double)

    crs

    The CRS this zoomed layout scheme will be using

    tileSize

    The size of each tile in this layout scheme

    resolutionThreshold

    The percentage difference between a cell size and a zoom level and the resolution difference between that zoom level and the next that is tolerated to snap to the lower-resolution zoom level. For example, if this paramter is 0.1, that means we're willing to downsample rasters with a higher resolution in order to fit them to some zoom level Z, if the difference is resolution is less than or equal to 10% the difference between the resolutions of zoom level Z and zoom level Z+1.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val crs: CRS
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def levelFor(extent: Extent, cellSize: CellSize): LayoutLevel
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme
  14. def levelForZoom(worldExtent: Extent, id: Int): LayoutLevel
  15. def levelForZoom(id: Int): LayoutLevel
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val resolutionThreshold: Double
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. val tileSize: Int
  22. def toString(): String
    Definition Classes
    ZoomedLayoutScheme → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. def zoom(x: Double, y: Double, cellSize: CellSize): Int

    This will calcluate the closest zoom level based on the resolution in a UTM zone containing the point.

    This will calcluate the closest zoom level based on the resolution in a UTM zone containing the point. The calculated zoom level is up to some percentage (determined by the resolutionThreshold) less resolute then the cellSize. If the cellSize is more resolute than that threshold's allowance, this will return the next zoom level up.

  27. def zoomIn(level: LayoutLevel): LayoutLevel
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme
  28. def zoomOut(level: LayoutLevel): LayoutLevel
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme

Inherited from LayoutScheme

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped