Wijmo UI for the Web
request Event
wijmo.maps.wijvirtuallayer Namespace > options type : request Event
The Raphael paper to draw the items.
The min zoom suits the current request slice.
The max zoom suits the current request slice.
The coordinates of the lower left point of the current request slice, in geographic unit.
The coordinates of the upper right point of the current request slice, in geographic unit.
The function to be called when request the data.
Syntax
$(function () {
    // Set request event handler function
    $(".selector").wijvirtuallayer({
        request : function (paper, minZoom, maxZoom, lowerLeft, upperRight) {
     
        }
    });
});
request = function ( 
   paper : RaphaelPaper,
   minZoom : number,
   maxZoom : number,
   lowerLeft : IPoint,
   upperRight : IPoint
) { };

Parameters

paper
The Raphael paper to draw the items.
minZoom
The min zoom suits the current request slice.
maxZoom
The max zoom suits the current request slice.
lowerLeft
The coordinates of the lower left point of the current request slice, in geographic unit.
upperRight
The coordinates of the upper right point of the current request slice, in geographic unit.
Remarks
<p>The virtual layer request the items to be drawn when the slice need be redrawn. If want to refresh the items, call refresh() method if necessary.</p> <p>The items will be arranged to the position based on it's location.</p>
See Also

Reference

options type
wijvirtuallayer jQuery Widget