rn_supermap
Version:
rn_supermap 一款基于React-Native框架的移动应用开发工具。基于该开发工具,用户可以使用JavaScript开发语言,开发出在Android和IOS操作系统下运行的原生移动GIS应用,入门门槛低,一次开发,处处运行。
22 lines (20 loc) • 541 B
JavaScript
import {NativeModules} from 'react-native';
let X = NativeModules.JSGeoRegion;
import Geometry from './Geometry.js';
/**
* @class GeoRegion
* @description 面几何对象类。
*/
export default class GeoRegion extends Geometry{
constructor(){
super();
Object.defineProperty(this,"_SMGeoRegionId",{
get:function () {
return this._SMGeometryId
},
set:function (_SMGeoRegionId) {
this._SMGeometryId = _SMGeoRegionId;
}
});
}
}