phonebookui/Phonebook2/MapExtension/src/cpmapcmd.cpp
branchRCL_3
changeset 18 d4f567ce2e7c
parent 17 2666d9724c76
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
   907 		{
   907 		{
   908 		landmarks.AppendL( landmark );
   908 		landmarks.AppendL( landmark );
   909 		iMapView->AddLandmarksToShowL( landmarks );
   909 		iMapView->AddLandmarksToShowL( landmarks );
   910 		iNoAddress = EFalse;
   910 		iNoAddress = EFalse;
   911 		}
   911 		}
   912     else
   912     
   913         {
       
   914         landmark->SetPositionFieldL(EPositionFieldCity,KNullDesC16);
       
   915         TLocality tempLoc;
       
   916         tempLoc.SetCoordinate(-0.0,-0.0);
       
   917         landmark->SetPositionL(tempLoc);
       
   918         
       
   919         landmarks.AppendL( landmark );
       
   920         iMapView->AddLandmarksToShowL( landmarks );
       
   921         }
       
   922 
   913 
   923 	iMapView->SelectFromMapL( iStatus );
   914 	iMapView->SelectFromMapL( iStatus );
   924 	iCurrentMapLaunchedByState = EMapAssignFromMaps;
   915 	iCurrentMapLaunchedByState = EMapAssignFromMaps;
   925 	SetActive();
   916 	SetActive();
   926 	CleanupStack::PopAndDestroy( landmark );
   917 	CleanupStack::PopAndDestroy( landmark );