Use the variable name instead of a string
myMap<SPAN class="punctuation token">.</SPAN>add_layer<SPAN class="punctuation token">(</SPAN>precipitation_layer<SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.