Extends
Members
_id
- Overrides
- Source
(protected) _pickingColor :Vec3
Layer picking color. Assign when added to the planet.
- Overrides
- Source
getFrameHeight
Gets frame height size in pixels.
- Overrides
- Source
getFrameWidth
Gets frame width size in pixels.
- Overrides
- Source
planet
Returns planet instance.
- Overrides
- Source
rendering
rendering function pointer
- Overrides
- Source
Methods
(abstract, protected) _assignPlanet(planet)
Assign the planet.
| Name | Type | Description |
|---|---|---|
planet | Planet | Planet render node. |
- Overrides
- Source
(abstract, protected) _bindPicking()
Assign picking color to the layer.
- Overrides
- Source
(protected) _correctFullExtent()
Special correction of the whole globe extent.
- Overrides
- Source
(protected) _createFrame()
Creates geoImage frame.
- Overrides
- Source
(abstract, protected) _createSourceTexture()
Creates source gl texture.
- Overrides
- Source
abortMaterialLoading(material)
| Name | Type | Description |
|---|---|---|
material | Material | GeoImage material. |
- Overrides
- Source
addTo(planet)
Adds layer to the planet.
| Name | Type | Description |
|---|---|---|
planet | Planet | Adds layer to the planet. |
- Overrides
- Source
applyMaterial() → {NumberArray4}
- Inherited From
- Source
- Type:
- NumberArray4
bringToFront()
Sets z-index to the maximum value relative to other layers on the planet.
- Overrides
- Source
clearMaterial(material)
| Name | Type | Description |
|---|---|---|
material | Material | GeoImage material. |
- Overrides
- Source
flyExtent()
Fly extent.
- Overrides
- Source
getAttribution() → {string}
Gets layer attribution.
- Overrides
- Source
Layer attribution.
- Type:
- string
getCorners() → {Array.<Array.<number>>}
Gets corners coordinates.
- Overrides
- Source
- (exactly 4 entries)
- Type:
- Array.<Array.<number>>
getCornersLonLat() → {Array.<LonLat>}
Gets corners coordinates.
- Overrides
- Source
- (exactly 4 entries)
- Type:
- Array.<LonLat>
getExtent() → {Extent}
Gets layer extent.
- Overrides
- Source
Layer geodetic extent.
- Type:
- Extent
getExtentMerc() → {Extent}
Gets layer web-mercator extent.
- Overrides
- Source
Layer extent.
- Type:
- Extent
getHeight() → {number}
Gets layer height.
- Overrides
- Source
- Type:
- number
getID() → {number}
Gets layer identifier.
- Overrides
- Source
Layer object id.
- Type:
- number
getVisibility() → {boolean}
Gets layer visibility.
- Overrides
- Source
Layer visibility.
- Type:
- boolean
getZIndex() → {number}
Gets z-index.
- Overrides
- Source
- Type:
- number
(abstract) hasImageryTiles() → {boolean}
Returns true if a layer has imagery tiles.
- Overrides
- Source
Imagery tiles flag.
- Type:
- boolean
isBaseLayer() → {boolean}
Returns true if the layer is a base.
- Overrides
- Source
Base layer flag.
- Type:
- boolean
isEqual(layer) → {boolean}
Compares layers instances.
| Name | Type | Description |
|---|---|---|
layer | Layer | Layer instance to compare. |
- Overrides
- Source
Returns true if the layer is the same instance as the input.
- Type:
- boolean
loadMaterial(material)
Loads planet segment material. In this case - GeoImage source image.
| Name | Type | Description |
|---|---|---|
material | Material | GeoImage planet material. |
- Source
remove() → {Layer}
Removes from planet.
- Overrides
- Source
This layer.
- Type:
- Layer
setAttribution(html)
Sets layer attribution text.
| Name | Type | Description |
|---|---|---|
html | string | HTML string that represents layer attribution. |
- Overrides
- Source
setBaseLayer(isBaseLayer)
Sets base layer type true.
| Name | Type | Description |
|---|---|---|
isBaseLayer | boolean |
- Overrides
- Source
setCorners(corners)
Sets geoImage geographical corners coordinates.
| Name | Type | Description |
|---|---|---|
corners | Array.<Array.<number>> | GeoImage corner coordinates. Each coordinate has exactly 2 entries. First corner is top-left, second is top-right, third is bottom-right, and fourth is bottom-left. |
- Overrides
- Source
setCornersLonLat(corners)
Sets geoImage geographical corners coordinates.
| Name | Type | Description |
|---|---|---|
corners | Array.<LonLat> | GeoImage corner coordinates. First corner is top-left, second is top-right, third is bottom-right, and fourth is bottom-left. (exactly 4 entries) |
- Overrides
- Source
setExtent(extent)
Sets visible geographical extent.
| Name | Type | Description |
|---|---|---|
extent | Extent | Layer visible geographical extent. |
- Overrides
- Source
setHeight(height)
Sets height over the ground.
| Name | Type | Description |
|---|---|---|
height | number | Layer height. |
- Overrides
- Source
setImage(image)
Sets image object.
| Name | Type | Description |
|---|---|---|
image | Image | Image object. |
- Source
setSrc(src)
Sets image source url path.
| Name | Type | Description |
|---|---|---|
src | string | Image url path. |
- Source
setZIndex(zIndex)
Sets z-index.
| Name | Type | Description |
|---|---|---|
zIndex | number | Layer z-index. |
- Overrides
- Source
viewExtent()
View extent.
- Overrides
- Source