[ka-Map-users] Looking for a very simple panning code (js)

Christopher Schmidt crschmidt at crschmidt.net
Fri Sep 21 12:35:53 EDT 2007


On Fri, Sep 21, 2007 at 12:21:18PM -0400, Paul Spencer wrote:
> 
> On 21-Sep-07, at 11:52 AM, Christopher Schmidt wrote:
> 
> >On Fri, Sep 21, 2007 at 05:44:53PM +0200, Andreas Delleske wrote:
> >>- the old image should remain at the "new" location (until a new page
> >>is rendered)
> >>
> >Sounds kind of like you want a small build profile of OpenLayers. You
> >might look into going that route. It's designed to allow you to  
> >build an
> >app which does exactly that, and talks to any WMS server you want.
> 
> except for the part about leaving the image at the new location,  
> which is something that bugs me in singleTile mode and I am hoping to  
> fix it "Real Soon Now (tm)".

OpenLayers.Tile.Image.prototype.clear = function() { 
this.drawn = false;
}

gets you partway there, but not all the way.

Regards,
-- 
Christopher Schmidt
Web Developer


More information about the ka-Map-users mailing list