Select to view content in your preferred language

Renderer type (uniqueValue) not flowing through to App?

3539
0
04-01-2015 07:45 PM
MichaelMaddison1
Deactivated User

I'm new to AGOL and have run into a problem with my symbology.

2 test layers.

Both configured for unique values.

  • {"renderer":{"type":"uniqueValue","field1":"outputType","uniqueValueInfos":[{"value":"1073","label":"Non-woody","symbol":{"color":[237,81,81,204],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"1109","label":"Woody","symbol":{"color":[20,158,206,204],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}},{"value":"1896","label":"Incomplete","symbol":{"color":[167,198,54,204],"outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}}]}}

Works fine for editing in a map and test app.

  • {"renderer":{"type":"simple","symbol":{"color":[227,139,79,204],"outline":{"color":[255,255,255,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}}}

Configured exactly the same and appears in the map correctly but not the app?

I'm using the online tools, the data is using a gdb.

What am I missing?

cheers

Michael M

0 Kudos
0 Replies