Hi,
I have a mobile stlye stylx file created via ArcGIS Pro that has point, line, polygon, and text symbols. I am using the arcgis maps sdk for .net to read the symbols using the following code.
SymbolStyle symbolstyle = await SymbolStyle.OpenAsync(pathToStlyx);
SymbolStyleSearchParameters searchParams = await symbolstyle.GetDefaultSearchParametersAsync();
This code reads point, line, and polygon symbols from the file but does not read text symbols. The text symbols are very clearly present in the file and can also been seen when opening the file in ArcGIS Pro. Is there a method that I can use to read text symbols as well? Thank you
Solved! Go to Solution.
ArcGIS Maps SDK for Native apps only support line, point and polygon symbols from a stylx. Stylx containing other types of symbols or elements is currently not supported and is expected to return empty results.
ArcGIS Maps SDK for Native apps only support line, point and polygon symbols from a stylx. Stylx containing other types of symbols or elements is currently not supported and is expected to return empty results.
Although it is not supported at the moment, but this is an interesting usecase and I would like to learn more about your workflow and how do you intend to use text symbols from stylx in your Native app.
Looking forward to hear about your workflow.
Thanks