许可和shapefile的问题

ArcGIS Runtime SDK for Android对于Shapefile的支持如何?
已邀请:

张赛

赞同来自:

【解决办法】:
ArcGIS Runtime SDK for Android 从10.2.4版本起即可支持Shapefile的加载。涉及的类名是ShapefileFeatureTable。
加载和显示的方法如下:

ShapefileFeatureTable shpFile = new ShapefileFeatureTable(Environment.getExternalStorageDirectory()+/arcgis/shpFolder/china.shp);
FeatureLayer fLayer = new FeatureLayer(shpFile);
fLayer.setRenderer(new SimpleRenderer(new SimpleMarkerSymbol(Color.RED, 18, SimpleMarkerSymbol.STYLE.DIAMOND)));


注意:
(1) Shapefile的加载无需Standard许可;
(2) Shapefile在现有10.2.X上不支持离线编辑;

要回复问题请先登录注册