Commit 454f13d3 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Fix id names on urbanization and chart formatting

parent 743e090f
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
<div class="col"> <div class="col">
<div class="row h-100"> <div class="row h-100">
<div id="odChart"></div> <div id="odChart"></div>
<div id="barChart"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -83,10 +84,12 @@ ...@@ -83,10 +84,12 @@
<div class="col-6 border-right"> <div class="col-6 border-right">
<div class="row h-100"> <div class="row h-100">
<div id="chordChart"></div> <div id="chordChart"></div>
<div id="pieChart"></div>
</div> </div>
</div> </div>
<div class="col-6 align-self-center" id="odTableRow"> <div class="col-6 align-self-center" id="odTableRow">
<div class="row h-100 justify-content-center"> <div class="row h-100 justify-content-center">
<div id="radarChart"></div>
<div class="card text-center" id="odCard"> <div class="card text-center" id="odCard">
<div class="card-body"> <div class="card-body">
<p class="card-text">Haz clic en un nodo del mapa para mostrar sus datos</p> <p class="card-text">Haz clic en un nodo del mapa para mostrar sus datos</p>
......
...@@ -368,9 +368,12 @@ L.timeDimension.layer.Tile = (layer, options) => { ...@@ -368,9 +368,12 @@ L.timeDimension.layer.Tile = (layer, options) => {
$("#startHeader").remove(); $("#startHeader").remove();
$(".picker").remove(); $(".picker").remove();
$("#initial-backdrop").remove(); $("#initial-backdrop").remove();
$("#mainContainer")[0].style.setProperty("display", "flex", "important") $("#mainContainer")[0].style.setProperty("display", "flex", "important");
$("#mexmap").show(); $("#mexmap").show();
$("#odTableRow").removeClass("align-self-center");
$("#odCard").hide();
setupTimeDimensionControl(); setupTimeDimensionControl();
getMinMax("urbanization_year") // get minmax year.Q values to popoulate timeDimension getMinMax("urbanization_year") // get minmax year.Q values to popoulate timeDimension
.then(dates => setupMap(dates)) .then(dates => setupMap(dates))
......
This diff is collapsed.
Markdown is supported
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