Example of using OpenLayers 6 with Ionic Angular?


I’ve been successful in using OpenLayers 5 with Ionic but when upgrading to OpenLayers 6 it doesn’t work.

I can see the map but all controls are in the upper left corner and I can’t scroll or zoom in the map!

Do anyone know of an example using OpenLayers 6 with ionic?

Replying my self :slight_smile:

I needed to inlude the ol.css in angular.json!

“input”: “node_modules/ol/ol.css”