Releases: TDesjardins/gwt-ol
Releases · TDesjardins/gwt-ol
Release v7.3.0 (GWT 2.9)
This version has same features as 7.3.0 but works with GWT 2.9
Compatibility
Last tested OpenLayers version: v5.3.0
GWT: 2.9
Release v7.3.0
Release v7.2.0
New Features
- CanvasGradient and CanvasPattern support for color properties
- ol.has properties
Changes
- add transition option to TileImageOptions @umbertodistaso
- add setters for Fill and Stroke to Style
- add request encoding to WMTS source
- add cache size to tile source
- add WMTS methods
- add method getSize() to RegularShape
- consistent radius properties
- add setter for text style
- add text style properties
- add select change event listener registration @gkresic
- pull translate method to base class Geometry
- add intersectsExtent to Polygon @batchmode
- add forEachFeatureIntersectingExtent to Vector source @batchmode
- add setLayers to TranslateOptions @batchmode
- add scale functions
- add method getFormat to ol.source.Vector
- add method forEachFeatureInExtent to ol.source.Vector
Compatibility
Last tested OpenLayers version: v5.3.0
Release v7.1.0
New Features
- TileArcGISRest support
- WmsGetFeatureInfo support
- write support for XML formats
- KML format support
Changes
- fix for measuring on mobile devices @sebasbaumh
- support writing array of features for GeoJSON
- support for WebGL check
- added Extent interaction options and events @gkresic
- refactored Measure to type Interaction
Upgrade Notes
Measure
Before:
final Measure measure = new Measure(map);
final Measure measure = new Measure(MeasureType.DISTANCE, (MeasureEvent evt) -> {
// start measuring immediately
measure.startMeasureLength(new MeasureListener() {
@Override
public void onMeasure(MeasureEvent evt) {
}
}, true, true);
After:
final Measure measure = new Measure(MeasureType.DISTANCE, (MeasureEvent evt) -> {
// start measuring immediately
measure.startMeasureLength(new MeasureListener() {
@Override
public void onMeasure(MeasureEvent evt) {
}
}, true, true); });
map.addInteraction(measure);
Compatibility
Last tested OpenLayers version: v5.3.0
Release v7.0.0
New Features
- OpenLayers 5 support
- Geolocation support
Changes
- removed unsupported logo options
- added WebGLMap and PluggableMap
- added methods on
ol.View
- introduce
ol.style.StyleFunction
- added new initalization for Proj4 integration
- added no arg constructor to
ol.style.Fill
- added setFeatureProjection method (@Fractaliste )
- added setGeometryFunction method (@Fractaliste )
- added extend method to Extent (@Fractaliste )
- added feature loader callback support (@Fractaliste )
- removed useless AttributionOptions
- added method getProperties() and setProperties() to
ol.Object
Upgrade Notes
Common
- use static methods of
ol.sphere.Sphere
withol.sphere.SphereMetricOptions
- remove parameter
sphere
fromol.geom.Polygon.circular()
Proj4js (optional)
- use
ol.proj.Proj4.register(Proj4.get());
to register Proj4js
Compatibility
Last tested OpenLayers version: v5.2.0
Release v6.0.0
New Features
- Raster support
- GPX support
- support easing on Animations
Changes
- removed module
com.google.gwt.user.User
- added several methods to extent
- added text placement and overflow to text style
- added wrapX and hit tolerance to select interaction
- removed deprecated Executor code
- remove deprecated Proj4 methods
Upgrade Notes
Common
- rename module
ol.GwtOL3
tool.GwtOL
Proj4js (optional)
- add
<inherits name="proj4.GwtProj4"/>
to your module xml - use
Proj4.defs(int srid, String proj4Text)
instead ofOLFactory.registerSpatialReference(int srid, String proj4Text)
Compatibility
Last tested OpenLayers version: v4.6.5
Release v5.0.0
New Features:
- Mapbox Vector Tiles (MVT) support
- ol.style.AtlasManager support
- new proj4js wrapper
- custom parameters support
- new method setAnchor on IconOptions
- new method ol.geom.SimpleGeometry.translate(double, double)
- new method ol.tilegrid.TileGrid createXyz(TileGridOptions)
- new method getColorFromString
- added font property to text style
- added image properties
- added methods Extent.getArea and Extent.getHeight
Changes:
- prevent multiple injection of the same script
- removed deprecated classes ObjectEvent and FeatureObjectEvent
- removed deprecated tile load listeners
- removed deprecated event listener registration methods
- removed/migrated JSNI code
- deprecate Executor code
- updated elemental2 to 1.0.0-RC1
- fixed LogoOptions.getSrc()
- introduced separate options type for XYZ tilegrid creation
- fixed types for rotation and scale
- added constructors to several types
Release v4.1.0
New Features:
- FrameState and ViewState support
- support for all filters
- full reading/writing support for WKT
- ol.interaction.Translate.Event and listeners
- event listeners for ol.Collection
- event listeners for ol.View
Changes:
- Make BaseTestCase abstract
- Refactor ObjectEvent to Object.Event
- Add method ol.style.StyleOptions#setGeometry(ol.geom.Geometry)
- Add multitype return support for style
Release v4.0.1
Release v4.0.0
New Features:
- cluster support
- support for Bing Maps, OSM XML and WFS
- elemental2 integration
- filter support
- readFeatures for format GeoJSON
- style function for ol.Feature
- VectorContext support
- support for line dash offset
- additional map properties
- new method(s) ol.Map::hasFeatureAtPixel
- options for DragBox and DragZoom
- additional properties and methods for ol.source classes
- options for ol.Map::forEachFeatureAtPixel
- additional MapGuide parameters
- defaults for interaction
- additional options for view
- new format TextFeature
- additional method ol.format.Wkt::readFeatures
- StyleFunction for VectorLayerOptions
- new render event
- add missing properties to ol.MapBrowserEvent
- add missing properties to ol.events.condition.Condition
- add contains method to Collection
- add setFeatures overlay to VectorOptions
- add missing properties to ol.interaction.Select.Event
Changes:
- move map events from OLUtil to map
- adjust getZoomLevel function to support fractional values
- remove TypedObject
- refactor classnames with acronyms
- fix issue creating color by string