[OpenLayers-Dev] OpenLayers performance
Pierre GIRAUD
bluecarto at gmail.com
Wed Apr 9 15:47:01 EDT 2008
Don't hesitate to do this using the OpenLayers sandbox mecanism.
On Wed, Apr 9, 2008 at 9:30 PM, <tomas.novotny at tmapy.cz> wrote:
> Hi Tim,
>
> I've made something similar today. I've modified panMap() and panMapDone()
> methods in Control/DragPan.js for only moving layerContainer by CSS until
> the end of drag. Result is what I needed - smooth panning. I will look
> further in the code tomorrow to see what it means for rest of OL and will
> play with it more. (One of the problem is not-loading tiles of Grid layer
> before drag end - but it can still be technically achieved without massive
> center calculations on every move).
> At the same time I'm curious about your solution Tim. Can you send me or
> give me URL to your pieces of code? I can send you mine if you want, maybe
> I will put it to some public web.
>
> Tomas
>
>
> > Hey-
> >
> > I've got a half baked patch that gives the map a drag method. This
> > bypasses all center calculations until the drag ends (and only adjusts
> > the position of the layer containers). Works well except with
> > commercial layers. Given some more time, I'll fix it up.
> >
> > Tim
>
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list