MapWormhole

Wormhole used for maps rendering.

Constructors

Link copied to clipboard
constructor(environment: Environment<out Any, GeoPosition>, comp: Component, m: IMapViewPosition)
Initializes a new MapWormhole copying the state of the one in input.

Properties

Link copied to clipboard
val MAX_ZOOM: Byte = 18
Maximum zoom.
Link copied to clipboard
Link copied to clipboard
protected open var rotation: Double
Link copied to clipboard
open var zoom: Double

Functions

Link copied to clipboard
open fun center()
Link copied to clipboard
open fun getEnvPoint(viewPoint: Point): GeoPosition
Link copied to clipboard
open fun getViewPoint(environmentPoint: GeoPosition): Point
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isInsideView(viewPoint: Point): Boolean
Link copied to clipboard
open fun optimalZoom()
Link copied to clipboard
open fun rotateAroundPoint(p: Point, a: Double)
Link copied to clipboard
Link copied to clipboard
open fun setViewPosition(p: Point)
Link copied to clipboard
open fun setZoom(z: Double)
Link copied to clipboard
open fun zoomOnPoint(zoomPoint: Point, z: Double)