diff --git a/contribs/gmf/src/datasource/Manager.js b/contribs/gmf/src/datasource/Manager.js index 48e85ea7af5e..0d396b32e3b9 100644 --- a/contribs/gmf/src/datasource/Manager.js +++ b/contribs/gmf/src/datasource/Manager.js @@ -591,7 +591,7 @@ export class DatasourceManager { } // (9) Common options - const copyable = meta.copyable; + const copiable = meta.copiable; const identifierAttribute = meta.identifierAttributeField; const name = gmfLayer.name; const timeAttributeName = meta.timeAttribute; @@ -600,7 +600,7 @@ export class DatasourceManager { /** @type {import('./OGC').OGCOptions} */ const options = { - copyable, + copiable, dimensionsConfig, dimensionsFiltersConfig, gmfLayer, diff --git a/contribs/gmf/src/datasource/OGC.js b/contribs/gmf/src/datasource/OGC.js index adb6424467a5..434dc8e5d20a 100644 --- a/contribs/gmf/src/datasource/OGC.js +++ b/contribs/gmf/src/datasource/OGC.js @@ -14,7 +14,7 @@ import ngeoDatasourceOGC from 'ngeo/datasource/OGC.js'; * Extends (ngeo/datasource/OGC.js).OGCOptions * @property {import('ngeo/datasource/OGC.js').Dimensions} [activeDimensions] The dimensions that are * currently active on the data source. - * @property {boolean} [copyable] Whether the geometry from this data source can be copied to other data + * @property {boolean} [copiable] Whether the geometry from this data source can be copied to other data * sources or not. Defaults to `false`. * @property {import('ngeo/datasource/OGC.js').Dimensions} [dimensions] A reference to the dimensions. * @property {import('ngeo/datasource/OGC.js').Dimensions} [dimensionsConfig] The dimensions configuration, diff --git a/contribs/gmf/src/import/importdatasourceComponent.js b/contribs/gmf/src/import/importdatasourceComponent.js index 392f162f2bc5..21ba45514c3d 100644 --- a/contribs/gmf/src/import/importdatasourceComponent.js +++ b/contribs/gmf/src/import/importdatasourceComponent.js @@ -423,9 +423,9 @@ class Controller { * - _visible: true if searchText is empty or searchText is found in * layer.Title or in any of its ancestors or in any of its descendants. * - _expanded: true if searchText is found in any of its descendants. - * - _searchPrefix: subtring before searchText in layer.Title. - * - _searchMatch: subtring matching searchText in layer.Title. - * - _searchSuffix: subtring after searchText in layer.Title. + * - _searchPrefix: substring before searchText in layer.Title. + * - _searchMatch: substring matching searchText in layer.Title. + * - _searchSuffix: substring after searchText in layer.Title. * @param {Object} layer WMS Capability Layer object. * @param {boolean} visible Force layer to be visible. */ diff --git a/contribs/gmf/src/objectediting/Query.js b/contribs/gmf/src/objectediting/Query.js index b5e812847050..4e3b45004544 100644 --- a/contribs/gmf/src/objectediting/Query.js +++ b/contribs/gmf/src/objectediting/Query.js @@ -72,7 +72,7 @@ ObjectEditingQuery.prototype.getQueryableLayersInfo = function() { // Narrow down to only those that have the 'copyable' metadata set const queryableLayersInfo = []; for (let i = 0, ii = allQueryableLayersInfo.length; i < ii; i++) { - if (allQueryableLayersInfo[i].layerNode.metadata.copyable) { + if (allQueryableLayersInfo[i].layerNode.metadata.copiable) { queryableLayersInfo.push(allQueryableLayersInfo[i]); } } diff --git a/src/datasource/OGC.js b/src/datasource/OGC.js index 0c18af1d3398..67ac505eabcb 100644 --- a/src/datasource/OGC.js +++ b/src/datasource/OGC.js @@ -87,7 +87,7 @@ export const WMSInfoFormat = { * extends DataSourceOptions * @typedef {Object} OGCOptions * @property {Dimensions} [activeDimensions] The dimensions that are currently active on the data source. - * @property {boolean} [copyable] Whether the geometry from this data source can be copied to other data + * @property {boolean} [copiable] Whether the geometry from this data source can be copied to other data * sources or not. Defaults to `false`. * @property {Dimensions} [dimensions] A reference to the dimensions. * @property {Dimensions} [dimensionsConfig] The dimensions configuration, which determines those supported @@ -267,7 +267,7 @@ class OGC extends ngeoDatasourceDataSource { * @type {boolean} * @private */ - this.copyable_ = options.copyable === true; + this.copiable_ = options.copiable === true; /** * A reference to the dimensions object. @@ -588,10 +588,10 @@ class OGC extends ngeoDatasourceDataSource { } /** - * @return {boolean} Copyable + * @return {boolean} copiable */ - get copyable() { - return this.copyable_; + get copiable() { + return this.copiable_; } /**