aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-18 18:51:30 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-18 18:51:30 +0100
commit7aa8edd15abc7242b0a9f56df57965df1acae57b (patch)
treed313a9649b0b1a16fb6bd9dbc7ab60cbf796f5d1
parent0dccf92801d8bb5be420803fc0293cd0fc3d9a0b (diff)
downloadmaps.southampton.ac.uk-7aa8edd15abc7242b0a9f56df57965df1acae57b.tar
maps.southampton.ac.uk-7aa8edd15abc7242b0a9f56df57965df1acae57b.tar.gz
Change the popup width, and use popups rather that the modal
Changes from Christopher Gutteridge.
-rw-r--r--scripts.js4
1 files changed, 3 insertions, 1 deletions
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"