Commit 17f38c04 authored by Emmanuel René Huchim Puc's avatar Emmanuel René Huchim Puc

Merge branch 'dev' of gitlab.geoint.mx:mario.chirinos/GeoInt_SIDT into dev

parents a485147d eb90a00b
......@@ -76,8 +76,10 @@ function addImageLayer(labelDate) {
map.addLayer(xyz);
})
let currentZoom = map.getView().getZoom();
// fit and zoom
map.getView().fit(ol.proj.transformExtent(data.boundingBox, 'EPSG:4326', 'EPSG:3857'))
map.getView().setZoom(currentZoom);
map.getView().setMinZoom(data.zoom.min);
map.getView().setMaxZoom(data.zoom.max);
}
......
......@@ -138,34 +138,34 @@
<section class="content">
<div class="row col-lg-11 title">
<div class="text-center">
<h1>{{ report_name }}</h1>
</div>
<div class="col-md-12 info" style="margin-bottom: 15px;">
<div class="box box-success">
<div class="box-body with-border">
<div class="row">
<div class="col-lg-2 text-center col-lg-offset-1">
<h4>Platform: {{ platform }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Product level: {{ productLevel }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Start date: {{ startDate }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>End date: {{ endDate }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Clouds: {{ clouds }} %</h4>
</div>
<div class="box box-success box-solid">
<div class="box-header with-border">
<h3 sytle="font-size: 30px !important;">{{ report_name }}</h3>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="row">
<div class="col-lg-2 text-center col-lg-offset-1">
<h4>Platform: {{ platform }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Product level: {{ productLevel }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Start date: {{ startDate }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>End date: {{ endDate }}</h4>
</div>
<div class="col-lg-2 text-center">
<h4>Clouds: {{ clouds }} %</h4>
</div>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
<!-- <div class="col-md-2 info">
<div class="box box-success">
......
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