Skip to content

Commit

Permalink
remove more cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasneirynck committed Jul 11, 2017
1 parent 21a545e commit a6d9d75
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions src/core_plugins/region_map/public/choropleth_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export default class ChoroplethLayer extends KibanaMapLayer {
this._error = true;
}
});


}

_setStyle() {
Expand Down Expand Up @@ -134,7 +132,6 @@ export default class ChoroplethLayer extends KibanaMapLayer {
return this._geojsonUrl === geojsonUrl;
}


appendLegendContents(jqueryDiv) {


Expand Down
15 changes: 0 additions & 15 deletions src/core_plugins/tile_map/public/kibana_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,7 @@ export class KibanaMap extends EventEmitter {
kibanaLayer.addToLeafletMap(this._leafletMap);
this.emit('layers:update');


this._addAttributions(kibanaLayer.getAttributions());


}

removeLayer(kibanaLayer) {
Expand Down Expand Up @@ -283,18 +280,6 @@ export class KibanaMap extends EventEmitter {
});
}

updateAttributions(attributionString) {
attributionString = attributionString || '';
let attributions = attributionString.split('|');
if (attributions.length === 1) {//temp work-around due to inconsistency in manifests
attributions = attributions[0].split(',');
}
attributions.forEach((attribution) => {
this._leafletMap.attributionControl.removeAttribution(attribution);//this ensures we do not add duplicates
this._leafletMap.attributionControl.addAttribution(attribution);
});
}

destroy() {
if (this._leafletFitControl) {
this._leafletMap.removeControl(this._leafletFitControl);
Expand Down
1 change: 0 additions & 1 deletion src/core_plugins/tile_map/public/kibana_map_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export class KibanaMapLayer extends EventEmitter {
movePointer() {
}


getAttributions() {
return this._attribution;
}
Expand Down

0 comments on commit a6d9d75

Please sign in to comment.