function makeMapPanel() {
  var map = ui.Map();
  // Add an informational label
  map.add(ui.Label('Click the map to compute a mosaic at that location'));
  map.style().set('cursor', 'crosshair');
  // Don't show the layer list for this app.
  map.setControlVisibility({layerList: false});
  return map;
}
Returns a ui.Map with some UI configuration in place.