Index Out of Range Exception is produced sometimes when removing and adding points in PolylineData object runtime. As a workaround, you can use MS Polyline (MS shapes) or PolylineView (Bindable wrappers) added in the Layer. Available in LIB Version: 2015.3.1026.