Skip to content

Commit

Permalink
Merge pull request #412 from fredj/update
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
gberaudo authored Nov 2, 2016
2 parents 2f42726 + 46d7196 commit 251aaab
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Changelog

# v 1.21 -
# v 1.21 - 2016-11-02

* Changes
* Add olcs.OLCesium.trackedFeature property to make Cesium automatically track an
OpenLayers point feature. When active, the Cesium camera will follow changes of
the feature position. This requires using stacked view.
* Port to OpenLayers 3.19.1.
* Port to Cesium 1.27.

# v 1.20 - 2016-09-02

Expand Down
2 changes: 1 addition & 1 deletion cesium
2 changes: 1 addition & 1 deletion ol3
Submodule ol3 updated from 5498f5 to 48c1d0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"geojsonhint": "1.2.1",
"fs-extra": "0.30.0",
"jsdoc": "~3.4.0",
"eslint": "3.8.1",
"eslint": "3.9.1",
"eslint-config-openlayers": "5.0.0",
"nomnom": "1.8.1",
"temp": "0.8.3",
Expand Down
6 changes: 4 additions & 2 deletions src/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ olcs.Camera.prototype.getPosition = function() {
var carto = Cesium.Ellipsoid.WGS84.cartesianToCartographic(
this.cam_.position);

var pos = this.fromLonLat_([ol.math.toDegrees(carto.longitude),
ol.math.toDegrees(carto.latitude)]);
var pos = this.fromLonLat_([
ol.math.toDegrees(carto.longitude),
ol.math.toDegrees(carto.latitude)
]);
goog.asserts.assert(!goog.isNull(pos));
return pos;
};
Expand Down

0 comments on commit 251aaab

Please sign in to comment.