Currently have a WPF app using the DictionaryRenderer and Military Symbology .stylx files. Looking into creating a web-based app. Does anyone know if the Web Styles over the web use many round-trips to the server to create the specific symbols, or does the server send the entire .stylx implementation to the dictionary renderer and symbol creation is client-side only? Concerned about performance issues if the server has to build the symbols.
Solved! Go to Solution.
Yes, the Arcade script executes on the client-side and makes requests for the necessary symbol parts if they are not stored in the cache. For more information and examples of military symbology in the JavaScript Maps SDK, check out the Military Symbology Support in ArcGIS story map. Thanks!
The dictionary renderer requests the different symbol parts on the fly. It gets the names of the parts at startup, and make requests as needed (depending on which symbols are used). There is an internal cache at the dictionary level (and obviously at the browser level), so once a symbol gets to the client, it will be used from the cache.
Thank you for responding. To get the complete picture I have a couple more questions. Does the Arcade script execute at the web client? Then the Arcade script returns keys of the symbol parts, then retrieves those symbol parts from the server if not in cache? The military symbology .stylx is quite large and complex. Do you have a sample of a web implementation using those .stylx files?
Yes, the Arcade script executes on the client-side and makes requests for the necessary symbol parts if they are not stored in the cache. For more information and examples of military symbology in the JavaScript Maps SDK, check out the Military Symbology Support in ArcGIS story map. Thanks!