1. Define the polygon spatial reference before you add the ring2. alert (thisLocs) right before you try to use it. My guess is this is a scoping issue and it is nulltry changing the line toon(map, "load", lang.hitch(this, function(){addGraphic();}));
on(map, "load", lang.hitch(this, function(){addGraphic();}));
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.