Browse Source

Stop map scrolling and adjust height

producao
Marcio Mazza 10 years ago
parent
commit
4954f6c15a
  1. 2
      sigi/apps/metas/templates/metas/mapa.html
  2. 1
      sigiStatic/js/metas/mapa.js

2
sigi/apps/metas/templates/metas/mapa.html

@ -47,7 +47,7 @@
<div class="row row-flex row-flex-wrap"> <div class="row row-flex row-flex-wrap">
<div class="col-md-10"> <div class="col-md-10">
<div id="map" style="width:100%; height: 800px; float: left;"> <div id="map" style="width:100%; height: 1100px; float: left;">
<!-- google map --> <!-- google map -->
</div> </div>
</div> </div>

1
sigiStatic/js/metas/mapa.js

@ -11,6 +11,7 @@
$("#list_csv").click( open_report ); $("#list_csv").click( open_report );
var latlng = new google.maps.LatLng(-14.2350040, -51.925280); var latlng = new google.maps.LatLng(-14.2350040, -51.925280);
var myOptions = { var myOptions = {
scrollwheel: false,
zoom: 5, zoom: 5,
center: latlng, center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP mapTypeId: google.maps.MapTypeId.ROADMAP

Loading…
Cancel
Save