public CMoveablePointForGPSPoint(CMapDatabase database, CGPSPoint pt) : base(database, new SLatLong(pt.Latitude, pt.Longitude)) { m_gpsPoint = pt; foreach (IMapItem item in pt.FindMapItems(database)) { m_mapItem = item; } }
//------------------------------------------------------------------- public override CResultAErreur VerifieDonnees(CObjetDonnee objet) { CResultAErreur result = CResultAErreur.True; try { CGPSPoint point = (CGPSPoint)objet; if (point.Libelle == "") { result.EmpileErreur(I.T("GPS point Label cannot be empty|20005")); } } catch (Exception e) { result.EmpileErreur(new CErreurException(e)); } return(result); }