mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Do not show filter icon unless data exists
This commit is contained in:
parent
e83998b416
commit
872e2b2785
1 changed files with 3 additions and 3 deletions
|
@ -108,10 +108,10 @@ define(function (require) {
|
|||
};
|
||||
|
||||
var map = L.map(div[0], mapOptions);
|
||||
var drawControl = new L.Control.Draw(drawOptions);
|
||||
|
||||
map.addControl(drawControl);
|
||||
|
||||
if (data.geoJson.features.length) {
|
||||
map.addControl(new L.Control.Draw(drawOptions));
|
||||
}
|
||||
|
||||
tileLayer.on('tileload', function () {
|
||||
self.saturateTiles();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue