[OpenLayers-Dev] OpenLayers.Tile, abstract enough?

Paul Spencer pspencer at dmsolutions.ca
Wed Jul 30 09:46:38 EDT 2008


I just took a quick look at this, I can't remember why Erik and I  
decided to put it in the Tile base class to begin with but t should be  
possible to move the back buffer code into the Tile.Image class.  I'll  
do this if everyone agrees.

Paul

On 30-Jul-08, at 1:27 AM, Eric Lemoine wrote:

> Hello
>
> For the grid strategy I needed a specialized tile class. What
> logically came to mind was create a child class of OpenLayers.Tile,
> namely OpenLayers.Tile.Vector. Looking at OpenLayers.Tile I discovered
> that OpenLayers.Tile includes back-buffer code that my class wouldn't
> need. For that reason, I implemented my vector tile class without
> inheriting from OpenLayers.Tile, which isn't good as my tile class
> does respect the tile interface. Shouldn't OpenLayers.Tile be as
> abstract as possible? Shoulnd't the backbuffer code be moved to some
> other place? What do you think?
>
> Thanks,
> --
> Eric
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://www.dmsolutions.ca/




More information about the Dev mailing list