AnsweredAssumed Answered

how to enable a diffrent layer on the "Create Features"

Question asked by Ronens on May 14, 2018

I created a button that add a feature layer to the map (only if this specific layer doesn't already exist) then select the rectangle tool (our users need to draw many rectangles, so the button was made to make their lives easier).

my problem is when the user already selected a Sketch tool for another feature layer I couldn't understand how I could enable my layer sketch instead of the active one, in other words how I can code what's happen in the user interface when a user click the "Drawing" in the image below?

 

 

one think I noticed, on my layer EditingTemplate, there is a "IsActive" (get only) parameter which is false when another layer is active and true while my layer is active.

Outcomes