Post trek update: recentering map + style minor changes

This commit is contained in:
2016-06-09 23:11:10 +02:00
parent 3b953e1237
commit e5d64168d5
4 changed files with 52 additions and 3130 deletions

View File

@@ -38,15 +38,17 @@ oSpot.pageInit = function(asHash)
});
//Centering map on last message
var oLastMsg = oMessages[oMessages.length-1];
//var oLastMsg = oMessages[oMessages.length-1];
var $Map = $("#map").gmap3(
{
map:
{
options:
{
center:{lat:oLastMsg.latitude, lng:oLastMsg.longitude},
zoom:12,
//center:{lat:oLastMsg.latitude, lng:oLastMsg.longitude},
//zoom:12,
center:{lat:-43.5, lng:171.5},
zoom:6,
mapTypeId:google.maps.MapTypeId.HYBRID,
scaleControl:true
}