Addressing @bartvde's review comments

This commit is contained in:
ahocevar
2013-01-07 14:26:41 +01:00
parent efd2de870a
commit 80f13188a3
4 changed files with 24 additions and 10 deletions

View File

@@ -193,10 +193,13 @@ OpenLayers.Tile = OpenLayers.Class({
* is to call <clear> and return the result from <shouldDraw>.
*
* Parameters:
* force - {Boolean} No beforedraw event will be fired.
* force - {Boolean} If true, the tile will not be cleared and no beforedraw
* event will be fired. This is used for drawing tiles asynchronously
* after drawing has been cancelled by returning false from a beforedraw
* listener.
*
* Returns:
* {Boolean} Whether or not the tile should actually be drawn. Retruns null
* {Boolean} Whether or not the tile should actually be drawn. Returns null
* if a beforedraw listener returned false.
*/
draw: function(force) {