protected PickedObject createPickedObject(DrawContext dc, Color pickColor) { PickedObject po = super.createPickedObject(dc, pickColor); // Add the KMLPlacemark to the picked object as the context of the picked object. po.setValue(AVKey.CONTEXT, this.parent); return(po); }
protected PickedObject createPickedObject(int colorCode) { PickedObject po = super.createPickedObject(colorCode); // Add the KMLPlacemark to the picked object as the context of the picked object. po.setValue(AVKey.CONTEXT, this.parent); return(po); }