AnsweredAssumed Answered

Runtime sdk 100 - Rectangular polygon drawing

Question asked by baskentedas on Jan 22, 2018
Latest reply on Jan 26, 2018 by sgill-esristaff

Hi, we are using runtime sdk 100 and Kotlin. How can we do rectangular polygon drawing with SketchEditor?

Can not draw with the code above.

 

private val sketchEditor = SketchEditor()
private fun drawRect() {
    mapView.sketchEditor = sketchEditor
    sketchEditor.start(SketchCreationMode.POLYGON)
}

Outcomes