mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
only show sites toggle if USE_SITES
This commit is contained in:
@@ -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} */}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user