Merge pull request #4502 from fredj/optionsFromCapabilities_jsdoc
Improve ol.source.WMTS.optionsFromCapabilities jsdoc layout
This commit is contained in:
+11
-11
@@ -305,19 +305,19 @@ ol.source.WMTS.prototype.updateDimensions = function(dimensions) {
|
|||||||
* the layer will apply if not provided.
|
* the layer will apply if not provided.
|
||||||
*
|
*
|
||||||
* Required config properties:
|
* Required config properties:
|
||||||
* layer - {String} The layer identifier.
|
* - layer - {string} The layer identifier.
|
||||||
*
|
*
|
||||||
* Optional config properties:
|
* Optional config properties:
|
||||||
* matrixSet - {String} The matrix set identifier, required if there is
|
* - matrixSet - {string} The matrix set identifier, required if there is
|
||||||
* more than one matrix set in the layer capabilities.
|
* more than one matrix set in the layer capabilities.
|
||||||
* projection - {String} The desired CRS when no matrixSet is specified.
|
* - projection - {string} The desired CRS when no matrixSet is specified.
|
||||||
* eg: "EPSG:3857". If the desired projection is not available,
|
* eg: "EPSG:3857". If the desired projection is not available,
|
||||||
* an error is thrown.
|
* an error is thrown.
|
||||||
* requestEncoding - {String} url encoding format for the layer. Default is the
|
* - requestEncoding - {string} url encoding format for the layer. Default is
|
||||||
* first tile url format found in the GetCapabilities response.
|
* the first tile url format found in the GetCapabilities response.
|
||||||
* style - {String} The name of the style
|
* - style - {string} The name of the style
|
||||||
* format - {String} Image format for the layer. Default is the first
|
* - format - {string} Image format for the layer. Default is the first
|
||||||
* format returned in the GetCapabilities response.
|
* format returned in the GetCapabilities response.
|
||||||
* @return {olx.source.WMTSOptions} WMTS source options object.
|
* @return {olx.source.WMTSOptions} WMTS source options object.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user