I am able to get latitude and longitude values using this
void CLBSSampleAppView1::GetGPSInfoL()
{
// create CGpsPositionRequest object and put it into cleanup stack;
// pass application name as argument
CGpsPositionRequest* request = CGpsPositionRequest::NewL(
_L("LBS_0xEA962394"));
CleanupStack::PushL( request );
// get current location (this operation can be long up to 30 seconds);
// progress dialog is shown to user during this time
TBool result = request->FetchCurrentPostionL(latitude, longitude);
// delete request object
CleanupStack::PopAndDestroy(request);
if(result)
{
// Setup a file in the filesystem to download the map
SetupFileDownload();
// send HtTp request to download map
SendHTTPRequestL();
}
}
How to display it on the appview using normal draw method.....
Thanks,
Stylofogg

Reply With Quote

