Improved TrackMessages: highlight matching row when hovering route on map
This commit is contained in:
parent
db2c43c973
commit
f2d034ce8a
3 changed files with 92 additions and 5 deletions
|
|
@ -36,7 +36,6 @@
|
|||
pois,
|
||||
circlego,
|
||||
urlHash;
|
||||
|
||||
// By default bootstrap-select use glyphicons
|
||||
$('.selectpicker').selectpicker({
|
||||
iconBase: 'fa',
|
||||
|
|
@ -223,9 +222,10 @@
|
|||
|
||||
function requestUpdate(updatable) {
|
||||
var track = routing.toPolyline(),
|
||||
segments = routing.getSegments();
|
||||
segments = routing.getSegments(),
|
||||
segmentsLayer = routing._segments;
|
||||
|
||||
updatable.update(track, segments);
|
||||
updatable.update(track, segments, segmentsLayer);
|
||||
}
|
||||
|
||||
routingOptions = new BR.RoutingOptions();
|
||||
|
|
@ -342,7 +342,7 @@
|
|||
} else {
|
||||
stats.update(track, segments);
|
||||
}
|
||||
trackMessages.update(track, segments);
|
||||
trackMessages.update(track, segments, segmentsLayer);
|
||||
trackAnalysis.update(track, segments);
|
||||
|
||||
exportRoute.update(latLngs, segments);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue