How do I convert a json string to a graphic within the viewer
Hello all,
I am using the old workflow designer (yes, i know i should move but that is a few months away) 😅
Â
So i have the following JSON string (view it here as its toolong to post) https://www.mapping.cityoflondon.gov.uk/Public/other/example.json that gets generated and passed into my workflow as a string, but from here what is the best way to convert the features within the Json to graphics within my viewer.
Â
Â
Thanks
Â
Halil
Â
0
-
You can create a FeatureSet from a JSON string using an Assign activity, e.g:
myFeatureSet = FeatureSet.FromJson(json)The feature(s) are then in myFeatureSet.Features
Â
0 -
Perfect @Berend Veldkamp? Thanks!!
0
Please sign in to leave a comment.
Comments
2 comments