How can I change the fill symbol used in the measurement widget in 3.13?

3026
3
Jump to solution
05-11-2015 11:22 AM
JaniceBaird
Occasional Contributor II

Does anyone know how to change the fill symbol that is used in the measurement widget in 3.13? Please see the attached png.

Thanks,

Janice.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Janice,

  This is not exposed by the API but is possible using this code:

this.measurement._borderlessFillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, null, color([0,255,0,0.6]));

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Janice,

  This is not exposed by the API but is possible using this code:

this.measurement._borderlessFillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, null, color([0,255,0,0.6]));

0 Kudos
JaniceBaird
Occasional Contributor II

Robert,

Thanks! How do you know so much about these internal workings?

Have a great day!

Janice.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Janice,

   I just inspect the JS object after putting a console.info(measurement);

0 Kudos