[Maps] do not show joins UI for ES geo grid source (#30309)

This commit is contained in:
Nathan Reese 2019-02-07 05:42:40 -07:00 committed by GitHub
parent 3d8dcd5b56
commit cecd5daf04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 5 deletions

View file

@ -51,7 +51,7 @@ export class AbstractLayer {
}
isJoinable() {
return false;
return this._source.isJoinable();
}
async getDisplayName() {

View file

@ -113,6 +113,10 @@ export class ESGeoGridSource extends AbstractESSource {
return true;
}
isJoinable() {
return false;
}
getGridResolution() {
return this._descriptor.resolution;
}

View file

@ -89,6 +89,10 @@ export class AbstractSource {
getGeoGridPrecision() {
return 0;
}
isJoinable() {
return false;
}
}

View file

@ -102,4 +102,7 @@ export class AbstractVectorSource extends AbstractSource {
return false;
}
isJoinable() {
return true;
}
}

View file

@ -67,10 +67,6 @@ export class VectorLayer extends AbstractLayer {
});
}
isJoinable() {
return true;
}
getJoins() {
return this._joins.slice();
}