Add ol.proj.setProj4 function

This commit is contained in:
Bart van den Eijnden
2016-01-04 14:51:19 +01:00
parent 65b90df4b8
commit cdf9a8e84d
4 changed files with 112 additions and 38 deletions
+12
View File
@@ -1,5 +1,17 @@
## Upgrade notes
### v3.13.0
#### `proj4js` integration
Before this release, OpenLayers depended on the global proj4 namespace. When using for instance browserify you might not want to depend on the global `proj4` namespace. You can use the `ol.proj.setProj4` function to set the proj4 function object. For example in a browserify ES6 environment:
```js
import ol from 'openlayers';
import proj4 from 'proj4';
ol.proj.setProj4(proj4);
```
### v3.12.0
#### `ol.Map#forEachFeatureAtPixel` changes