47 | | bool GenerateTile(MgResourceIdentifier* mapDefinition,CREFSTRING baseMapLayerGroupName,INT32 tileColumn,INT32 tileRow,INT32 scaleIndex); |
| 47 | ///////////////////////////////////////////////////////////////// |
| 48 | /// \brief |
| 49 | /// Generate the specified base map tile for the given map. If a cached tile |
| 50 | /// image exists return true, if not exists, the tile will be |
| 51 | /// rendered and added to the cache, then return true. |
| 52 | /// Any exception or error will return false. |
| 53 | /// |
| 54 | /// \param mapDefinition |
| 55 | /// Input |
| 56 | /// Resource identifier for the map definition |
| 57 | /// \param baseMapLayerGroupName |
| 58 | /// Input |
| 59 | /// Specifies the name of the baseMapLayerGroup for which to render the tile. |
| 60 | /// \param tileColumn |
| 61 | /// Input |
| 62 | /// Specifies the column index of the tile to return. |
| 63 | /// \param tileRow |
| 64 | /// Input |
| 65 | /// Specifies the row index of the tile to return. |
| 66 | /// \param scaleIndex |
| 67 | /// Input |
| 68 | /// Scale index to render. Most detailed scale is index 0. |
| 69 | /// |
| 70 | /// \return |
| 71 | /// A bool value to indicate the tile generation is successful or not. |
| 72 | /// |
| 73 | virtual bool GetTile( |
| 74 | MgResourceIdentifier* mapDefinition, |
| 75 | CREFSTRING baseMapLayerGroupName, |
| 76 | INT32 tileColumn, |
| 77 | INT32 tileRow, |
| 78 | INT32 scaleIndex) = 0; |