imobile_for_reactnative
Version:
iMobile for ReactNative,是SuperMap iMobile推出的一款基于React-Native框架的移动应用开发工具。基于该开发工具,用户可以使用JavaScript开发语言,开发出在Android和IOS操作系统下运行的原生移动GIS应用,入门门槛低,一次开发,处处运行。
133 lines (128 loc) • 4.81 kB
text/typescript
import { NativeModules } from 'react-native'
import LicenseModule from './NativeModule/dataTypes/LicenseModule'
import GeoStyle from './NativeModule/GeoStyle'
import TextStyle from './NativeModule/TextStyle'
import SMMapView from './NativeModule/components/SMMapViewUI'
import SMMapView2 from './NativeModule/components/SMMapView2'
import SMRLegendView from './NativeModule/Legend/SMRLegendView'
import SMScaleView from './NativeModule/components/SMScaleViewUI'
import SMSceneView from './NativeModule/components/SMSceneViewUI'
import SMArView from './NativeModule/ar/SMArView'
import SMFloorListView from './NativeModule/ar/SMFloorListView'
import SMSymbolTable from './NativeModule/components/SMSymbolTable'
import SMMeasureARGeneraView from './NativeModule/components/SMMeasureARGeneraView'
import SMRectifyView from './NativeModule/components/SMRectifyView'
import SMAIPoseEstimationView from './NativeModule/components/SMAIPoseEstimationView'
import SMAIGestureBoneView from './NativeModule/components/SMAIGestureBoneView'
import SMWebViewUI from './NativeModule/components/SMWebViewUI'
import FileTools from './NativeModule/utility/FileTools'
import * as SARMap from './NativeModule/interfaces/ar/SARMap'
import * as SARNavigation from './NativeModule/interfaces/ar/SARNavigation'
import * as SVideo from './NativeModule/interfaces/video/SVideo'
import * as SARMeasure from './NativeModule/interfaces/ar/SARMeasure'
import * as SARCollector from './NativeModule/interfaces/ar/SARCollector'
import SMARMapView from './NativeModule/components/SMARMapView'
import SMARInterestView from './NativeModule/components/SMARInterestView'
import * as RNFS from './NativeModule/utility/FS.common'
import * as SException from './NativeModule/interfaces/utils/SException'
import * as SData from './NativeModule/interfaces/data/SData'
import * as SMap from './NativeModule/interfaces/mapping/SMap'
import * as STheme from './NativeModule/interfaces/mapping/STheme'
import * as SPlot from './NativeModule/interfaces/plot/SPlot'
import * as SNavigation from './NativeModule/interfaces/navigation/SNavigation'
import * as SScene from './NativeModule/interfaces/scene/SScene'
import * as AppInfo from './NativeModule/interfaces/utils/AppInfo'
import * as SAnalystType from './NativeModule/interfaces/analyst/SAnalystType'
import * as SMap2 from './NativeModule/interfaces/mapping/SMap2'
import * as SIndoorNavigation from './NativeModule/interfaces/navigation/SIndoorNavigation'
import { SMCollectorType } from './NativeModule/interfaces/collector/SCollector'
import * as SAI from './NativeModule/interfaces/ai/SAI'
import * as SServiceType from './NativeModule/interfaces/iServer/types'
import * as SUserDefine from './NativeModule/userDefine/SUserDefine'
const BufferEndType = NativeModules.JSBufferEndType
const RadiusUnit = NativeModules.JSRadiusUnit
const TextAlignment = NativeModules.JSTextAlignment
const SupplyCenterType = NativeModules.JSSupplyCenterType
const CoordSysTransMethod:SData.ICoordSysTransMethod = NativeModules.JSCoordSysTransMethod
const GPSElementType = NativeModules.JSGPSElementType
const StatisticMode = NativeModules.StatisticMode
const SLanguage = NativeModules.SLanguage
// const SMCollectorType = NativeModules.SCollectorType
export {
SBufferAnalyst,
SOnlineAnalyst,
SOverlayAnalyst,
SFacilityAnalyst,
STransportationAnalyst,
SProximityAnalyst,
SInterpolationAnalyst,
SRectify,
SCollector,
SMediaCollector,
// SThemeCartography,
SService,
URL,
SOnline,
SMessageService,
SCollectSceneFormView,
SSpeechRecognizer,
SLocation,
ConfigUtils,
SPoseEstimationView,
DeviceUtils,
BundleTools,
} from './NativeModule/interfaces'
export { GeoCoordSysType, TGeoCoordSysType } from './NativeModule/dataTypes/GeoCoordSysType'
export { PrjCoordSysType, TPrjCoordSysType} from './NativeModule/dataTypes/PrjCoordSysType'
export { Unit, ProjectionType, GeoSpatialRefType, GeoSpheroidType, GeoDatumType } from './NativeModule/dataTypes/CoordSys'
export { IServerService } from './NativeModule/interfaces/iServer/IServerService'
export {
SAnalystType,
SServiceType,
RNFS,
SLanguage,
SMMapView,
SMMapView2,
SMScaleView,
SMSceneView,
SMRLegendView,
SMArView,
SMFloorListView,
SMMeasureARGeneraView,
SMRectifyView,
SMSymbolTable,
BufferEndType,
RadiusUnit,
TextAlignment,
StatisticMode,
GeoStyle,
TextStyle,
SupplyCenterType,
CoordSysTransMethod,
GPSElementType,
SData,
SMap,
SMap2,
STheme,
SPlot,
SNavigation,
SIndoorNavigation,
SScene,
SMCollectorType,
SMAIPoseEstimationView,
SMAIGestureBoneView,
SARMap,
SARNavigation,
SARMeasure,
SARCollector,
SMARMapView,
SMARInterestView,
AppInfo,
FileTools,
SException,
SMWebViewUI,
LicenseModule,
SVideo,
SAI,
SUserDefine,
}