You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very grateful to those who are maintaining ol-cesium, and hope a quick question is possible - although I realise this must be due the way I am implementing the code and not a problem with the code itself.
I have a map application using ol3cesium v1.23 working okay at https://maps.nls.uk/geo/explore/3d/.
I have recently added ol-ext to this to allow printing/image saving, and although the print process is okay, it does not save the image. It seems that this is because the print dialog is waiting for the map to render (with a postcompose or postrender event) but no event is fired.
The application works but all the map controls (Zoom, MousePosition, Scale, Print etc.) are not visible. They are being added to the ol-overlaycontainter-stopevent class but it seems this is being obscured.
If I disable olcesium, with the lines below, then the controls are visible, but the map is then just in 2D:
const ol3d = new olcs.OLCesium({map: map});
ol3d.setEnabled(false);
I'd very much welcome any suggestions on how to fix this.
The text was updated successfully, but these errors were encountered:
gberaudo
changed the title
Map controls not visible when upgrading to olCesium 2.13
Map controls not visible when upgrading to olCesium 2.13 / OL 7.3
Apr 26, 2023
I'm very grateful to those who are maintaining ol-cesium, and hope a quick question is possible - although I realise this must be due the way I am implementing the code and not a problem with the code itself.
I have a map application using ol3cesium v1.23 working okay at https://maps.nls.uk/geo/explore/3d/.
I have recently added ol-ext to this to allow printing/image saving, and although the print process is okay, it does not save the image. It seems that this is because the print dialog is waiting for the map to render (with a postcompose or postrender event) but no event is fired.
As this is old code, I have tried upgrading to olCesium 2.13 and OpenLayers 7.3 at https://maps.nls.uk/geo/explore/3d-new/.
The application works but all the map controls (Zoom, MousePosition, Scale, Print etc.) are not visible. They are being added to the ol-overlaycontainter-stopevent class but it seems this is being obscured.
If I disable olcesium, with the lines below, then the controls are visible, but the map is then just in 2D:
I'd very much welcome any suggestions on how to fix this.
The text was updated successfully, but these errors were encountered: