Edit in JSFiddle

var viewer = null

function initMap() {
  viewer = iv.getViewer();

  var tbx = iv.getViewer().getMap().getControlsByClass('Geoportal.Control.ToolBox')[0];

  iv.addComponent('Geoportal.Control.MeasureToolbar', [{
    targetElement: OpenLayers.Util.getElement(tbx.id + '_meares'),
    div: OpenLayers.Util.getElement(tbx.id + '_measure'),

    elevationOptions: {
      // desactive l'outil d'altimetrie
      active: false,
    },
    elevationPathOptions: {
      active: true,
      targetElement: null
    }
  }]);
}

iv = Geoportal.load(
  'viewerDiv', ['jhyvi0fgmnuxvfv0zjzorvdn'], { // Positionnement par coordonnées
    lon: 2.294,
    lat: 48.858
  },
  12, {
    onView: initMap,
    layers: ['ORTHOIMAGERY.ORTHOPHOTOS'],
    viewerClass: Geoportal.Viewer.Default
  }
);
#viewerDiv {
  width: 100%;
  height: 400px;
}
<div id="viewerDiv"></div>

External resources loaded into this fiddle: