AnsweredAssumed Answered

Draw widget in calcite

Question asked by yvesm on Apr 12, 2018
Latest reply on Apr 19, 2018 by yvesm

Hi All,

I have tweaked the basic viewer template for a customer and I'm looking for ways to add a custom Draw widget (with only some drawing operations allowed, like add point, and my custom symbols).  I have my symbols ready as JSON representations in a separate file.  But my attempts at adding a Draw widget in the main toolbar have failed. 

 

The template I'm using has this for css :

 

<link rel="stylesheet" href="https://js.arcgis.com/3.24/esri/themes/calcite/dijit/calcite.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.24/esri/css/esri.css">
<link rel="stylesheet" href="css/styles.css">

 

I'm willing to spend a bit of time adding the draw widget in the calcite theme, but I see there are many variations of the calcite theme.  Is the Draw widget implemented in any of those variations ? I would appreciate pointers as to how to go about this.  I don't have much time for this so if I could get access to development code bits I would appreciate.

 

TIA,

 

Yves

Outcomes