Commit f66e75e2 authored by Caillat Michel's avatar Caillat Michel
Browse files

Enhanced the output of numerical results for the contour measurements

parent aec689fe
......@@ -605,8 +605,8 @@ var _marker_styles_f = function(feature) {
case 'LineString':
var coordinates = selectedFeature.getGeometry().getCoordinates();
let properties = selectedFeature.get("properties");
let level = properties["level"]
infos_line.innerHTML = 'Contour level :'+level.toExponential(3);
let level = properties["level"].toExponential(3)
infos_line.innerHTML = 'Contour level :'+level;
if ("measurements" in properties) {
populateInfosBlock("Contour at level "+level, properties["measurements"]);
infos_line.innerHTML += ' <button type="button" class="btn btn-outline-link btn-sm" data-toggle="modal" data-target="#ModalInfosBlock">etc.</button>';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment