Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Revert update of ol, olcesium and cesium
Browse files Browse the repository at this point in the history
  • Loading branch information
oterral committed Mar 28, 2018
1 parent 6506050 commit 548f008
Show file tree
Hide file tree
Showing 86 changed files with 127,363 additions and 190,857 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ GIT_BRANCH ?= $(shell if [ -f .build-artefacts/deployed-git-branch ]; then cat .
GIT_LAST_BRANCH := $(call lastvalue,git-branch)
BRANCH_TO_DELETE ?=
DEPLOY_ROOT_DIR := /var/www/vhosts/mf-geoadmin3/private/branch
OL_VERSION ?= v4.6.5 # v4.6.5, March 18 2018
OL_CESIUM_VERSION ?= f5c89290e8d94a1d62978fb2abd8c1f9d934fb07 # master, March 19 2018
CESIUM_VERSION ?= dabbd96f70f568aeae6eed367d52b8546458f948 # c2c/c2c_patches, March 2 2018
OL_VERSION ?= b66c0941f5fc6eccb63686e9f702f35b33230b89 # master, December 11 2017
OL_CESIUM_VERSION ?= d4cfea150382f8764335d19f7896a2491195786e # master, December 8 2017
CESIUM_VERSION ?= 53270a452994e89bdcb390265a05f3783775c7d4 # c2c/c2c_patches_vector_tiles, November 24 2017
DEFAULT_TOPIC_ID ?= ech
TRANSLATION_FALLBACK_CODE ?= de
LANGUAGES ?= '[\"de\", \"fr\", \"it\", \"en\", \"rm\"]'
Expand Down
127 changes: 8 additions & 119 deletions externs/Cesium.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,6 @@ Cesium.Camera.prototype.getRectangleCameraCoordinates = function(rect) {};


/**
* @struct
* @constructor
* @param {number=} x
* @param {number=} y
Expand Down Expand Up @@ -1077,10 +1076,6 @@ Cesium.Ray.prototype.direction;
*/
Cesium.Globe = function(ellipsoid) {};

/**
* @type {!Cesium.ImageryLayerCollection}
*/
Cesium.Globe.prototype.imageryLayers;

/**
* @type {Cesium.Ellipsoid}
Expand Down Expand Up @@ -1382,12 +1377,7 @@ Cesium.optionsCircleOutlineGeometry;
*/
Cesium.CircleOutlineGeometry = function(opt_opts) {};

/**
* @constructor
* @param {number} from .
* @param {number} to .
*/
Cesium.DistanceDisplayConditionGeometryInstanceAttribute = function(from, to) {};


/**
* @constructor
Expand Down Expand Up @@ -1428,10 +1418,6 @@ Cesium.optionsGeometryInstance.prototype.attributes;
*/
Cesium.GeometryInstanceAttribute.prototype.color;

/**
* @type {Cesium.DistanceDisplayConditionGeometryInstanceAttribute}
*/
Cesium.GeometryInstanceAttribute.prototype.distanceDisplayCondition;



Expand Down Expand Up @@ -1502,46 +1488,12 @@ Cesium.PerInstanceColorAppearance = function(object) {};
*/
Cesium.VertexFormat = function(options) {};

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.DEFAULT;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.POSITION_ONLY;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.POSITION_NORMAL_AND_ST;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.POSITION_AND_NORMAL;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.POSITION_AND_ST;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.POSITION_AND_COLOR;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.VertexFormat.ALL;

/**
* @type {Cesium.VertexFormat}
*/
Cesium.PerInstanceColorAppearance.VERTEX_FORMAT;


/**
* @typedef {{
* positions: !Array.<Cesium.Cartesian3>,
Expand Down Expand Up @@ -1589,7 +1541,7 @@ Cesium.PolygonGeometry = function(object) {};
* positions: !Array.<Cesium.Cartesian3>,
* height: (number|undefined),
* extrudedHeight: (number|undefined),
* vertexFormat: (Cesium.VertexFormat|undefined)
* vertexFormat: number
* }}
*/
Cesium.optionsPolylineGeometry;
Expand Down Expand Up @@ -1628,7 +1580,7 @@ Cesium.RectangleOutlineGeometry = function(opt_opts) {};
/**
* @typedef {{
* positions: !Array.<Cesium.Cartesian3>,
* vertexFormat: (Cesium.VertexFormat|undefined)
* vertexFormat: number
* }}
*/
Cesium.optionsPolylineGeometry;
Expand Down Expand Up @@ -1681,7 +1633,7 @@ Cesium.CorridorGeometry = function(opt_opts) {};
* granularity: (number|undefined),
* height: (number|undefined),
* extrudedHeight: (number|undefined),
* vertexFormat: (Cesium.VertexFormat|undefined),
* vertexFormat: number,
* cornerType: (number|undefined),
* }}
*/
Expand Down Expand Up @@ -1977,9 +1929,8 @@ Cesium.ImageryLayerCollection = function() {};

/**
* @param {Cesium.ImageryProvider} provider
* @param {number=} index
*/
Cesium.ImageryLayerCollection.prototype.addImageryProvider = function(provider, index) {};
Cesium.ImageryLayerCollection.prototype.addImageryProvider = function(provider) {};


/**
Expand Down Expand Up @@ -2409,19 +2360,12 @@ Cesium.Matrix4.clone = function(matrix, opt_result) {};
*/
Cesium.Matrix4.fromTranslation = function(translation, opt_result) {};

/**
* @param {!Cesium.Cartesian3} translation
* @param {!Cesium.Quaternion} rotation
* @param {!Cesium.Cartesian3} scale
* @return {!Cesium.Matrix4}
*/
Cesium.Matrix4.fromTranslationQuaternionRotationScale = function(translation, rotation, scale) {};

/**
* @param {Cesium.Matrix4} left .
* @param {Cesium.Matrix4} right .
* @param {Cesium.Matrix4} result .
* @return {!Cesium.Matrix4} .
* @return {Cesium.Matrix4} .
*/
Cesium.Matrix4.multiply = function(left, right, result) {};

Expand Down Expand Up @@ -3210,8 +3154,7 @@ Cesium.SingleTileImageryProvider = function(options) {};

/**
* @typedef {{
* url: string,
* rectangle: (Cesium.Rectangle|undefined)
* url: string
* }}
*/
Cesium.SingleTileImageryProviderOptions;
Expand Down Expand Up @@ -3655,57 +3598,3 @@ Cesium.HeadingPitchRange = function(heading, pitch, range) {};
* @return {Promise<Image>}
*/
Cesium.loadImage = function(url, opt_anonymous) {};


/**
* @constructor
*/
Cesium.Model = function() {};

/**
* @param {Cesium.ModelFromGltfOptions} options
*/
Cesium.Model.fromGltf = function(options) {};

/**
* @constructor
* @param {number} near .
* @param {number} far .
*/
Cesium.DistanceDisplayCondition = function(near, far) {};

/**
* @typedef {{
* scene: (Cesium.Scene|undefined),
* url: (string),
* heightReference: (Cesium.HeightReference|undefined),
* modelMatrix: (Cesium.Matrix4|undefined),
* minimumPixelSize: (number|undefined),
* distanceDisplayCondition: (Cesium.DistanceDisplayCondition|undefined),
* color: (Cesium.Color|undefined),
* silhouetteColor: (Cesium.Color|undefined),
* silhouetteSize: (number|undefined),
* allowPicking: (boolean|undefined),
* debugWireframe: (boolean|undefined),
* id: (Object|undefined)
* }}
*/
Cesium.ModelFromGltfOptions;

/**
* @typedef {{
* length: (number|undefined),
* width: (number|undefined),
* modelMatrix: (Cesium.Matrix4|undefined),
* show: (boolean|undefined),
* id: (Object|undefined)
* }}
*/
Cesium.DebugModelMatrixPrimitiveOptions;

/**
* @constructor
* @extends Cesium.Primitive
* @param {Cesium.DebugModelMatrixPrimitiveOptions} options
*/
Cesium.DebugModelMatrixPrimitive = function(options) {};
233 changes: 123 additions & 110 deletions src/lib/Cesium.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 548f008

Please sign in to comment.