UNPKG

naksha-react-ui-legacy

Version:

Visualize geohash heat map or layer map from elastic search or https://github.com/strandls/naksha

18 lines (15 loc) 370 B
import React, { Component } from 'react'; import '../css/layers.css' import addLayer from './addLayer' class NewLayerComponent extends Component { componentDidMount() { addLayer.init(this.props); } render() { return ( <div id='add-layer-component' style={{height: '100%', width: '100%'}}> </div> ); } } export default NewLayerComponent;