private int calculateDropPosition( ) {
int layerpos=-1;
if( getDestination() instanceof ILayer ){
ILayer target=(ILayer) getDestination();
ViewerDropLocation location = getViewerLocation();
layerpos = target.getZorder();
if (location == ViewerDropLocation.NONE) {
layerpos=0;
}