[OpenLayers-Users] Drag performance tweaker...

Chris Adams chris at genieknows.com
Tue Dec 16 13:14:35 EST 2008


Should I forward this to the Dev list instead?

Thanks,

- Chris

Chris Adams wrote:
> In Handler/Drag.js
>
> line 70-78:
>
>     /**
>      * Property: interval
>      * {Integer} In order to increase performance, an interval (in
>      *     milliseconds) can be set to reduce the number of drag events
>      *     called. If set, a new drag event will not be set until the
>      *     interval has passed.
>      *     Defaults to 0, meaning no interval.
>      */
>     interval: 0,
>
> line 212-214:
>
>             if (this.interval > 0) {
>                 this.timeoutId = 
> setTimeout(OpenLayers.Function.bind(this.removeTimeout, this), 
> this.interval);
>             }
>
> Is this feature fully implemented? It does not appear that way to me, 
> but I thought I would check.
>
> Thanks,
>
> - Chris
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>   




More information about the Users mailing list