locationdataharvester/mylocationsengine/src/maptileinterface.cpp
changeset 30 96df3ab41000
parent 26 f3533f6eae3f
child 31 8db05346071b
equal deleted inserted replaced
26:f3533f6eae3f 30:96df3ab41000
    27 #include "mylocationsdefines.h"
    27 #include "mylocationsdefines.h"
    28 #include "lookupmaptiledb.h"
    28 #include "lookupmaptiledb.h"
    29 #include <math.h>
    29 #include <math.h>
    30 
    30 
    31 //Invalid latitude & longitude value
    31 //Invalid latitude & longitude value
    32 const TReal KInvalidLatitudeLongitude = 200.00;
    32 const TReal KInvalidLatitudeLongitude =  200.0f;
    33 const TInt KStreetLvelZoom = 15;
    33 const TInt KStreetLvelZoom = 16;
    34 const TInt KCityLevelZoom = 11;
    34 const TInt KCityLevelZoom = 11;
    35 const TInt KMapTileWidth= 330;
    35 const TInt KMapTileWidth= 330;
    36 const TInt KMapTileHeight= 128;
    36 const TInt KMapTileHeight= 128;
    37 const TInt KImagePathSize=36;
    37 const TInt KImagePathSize=36;
    38 const TInt KMapTileWidthHeight = 256 ;
    38 const TInt KMapTileWidthHeight = 256 ;
   140     }
   140     }
   141     iMaptileGeocoder->GetCoordinateByAddressL(*aLandmark, ESilent);
   141     iMaptileGeocoder->GetCoordinateByAddressL(*aLandmark, ESilent);
   142 }
   142 }
   143 
   143 
   144 // -----------------------------------------------------------------------------
   144 // -----------------------------------------------------------------------------
   145 // CMapTileInterface::GetMapTileImageL()
   145 // CMapTileInterface::GetMapTileL()
   146 // Function for Retrieving latitude & longitude information
   146 // Function for Retrieving latitude & longitude information
   147 // -----------------------------------------------------------------------------
   147 // -----------------------------------------------------------------------------
   148 //
   148 //
   149 void CMapTileInterface::GetMapTileL( const TReal& aLatitude, const TReal& aLongitude)
   149 void CMapTileInterface::GetMapTileL( const TReal& aLatitude, const TReal& aLongitude)
   150 {
   150 {