diff --git a/changelog/v3.1.0.md b/changelog/v3.1.0.md index 3db970e9d4..327ae2e59c 100644 --- a/changelog/v3.1.0.md +++ b/changelog/v3.1.0.md @@ -112,7 +112,7 @@ The 3.1.0 release maintains a backwards-compatible API with the 3.0.0 release, s * [#2781](https://github.com/openlayers/ol3/pull/2781) - Use a standard title attribute for the control buttons ([@fredj](https://github.com/fredj)) * [#2852](https://github.com/openlayers/ol3/pull/2852) - Add missing space between class names ([@fredj](https://github.com/fredj)) * [#2891](https://github.com/openlayers/ol3/pull/2891) - Introduce a load function for image sources ([@ahocevar](https://github.com/ahocevar)) - * [#2885](https://github.com/openlayers/ol3/pull/2885) - Add wrapX option to TileJSON source ([@elemoine](https://github.com/elemoine)) + * [#2885](https://github.com/openlayers/ol3/pull/2885) - Add wrapX option to TileJSON source ([@elemoine](https://github.com/elemoine)) * [#2890](https://github.com/openlayers/ol3/pull/2890) - Use correct layer property names ([@elemoine](https://github.com/elemoine)) * [#2887](https://github.com/openlayers/ol3/pull/2887) - Explicitly pass coordinate dimension before transforming. ([@tschaub](https://github.com/tschaub)) * [#2886](https://github.com/openlayers/ol3/pull/2886) - Use ternary notation ([@elemoine](https://github.com/elemoine)) diff --git a/changelog/v3.2.0.md b/changelog/v3.2.0.md index 86af8f5c56..6c55abd1d1 100644 --- a/changelog/v3.2.0.md +++ b/changelog/v3.2.0.md @@ -2,7 +2,7 @@ ## Summary -The 3.1.0 release includes 70 merged pull requests since 3.1.0. Of note, the KML format [now parses `NetworkingLink` tags](https://github.com/openlayers/ol3/pull/3171). The [measure example](http://openlayers.org/en/v3.2.0/examples/measure.html) was [reworked](https://github.com/openlayers/ol3/pull/3206) to display measurements and help messages while drawing. A WMTS GetCapabilities format was [added](https://github.com/openlayers/ol3/pull/3026). The WebGL renderer [now supports feature hit detection](https://github.com/openlayers/ol3/pull/3065) (on point features). And you can now [detect](https://github.com/openlayers/ol3/pull/3172) features/colored pixels on image and tile layers! See the full list of [changes](#changes) below. +The 3.1.0 release includes 70 merged pull requests since 3.1.0. Of note, the KML format [now parses `NetworkingLink` tags](https://github.com/openlayers/ol3/pull/3171). The [measure example](http://openlayers.org/en/v3.2.0/examples/measure.html) was [reworked](https://github.com/openlayers/ol3/pull/3206) to display measurements and help messages while drawing. A WMTS GetCapabilities format was [added](https://github.com/openlayers/ol3/pull/3026). The WebGL renderer [now supports feature hit detection](https://github.com/openlayers/ol3/pull/3065) (on point features). And you can now [detect](https://github.com/openlayers/ol3/pull/3172) features/colored pixels on image and tile layers! See the full list of [changes](#changes) below. ## Upgrade notes diff --git a/doc/tutorials/closure.md b/doc/tutorials/closure.md index 3108b592e8..308c022ed7 100644 --- a/doc/tutorials/closure.md +++ b/doc/tutorials/closure.md @@ -283,9 +283,9 @@ Here is a version of `config.json` with more compilation checks enabled: } ``` -## Create an HTML file for the Application +## Create an HTML file for the Application -You can now go ahead and create a simple HTML for the application. Create +You can now go ahead and create a simple HTML for the application. Create a `index.html` file with the following content at the root the application directory: diff --git a/doc/tutorials/custom-builds.md b/doc/tutorials/custom-builds.md index 4c1f049b21..6569817bad 100644 --- a/doc/tutorials/custom-builds.md +++ b/doc/tutorials/custom-builds.md @@ -159,7 +159,7 @@ As a test, you can use the following HTML file to verify that your custom build Closure allows you to define constants that can be set at compile time. The `define` config property above sets four `goog` properties for the Closure library. The OpenLayers 3 code also has defined values you can set. -Setting some of these to `false` means that the portions of the code relating to this setting become "dead", i.e. are never executed. As Closure Compiler's `ADVANCED` mode removes dead code, this makes the size of the advanced compiled file smaller. +Setting some of these to `false` means that the portions of the code relating to this setting become "dead", i.e. are never executed. As Closure Compiler's `ADVANCED` mode removes dead code, this makes the size of the advanced compiled file smaller. You might have noticed that the build file you've just created is considerably smaller than the full build, but it can be reduced further. This is because all three renderers and all layer types are included by default. We only need one renderer, and only need the tile layer, so can exclude the others by setting these properties with `define`s. So add the following to the define section of the config above: ``` diff --git a/examples/icon-sprite-webgl.html b/examples/icon-sprite-webgl.html index 42457c839b..f56342182b 100644 --- a/examples/icon-sprite-webgl.html +++ b/examples/icon-sprite-webgl.html @@ -1,6 +1,6 @@ --- template: example.html -title: Icon sprites with WebGL example +title: Icon sprites with WebGL example shortdesc: Icon sprite with WebGL docs: >
In this example a sprite image is used for the icon styles. Using a sprite is required to get good performance with WebGL.
diff --git a/src/ol/featureloader.js b/src/ol/featureloader.js index a7692c5d86..88d3c10803 100644 --- a/src/ol/featureloader.js +++ b/src/ol/featureloader.js @@ -19,7 +19,7 @@ ol.FeatureLoader; /** - * @param {string} url Feature URL service. + * @param {string} url Feature URL service. * @param {ol.format.Feature} format Feature format. * @param {function(this:ol.source.Vector, Array.