Add Backgroundlayer "none"
This commit is contained in:
parent
549ba95426
commit
db04f293a9
@ -6,6 +6,7 @@ import 'leaflet/dist/leaflet.css'
|
||||
import state from '../state.js'
|
||||
|
||||
const tileLayers = {
|
||||
nons: <></>,
|
||||
osmDE: (
|
||||
<TileLayer
|
||||
url="https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png"
|
||||
|
@ -30,6 +30,11 @@ export class TileLayerControl extends React.Component {
|
||||
onChange={e => (state.tileLayer = e.target.value)}
|
||||
// onChange={console.log}
|
||||
>
|
||||
<RadioButton
|
||||
option="none"
|
||||
selected={state.tileLayer}
|
||||
fullName="None"
|
||||
/>
|
||||
<RadioButton
|
||||
option="osmDE"
|
||||
selected={state.tileLayer}
|
||||
|
Loading…
Reference in New Issue
Block a user