git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@78 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-03-13 17:21:58 +00:00
parent 8ba6571a7b
commit 78f63f0cf1
3 changed files with 10 additions and 9 deletions
+6 -4
View File
@@ -78,9 +78,9 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/maps/mapsViewTemplate.
position: google.maps.ControlPosition.RIGHT_CENTER
},
        };
$("#map-canvas").width(document.documentElement.clientWidth - 32/*Padding content*/);
$("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
self.map = new google.maps.Map($("#map-canvas")[0], myOptions);
self.$el.find("#map-canvas").width(document.documentElement.clientWidth - 32/*Padding content*/);
self.$el.find("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
self.map = new google.maps.Map(self.$el.find("#map-canvas")[0], myOptions);
// Create the search box and link it to the UI element.
var input = $('<input id="pac-input" data-role="none" class="controls" type="text" placeholder="Ricerca località..." style="display:none;">')[0];
@@ -200,7 +200,9 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/maps/mapsViewTemplate.
$("#map-canvas").width(document.documentElement.clientWidth - 32/*Padding content*/);
$("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
});
},
onShowing: function(){
var self = this;
if ( navigator.geolocation ) {
        function success(pos) {
            // Location found, show map with these coordinates
@@ -11,10 +11,9 @@
<label for="nResult">Numero Risultati Ricerca:</label>
<select name="nResult" id="nResult">
<option value="10" selected="true">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
<label for="theme">Tema Grafico:</label>
<select name="theme" id="theme">