arcade-based DictionarySymbolStyle

698
2
Jump to solution
08-29-2019 04:56 AM
NorbertThoden
Occasional Contributor III

Since V100.6 the class DictionarySymbolStyle hat some deprecated member like

DictionarySymbolStyle(const QString& specificationType, QObject* parent = nullptr)

From the release:

Enhanced dictionary symbology

ArcGIS Runtime SDK now supports a new format of dictionary style file introduced by ArcGIS Pro version 2.4. This format uses Arcade for the logic to generate symbols and is therefore fully customizable. Use of the older format styles is supported but deprecated in this release. For more information about using custom dictionary symbols in ArcGIS Runtime, see the Display symbols from a style with a dictionary renderer topic in the developer guide. To create a custom dictionary style, refer to the Dictionary renderer toolkit project on GitHub

So i tried to adapt my code to avoid the depecated member.

At runtime i got an error like "not supported"

The stylx files shipped with V100.6 are identical to them of the V100.5 installer

I took a look at Military Symbology Styles | ArcGIS Solutions for Defense , but that page isn´t updated since a long time. For example, V100.5 is not mentioned...

So, how can i avoid the warnings and use the new arcade-based member?
Where are the arcade-base stylx for APP-6 and MIL2525?

Having a look into the example code on github led me to https://www.arcgis.com/home/item.html?id=c78b149a1d52414682c86a5feeb13d30 , but there is just one available 😞

Additonally i think, that a source for example code is more of less official, but not as much as Military Symbology Styles | ArcGIS Solutions for Defense ...

Can someone help

Thx

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

Hi Norbert,

Our arcade-based style files will be hosted in an ArcGIS Online going forward. Here you can find all of the various standards we support - https://www.arcgis.com/home/search.html?q=owner%3A%22styles_esri%22%20mil&restrict=false&start=1&num...

I'll work on getting our documentation properly linked up to this.

Thanks,

Lucas

View solution in original post

2 Replies
LucasDanzinger
Esri Frequent Contributor

Hi Norbert,

Our arcade-based style files will be hosted in an ArcGIS Online going forward. Here you can find all of the various standards we support - https://www.arcgis.com/home/search.html?q=owner%3A%22styles_esri%22%20mil&restrict=false&start=1&num...

I'll work on getting our documentation properly linked up to this.

Thanks,

Lucas

NorbertThoden
Occasional Contributor III

Luke, thank you very much.

Greetings from Germany

0 Kudos