Open parthree opened 4 years ago
Hi Deb,
I think the problem is just an ordering issue. While JavaScript is object-oriented, it also runs like a script, which mean from top to bottom, things need to be defined before you can utilize them. I think the issue is that your buildingsRenderer
is defined after your buildingsLayer
. You can address this by moving the renderer definition above the feature layer.
Success! Thank you.
After going through the basic tutorials for ArcGIS for Developers in CodePen, I was able to show my own data collection points and even include a tracking location function. I'd like to be able to change my symbols, but when I try to set up a renderer like in the Style Feature Layers tutorial, the layer won't draw. Sorry, I don't even have any theories why it's not working...except my syntax somewhere.
See if you can see my Pen.