<div dir="ltr">Hi:<div><br></div><div>I am interesting in OpenLayers although we do not use OL in our project directly  because we have our own library( of course there is a big gap compared with OL).</div><div><br></div><div>

Why we do not change to OL is that it may cost too much time to do the re-build work.</div><div><br></div><div>And now the main problem of our library is the performance with more than one layers added.</div><div><br></div>

<div>For example, I have tried to add 10 layers to an openlayers map, and when I drag,move,or drog-drop the map, I would not feel any delay while I would fell it is hardly to drag or move the map with the same operation in our library.</div>

<div><br></div><div>So I think it may caused by the Tile render mechanisms, and I have tried to dig in to the source code of OL to find something I have missed.</div><div><br></div><div>And I found this in the Grid.js:</div>

<div>initGriddedTiles: function (bounds) {</div><div>   //////// </div><div><div><div><span class="" style="white-space:pre">               </span>for (var i = 0, ii = tileData.length; i < ii; ++i) {</div><div><span class="" style="white-space:pre">                    </span>tileData[i].tile.draw();</div>

<div><span class="" style="white-space:pre">            </span>}</div></div></div><div><br></div><div>}<br></div><div><br></div><div>moveGriddedTiles:function(){</div><div>  // </div><div>}<br></div><div><div><br></div></div><div>
And it seems that when the layer is added to the map, the `initGriddedTiles` will be called, and the tile will be render immediately since the `....tile.draw()`.</div>
<div><br></div><div>And when the `moveTo()` of map is called, the `moveGriddedTiles` will be called accordingly.</div><div><br></div><div><br></div><div>Then I have two question:</div><div><br></div><div>1 So Why the `moveGriddedTiles` method does not render the tile?</div>

<div><br></div><div>And When the map is initialized I found a TileManager instance is created which will register some event listeners to the map.<br></div><div><br></div><div>It seem that The TileManager will be responsible for tile rendering.</div>

<div><br></div><div>2 So which is the real charger of the tile rendering, the `Layer` or the `TileManager`?</div><div><br></div><div>And I will be appreciate if someone can tell me more about the tile rendering in OL.</div>

<div><br></div><div>Thanks.</div></div>