Class: BaseGeoImage

og/layer/BaseGeoImage~BaseGeoImage

BaseGeoImage layer represents square imagery layer that could be an static image, or animated video or webgl buffer object displayed on the globe.

new BaseGeoImage()

Extends

Members

getFrameHeight

Gets frame height size in pixels.

getFrameWidth

Gets frame width size in pixels.

Methods

protected_createFrame()

Creates geoImage frame.

abstractabortMaterialLoading(material)

Name Type Description
material og.planetSegment.Material GeoImage material.

abstract,protectedapplyMaterial(material){Array.<Number, Number, Number, Number>}

Name Type Description
material og.planetSegment.Material GeoImage material.
Returns:
Type Description
Array.<Number, Number, Number, Number> -
Clear layer material.

abstract,protectedclearMaterial(material)

Name Type Description
material og.planetSegment.Material GeoImage material.

getCorners(){Array.<Array.<number, number, number>>}

Gets corners coordinates.
Returns:
Type Description
Array.<Array.<number, number, number>> -

getCornersLonLat(){Array.<og.LonLat, og.LonLat, og.LonLat, og.LonLat>}

Gets corners coordinates.
Returns:
Type Description
Array.<og.LonLat, og.LonLat, og.LonLat, og.LonLat> -

setCorners(corners)

Sets geoImage geographical corners coordinates.
Name Type Description
corners Array.<Array.<number, number, number>> GeoImage corners coordinates. Where first coordinate coincedents to the left top image corner, secont to the right top image corner, third to the right bottom and fourth - left bottom image corner.

setCornersLonLat(corners)

Sets geoImage geographical corners coordinates.
Name Type Description
corners Array.<og.LonLat, og.LonLat, og.LonLat, og.LonLat> GeoImage corners coordinates. Where first coordinate coincedents to the left top image corner, secont to the right top image corner, third to the right bottom and fourth - left bottom image corner.

abstractsetVisibility(visibility)

Sets layer visibility.
Name Type Description
visibility boolean GeoImage visibility.

Events

Triggered when layer has added to the planet.
Triggered layer has double touched.
Mouse left button clicked.
Mouse left button double click.
Mouse left button is just pressed down(start pressing).
Mouse left button is pressing.
Mouse left button up(stop pressing).
Mouse right button clicked.
Mouse middle button double click.
Mouse middle button is just pressed down(start pressing).
Mouse middle button is pressing.
Triggered when mouse has entered over the layer.
Triggered when mouse moves over the layer.
Mouse wheel is rotated.
Mouse middle button up(stop pressing).
Mouse right button clicked.
Mouse right button double click.
Mouse right button is just pressed down(start pressing).
Triggered when layer has removed from the planet.
Mouse right button is pressing.
Mouse right button up(stop pressing).
Triggered when layer has finished touching.
Triggered when touch enters over the layer.
Triggered when touching leaves layer borders.
Triggered when touching moves over the layer.
Triggered when layer begins to touch.
Triggered when layer visibilty chanched.