Skip to content

Commit 88758c4

Browse files
authored
Merge pull request #548 from openlayers/update_dependencies_for_1.34
Update dependencies
2 parents 59c05de + a0e6bf3 commit 88758c4

File tree

3 files changed

+25
-27
lines changed

3 files changed

+25
-27
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Changelog
22

3-
# v 1.34
3+
# v 1.34 - 2018-01-24
44

55
* Changes
66
* Allow overriding the 3D extent by setting an olcs.extent property in raster layers.
7+
* Port to OpenLayers 4.6.4 and Cesium 1.41.
78

89
# v 1.33 - 2017-12-07
910

examples/customProj.js

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,23 @@ goog.require('ol.layer.Image');
1010
goog.require('ol.layer.Tile');
1111
goog.require('ol.Map');
1212
goog.require('ol.proj');
13-
goog.require('ol.proj.proj4');
1413

15-
if (typeof ol.proj.proj4.get() == 'function') {
16-
const epsg21781def = [
17-
'+proj=somerc',
18-
'+lat_0=46.95240555555556',
19-
'+lon_0=7.439583333333333',
20-
'+k_0=1',
21-
'+x_0=600000',
22-
'+y_0=200000',
23-
'+ellps=bessel',
24-
'+towgs84=674.374,15.056,405.346,0,0,0,0',
25-
'+units=m',
26-
'+no_defs'
27-
].join(' ');
28-
const epsg21781extent = [420000, 30000, 900000, 350000];
14+
const epsg21781def = [
15+
'+proj=somerc',
16+
'+lat_0=46.95240555555556',
17+
'+lon_0=7.439583333333333',
18+
'+k_0=1',
19+
'+x_0=600000',
20+
'+y_0=200000',
21+
'+ellps=bessel',
22+
'+towgs84=674.374,15.056,405.346,0,0,0,0',
23+
'+units=m',
24+
'+no_defs'
25+
].join(' ');
26+
const epsg21781extent = [420000, 30000, 900000, 350000];
2927

30-
ol.proj.proj4.get().defs('EPSG:21781', epsg21781def);
31-
ol.proj.get('EPSG:21781').setExtent(epsg21781extent);
32-
}
28+
proj4.defs('EPSG:21781', epsg21781def);
29+
ol.proj.get('EPSG:21781').setExtent(epsg21781extent);
3330

3431
const customProjSource = new ol.source.ImageWMS({
3532
attributions: '© <a href="http://www.geo.admin.ch/internet/geoportal/' +

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ol-cesium",
3-
"version": "1.33.0",
3+
"version": "1.34.0",
44
"description": "OpenLayers Cesium integration library",
55
"scripts": {},
66
"main": "./dist/olcesium.js",
@@ -17,17 +17,17 @@
1717
"htmlparser2": "3.9.2"
1818
},
1919
"devDependencies": {
20-
"@camptocamp/cesium": "1.40.0",
21-
"@camptocamp/closure-util": "1.26.0",
20+
"@camptocamp/cesium": "1.41.0",
21+
"@camptocamp/closure-util": "1.27.0",
2222
"@mapbox/geojsonhint": "2.0.1",
23-
"eslint": "4.12.0",
24-
"eslint-config-openlayers": "7.0.0",
25-
"eslint-plugin-googshift": "0.9.2",
23+
"eslint": "4.16.0",
24+
"eslint-config-openlayers": "9.0.0",
25+
"eslint-plugin-googshift": "0.9.3",
2626
"fs-extra": "3.0.1",
27-
"googshift": "0.9.2",
27+
"googshift": "0.9.7",
2828
"jsdoc": "3.5.5",
2929
"nomnom": "1.8.1",
30-
"openlayers": "4.6.2",
30+
"openlayers": "4.6.4",
3131
"temp": "0.8.3",
3232
"walk": "2.3.9"
3333
}

0 commit comments

Comments
 (0)