Ticket #2012 (new feature)

Opened 5 years ago

Last modified 5 years ago

Dragging optimization for vector layers

Reported by: crrattner Owned by:
Priority: minor Milestone: 2.13 Release
Component: general Version: 2.7
Keywords: Cc:
State:

Description

If vector layers are dragged the DIV's of vectors are not updated. Therefore areas of the vectors outside viewport tha are just comming into view are truncated. With a simple modification this can be omitted (see attached file).

Attachments

Vector.js Download (26.7 KB) - added by crrattner 5 years ago.
draggingopt.patch Download (2.0 KB) - added by crrattner 5 years ago.

Change History

Changed 5 years ago by crrattner

Changed 5 years ago by crschmidt

Please attach this as a diff:

 http://trac.openlayers.org/wiki/CreatingPatches

Also, if you have not, please fill out a CLA.

 http://trac.openlayers.org/wiki/HowToContribute#ContributorsLicenseAgreements

I believe that this clipping is intentional for performance reasons, but without seeing a diff, I can't tell what you've changed.

Changed 5 years ago by crrattner

Here is the patch

Changed 5 years ago by crrattner

Note: See TracTickets for help on using tickets.