Add query to the tree view.

This commit is contained in:
David Molineus
2016-11-09 11:47:57 +01:00
parent 422433bc52
commit 37065f2183

View File

@@ -274,6 +274,13 @@ $GLOBALS['LEAFLET_LAYERS'] = array
'overpass' => array(
'children' => false,
'icon' => 'system/modules/leaflet/assets/img/overpass.png',
'label' => function ($row, $label) {
if ($row['overpassQuery']) {
$label .= '<span class="tl_gray"> ' . \StringUtil::substr($row['overpassQuery'], 50) . '</span>';
}
return $label;
}
),
);