Strategy for vector feature paging
| OpenLayers. | Strategy for vector feature paging |
| Properties | |
| features | {Array(OpenLayers.Feature.Vector)} Cached features. |
| length | {Integer} Number of features per page. |
| num | {Integer} The currently displayed page number. |
| paging | {Boolean} The strategy is currently changing pages. |
| Constructor | |
| OpenLayers. | Create a new paging strategy. |
| Functions | |
| activate | Activate the strategy. |
| deactivate | Deactivate the strategy. |
| cacheFeatures | Cache features before they are added to the layer. |
| clearCache | Clear out the cached features. |
| pageCount | Get the total count of pages given the current cache of features. |
| pageNum | Get the zero based page number. |
| pageLength | Gets or sets page length. |
| pageNext | Display the next page of features. |
| pagePrevious | Display the previous page of features. |
| page | Display the page starting at the given index from the cache. |
{Array(OpenLayers.Feature.Vector)} Cached features.
Activate the strategy.
activate: function()
Deactivate the strategy.
deactivate: function()
Cache features before they are added to the layer.
cacheFeatures: function( event )
Clear out the cached features.
clearCache: function()
Get the total count of pages given the current cache of features.
pageCount: function()
Get the zero based page number.
pageNum: function()
Gets or sets page length.
pageLength: function( newLength )
Display the next page of features.
pageNext: function( event )
Display the previous page of features.
pagePrevious: function()
Display the page starting at the given index from the cache.
page: function( start, event )