git-svn-id: https://msi/svn/firstRepo/WebClient/branches/Manut_3.0.1@78 0f545695-f87b-41b6-9a03-7f16563b5454
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
var myManifest = {
|
var myManifest = {
|
||||||
Debug: (window.location.port !== ""),
|
Debug: (window.location.port !== ""),
|
||||||
Name: "Il Lievitario",
|
Name: "Il Lievitario",
|
||||||
Version: "3.0.4.1",
|
Version: "3.0.4.3",
|
||||||
Author: "Denis Ironi",
|
Author: "Denis Ironi",
|
||||||
Settings: {
|
Settings: {
|
||||||
ShowStartMessage: true,
|
ShowStartMessage: true,
|
||||||
|
|||||||
@@ -78,9 +78,9 @@ define(['jquery', 'underscore', 'backbone', 'text!modules/maps/mapsViewTemplate.
|
|||||||
position: google.maps.ControlPosition.RIGHT_CENTER
|
position: google.maps.ControlPosition.RIGHT_CENTER
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
$("#map-canvas").width(document.documentElement.clientWidth - 32/*Padding content*/);
|
self.$el.find("#map-canvas").width(document.documentElement.clientWidth - 32/*Padding content*/);
|
||||||
$("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
|
self.$el.find("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
|
||||||
self.map = new google.maps.Map($("#map-canvas")[0], myOptions);
|
self.map = new google.maps.Map(self.$el.find("#map-canvas")[0], myOptions);
|
||||||
|
|
||||||
// Create the search box and link it to the UI element.
|
// 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];
|
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").width(document.documentElement.clientWidth - 32/*Padding content*/);
|
||||||
$("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
|
$("#map-canvas").height(document.documentElement.clientHeight - 151 - self.$el.find('#searchPanel').height());
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
onShowing: function(){
|
||||||
|
var self = this;
|
||||||
if ( navigator.geolocation ) {
|
if ( navigator.geolocation ) {
|
||||||
function success(pos) {
|
function success(pos) {
|
||||||
// Location found, show map with these coordinates
|
// Location found, show map with these coordinates
|
||||||
|
|||||||
@@ -11,10 +11,9 @@
|
|||||||
<label for="nResult">Numero Risultati Ricerca:</label>
|
<label for="nResult">Numero Risultati Ricerca:</label>
|
||||||
<select name="nResult" id="nResult">
|
<select name="nResult" id="nResult">
|
||||||
<option value="10" selected="true">10</option>
|
<option value="10" selected="true">10</option>
|
||||||
<option value="15">15</option>
|
|
||||||
<option value="20">20</option>
|
|
||||||
<option value="25">25</option>
|
<option value="25">25</option>
|
||||||
<option value="30">30</option>
|
<option value="50">50</option>
|
||||||
|
<option value="100">100</option>
|
||||||
</select>
|
</select>
|
||||||
<label for="theme">Tema Grafico:</label>
|
<label for="theme">Tema Grafico:</label>
|
||||||
<select name="theme" id="theme">
|
<select name="theme" id="theme">
|
||||||
|
|||||||
Reference in New Issue
Block a user