Tuesday, November 08, 2011

Improve OpenLayers performance in a Sproutcore app

When using OpenLayers embedded in a Sproutcore app you will want to set the following option on the OpenLayers.Map constructor:

fallThrough : false

to avoid double handling events (once in OpenLayers and once in Sproutcore).
Map dragging should improve and feel much smoother.

Although deprecated this wiki page explains very clearly Sproutcore event handling.

No comments: