diff --git a/imports/ui/components/Maps/DefMapLayers.js b/imports/ui/components/Maps/DefMapLayers.js index 2fbdcb8..33da655 100644 --- a/imports/ui/components/Maps/DefMapLayers.js +++ b/imports/ui/components/Maps/DefMapLayers.js @@ -36,7 +36,7 @@ class DefMapLayers extends Component { /> ); const osmlayer = ( - + } { this.state.gkey && - + } @@ -66,11 +66,16 @@ class DefMapLayers extends Component { DefMapLayers.propTypes = { t: PropTypes.func.isRequired, - gray: PropTypes.bool + gray: PropTypes.bool, + osmcolor: PropTypes.bool, + satellite: PropTypes.bool + }; DefMapLayers.defaultProps = { - gray: true + gray: false, + osmcolor: false, + satellite: false }; export default translate([], { wait: true })(DefMapLayers); diff --git a/imports/ui/components/SelectionMap/SelectionMap.js b/imports/ui/components/SelectionMap/SelectionMap.js index cd8cfbd..94c065b 100644 --- a/imports/ui/components/SelectionMap/SelectionMap.js +++ b/imports/ui/components/SelectionMap/SelectionMap.js @@ -152,7 +152,7 @@ class SelectionMap extends Component { subs: this.props.currentSubs }; if (this.props.action === action.add) { - subsOpts.color = '#F2F2F2'; + subsOpts.color = 'gray'; } this.state.union = subsUnion(this.state.union, subsOpts); } @@ -183,7 +183,7 @@ class SelectionMap extends Component { wakeMessageTouch={t('Pulsa para activar')} sleepOpacity={0.6} > - + {this.props.action === action.edit && this.props.currentSubs.map((subs, index) => ( - +

{t('Coordenadas:')} {fire.lat}, {fire.lon}

{(fire.type === 'modis' || fire.type === 'viirs') && diff --git a/imports/ui/pages/FiresMap/FiresMap.js b/imports/ui/pages/FiresMap/FiresMap.js index da3605a..1d26eb7 100644 --- a/imports/ui/pages/FiresMap/FiresMap.js +++ b/imports/ui/pages/FiresMap/FiresMap.js @@ -288,7 +288,7 @@ class FiresMap extends React.Component { falsePositives={false} /> } - + this.centerOnUserLocation(viewport)} onlyIcon {... this.props} /> diff --git a/imports/ui/pages/Subscriptions/SubscriptionsMap.js b/imports/ui/pages/Subscriptions/SubscriptionsMap.js index 60bb37f..44e2b5d 100644 --- a/imports/ui/pages/Subscriptions/SubscriptionsMap.js +++ b/imports/ui/pages/Subscriptions/SubscriptionsMap.js @@ -129,7 +129,7 @@ class SubscriptionsMap extends React.Component { wakeMessageTouch={this.props.t('Pulsa para activar')} sleepOpacity={0.6} > - + this.centerOnUserLocation(viewport)} onlyIcon {... this.props} />