summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-12-29 23:13:47 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-12-29 23:13:47 +0000
commitcf44f3ddd41b623f46dec46c947b2b8aec1ccc70 (patch)
tree8b401a10ebe1f8846c1e2caf9989647082245b30
parent747dce83bffd46a9164cd8f8537ede14bb70e1b1 (diff)
cleanups
-rw-r--r--map.js28
1 files changed, 13 insertions, 15 deletions
diff --git a/map.js b/map.js
index da7111c..602da68 100644
--- a/map.js
+++ b/map.js
@@ -13,9 +13,9 @@ var links = new Array();
debug = function (log_txt) {
- if (typeof window.console != 'undefined') {
- console.log(log_txt);
- }
+ if (typeof window.console != 'undefined') {
+ console.log(log_txt);
+ }
}
function initialize(lat, lng, res) {
@@ -23,18 +23,16 @@ function initialize(lat, lng, res) {
$('#southeastcontainer').hide();
google.maps.visualRefresh=true;
- var mapOptions = {
- center: new google.maps.LatLng(lat, lng),
- zoom: res,
- streetViewControl: false,
- disableDoubleClickZoom: true,
- mapTypeId: google.maps.MapTypeId.ROADMAP,
- mapTypeControlOptions: {
- mapTypeIds: [google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.HYBRID,
- google.maps.MapTypeId.SATELLITE , google.maps.MapTypeId.TERRAIN ],
- style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
- }
- };
+ var mapOptions = {
+ center: new google.maps.LatLng(lat, lng), zoom: res,
+ streetViewControl: false, disableDoubleClickZoom: true,
+ mapTypeId: google.maps.MapTypeId.ROADMAP,
+ mapTypeControlOptions: {
+ mapTypeIds: [google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.HYBRID,
+ google.maps.MapTypeId.SATELLITE , google.maps.MapTypeId.TERRAIN ],
+ style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
+ }
+ };
map = new google.maps.Map(document.getElementById("map"), mapOptions);
//##// map.addControl(new RulerControl());