Fill extrusion support #31

This commit is contained in:
Lukas Martinelli
2016-12-27 12:04:32 +01:00
parent 0dc335ea5f
commit c7ac90ba15
2 changed files with 30 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ class LayerIcon extends React.Component {
render() {
const iconProps = { style: this.props.style }
switch(this.props.type) {
case 'fill-extrusion': return <BackgroundIcon {...iconProps} />
case 'fill': return <FillIcon {...iconProps} />
case 'background': return <BackgroundIcon {...iconProps} />
case 'line': return <LineIcon {...iconProps} />