@ERS-Long The legend for Feature layers in the layerControl widget isn't a typical legend. The symbols are built from the layer's render when the layerControl is first instantiated. I forget the reasoning behind this approach (I didn't write it).
The first workaround that comes to mind is remove the layer from the layer control and add it again. I'm not sure if this will work since the symbols are built from the layer's renderer and may ignore the layer defs (at least that is how it looks like it will behave based on a quick look at the code).
Second possibility is to rely on the Legend widget. You can add
noLegend: true to the
layerControlOptions for that layer so it doesn't show the Legend in the layerControl widget.
distfolder is no longer in the path.
@milenaAE If I am understanding your objective correctly the yes, I believe that would be quite possible. I think you'd need to start with a custom Print template and/or Print service on the AGS server that would accept the desired text. It may be possible to capture the info also within your service - not sure about that. If not, then on the client side you 'd possibly use a custom widget that would gather the data you want to include on the watermark, perhaps a variant of the CMV Print widget. To be more secure, you may want to capture the info using a server-side language like ASP.NET, PHP, etc. Perhaps your
secured portal already handles some of that.
Another possibly approach would be to create a service proxy that sits in front of the Print Service that captures the info that you require and passes it along to the service.
Probably quite a few other possible approaches but bottom line is it is possible.
The Esri map and widgets used in CMV like Scalebar, Measurements and Legend already include localization for Arabic and the other languages shown on that page. The widgets developed by the CMV team have been localized with community support to French, Spanish and Portuguese. These localizations are also included in the
I would be happy to assist you or anyone with any efforts to translate CMV to Arabic or other languages. Let me know if I can help.