diff --git a/app/src/frontend/map.js b/app/src/frontend/map.js index 083cd4e4..0feaa40e 100644 --- a/app/src/frontend/map.js +++ b/app/src/frontend/map.js @@ -81,14 +81,20 @@ class ColouringMap extends Component { // pick revision id to bust browser cache const rev = this.props.building? this.props.building.revision_id : ''; const dataLayer = data_tileset? - + : null; // highlight const geometry_id = (this.props.building) ? this.props.building.geometry_id : undefined; const highlight = `/tiles/highlight/{z}/{x}/{y}.png?highlight=${geometry_id}` const highlightLayer = (is_building && this.props.building) ? - + : null; const base_layer_url = (this.state.theme === 'light')? @@ -108,7 +114,7 @@ class ColouringMap extends Component { onClick={this.handleClick} > - + { dataLayer } { highlightLayer }