Skip to content

Releases: openlayers/openlayers

v3.1.0

22 Dec 20:47
Compare
Choose a tag to compare

Summary

The 3.1.0 release includes a whopping 214 merged pull requests since 3.0.0. Of note, the WebGL renderer now supports point rendering. You can use UTFGrids for interaction! Styles can now specify alternate geometries for rendering. Library builds can now be loaded with module loaders like Browserify or RequireJS. You can now symbolize point features with stars, squares, enneadecagons, or any other regular(ish) polygon. See the full list of changes below.

Upgrade notes

The 3.1.0 release maintains a backwards-compatible API with the 3.0.0 release, so upgrades should be painless. Some special considerations below.

  • If you are using a ol.source.ImageStatic, you no longer need to provide an imageSize option if you don't want any special scaling on your image (see #2796).
  • Instead of calling obj.unByKey(key) you can now call ol.Observable.unByKey(key) (see #2794).
  • If you were using format.writeFeatures(features), note that this method returns a string for all feature formats. We considered the previous behavior a bug (see #3003).
  • The obj.dispatchChangeEvent() method is now spelled obj.changed(). This method is still unstable (see #2684).

Changes

Read more

v3.0.0

29 Aug 15:02
Compare
Choose a tag to compare
  • #2641 Add @api to ol.Sphere - Éric Lemoine
  • #2652 Improve ol.Collection documentation - Éric Lemoine
  • #2644 Add @extends annotations to generated externs - Andreas Hocevar
  • #2655 Using the openlayers.org domain - Éric Lemoine
  • #2629 Add @api stable annotations to ol.format - Éric Lemoine
  • #2609 Annotate stable view functions and options - Éric Lemoine
  • #2612 Add @api stable annotations to ol.proj - Éric Lemoine
  • #2614 Add @api stable annotations tilegrid functions and options - Éric Lemoine
  • #2622 Add @api stable annotations to ol.events.condition - Éric Lemoine
  • #2630 Improve ol.structs.LRUCache type annotation - Frédéric Junod
  • #2643 Handle interfaces in the generate-externs task - Andreas Hocevar
  • #2638 Allow passing undefined to ol.layer.Vector#setStyle - Éric Lemoine
  • #2645 Support nullable params and returns in generated externs - Andreas Hocevar
  • #2639 Fix ol.source.OSMXML options - Frédéric Junod
  • #2640 Improve ol.geom.*.clone() return type annotation - Frédéric Junod
  • #2635 Process typedefs last when generating externs - Andreas Hocevar
  • #2637 Don't compute velocity if not needed - Frédéric Junod
  • #2619 Making ol.Overlay accept offset values if positioning right or bottom - Antoine Abt
  • #2634 Minor improvement to comment in style/style - Éric Lemoine
  • #2633 Fix ol.style.defaultStyleFunction signature - Éric Lemoine
  • #2632 Small tweaks to attributions max-width - Antoine Abt
  • #2631 Set default ol.source.OSM maxZoom to 19 - Frédéric Junod
  • #2627 Fix ol.inherits docs - Éric Lemoine
  • #2628 Take the 'us' and 'nautical' units into account in scale line control - Frédéric Junod
  • #2624 Fix potentially exceeding call stack limit - Éric Lemoine
  • #2617 kml earthquakes example is broken - Bart van den Eijnden
  • #2618 Indicates that ol.geom.Geometry#clone never return null - Frédéric Junod
  • #2608 Mark ol.RendererType enum as stable. - Tim Schaub
  • #2610 Annotate stable geolocation functions and options - Éric Lemoine
  • #2611 Add @api stable annotation to ol.Pixel - Éric Lemoine
  • #2602 Fix Uncaught RangeError in canvas tile renderer - Éric Lemoine
  • #2151 Builds should include license - Bart van den Eijnden
  • #2606 Annotate stable map options. - Tim Schaub
  • #2605 Hide unstable items from the API docs by default. - Tim Schaub
  • #2607 Clarify that draganddrop example doesn't include projection transforms - Éric Lemoine
  • #2596 Add @api stable annotations for ol.coordinate - Éric Lemoine
  • #2552 Add @api stable annotations for the ol.layer namespace - Éric Lemoine
  • #2601 Rename ol.dom.browserfeature back to BrowserFeature - Éric Lemoine
  • #2600 Add @api stable annotation to ol.Size - Éric Lemoine
  • #2598 Add @api stable annotations for ol.extent - Éric Lemoine
  • #2597 Add @api stable annotations for ol.Attribution - Éric Lemoine
  • #2555 Add @api stable annotations for the ol.source namespace - Éric Lemoine
  • #2599 Add @api stable annotations for olx.control.DefaultsOptions - Éric Lemoine
  • #2595 Fix typo in generate-exports - Éric Lemoine
  • #2586 Rename ol.browserfeature to ol.has. - Tim Schaub
  • #2587 Directory renaming. - Tim Schaub
  • #2588 Mark map.beforeRender as unstable. - Tim Schaub
  • #2589 Document stability for olx properties - Éric Lemoine
  • #2561 Add @api stable annotations for ol.Observable - Éric Lemoine
  • #2565 Add @api stable annotations for ol.Feature and the ol.geom namespace - Éric Lemoine
  • #2577 Write out stability info for symbols. - Tim Schaub
  • #2584 Replace 'throw new Error' by 'goog.asserts.fail' - Frédéric Junod
  • #2582 Support for "Stateless GetFeatureInfo" - Éric Lemoine
  • #2407 Options for feature readers and writers to support transforms - Tobias Sauerwein
  • #2583 Update ol.format.GeoJSON#readFeature documentation - Frédéric Junod
  • #2564 Add @api stable annotations for the ol.control namespace - Éric Lemoine
  • #2562 Add @api stable annotations for ol.Overlay - Éric Lemoine
  • #2580 Small improvements to description of ol.Map example - Éric Lemoine
  • #2579 Remove link to non-existent ol.ViewOptions - Frédéric Junod
  • #2545 Miscellaneous coding style fixes - Frédéric Junod
  • #2570 document that ol.format.GML is GML v3 SF profile only now - Bart van den Eijnden
  • #2575 Restore opacity after drawing vector layers - Antoine Abt
  • #2509 Fix missing API docs - Éric Lemoine
  • #2571 ol.control.Rotate cleanup and optimization - Frédéric Junod
  • #2572 Document aliases for EPSG:4326/3857 - Éric Lemoine
  • #2482 Lint tasks. - Tim Schaub
  • #1124 Allow tilegrid creation from projection or extent. - Tim Schaub
  • #2559 Change comment in loader_hosted_examples.js - Éric Lemoine
  • #2560 Don't create unnecessary closure - Frédéric Junod
  • #2410 Additional clarifications for tasks/readme - Éric Lemoine
  • #2558 Don't create unnecessary closure in constructor - Frédéric Junod
  • #2557 Rename ol.source.MapGuide to ol.source.ImageMapGuide - Éric Lemoine
  • #2450 Improve and standardise event docs - Éric Lemoine
  • #2465 Expand docs for color options - Éric Lemoine
  • #2537 Rename BrowserFeature to browserfeature - Éric Lemoine
  • #2443 More data in tile-vector examples - Antoine Abt
  • #2547 Export more functions from ol.proj.Projection - Frédéric Junod
  • #2512 Make API of raster sources more convenient - Éric Lemoine
  • #2513 Move createDefaultEditingStyles() to ol.style - Antoine Abt
  • #2544 Params not correctly handled in MapGuide source - Éric Lemoine
  • #2528 ol.source.WMTS optimization - Frédéric Junod
  • #2543 Do not hit-detect the same feature multiple times - Éric Lemoine
  • #2539 Change ol.TileCoord to Array. - Éric Lemoine
  • #2527 Return rather than fail if resolution is not defined - Paul Spencer
  • #2348 Enable ProjectionLike on getGetFeatureInfoUrl - Éric Lemoine
  • #2532 Add ol.TileRange#containsXY function - Frédéric Junod
  • #2529 Fix for invalid initial state of certain sources - Frédéric Junod
  • #2531 Remove unneeded ol.DebugTile_#tileCoord_ variable - Frédéric Junod
  • #2526 Fix incorrect maximum extent in xyz-retina example - Frédéric Junod
  • #2525 Reuse tileRange in ol.renderer.Layer#manageTilePyramid - Frédéric Junod
  • #2510 Make the check target build ol.js - Éric Lemoine
  • #2519 Small corrections to ol.View docs - Éric Lemoine
  • #2518 Remove centerConstraintType from API - Andreas Hocevar
  • #2479 Node task to generate externs for OpenLayers 3 - Andreas Hocevar
  • #2511 Remove unused goog.require - Frédéric Junod
  • #2508 Run closure-util install script after install. - Tim Schaub

v3.0.0-gamma.4

08 Aug 17:02
Compare
Choose a tag to compare
v3.0.0-gamma.4 Pre-release
Pre-release
  • #2477 Add new olx.format.KMLOptions#extractStyles property - Éric Lemoine
  • #2506 Rename debugtilesource.js to tiledebugsource.js - Éric Lemoine
  • #2505 Make stroke style of the graticule configurable - Éric Lemoine
  • #2416 Upgrade closure-library version - Frédéric Junod
  • #2470 EPSG:4326 example broken - Frédéric Junod
  • #2501 bug fix to play nice with sencha touch 2.3 - Frédéric Junod
  • #2503 Don't bind to ol.View projection property - Frédéric Junod
  • #2502 Add unit test for greedy template replacement - Andreas Hocevar
  • #2497 TileUrlFunction only replaces first instance of placeholder variables - Andreas Hocevar
  • #2498 Unprecise transormation used in example - Andreas Hocevar
  • #2499 Properly clear features in ol.source.ServerVector#clear - Frédéric Junod
  • #2496 Correct wrong docs for LinearRing - Tim Schaub
  • #2455 Opacity of last layer is used in postcompose drawing - Frédéric Junod
  • #2481 Improve docs for style - Andreas Hocevar
  • #2494 Document LinearRing as abstract class - Éric Lemoine
  • #2493 Update jquery externs file - Éric Lemoine
  • #2492 Document that geom.getArea/Length on projected plane - Andreas Hocevar
  • #2433 Templatize ol.Collection - Frédéric Junod
  • #2483 Remove projection from ol.View observable properties - Frédéric Junod
  • #2473 Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids - Frédéric Junod
  • #2471 minor jsdoc and type annotation fixes - Frédéric Junod
  • #2467 Add workaround for mousewheel event name - Frédéric Junod
  • #2466 Remove unused ol.CoordinateArray typedef - Frédéric Junod
  • #2458 Add clustering functionality - Frédéric Junod
  • #2463 Remove function bodies from externs - Andreas Hocevar
  • #2464 Update link to closure-library issue - Frédéric Junod
  • #2448 Fix WKT writers output type. - Tim Schaub
  • #2423 Dispose the tiles removed from the cache - Frédéric Junod
  • #2457 Remove reference to simple/whitespace in examples/readme - Frédéric Junod
  • #2452 Fix typo in ol.Map test. - Marc Jansen
  • #2449 Improve wording of ol.Map description - Frédéric Junod
  • #2446 Unconditionally add version info to the build header. - Tim Schaub
  • #2420 PR for GPX: read extensions tags - Bart van den Eijnden
  • #2442 Write library version in build files - Tobias Sauerwein

v3.0.0-gamma.3

25 Jul 11:37
Compare
Choose a tag to compare
v3.0.0-gamma.3 Pre-release
Pre-release
  • #2394 Give precedence to feature styles - Antoine Abt
  • #2436 Correct link to API docs. - Tim Schaub
  • #2167 Add a Graticule component - Marc Jansen
  • #2316 Support for layers with limited extent. - Tim Schaub
  • #2413 Revisit Logos - Antoine Abt
  • #2431 Update introduction tutorial - Frédéric Junod
  • #2429 Reuse event pixel to compute the coordinate - Frédéric Junod
  • #2427 Revert "Add FIXME" - Frédéric Junod
  • #2425 Add examples to ol.coordinate functions - Marc Jansen
  • #2424 Build css if source is newer. - Tim Schaub
  • #2421 miscellaneous documentation and coding style fixes - Frédéric Junod
  • #2417 Update buildcfg/readme - Frédéric Junod
  • #2403 ol.format.GPX writeFeatures is not working - Bart van den Eijnden
  • #2415 Document debugtilesource - Andreas Hocevar
  • #2405 Improve kinetic effect when panning fast - Tobias Sauerwein
  • #2412 Removing unused ol.proj.CH. - Tim Schaub
  • #2404 Two ways to use the library: advanced compilation (prod) or raw/concatenated (dev). - Tim Schaub
  • #2406 Infinite loop in ol.control.ScaleLine - Andreas Hocevar
  • #2411 Remove ol.pointer.PointerEvent.createMouseEvent - Frédéric Junod
  • #2409 fix: typos in map.js - Marc Jansen
  • #2408 Fix apidoc for WKT format. - Tim Schaub
  • #2401 Fix issue with layergroup event docs - Andreas Hocevar
  • #2402 Fix jshint issues in apidoc/plugins - Andreas Hocevar
  • #2399 Annotate functions that are aliases for goog functions. - Tim Schaub
  • #2398 Add color to api docs - Paul Spencer
  • #2397 Docs sidebar in alphanumeric sequence - Andreas Hocevar
  • #2395 Remove classdesc tag from control/interaction defaults - Andreas Hocevar
  • #2377 Make our build configs more portable by using the default src config. - Tim Schaub
  • #2311 Improve docs for tilegrid - Paul Spencer
  • #2349 Improve docs for projection - Paul Spencer
  • #2387 Update mapguidesource.js - Paul Spencer
  • #2378 Improve documentation for ol.Feature - Paul Spencer
  • #2345 Remove static and other attributes from the docs. - Tim Schaub
  • #2390 Make ol.proj.METERS_PER_UNIT exportable. - Tim Schaub
  • #2360 WKT lexer. - Tim Schaub
  • #2376 Add packages required by the build task to dependencies. - Tim Schaub
  • #2374 Remove duplication from contributing.md - Andreas Hocevar
  • #2356 Always regenerate info using all sources if any have changed. - Tim Schaub
  • #2369 Move developer guide from wiki to CONTRIBUTING.md. - Tim Schaub
  • #2370 Use goog.dom.classlist functions (2) - Antoine Abt
  • #2367 Improve Collection docs - Andreas Hocevar
  • #2364 Tag always exported methods as api/observable - Andreas Hocevar
  • #2365 Fix missing backtick in ol.Object docs - Andreas Hocevar
  • #2358 Change docs landing page to link to transformExtent - Andreas Hocevar
  • #2355 Document map DOM elements - Marc Jansen
  • #2343 Build cleanups. - Tim Schaub
  • #2342 Make internal proj constructors private. - Tim Schaub
  • #2346 Minify CSS. - Tim Schaub
  • #2350 Expand on docs for observable properties - Marc Jansen
  • #2347 Fix the export map example. - Tim Schaub
  • #2340 Add maxZoom to ol.View.fitGeometry() options - Éric Lemoine

v3.0.0-gamma.2

11 Jul 13:04
Compare
Choose a tag to compare
v3.0.0-gamma.2 Pre-release
Pre-release
  • #2336 Add ol.source.TileWMS#setUrls and setUrl - Éric Lemoine
  • #2335 Add tilePixelRatio option to ol.source.XYZ - Éric Lemoine
  • #2159 Merge Logo control into Attribution - Antoine Abt
  • #2333 Check for proj4 in a way that also works in module environments - Andreas Hocevar
  • #2330 Safeguard against cases where no projection and no proj4 is available - Andreas Hocevar
  • #2329 Also accept empty array for ol.geom.MultiPolygon - Éric Lemoine
  • #2255 Fix canvas immediate API for cases where stride ≠ 2 - Bart van den Eijnden
  • #2323 ServerVector addFeaturesInternal fails when features lack an id - Paul Spencer
  • #1228 Use the new proj4.js - Andreas Hocevar
  • #2326 Change examples/vector-osm to use transformExtent - Éric Lemoine
  • #2325 Pass tolerance to ReplayGroup - Éric Lemoine
  • #2177 Add @todo api and describe ol.geom.Geometry funcs - Paul Spencer
  • #2298 Document that options in layers and properties in features are set as object properties - Paul Spencer
  • #2204 Correct/improve dragbox docs - Paul Spencer
  • #2322 Make sure that projection is an ol.proj.Projection instance - Andreas Hocevar
  • #2321 Remove transient jsdoc dependencies - Andreas Hocevar
  • #2312 Move test dependencies out of the repo. - Tim Schaub
  • #2183 Use @classdesc notation - Paul Spencer
  • #2317 Make transform exportable - Andreas Hocevar
  • #2315 Use goog.dom.fullscreen. - Tim Schaub
  • #2313 Add ol.proj.transformExtent function. - Tim Schaub
  • #2309 Add a task to run the tests once with PhantomJS. - Tim Schaub
  • #2296 Use inheritDoc for ol.source.XYZ#setTileUrlFunction - Éric Lemoine
  • #2307 Build-related clean-ups - Éric Lemoine
  • #2305 Replace @todo annotations. - Tim Schaub
  • #2306 Remove old code. - Tim Schaub
  • #2297 Remove Plovr - Éric Lemoine
  • #2300 GeoJSON format needs to implement readProjectionFromObject - Éric Lemoine
  • #2229 Add stable tags to interactions - Éric Lemoine
  • #2269 Improve docs for interaction.Select - Éric Lemoine
  • #2280 Introduction tutorial - Marc Jansen
  • #2293 Minor change to vector-wfs example - Éric Lemoine
  • #2292 Use closure-util 0.19.0 - Éric Lemoine
  • #2290 Fix spelling of GEOMETRY_RENDERERS_ - Paul Spencer
  • #2276 Add "action type" select to select-features example - Éric Lemoine
  • #2278 Document custom controls - Marc Jansen
  • #2286 Improve docs for define tag - Marc Jansen
  • #2288 Mark the color argument to ol.color.transform non-nullable - Frédéric Junod
  • #2284 Use goog.dom.classlist functions instead of the deprecated goog.dom.classes functions. - Tim Schaub
  • #2287 Export ol.format.GeoJSON.writeGeometry() - Éric Lemoine
  • #2285 Export ol.source.Vector.clear() - Éric Lemoine
  • #2283 Fix the closure-compiler and closure-library versions - Frédéric Junod
  • #2281 Remove libtess.js. - Tim Schaub
  • #2282 Add more tests to ol.coordinate - Marc Jansen
  • #2279 Show sketch vertex for all geometry types - Andreas Hocevar

v3.0.0-gamma.1

01 Jul 08:31
Compare
Choose a tag to compare
v3.0.0-gamma.1 Pre-release
Pre-release
Read more

v3.0.0-beta.5

30 Apr 14:35
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release

v3.0.0-beta.4

07 Apr 12:43
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

v3.0.0-beta.3

03 Apr 00:18
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release
Read more

v3.0.0-beta.2

14 Feb 21:14
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

Changes:

  • Prevent OSX Safari to display distorted map (#1704)
  • Make ol.BrowserFeature appear in API docs (#1700)
  • Fix logo position in apps without Bootstrap (#1699)
  • [osx safari 7] no map resize with fullscreen control (#1698)
  • Save replay group, even if empty (#1695)
  • Use protocol relative URL in tile sources (#1694)
  • Do not load tiles while interacting (#1693)
  • Use protocol relative URL for OSM tiles (#1692)
  • Accept a style option and provide setStyle and getStyle methods (#1690)
  • Check for geometries type instead of instanceof (#1689)
  • Add new opacity property to ol.style.Image (#1688)
  • Show how to use ol.Feature#setStyleFunction in the icon example (#1686)
  • Turn off rotation because Google does not support it (#1685)
  • Changing pointer cursor in examples is broken (#1684)
  • error in ol.js (#1683)
  • better description for function typedef's params and return (#1682)
  • Fix management of line dash state (#1681)
  • Use 'input' event for HTML input range (#1679)
  • Add exports (#1678)
  • Add ol.format.XSD.read*String functions (#1677)
  • WMTS example is broken (#1675)
  • Complex vector significantly slower in ol3 than in leaflet or d3 (#1674)
  • Clarify the style function signature (#1673)
  • Render with new style after setting style (#1671)
  • Options to draw interaction are not optional (#1670)
  • Don't render feature with all countries (#1666)
  • Roy G. Biv (#1665)
  • Fix popup anchor in icon example (#1663)
  • Style options (#1661)
  • Fix the feature sent with the drawend event (#1660)
  • No enums in examples (#1659)
  • Add API stability to ol.render.IVectorContext (#1658)
  • Do not expose both renderer and renderers options (#1657)
  • Fix projection in IGC example (#1656)
  • Rename IRender to IVectorContext (#1655)
  • Add Modify Interaction (#1654)
  • Passing options to the select interaction is mandatory (#1653)
  • Ensure MultiPolygons are rendered if only one of fill and stroke are set (#1652)
  • Fix ol.structs.RBush#remove (#1651)
  • missing link in api doc (#1650)
  • Make GeometryCollection propagate change events of its geometries. (#1649)
  • Vector examples are broken (#1648)
  • Create styles only once (#1647)
  • Remove unused classes info (#1646)
  • Fix capitalisation of ol.Map in docs (#1644)
  • Rename services (#1643)
  • Fix olchanges (#1642)
  • Support parsing of kml:datetime (#1641)
  • Use projection option instead of reprojectTo (#1640)
  • KML support for Internet Explorer (#1639)
  • Rename ol.render.FeaturesOverlay to ol.FeatureOverlay (#1638)
  • Use evt.coordinate instead of evt.getCoordinate() (#1637)
  • Fix typo in text rendering (#1636)
  • Fix use of drawText in ol.render.canvas.Immediate (#1635)
  • Don't fail when no featues are found in ol.format.TopoJSON (#1633)
  • KML import error in IE9 (#1632)
  • Revisit vector source projection and reprojectTo (#1631)
  • Add task for parsing examples (#1630)
  • Assert that an element is removed in ol.structs.RBush#remove_ (#1627)
  • Add @todo stability experimental to many classes and methods (#1626)
  • Minor ol.geom.Circle clean-ups (#1624)
  • ol.interaction.DragBox.getGeometry returns non-closed polygon (#1623)
  • Fix bug in ol.geom.Circle#containsXY, thanks @vdubr (#1622)
  • Miscellaneous clean-ups (#1621)
  • Circle containsXY BUG (#1620)
  • Fix the touch interactions (#1619)
  • Use event properties in ol.interaction.Select (#1618)
  • consider exporting ol.METERS_PER_UNIT (#1617)
  • How to add "loaded" EventListener for ol.source.GeoJSON when using a URL. (#1616)
  • Port ol.interaction.Select (#1613)
  • Ensure that entire extent is visible in ol.View2D#fitExtent (#1612)
  • view.fitExtent to extent actually don't fit (#1611)
  • Stricter map defined (#1609)
  • Show ol3 logo in simple example (#1608)
  • Lets ol.style.Icon to define default values (#1607)
  • Missing Draw example (#1606)
  • Legacy IE (7-9) Compatibility (#1605)
  • Add olx.* namespaces for jsdoc (#1604)
  • KML: IconStyle without an hotspot defined breaks rendering of the icon (#1603)
  • Configurable rotation constraints (#1602)
  • Find styles defined by a StyleUrl in StyleMap (#1601)
  • Trigger a render when a control is added to the map (#1599)
  • Changing the style function doesn't redraw the layer (#1598)
  • Fix case when pixel is null in ol.Overlay#updatePixelPosition_ (#1596)
  • Hit detect circle points with no fill (#1595)
  • Export ol.Map#getCoordinateFromPixel (#1594)
  • Removing all features in a render.FeaturesOverlay (#1593)
  • Broken options links in api docs (#1592)
  • Infinite loop on icon loading (#1590)
  • Custom TMS/WMS layer (#1589)
  • Use properties, not get* methods, in events (#1588)
  • Various ol.format.XSD and ol.format.KML cleanups (#1587)
  • Add text rendering (#1586)
  • Wrong kml:dateTime parsing (#1585)
  • Clean up example data (#1584)
  • Kml cleanup (#1582)
  • how to load ol3 source code (#1581)
  • Tiled WMS broken on retina displays (#1580)
  • Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols (#1578)
  • Make ol.interaction.DragAndDrop fire an 'addfeatures' event (#1577)