diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2014-09-18 18:51:30 +0100 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2014-09-18 18:51:30 +0100 |
commit | 7aa8edd15abc7242b0a9f56df57965df1acae57b (patch) | |
tree | d313a9649b0b1a16fb6bd9dbc7ab60cbf796f5d1 | |
parent | 0dccf92801d8bb5be420803fc0293cd0fc3d9a0b (diff) | |
download | maps.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.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |