Would it not be more apropriate to change DynLayer.specificRemove() into
DynLayer.specificDelete(); ?

My reasoning is this, if you want to call removefromParent() on a layer it
should do just that - remove it from it's parent. But in the present code it
also get deleted.

DynLayer.specificRemove() could become a method to just detach a layer from
it's parent, giving the option to add it back again at a later date.

if you want to delete a layer you can go ahead and call deletefromParent()
which would call our new specificDelete();

if we want to just remove it but leave it hanging around we call
removefromParent() which calls specificRemove();

Does that make any sense?


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to