cmv/cmv-app

Feature Server support?

hoogw opened this issue · 0 comments

hoogw commented

https://sampleserver6.arcgisonline.com/arcgis/rest/services/Earthquakes_Since1970/FeatureServer
https://sampleserver6.arcgisonline.com/arcgis/rest/services/Energy/Geology/FeatureServer

How to config it to support above feature server?

I know type=dynamic will works with MapServer,

For example:

https://sampleserver6.arcgisonline.com/arcgis/rest/services/Earthquakes_Since1970/MapServer

I have try type=feature

It only works when your url must specify the layer id, for example, layer id 0 must be there
https://sampleserver6.arcgisonline.com/arcgis/rest/services/Earthquakes_Since1970/FeatureServer/0

How to config to make FeatureServer just like MapServer, dynamically show all sub-layers?

https://github.com/vojvod/CMV_Renderer_Widget#readme

seem only works with layer id, not show all layers dynamically