openlayers / ol-cesium

OpenLayers - Cesium integration
http://openlayers.org/ol-cesium/
BSD 2-Clause "Simplified" License
968 stars 321 forks source link

Add export for OverlaySynchronizer in olcs.ts #1168

Closed luca-rath closed 4 months ago

luca-rath commented 4 months ago

I want to pass a custom createSynchronizers function to the OLCesium constructor with the default OverlaySynchronizer, the default VectorSynchronizer and a custom RasterSynchronizer. I don't know why the OverlaySynchronizer isn't exported in the main file, if I import it from olcs/src/olcs/OverlaySynchronizer, there are typescript compilation errors, if I add the export to the olcs.ts file and import it from there, everything works just fine.

gberaudo commented 4 months ago

Thanks @luca-rath.