Skip to content

Commit

Permalink
drop comments on imageservice options
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutterley committed Aug 29, 2022
1 parent bfaa1c8 commit 93394bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions js/src/layers/ImageService.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,23 @@ export class LeafletImageServiceModel extends layer.LeafletLayerModel {
...super.defaults(),
_view_name: 'LeafletImageServiceView',
_model_name: 'LeafletImageServiceModel',
// image server url
url: '',
// response format
f: 'image',
// output image format
format: 'jpgpng',
// data type of the raster image
pixelType: 'UNKNOWN',
// pixel value or list of pixel values representing no data
noData: [],
// how to interpret no data values
noDataInterpretation: '',
// resampling process for interpolating the pixel values
interpolation: '',
// lossy quality for image compression
compressionQuality: '',
// order of bands to export for multiple band images
bandIds: [],
// time instance or extent for image
time: [],
// rules for rendering
renderingRule: {},
// rules for mosaicking
mosaicRule: {},
// image transparency
transparent: false,
// endpoint format for building the export image url
endpoint: '',
// image service attribution
attribution: '',
// coordinate reference system
crs: null,
// emit when clicked or hovered
interactive: false,
// update interval for panning
updateInterval: 200
};
}
Expand Down
18 changes: 0 additions & 18 deletions js/src/leaflet-imageservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,23 @@

L.ImageService = L.Layer.extend({
options: {
// image server url
url: '',
// response format
f: 'image',
// output image format
format: 'jpgpng',
// data type of the raster image
pixelType: 'UNKNOWN',
// pixel value or list of pixel values representing no data
noData: [],
// how to interpret no data values
noDataInterpretation: '',
// resampling process for interpolating the pixel values
interpolation: '',
// lossy quality for image compression
compressionQuality: '',
// order of bands to export for multiple band images
bandIds: [],
// time instance or extent for image
time: [],
// rules for rendering
renderingRule: {},
// rules for mosaicking
mosaicRule: {},
// image transparency
transparent: false,
// endpoint format for building the export image url
endpoint: '',
// image service attribution
attribution: '',
// coordinate reference system
crs: null,
// emit when clicked or hovered
interactive: false,
// update interval for panning
updateInterval: 200
},

Expand Down

0 comments on commit 93394bf

Please sign in to comment.