update Image and Tile/XYZ layers while panning in OpenLayers 3

المشرف العام

Administrator
طاقم الإدارة
I want my map to load/update dynamically as the user pans with mouse/finger drag. Currently, as I drag and expose new areas of the map, those areas generally stay blank/undrawn until I release the mouse button. In OpenLayers2 I didn't have this problem; the layers loaded/updated their contents as I dragged.

I see this post:

OpenLayers 3: Vector Layers not Drawing during animated panning or mouse-drag events

and it appears there is now an updateWhileAnimating flag for Vector layers. I want such a flag for Image and Tile/XYZ layers. Is there a reason that flag/functionality can only exist for Vector layers?



أكثر...
 
أعلى