其实我要做的是服务器中的...本地的参考文中链接应该可以解决,有点混乱,先只看链接吧
要预览的本地数据目前争取解决的范围是Shapefile数据,CAD数据,影像数据。
估计要中英文搜索都要试一试, 目前有一参考资料http://esrislcontrib.codeplex.com/,其中对该问题的英文描述是:Utility classes that will help users load shapefiles from their computer directly on to the Silverlight API map without uploading the shapefile to the server.
1.Shapefile数据
参考资料:http://gis.stackexchange.com/questions/13997/add-shapefile-from-a-local-file-to-a-js-api-map
http://georamblings.com/2012/02/upload-shapefile-and-view-in-a-webmap/
采取方案调用 ArcGIS Server geoprocessing service,we are now passing the ID and file name into the geoprocessing service to return a feature layer back down to the Esri JavaScript API.
2. CAD数据,dwg文件。在谷歌中输入upload dwg from computer to the javascript map