Select to view content in your preferred language

Remove graphic by array of ids

941
2
06-14-2017 12:39 PM
DaysieJohnson
Deactivated User

Hello, in runtime 10.2.4 we have an ability to add graphic to layer like this:

int id = addGraphic(Graphic g),

and like this:

int[] ids = addGraphic(Graphic[] g).

But when we need to remove graphic, we can do only this:

removeGraphic(int id)

Is there any way to remove many graphic objects from layer at one time, something like:

removeGraphic(int[] ids)

0 Kudos
2 Replies
nita14
by
Frequent Contributor

Hi Daysie,

According to the documentation, there is no such method. Additionally, you can remove all grahics at one time.

Regards,


Adam

DaysieJohnson
Deactivated User

Thank you, thats sad, it seems that i need to stay with some workarounds

0 Kudos