layerControl.addOverlay(layer_RedNacionalCaminos,"Red nacional de caminos <br /> <img src=\"http://gaia.inegi.org.mx/NLB/tunnel/wms/mdm6wms?map=/opt/map/mdm60/mdm61leyendaprueba.map&Request=GetLegendGraphic&format=image/png&Version=1.1.1&Service=WMS&LAYER=c200\" alt=\"Red Nacional de Caminos\"/>");
layerControl.addOverlay(layer_RedNacionalCaminos,"Red nacional de caminos <br /> <img src=\"http://gaia.inegi.org.mx/NLB/tunnel/wms/mdm6wms?map=/opt/map/mdm60/mdm61leyendaprueba.map&Request=GetLegendGraphic&format=image/png&Version=1.1.1&Service=WMS&LAYER=c200\" alt=\"Red Nacional de Caminos\"/>");
// chart.hiddenState.properties.opacity = 0; // this creates initial fade-in
// chart.hiddenState.properties.opacity = 0; // this creates initial fade-in
letquery_r=`${baseUrl}/query/${table}?columns=sum(area)/10000 as area,DATE_PART('month',date) as mm,concat('Q', DATE_PART('quarter',date)::text) as qq&group=mm,qq &sort=mm`;
letquery_r=`${baseUrl}/query/${table}?columns=sum(area)/10000 as area,DATE_PART('month',date) as mm,concat('Q', DATE_PART('quarter',date)::text) as qq&group=mm,qq &sort=mm`;
...
@@ -238,8 +230,8 @@ am4core.ready(function() {
...
@@ -238,8 +230,8 @@ am4core.ready(function() {
rchart.endAngle=rchart.startAngle+180;
rchart.endAngle=rchart.startAngle+180;
// Create axes
// Create axes
// var dateAxis = chart.xAxes.push(new am4charts.DateAxis());
// let dateAxis = chart.xAxes.push(new am4charts.DateAxis());