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

  • Layer

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 Material GeoImage material.

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

Name Type Description
material Material GeoImage material.
Returns:
Type Description
Array.<number> -
Clear layer material.

abstract,protectedclearMaterial(material)

Name Type Description
material Material GeoImage material.

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

Gets corners coordinates.
Returns:
Type Description
Array.<Array.<number>> - (exactly 3 entries)

getCornersLonLat(){Array.<LonLat>}

Gets corners coordinates.
Returns:
Type Description
Array.<LonLat> - (exactly 4 entries)

setCorners(corners)

Sets geoImage geographical corners coordinates.
Name Type Description
corners Array.<Array.<number>> GeoImage corners coordinates. Where first coordinate (exactly 3 entries) 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.<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. (exactly 4 entries)

abstractsetVisibility(visibility)

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