Displaying dot density layers in AGOL

755
5
09-20-2018 07:35 AM
AlexaKorber
New Contributor II

Does anyone have any tips on how to display a dot density layer in AGOL? I created the layer in Desktop, but it's looking like it can only be hosted as a map service rather than a feature service. This means it is becoming part of the basemap and I can't move it over any of the other layers in the web map. 

Thank you,

Alexa

0 Kudos
5 Replies
IsabelMendoza
New Contributor III

I am trying to do the same but I can't even share as a map service. Is it any other possible workarounds? 

Thanks,

Isa

0 Kudos
by Anonymous User
Not applicable

Hey Isabel, I had this issue too and found that Dot Density symbology is not currently supported in ArcGIS Online (https://pro.arcgis.com/en/pro-app/help/sharing/analyzer-error-messages/00085-layer-uses-an-unsupport...)

The two workarounds (I have used) are to:

1) publish the layer as a tile layer (not vector tiles, that is not supported either yet) or

2) if this is for a custom app use the JavaScript API's dot density renderer. Both of these have worked for my use cases. Hopefully dot density feature layers will be added soon!

0 Kudos
IsabelMendoza
New Contributor III

Hey Ethan! Thank you! Do you have any resources that can show me how to go the custom app  JavaScript API"s route? I am still getting the to know the developer side of ArcGIS. Thanks!

Isa

0 Kudos
by Anonymous User
Not applicable

Sure, here is a good example of using it:

https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=visualization-...

and this is a good starting point for getting started with creating a custom application using the JavaScript API:

https://developers.arcgis.com/javascript/latest/guide/quick-start/

0 Kudos
IsabelMendoza
New Contributor III

Thank you! 

0 Kudos