()
| 57 | } |
| 58 | |
| 59 | initialize_additional_scales() { |
| 60 | const color_scale = this.scales.color; |
| 61 | if (color_scale) { |
| 62 | this.listenTo(color_scale, 'domain_changed', () => { |
| 63 | this.update_style(); |
| 64 | }); |
| 65 | color_scale.on('color_scale_range_changed', this.update_style, this); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | remove_map() { |
| 70 | d3.selectAll('.world_map.map' + this.map_id).remove(); |
no test coverage detected