mirror of
https://github.com/maputnik/editor.git
synced 2026-01-03 03:50:00 +00:00
Improve layer colors
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React from 'react'
|
||||
import ReactMapboxGl from "react-mapbox-gl"
|
||||
import theme from './theme.js'
|
||||
|
||||
export class Map extends React.Component {
|
||||
constructor(props) {
|
||||
@@ -11,8 +12,8 @@ export class Map extends React.Component {
|
||||
return <ReactMapboxGl
|
||||
style={this.props.mapStyle}
|
||||
accessToken="pk.eyJ1IjoibW9yZ2Vua2FmZmVlIiwiYSI6IjIzcmN0NlkifQ.0LRTNgCc-envt9d5MzR75w"/>
|
||||
}
|
||||
return <div />
|
||||
}
|
||||
return <div style={{backgroundColor: theme.colors.black}}/>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user