diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 10bf2f1e04..eb4f72c023 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -264,6 +264,20 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { } }, + /** + * addTile gives subclasses of Grid the opportunity to create an + * OpenLayer.Tile of their choosing. The implementer should initialize + * the new tile and take whatever steps necessary to display it. + * + * @param {OpenLayers.Bounds} bounds + * + * @returns The added OpenLayers.Tile + * @type OpenLayers.Tile + */ + addTile:function(bounds,position) { + // Should be implemented by subclasses + }, + /** @final @type String */ CLASS_NAME: "OpenLayers.Grid" });