使用产品:SuperMap iMobile 9D(2019)(V9.1.2)SuperMap iMobile 9D(2019) SP2 for Android(精简绿色包) 操作系统:win10 x64
数据类型: 文件型
问题描述:我把Geometry通过toGeoJSON() 这个方法转换成了string类型 存起来,我取出来时候怎么才能变成Geometry对象?fromGeoJSON这个方法返回值是boolean类型
toGeoJSON() 
          将Geometry转换成GeoJSON格式的字符串,具体实现由子类完成 支持的几何类型:点(GeoPoint)、线(GeoLine)、面(GeoRegion),包括具有多个子对象的线和面
	
		
			boolean | 
			fromGeoJSON(java.lang.String geoJSON) 
			从GeoJSON格式的字符串中获取Geometry;具体实现由子类完成 |