0

The Editor class has this option to show the toolbar (toolbarVisible:true). I want to modify the toolbar's "draw-end" event so I can control the radius of the circle.

The toolbar has a 'circle' option, but when you place the circle the radius appears to be arbitrary when I want it to be 10.

example of toolbar

  • Adding a screenshot of what you're referring to would be helpful. – Emil Brundage Feb 14 '18 at 18:13
  • @EmilBrundage Edited! – Sanchke Dellowar Feb 14 '18 at 18:50
  • If I understand correctly, when drawing a circle, a polygon graphic is created by the tool. So you could potentially adjust the coordinates in the evt.geometry.rings arrays. – James Lawruk Feb 14 '18 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.