-
failCallback()
-
Fires:
-
handleFeatureCollection(gwLayer, featureCollection)
-
Handles feature collection
Recompute geometry from equatorial coordinates to geo for each feature
Handle feature services
Add gid
Parameters:
Name |
Type |
Description |
gwLayer |
|
Layer of feature |
featureCollection |
|
GeoJSON FeatureCollection |
-
addCustomColormap(name, colors)
-
Create custom colormap with equidistant intervals
Parameters:
Name |
Type |
Description |
name |
|
Colormap name |
colors |
|
The array of colors defining the colormap(must have length at least >=2) |
-
generateColormap()
-
Generate colormap
-
sendRequest(geoPick, options)
-
Send request to reverse name resolver service for the given gepoint
Parameters:
Name |
Type |
Description |
geoPick |
|
Geographic position of point of interest |
options |
|
- success: Function called on success with the response of server as argument
- error: Function called on error with the xhr object as argument
|
Fires:
-
setContext()
-
Set new context
-
init(m, configuration)
-
Initialize ImageManagerCore
Parameters:
Name |
Type |
Description |
m |
|
|
configuration |
|
- sitoolsBaseUrl : the base sitools url used as proxy here
|
-
hideImage(featureData)
-
Hide image
Parameters:
Name |
Type |
Description |
featureData |
Feature
|
|
-
showImage(featureData)
-
Show image
Parameters:
Name |
Type |
Description |
featureData |
Feature
|
|
-
removeImage(featureData)
-
Remove image from renderer
Parameters:
Name |
Type |
Description |
featureData |
Feature
|
|
Fires:
-
addImage(featureData)
-
Start download of texture
Parameters:
Name |
Type |
Description |
featureData |
Feature
|
|
Fires:
-
init(options)
-
Histogram contructor
Parameters:
Name |
Type |
Description |
options |
|
Histogram options
- canvas: The canvas context where to draw Histogram
- image: The image which is represented by current histogram(required)
- nbBins: Number of bins, representing the sampling of histogram(optional)
- onUpdate: On update callback
- accuracy: The accuracy of histogram(numbers after floating point)
- paddingBottom: space at the bottom
- triangleHalfWidth: half width of the triangle to draw
- originX
|
-
init(options, $dl, $histoElmt, $cutOutElmt)
-
Init ImageProcessingCore
Parameters:
Name |
Type |
Description |
options |
|
- feature: The feature to process
- layer: The layer to which the feature belongs to
- disable: Disable callback
- unselect: Unselect callback
|
$dl |
HTMLElement
|
dialogElement |
$histoElmt |
HTMLElement
|
histogramElement |
$cutOutElmt |
HTMLElement
|
cutOutElement |
-
addPickableLayer(layer)
-
Add pickable layer to the pickableLayers list
Parameters:
-
fxyf()
-
Function describing a location on the sphere
-
maxPixrad()
-
Returns the maximum angular distance between a pixel center and its
corners.
Returns:
number angular distance between a pixel center and its
corners.
-
nside2order()
-
Static function
Convert nside to order
(ilog2(nside))
-
lonLat2pix(order, lon, lat)
-
Returns pixel index of point on sphere
Parameters:
Name |
Type |
Description |
order |
|
Tile order |
lon |
|
Longitude |
lat |
|
Latitude |
-
getChildren()
-
Create the children of the given pixel
-
getPixRes(nside)
-
calculates angular resolution of the pixel map in arc seconds.
Parameters:
Name |
Type |
Description |
nside |
|
|
Returns:
double resolution in arcsec