JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <title>Map at a specified location</title>
    <link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
    <link rel="stylesheet" type="text/css" href="css/app.css" />
    <script type="text/javascript" src='../test-credentials.js'></script>    
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-core.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-service.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-ui.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js"></script>
    <script type="text/javascript" >window.ENV_VARIABLE = 'https://developer.here.com'</script>
    <script src='https://developer.here.com/javascript/src/iframeheight.js'></script>
  </head>
  <body id="markers-on-the-map">
    <div id="map" style="width: 500px; height: 800px"></div>
    <script type="text/javascript" src='js/app.js'></script>
    <div>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer content<br/><br/>
    	Footer...

CSS

#map {
  width: 95%;
  height: 450px;
  background: grey;
}

#panel {
  width: 100%;
  height: 400px;
}

JavaScript

/**
 * Moves the map to display over Berlin
 *
 * @param  {H.Map} map      A HERE Map instance within the application
 */
function moveMapToBerlin(map){
  map.setCenter({lat:52.5159, lng:13.3777});
  map.setZoom(14);
}

/**
 * Boilerplate map initialization code starts below:
 */

//Step 1: initialize communication with the platform
// In your own code, replace variable window.apikey with your own apikey
var platform = new H.service.Platform({
  apikey: 'X6ISxi9Y8zogM-SpHQ1TgIaAJjQmIVRQDYdMPNDJ58A'
});

var defaultLayers = platform.createDefaultLayers();

//Step 2: initialize a map - this map is centered over Europe
var map = new H.Map(document.getElementById('map'),
  defaultLayers.vector.normal.map,{
  center: {lat:50, lng:5},
  zoom: 4,
  pixelRatio: window.devicePixelRatio || 1
});
// add a resize listener to make sure that the map occupies the whole container
window.addEventListener('resize', () => map.getViewPort().resize());

//Step 3: make the map interactive
// MapEvents enables the event system
// Behavior implements default interactions for pan/zoom (also on mobile touch environments)
var behavior = new H.mapevents.Behavior(new H.mapevents.MapEvents(map));
console.log(behavior);


behavior.disable(H.mapevents.Behavior.WHEELZOOM);

// Create the default UI components
var ui = H.ui.UI.createDefault(map, defaultLayers);

// Now use the map as required...
window.onload = function () {
  moveMapToBerlin(map);
}