Remove old layout Control superclass, now obsolete (#111)
This commit is contained in:
parent
4d4b344793
commit
9112d0984c
4 changed files with 6 additions and 56 deletions
|
|
@ -1,7 +1,6 @@
|
|||
BR.TrackMessages = L.Evented.extend({
|
||||
BR.TrackMessages = L.Class.extend({
|
||||
|
||||
options: {
|
||||
heading: 'Segment data',
|
||||
edgeStyle: {
|
||||
color: 'yellow',
|
||||
opacity: 0.8,
|
||||
|
|
@ -24,18 +23,15 @@ BR.TrackMessages = L.Evented.extend({
|
|||
'InitialCost': { title: 'initial$', className: 'dt-body-right' }
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
initialize: function (map, options) {
|
||||
L.setOptions(this, options);
|
||||
this._map = map;
|
||||
|
||||
var table = document.getElementById('datatable');
|
||||
this.tableClassName = table.className;
|
||||
this.tableParent = table.parentElement;
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
this._map = map;
|
||||
},
|
||||
|
||||
update: function (polyline, segments) {
|
||||
var i, messages, columns, headings,
|
||||
data = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue