Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return <div>
this.props.onChange({
...this.props.source,
url: url
})}
/>
{this.props.children}
</div>
}
}
return tiles.map((tileUrl, tileIndex) => {
return
})
}
render() {
return <div>
{this.renderTileUrls()}
this.props.onChange({
...this.props.source,
minzoom: minzoom
})}
/>
this.props.onChange({
...this.props.source,
maxzoom: maxzoom
})}
/>
{this.props.children}
</div>
}
}
render() {
return <div>
this.setState({ sourceId: v})}
/>
this.setState({mode: mode, source: this.defaultSource(mode)})}
value={this.state.mode}
/>
</div>