Select to view content in your preferred language

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

05-14-2018 07:24 AM
New Contributor

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.

0 Kudos
0 Replies