有人可以指导我在iphone应用程序中使用arcgis在地图视图中添加带URL的要素图层吗?
答案 0 :(得分:0)
您可以像在ArcGIS JavaScript API示例中提供的任何示例中一样创建Web应用程序:
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_hover.html
大多数ArcGis Server的东西在移动设备上都很迷人 代码看起来像这样:
var southCarolinaCounties = new esri.layers.FeatureLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3", {
mode: esri.layers.FeatureLayer.MODE_SNAPSHOT,
outFields: ["NAME", "POP2000", "POP2007", "POP00_SQMI", "POP07_SQMI"]
});
southCarolinaCounties.setDefinitionExpression("STATE_NAME = 'South Carolina'");
map.addLayer(southCarolinaCounties);