The framework has some expectations of the map services used and displays them in specific ways in the map layers tool.
Requirements
Layers included in the map service are required to include a field with the data type OBJECT ID. This is required for paging and fetching more results in the framework. Also map services need to have a WKID (Well Known Id) for their Spatial Reference instead of WKT (Well Known Text).
Map Layers
The visibility of layers in the framework reflects the functionality of the ArcGIS Server Rest API ExportMap. This differs from the functionality of how ArcMap visibility works.
ArcMap Layer Setup |
Framework Map Layers |
When the group layer is turned on in a map service through ArcMap the framework will turn on all layers below group layer. In the image above the Bicyclist Crashes, Bicyclist Fatalities, and Bicyclist Injuries will have there visibility turned on.
ArcMap Layer |
Framework Map Layers |
When the group layer is turned on and specific sub-layers are turned on and off the framework will automatically turn on all of the sub-layers because the group layer is on. In the image above the Bicyclist Crashes, Bicyclist Fatalities, and Bicyclist Injuries will have there visibility turned on.
ArcMap Layer |
Framework Map Layers |
When the group layer is turned off and specific sub-layers are turned on they will have there visibility turned on. In the image above the Bicyclist Fatalities and Bicyclist Injuries will have there visibility turned on.
Recommendations
Fields in the map service should have alias set for them. The alias are used in column headers in the query results and other locations in the framework.
See Also