wiki:Release/0.7/Notes

Version 10 (modified by elemoine, 8 years ago) (diff)

--

GeoExt 0.7 Release Notes

Work In Progress

These notes summarize the new features and list bug fixes included since the last release.

Dependencies

TODO:

  • Ext JS >= 2.2
  • OpenLayers >= 2.9

GeoExt 0.7 was tested with Ext JS 2.2.1 and OpenLayers 2.9.

Overview Of GeoExt 0.7 Features

Data components

  • New PrintPage added. This represents a print page, i.e. a map plus other objects (text) to be printed.

Plugins

  • New PrintProviderField added. This is a plugin for form fields that provides synchronization with a PrintProvider, i.e. the PrintProvider is notified when values change in the form and vice-versa.
  • New PrintPageField added. This is a plugin for form fields that provides synchronization with a PrintPage, i.e. the PrintPage is notified when values change in the form and vice-versa.
  • New PrintExtent added. This is a plugin for MapPanel that handles a collection of PrintPage's, and a TransformFeature control to modify the map to be printed.
  • New AttributeForm added. This is a plugin for form panels that creates form fields from records of an AttributeStore and adds them to the form panel.

State components

  • New PermalinkProvider added. This is a state provider to create permalinks from state values provided by stateful components.

Widgets

  • New PrintMapPanel added. This is a specific MapPanel for printing the current map viewport.
  • New FeatureRenderer added. This is a specific BoxComponent for rendering a vector feature. This component is for example used by the new VectorLegend component.
  • New VectorLegend added. This allows having legends for vector layers in a LegendPanel.
  • Make the MapPanel stateful. This allows restoring the position, layer visibility, and layer opacity of a map from one page load to another.

Bug fixes

API Changes Since 0.6

  • LegendPanel: showTitle, labelCls, bodyStyle and legendOptions config options removed. Use the defaults config option instead to configure showTitle, labelCls and style (instead of bodyStyle for the legend items. If you e.g. had the following:
    legendPanel = new GeoExt.LegendPanel({ 
        labelCls: 'mylabel',
        legendDefaults: {
            imageFormat: 'image/png'
        },
        bodyStyle: 'padding:5px', 
    });
    
    you would have to change that to:
    legendPanel = new GeoExt.LegendPanel({ 
        defaults: { 
            labelCls: 'mylabel', 
            style: 'padding:5px',
            imageFormat: 'image/png'
        }, 
        bodyStyle: 'padding:5px', 
    });