add about popup and readme links

This commit is contained in:
Norbert Renner 2015-06-19 11:34:56 +02:00
parent 9c2ef4df60
commit 46706610a1
3 changed files with 56 additions and 6 deletions

View file

@ -115,6 +115,13 @@
// left sidebar as additional control position
map._controlCorners[leftPaneId] = L.DomUtil.create('div', 'leaflet-' + leftPaneId, map._controlContainer);
document.getElementById('about_link').onclick = function() {
bootbox.alert({
title: 'About',
message: document.getElementById('about').innerHTML
});
};
search = new BR.Search();
map.addControl(search);