gelballesteros

Problem with Graphics ids

Discussion created by gelballesteros on Jun 1, 2013
Hello,

I´m trying to draw 500 graphics in a graphicLayer, and I need to get it´s ids to identify them, so usually this ids start at 1 and finish at 500. The problem I´m having is that sometimes when I pause and resume the activity, the ids are the same but sometimes this ids start at 501 and so...

I have tried to call MapView.destroyDrawingCache() and buildDrawingCache() at onResume() but sometimes restart the graphics ids and sometimes doesn´t. It´s annoying that it doesn´t do the same always...

Can anyone help me with this? Thank you in advance.

Ángel

Outcomes