通过动态图层实现修改渲染方式。。那么如何把一个图层变为动态图层呢?
https://developers.arcgis.com/rest/services-reference/dynamic-layer-table.htm
动态图层是一个自定义的图层,当我们定义了这个动态图层之后,他就和一个普通的图层一样,需要添加到一个地图中,然后我们就可以在上面绘制符号和图形等,要使用一个动态图层,按下面的步骤就可以完成:
https://blog.youkuaiyun.com/weixin_34413802/article/details/90089657

由此可见,可以通过IDynamicLayerDescription修改数据源,或者修改DrawingDescription。。
Description
A dynamic layer / table resource represents a single layer / table of a map service published by ArcGIS Server or of a registered workspace. This resource is supported only when the map service supports dynamic layers, as indicated by supportsDynamicLayers on the map service resource.
For a dynamic layer / table based on an existing map service layer, this resource returns updated information based on any changes to the data. For example, consider the case of a time-aware layer in a map service. There are a couple of options to retrieve updated temporal extents—pass the returnUpdates parameter to static layer resource or request the layer via dynamicLayer resource, which would return the most current information rather than returning the cached information.

http://localhost:6080/arcgis/sdk/rest/index.html#//02ss00000005000000


>>应用例子:通过IDynamicLayerDescription修改显示样式和数据源:当然这只是暂时的,一次请求一次生成
但是这很适合临时性的或者说是实时性的工作。。无论通过http:.../dynamiclayer?layer=.....renderer...还是通过后端.....所做的修改均只是临时的。
https://blog.youkuaiyun.com/nmj2008/article/details/114971948

1705

被折叠的 条评论
为什么被折叠?



