Best practice to show gis map

408
2
06-18-2014 05:23 AM
BhavinSanghani
Occasional Contributor II
I need to integrate ArcGIS server with my web-based product. I am using ArcGIS Javascript API for the integration. I have placeholder parameters in my product where my customers can put url of map service, feature service etc. In this scenario, what is the best practice to show map? Should I use ArcGISDynamicMapServiceLayer or I should add all published feature layers and create the map? I tried both ways and it looks adding feature layer one by one is little time consuming whereas using ArcGISDynamicMapServiceLayer results in little poor quality of the map e.g. distorted lines.

Any suggestions?
0 Kudos
2 Replies
JeffPace
MVP Alum
dyanmiclayer should not be poor quality.  In fact, it should be better than featurelayer as featurelayer auto-generalizes.
0 Kudos
BhavinSanghani
Occasional Contributor II
What is auto-generalize? I googled and it appeared related to geometry. But wanted to understand in detail how ArcGISDynamicLayer considers it. Any example?
0 Kudos