Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.91 KB

CHANGELOG.rst

File metadata and controls

60 lines (44 loc) · 1.91 KB

This file includes migration steps for each release of CGXP.

Version 1.4.4

  1. In the CGXP/plugins/ContextualData.js fix the typo from wsg to wgs, used in the tpls attribute.

Version 1.4

  1. Rename CGXP/plugins/FeatureGrid.js to CGXP/plugins/FeaturesGrid.js (present in jsbuild/app.cfg) and its ptype from cgxp_featuregrid to cgxp_featuresgrid (present in the viewer.js) for name consistency.
  2. Add new themes argument to the plugin cgxp_featuresgrid to be able to display the Identifier Attribute on the drawn features.
  3. Refactor CGXP/plugins/FullTextSearch.js into a plugin and widget CGXP/widgets/FullTextSearch.js. Configuration of the plugin has changed, now there is widgetOptions for configuration of the widget.

Version 1.3.4

  1. Patch OpenLayers in the camptocamp repository, don't miss to do git submodule sync.

Version 1.3

  1. For consistency reasons, plugins with action configuration have been modified to rename their options parameter to actionConfig. Please make sure to update your plugins configurations accordingly.

  2. Former CGXP plugin SwitchableWMTSSource has been removed and replaced by an OpenLayers addin, OpenLayers.Layer.SwitchableWMTS, combined to a standard OLSource. Here is an example of the new syntax to use:

    {
        source: "olsource",
        type: "OpenLayers.Layer.SwitchableWMTS",
        group: 'background',
        args: [Ext.applyIf({
            name: OpenLayers.i18n('relief'),
            mapserverLayers: 'relief_raster',
            queryLayers: [],
            zoomThreshold: 11,
            ref: 'relief',
            layer: 'dtm_av_relief_02m',
            params:  {'time': '200703'},
            group: 'background'
        }, WMTS_OPTIONS)]
    }