Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }