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