The Symbol Playground can also be used to answer the following questions: What does the default SimpleMarkerSymbol (or any other symbol) look like? What values can I use for each symbol property?
Where to find it
Try it out
Open the Symbol Playground and select any symbol type to get started. 2D symbols are listed first, followed by 3D symbols. For the purposes of this post, select SimpleMarkerSymbol to see the properties of that symbol type. A user interface opens exposing all the default properties of the symbol on the right; input elements are provided for adjusting the values of those properties.
Notice that as you select new shapes, colors, sizes, angles, etc., the symbol of the example feature in the view to the left automatically updates. Change the basemap to one that closely resembles the basemap in your app. This helps you to pick optimal colors for each symbol that work best for your application. Also, take note that below the input elements for adjusting property values, you can see the code required to create the desired symbol automatically update with each property change.
Once you are done designing the symbol, you can copy the code to the clipboard and paste it directly into your app.
The playground also provides options for copying the code snippet within the context of the
require statement or in the ArcGIS JSON format used by the REST API.
As you familiarize yourself with the Symbol Playground, you will gain familiarity with the code structure of each symbol type and how they differ in 2D and 3D implementations. For example, to create a 3D symbol you must always first add at least one symbol layer to the symbol. It is the properties of the symbol layer that will drive the visualization of the 3D symbol.
The playground allows you to view the realistic 3D WebStyleSymbol resources available in the API. These include dozens of pre-made symbols that may be used to add realistic elements to web scenes.
So try it out! Use the Symbol Playground to create custom symbols for your apps. Use it to explore the properties available to you. Use it to familiarize yourself with the object specifications of various symbols.
When not to use the Symbol Playground
In short, if you don’t need to create the symbols in code then don’t! Create your visualizations with ArcGIS Online or ArcGIS Pro and use the playground for those cases when visualizations need custom tweaking on an app-by-app basis.