Use OpenLayers 4 with Angular 5

Updated to Angular 8.x and OpenLayers 6.x: Install ol and do the following changes: 1.) Add the accordant CSS in the html.index (make sure that the version of the CSS matches the installed version of ol) : <link rel=”stylesheet” href=”https://openlayers.org/en/v6.1.1/css/ol.css” type=”text/css”> Another way is to reference the CSS in the styles object within the angular.json: … Read more