mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 23:05:23 +01:00
Add todo to remove layers redundancy
This commit is contained in:
parent
57c409af07
commit
4f73ab5b6a
4 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@ import Input from 'rebass/dist/Input'
|
|||
import { PropertyGroup } from '../fields/spec'
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
|
||||
//TODO: All layers contain a lot of redundancy
|
||||
export default class BackgroundLayer extends React.Component {
|
||||
static propTypes = {
|
||||
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,
|
||||
|
|
|
@ -4,6 +4,7 @@ import { Checkbox, Input } from 'rebass'
|
|||
import { PropertyGroup } from '../fields/spec'
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
|
||||
//TODO: All layers contain a lot of redundancy
|
||||
export default class FillLayer extends React.Component {
|
||||
static propTypes = {
|
||||
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,
|
||||
|
|
|
@ -3,6 +3,7 @@ import Immutable from 'immutable'
|
|||
import { PropertyGroup } from '../fields/spec'
|
||||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
|
||||
//TODO: All layers contain a lot of redundancy
|
||||
export default class LineLayer extends React.Component {
|
||||
static propTypes = {
|
||||
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,
|
||||
|
|
|
@ -3,6 +3,7 @@ import Immutable from 'immutable'
|
|||
import PureRenderMixin from 'react-addons-pure-render-mixin';
|
||||
import { PropertyGroup } from '../fields/spec'
|
||||
|
||||
//TODO: All layers contain a lot of redundancy
|
||||
export default class SymbolLayer extends React.Component {
|
||||
static propTypes = {
|
||||
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,
|
||||
|
|
Loading…
Reference in a new issue