Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 2.89 KB

CHANGES.md

File metadata and controls

69 lines (54 loc) · 2.89 KB

Changelog

v1.7 - 2015-08-07

  • Port to Cesium 1.12 and Ol 3.8.1

v1.6 - 2015-06-30

  • Breaking changes
    • The layer is now passed to the conversion methods of ol.FeatureConverter.
    • The feature is now passed to the conversion methods of ol.FeatureConverter.
    • The olcs.core.olVectorLayerToCesium() function now takes a scene parameter. The olcs.core.OlLayerPrimitive constructor now takes a scene parameter.
    • Core static functions for converting from OL3 features to Cesium primitives have been moved into a class designed for inheritance. The olcs.FeatureConverter may be extended and passed as a parameter of the olcs.VectorSynchronizer constructor. See the synchronizer function parameter of the olcs.OLCesium constructor. Subclassing requires that the subclass and the library code be compiled together. One way of migrating existing code is to define a global variable: app.converter = new olcs.FeatureConverter({scene: scene}); and call the methods through it: app.converter.olLineStringGeometryToCesium().
  • Set reference to the OpenLayers feature and layer to all created Cesium primitives.
  • Compiled code may override the new olcs.FeatureConverter.csAddBillboard method in order to manipulate the option before the Cesium billboard is actually created.
  • The layer is now stored together with the feature in the Cesium counterpart. They may be retrieved using pickedCesiumPrimitive.olLayer and pickedCesiumPrimitive.olFeature.
  • Position point geometries on terrain. With 2D coordinates, use pointFeature.getGeometry().set('altitudeMode', 'clampToGround'). With 3D relative coordinates, use pointFeature.getGeometry().set('altitudeMode', 'relativeToGround').
  • Port to Cesium 1.10.

v1.5 - 2015-05-29

  • Port to Cesium 1.9 and Ol 3.5.0

v1.4 - 2015-04-30

  • Port to Cesium 1.8 and Ol 3.4.0
  • Mark olcs.RasterSynchronizer @api

v1.3 - 2015-03-23

  • Breaking changes
    • The enable argument to olcs.OLCesium#setEnabled() is no longer optional.
  • Port to Cesium 1.7.1 and Ol 3.3.0

v1.2 - 2015-02-25

  • Port to Cesium 1.6 and Ol 3.2

v1.1 - 2015-01-20

  • Breaking changes
    • The olFeatureId has been removed from the picked Cesium counterpart. Use directly olFeature as illustrated in the synthetic vector examples.
    • The olcs.OLCesium constructor signature has changed. Use new olcs.OLCesium({map: map, target: target}); instead of new olcs.OLCesium(map, target);
  • Custom synchronizer function may be passed to the OLCesium constructor
  • Core functions for implementing custom 2D-3D transitions à la Google Map
  • Store the ol.Feature in the Cesium counterpart instead of an id. Use primitive.olFeature to read it after picking. See the synthetic vector examples.
  • Allow 3D warmup while displaying the 2D map

v1.0.0 - 2014-11-17