<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Courier;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi friends!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am trying to pre-generate tiles, of the base map group
layers,at various zoom levels and pre-populate the TileCache , so as to improve
the performance.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I guess I have to use the function:<o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
 <tr>
  <td nowrap valign=top style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal align=right style='text-align:right'><font size=3
  face="Times New Roman"><span style='font-size:12.0pt'>virtual <a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/d8/d50/class_mg_byte_reader.html">MgByteReader</a>
  *&nbsp;<o:p></o:p></span></font></p>
  </td>
  <td valign=bottom style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/df/dba/class_mg_tile_service_a0fab3452d48d4a4abeedb8dc2c18611.html#a0fab3452d48d4a4abeedb8dc2c18611">GetTile</a>
  (<a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/da/df8/class_mg_map.html">MgMap</a>
  *map, <a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_2697935ae7be4121104b37ff513b810b.html#2697935ae7be4121104b37ff513b810b">CREFSTRING</a>
  baseMapLayerGroupName, <a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_0cb58e7e6f0bad369840a52e54a56ae0.html#0cb58e7e6f0bad369840a52e54a56ae0">INT32</a>
  tileColumn, <a
  href="https://mapguide.osgeo.org/nonav/docs/webapi/da/d10/_common_defs_8h_0cb58e7e6f0bad369840a52e54a56ae0.html#0cb58e7e6f0bad369840a52e54a56ae0">INT32</a>
  tileRow)=0<o:p></o:p></span></font></p>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
  </td>
 </tr>
</table>

<pre style='line-height:135%;background:#EEEEEE'><font size=2 face=Arial><span
style='font-size:10.0pt;line-height:135%;font-family:Arial'>I read from a previous post that <font
color=black><span style='color:black'>Tile column and row are related to map coordinates in the function<o:p></o:p></span></font></span></font></pre>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>called
MgServerRenderingService::RenderTile. However, I don&#8217;t get how the tile
column and row are associated with the map coordinates. Does anyone have any
idea about this? Please help!!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Thanks in advance,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Farah</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>