From 7aa8edd15abc7242b0a9f56df57965df1acae57b Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 18 Sep 2014 18:51:30 +0100 Subject: Change the popup width, and use popups rather that the modal Changes from Christopher Gutteridge. --- scripts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts.js b/scripts.js index 982e2d7..5624fa8 100644 --- a/scripts.js +++ b/scripts.js @@ -64,12 +64,13 @@ var map = LS.map('map', { workstations: true, indoor: true, - popupWidth: 550, + popupWidth: 400, popupHeight: 550, zoomControl: false, levelControlPosition: 'bottomleft' }); + /* map.showInfo = function(content, latlng, options) { var $content = $(content); @@ -85,6 +86,7 @@ map.closeInfo = function() { $("#featureModal").modal("hide"); }; + */ var zoomControl = L.control.zoom({ position: "bottomright" -- cgit v1.2.3