Fix conflicts in Heightgraph integration

This commit is contained in:
alexcojocaru 2020-10-23 18:57:07 -07:00
parent 77ed28cb76
commit bd0679d15c
4 changed files with 112 additions and 8 deletions

View file

@ -110,7 +110,7 @@ BR.Heightgraph = function(map, layersControl, routing, pois) {
update: function(track, layer) {
// bring height indicator to front, because of track casing in BR.Routing
if (this._mouseHeightFocus) {
var g = this._mouseHeightFocus[0][0].parentNode;
var g = this._mouseHeightFocus._groups[0][0].parentNode;
g.parentNode.appendChild(g);
}