highlight track segment corresponding to hovered table row on map
This commit is contained in:
parent
44900f9bd5
commit
c48f9ffb5c
2 changed files with 75 additions and 3 deletions
|
|
@ -10,6 +10,14 @@ BR.Tabs = BR.Control.extend({
|
|||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
var tabs = this.options.tabs;
|
||||
|
||||
for (var key in tabs) {
|
||||
if (tabs[key].onAdd) {
|
||||
tabs[key].onAdd(map);
|
||||
}
|
||||
}
|
||||
|
||||
$('#tab a').click(function (e) {
|
||||
e.preventDefault();
|
||||
$(this).tab('show');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue