new AbstractLayer(type, options)
Parameters:
| Name | Type | Description |
|---|---|---|
type |
LAYER | layer type |
options |
AbstractLayer.configuration | Layer Configuration |
- Implements:
Extends
Methods
-
getGlobe()
-
- Implements:
-
getID()
-
- Implements:
-
getName()
-
- Implements:
-
getAttribution()
-
- Implements:
-
getCopyrightUrl()
-
- Implements:
-
getAck()
-
- Implements:
-
getIcon()
-
- Implements:
-
getDescription()
-
- Implements:
-
isVisible()
-
- Implements:
-
setVisible()
-
- Implements:
-
getOpacity()
-
- Implements:
-
setOpacity()
-
- Implements:
-
getProperties()
-
- Implements:
-
getType()
-
- Implements:
-
isPickable()
-
- Implements:
-
isType()
-
- Implements:
-
getServices()
-
- Implements:
-
getCoordinateSystem()
-
- Implements:
-
_attach()
-
- Implements:
-
_detach()
-
- Implements:
-
getBaseURl()
-
- Implements:
-
getDataType()
-
- Implements:
-
getFormat()
-
- Implements:
-
isDeletable()
-
- Implements:
-
getColor()
-
- Implements:
-
getStyle()
-
- Implements:
-
getAvailableServices()
-
- Implements:
Type Definitions
-
configuration
-
AbstactLayer configuration
Type:
- Object
Properties:
Name Type Argument Default Description nameString <optional>
"" Layer name attributionString <optional>
"" Attribution copyrightUrlString <optional>
"" Copyright URL ackString <optional>
"" ack iconString <optional>
a default image An icon to represent the layer descriptionString <optional>
"" A description visibleboolean <optional>
true A boolean flag to display the layer propertiesObject <optional>
{} properties pickableboolean <optional>
false Sets to true to make the layer pickable serviceboolean <optional>
[] List of services related to the layer dataTypeGEOMETRY the data type for vector layers backgroundcategory -
atmosphere_configuration
-
Atmosphere layer configuration
Type:
Properties:
Name Type Argument Default Description krfloat <optional>
0.0025 the rayleigh parameter kmfloat <optional>
0.0015 the mie parameter sunBrightnessfloat <optional>
15 The Sun brightness exposurefloat <optional>
2.0 the exposure, use for basic high dynamic range wavelengthArray.<float> <optional>
[0.650, 0.570, 0.475] the RGB color of the sun lightDirArray.<float> <optional>
[1, 0, 0] The location of the light in (x,y,z) -
coordinateGrid_configuration
-
CoordinateGridLayer configuration
Type:
Properties:
Name Type Argument Default Description longitudeSamplefloat <optional>
15 Longitude sampling in decimal degree latitudeSamplefloat <optional>
10 Latitude sampling in decimal degree coordinateSystemAbstractProjection.configuration | AbstractProjection.azimuth_configuration | AbstractProjection.mercator_configuration The coordinate system of the grid longFormatString <optional>
"Deg" Representation of longitude axe(HMS, DMS, Deg) latFormatString <optional>
"Deg" Representation of latitude axe(HMS, DMS, Deg) tesselationInteger <optional>
2 Tesselation order (only for latitude bands currently) -
geojson_configuration
-
GeoJson layer configuration
Type:
Properties:
Name Type Argument Default Description urlstring the url of json data to load when attaching to globe minLevelint <optional>
0 minimum rendering level depending on tile level maxLevelint <optional>
15 maximum rendering level depending on tile level callbackfunction <optional>
the callback function called when data are loaded. Data loaded are passed in parameter of the function. -
groundOverlay_configuration
-
GroundOverlay Layer configuration
Type:
-
hipsCat_configuration
-
Hips catalogue configuration
Type:
Properties:
Name Type Argument Default Description serviceUrlstring Endpoint to reach the Hips catalogue minOrderint <optional>
2 min order maxRequestsint <optional>
4 Max requests in parallel invertYboolean <optional>
false -
moc_configuration
-
MocLayer configuration
Type:
Properties:
Name Type Argument Default Description serviceUrlstring service URL startOrderint <optional>
2 Starting order of HEALPix tiling styleObject <optional>
See FeatureStyle description -
tileWireFrame_configuration
-
TileWireFrameLayer configuration
Type:
Properties:
Name Type Argument Default Description outline<optional>
false -
vector_configuration
-
Vector layer configuration
Type:
Properties:
Name Type Argument Default Description urlstring the url of json data to load when attaching to globe minLevelint <optional>
0 minimum rendering level depending on tile level maxLevelint <optional>
15 maximum rendering level depending on tile level callbackfunction <optional>
the callback function called when data are loaded. Data loaded are passed in parameter of the function.
Documentation