if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SCT.name()) == 0)
{
// TODO: optimize pos.elevation
List<Position> poss = GfrWrpBasSynObjNameTloEclSct.getInstance().getGeometry(strIdTarget);
Position pos = GfrGetCentrePointFromListOfCoordinates.doJob(poss);
double dblZoom = GfrGetCaracteristicDimensionFromListOfCoordinates.doJob(poss);
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_ARE.name()) == 0)
{
// TODO: optimize pos.elevation
List<Position> poss = GfrWrpBasSynObjNameTloEclAre.getInstance().getGeometry(strIdTarget);
Position pos = GfrGetCentrePointFromListOfCoordinates.doJob(poss);
double dblZoom = GfrGetCaracteristicDimensionFromListOfCoordinates.doJob(poss);
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PTH.name()) == 0)
{
List<Position> poss = GfrWrpBasSynObjNameTloEclPth.getInstance().getGeometry(strIdTarget);
Position pos = GfrGetCentrePointFromListOfCoordinates.doJob(poss);
double dblZoom = GfrGetCaracteristicDimensionFromListOfCoordinates.doJob(poss);
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_SEG_WISE_YES.name()) == 0)
{
List<Position> poss = GfrWrpBasSynObjNameTloEclSegWiseYes.getInstance().getPositions(strIdTarget);
Position pos = GfrGetCentrePointFromListOfCoordinates.doJob(poss);
double dblZoom = GfrGetCaracteristicDimensionFromListOfCoordinates.doJob(poss);
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PNT.name()) == 0)
{
Position pos = GfrWrpBasSynObjNameTloEclPnt.getInstance().getGeometry(strIdTarget);
double dblZoom = GfrDouble.DBL_NDV;
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
if (strValueKindObject.compareTo(GfrEnuValuesKindObjectTloSpcPrjOgcEcl.VALUE_TLO_ECL_PLC.name()) == 0)
{
Position pos = GfrWrpBasSynObjNameTloEclPlc.getInstance().getGeometry(strIdTarget);
double dblZoom = GfrDouble.DBL_NDV;
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}
}
if (mim instanceof GfrMimTrsAlrIdNewWinZoomTloWwdEarthAlwaysNoPossSpn)
{
// TODO: optimize pos.elevation
List<Position> poss = GfrWrpBasSynObjNameTloEclSpn.getInstance().getGeometry(strIdTarget);
Position pos = GfrGetCentrePointFromListOfCoordinates.doJob(poss);
double dblZoom = GfrGetCaracteristicDimensionFromListOfCoordinates.doJob(poss);
_windowViewerInternalTopsWwdEarthHandler(pos, dblZoom);
return;
}