add about popup and readme links
This commit is contained in:
parent
9c2ef4df60
commit
46706610a1
3 changed files with 56 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue