summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 16:15:41 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 16:15:41 +0100
commit799d7c752b7c8795df38468b8e6d852f13d92973 (patch)
tree1f9a77ed561bda757c3fc80e100b82325bc31e9e
parent0c510470b5c5d2910955187d4ec94c89840bb571 (diff)
downloadleaflet-soton-799d7c752b7c8795df38468b8e6d852f13d92973.tar
leaflet-soton-799d7c752b7c8795df38468b8e6d852f13d92973.tar.gz
Small tweak to room marker positions
-rw-r--r--src/leaflet-soton.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index dfd2ad7..2a52b16 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -729,11 +729,13 @@ SELECT * WHERE {\
var myIcon = L.divIcon({
className: 'ls-room-marker',
html: content,
- iconSize: new L.Point(100, 30),
- iconAnchor: new L.Point(50, 15)
+ iconSize: new L.Point(100, 14),
+ iconAnchor: new L.Point(50, 7)
});
- var marker = L.marker(iconCoords, {icon: myIcon});
+ var marker = L.marker(iconCoords, {
+ icon: myIcon
+ });
return marker;
}