only show sites toggle if USE_SITES

This commit is contained in:
Lachlan Kermode
2019-01-18 16:14:41 +00:00
parent a2434b36c0
commit cb254884ca
3 changed files with 10 additions and 10 deletions

View File

@@ -13,10 +13,10 @@ function ToolbarBottomActions (props) {
{/* onClick={(view) => this.toggleMapViews(view)} */}
{/* isEnabled={this.props.viewFilters.routes} */}
{/* /> */}
<SitesIcon
isActive={props.sites.enabled}
onClickHandler={props.sites.toggle}
/>
{process.env.features.USE_SITES ? <SitesIcon
isActive={props.sites.enabled}
onClickHandler={props.sites.toggle}
/> : null}
{/* <CoeventIcon */}
{/* onClick={(view) => this.toggleMapViews(view)} */}
{/* isEnabled={this.props.viewFilters.coevents} */}

View File

@@ -16,11 +16,11 @@
.leaflet-container {
height: 100%;
img.leaflet-tile {
-webkit-filter: contrast(120%) brightness(115%) grayscale(95%); /* Webkit */
filter: gray; /* IE6-9 */
filter: contrast(120%) brightness(115%) grayscale(95%); /* W3C */
}
// img.leaflet-tile {
// -webkit-filter: contrast(120%) brightness(115%) grayscale(95%); /* Webkit */
// filter: gray; /* IE6-9 */
// filter: contrast(120%) brightness(115%) grayscale(95%); /* W3C */
// }
}
&.hidden {

View File

@@ -51,7 +51,7 @@ const initial = {
language: 'en-US',
map: {
anchor: [31.356397, 34.784818],
startZoom: 10,
startZoom: 11,
minZoom: 7,
maxZoom: 18,
bounds: null,