Skip to main content

Questions tagged [ol-cesium]

Use this tag when referring to ol-cesium, OpenLayers - cesium integration library

Filter by
Sorted by
Tagged with
2 votes
1 answer
684 views

OpenLayers/Angular/ol-cesium : Point vectors show on both 2D/3D map / polygons don't

I am working on a existing app made with Angular 13. I use OpenLayers 6+ and the npm package ol-cesium. I have an Angular component where I display a map (2D - OpenLayers). Everything goes as planned. ...
0 votes
1 answer
241 views

OL-Cesium Uncaught (in promise) SyntaxError

Trying to implement OL-Cesium as an ES6 library following instructions here: https://openlayers.org/ol-cesium/apidoc/#as-an-es6-library-recommended-method Running locally for now and getting the ...
0 votes
1 answer
274 views

Taking a map from OpenLayers to OpenLayers-Cesium. Vector layer issue

I had made a map with an WMTS raster layer, and a few WFS vector layers (polygon) in OpenLayers, and am now trying to get the same to work in OL-Cesium. It's working to the point that everything ...
1 vote
1 answer
365 views

OLcesium how to load a 3d terrain from mapTile Cloud

I use OpenLayers 6 and ol-cesium 2.15. The basemap in use on a 2d view is the ESRI ocean basemap. The problem is that, when using cesium, the map shows a white circle in correspondence of each pole (...
9 votes
1 answer
10k views

What is difference between b3dm and gltf?

What is difference between b3dm and gltf ? When to use b3dm and when to prefer gltf over b3dm ?
2 votes
0 answers
502 views

Different basemaps in OL-Cesium side-by-side example

I have an application that has two maps that are linked: a normal map on the left and a globe on the right. The application is based on the example olcesium side-by-side example. I would like to use ...
0 votes
0 answers
398 views

Point Layer is Not Show When 3D Mode is Active [Cesium, OLCS, Openlayers]

I have a 3D map build with Cesium + OLCS + Openlayers. But in one case i cannot show my WMS Image Point Layer when 3D mode is active like this: But Polygon Layer can show when 3D is active, and when ...
1 vote
0 answers
369 views

Vector feature "flashes" after geometry update in OL-Cesium

I would like to append new points to a vector polygon geometry in OpenLayers v6.5.0 and Ol-Cesium v2.12 (Cesium v1.77). My UpdatePolygon function will be called in every seconds or more frequently ...
0 votes
0 answers
346 views

OL-Cesium improve tileWMS quality in very high zoom level

I'm developing an application which is based on OpenLayers v6.5.0. OL-Cesium 2.11, Cesium v.177 and GeoServer v2.17. The scale of the map view is very large. The camera height is only 20 meters. I use ...
1 vote
0 answers
281 views

Displaying dynamically changing data layer in moving view using OL-Cesium [closed]

I'm developing an application that contains a tilted map based on OL-Cesium. The "camera" height is very low (zoom level is the highest), and the view is "moving" continuously, ...
1 vote
1 answer
589 views

ImageWMS layer doesn't work in 3D mode

I would like to display an ImageWMS layer using OpenLayers v6.3.1, OL-Cesium v2.9 and Cesium v1.70 in 3D mode. In 2D mode it is perfect, however in 3D mode, I don't see the states ImageWMS layer, the ...
3 votes
0 answers
746 views

How to synchronize map context (bounding box and zoom level) only with ol-cesium?

I posted this question on StackOverflow, but since there is no answer yet and as recommended in a comment, I'll ask it here too: I'm programming a page where a 2D and a 3D map are side-by-side as in ...
0 votes
2 answers
3k views

OL-Cesium - Example doesn't work

I would like to test the Ol-Cesium on my computer with this example: https://openlayers.org/ol-cesium/examples/oldfashioned.html I saved the olcs.css, olcesium.js and Cesium.js file into my webserver'...
4 votes
1 answer
2k views

Can you use WFS services in a front-end Cesium app?

I am using Web Map Services (WMS) in Cesium Apps .WebMapTileServiceImageryProvider .WebMapServiceImageryProvider However I cannot find any Cesium official reference to WFS or WFS-T services which I ...
2 votes
1 answer
1k views

Adding an EPSG:2056 WMTS layer to Cesium

I can implement EPSG:4326 WMTS layers to my Cesium App like this: const imageryProvider = new this.Cesium.WebMapTileServiceImageryProvider({ url: "https://openwms.domain.ch/service/wmts", ...
1 vote
2 answers
400 views

Import .lyr files into Cesium?

I have an application that is able to import .lyr files into a Cesium map if they are bundled with all the required associated files in a zip file. The application treats the bundled files in the ....
2 votes
1 answer
2k views

Converting DEM (TIFF) files to terrain files?

I want to create an app to show 3D using ol-cesium. In ol-cesium example it use cesium terrains, But I want to do it with my DEM files. How can I convert my DEM (TIFF) files to terrain files?
0 votes
0 answers
338 views

ol-cesium throws exception when map.addLayer() is called with a vector layer

I have a strange behavior here using OpenLayers 5.2.0, Cesium, and the compatibility library ol-cesium. When I try to add a layer to the map, it throws an exception: TypeError: invalid 'instanceof' ...
3 votes
1 answer
641 views

OL-Cesium error

I'm trying to implement my map using OL-Cesium / CesiumJS. var layer2 = new ol.layer.Tile({ source: new ol.source.TileWMS({ url: 'https://demo.boundlessgeo.com/geoserver/wms', ...
3 votes
1 answer
2k views

How to synchronize two maps?

I have my main map using projection EPSG:4326. Now I try to add a 3D view using ol-cesium. The goal is to create a side-by-side map that will show a flat map and a 3D view map (like this). But I can'...
1 vote
0 answers
786 views

OpenLayers change:rotation not called

I am using ol-cesium and I want to receive an event when the map is rotated. So my approach is to use the change:rotation event of the ol.Map, but it is never called. this.map = new ol.Map({ ...
1 vote
1 answer
1k views

Ol-Cesium CZML Display

My goal is to add CZML to my ol-cesium application. I have created an application using the ol-cesium-v1.27 get started instructions: ol3d = new olcs.OLCesium({map: map}); // map is ...