UNPKG

rn_supermap

Version:

rn_supermap 一款基于React-Native框架的移动应用开发工具。基于该开发工具,用户可以使用JavaScript开发语言,开发出在Android和IOS操作系统下运行的原生移动GIS应用,入门门槛低,一次开发,处处运行。

61 lines (50 loc) 970 B
/** * Created by JKon 2019/7/31. */ import * as React from 'react' import { requireNativeComponent, ViewPropTypes, StyleSheet, View, } from 'react-native' import PropTypes from 'prop-types' class SMFloorListView extends React.Component { constructor() { super() this.FloorList = {} } state = { viewId: 0, } static propTypes = { ...ViewPropTypes, } render() { return ( <View style={styles.views}> <RCTFloorListView ref={ref => this.arview = ref} {...this.props} style={styles.view} /> </View> ); } } var styles = StyleSheet.create({ views: { flex: 1, position: 'absolute', height: '100%', width: '100%', backgroundColor: 'transparent', zIndex: 10, }, view: { height: '100%', width: '100%', }, }); const RCTFloorListView = requireNativeComponent('RCTFloorListView', SMFloorListView) export default SMFloorListView