locationdataharvester/mylocationsengine/src/maptileinterface.cpp
changeset 31 8db05346071b
parent 30 96df3ab41000
child 35 59575560d1e6
equal deleted inserted replaced
30:96df3ab41000 31:8db05346071b
    30 
    30 
    31 //Invalid latitude & longitude value
    31 //Invalid latitude & longitude value
    32 const TReal KInvalidLatitudeLongitude =  200.0f;
    32 const TReal KInvalidLatitudeLongitude =  200.0f;
    33 const TInt KStreetLvelZoom = 16;
    33 const TInt KStreetLvelZoom = 16;
    34 const TInt KCityLevelZoom = 11;
    34 const TInt KCityLevelZoom = 11;
    35 const TInt KMapTileWidth= 330;
       
    36 const TInt KMapTileHeight= 128;
       
    37 const TInt KImagePathSize=36;
    35 const TInt KImagePathSize=36;
    38 const TInt KMapTileWidthHeight = 256 ;
    36 const TInt KMapTileWidthHeight = 256 ;
    39 _LIT(KFileExtn, ".png");
    37 _LIT(KFileExtn, ".png");
    40 
    38 
    41 // -----------------------------------------------------------------------------
    39 // -----------------------------------------------------------------------------
   153     if (iStreetAvailable)
   151     if (iStreetAvailable)
   154     {
   152     {
   155         zoom = KStreetLvelZoom;
   153         zoom = KStreetLvelZoom;
   156     }
   154     }
   157     iStreetAvailable = EFalse;
   155     iStreetAvailable = EFalse;
   158     TMapTileParam mapTileparam(aLatitude, aLongitude, zoom, KMapTileWidth, KMapTileHeight );
   156     TMapTileParam mapTileparam(aLatitude, aLongitude, zoom, MapTileWidth,MapTileHeight );
   159     iMaptileGeocoder->GetMapTileByGeoCodeL( mapTileparam, *iFilePath );
   157     iMaptileGeocoder->GetMapTileByGeoCodeL( mapTileparam, *iFilePath );
   160 }
   158 }
   161 
   159 
   162 // -----------------------------------------------------------------------------
   160 // -----------------------------------------------------------------------------
   163 // CMapTileInterface::MapComplete()
   161 // CMapTileInterface::MapComplete()