$(function () { var options; // Type: wijmo.maps.wijvirtuallayer.options $(".selector").wijvirtuallayer(options); });
function wijvirtuallayer() : any;
Display elements over the map supporting virtualization and asynchronous data
loading.
$(function () { var options; // Type: wijmo.maps.wijvirtuallayer.options $(".selector").wijvirtuallayer(options); });
function wijvirtuallayer() : any;
Name | Description | |
---|---|---|
center | The current center of the layer, in geographic unit. |
|
converter | The converter used to convert the coordinates in geograhic unit (longitude and latitude), logic unit(percentage) and screen unit (pixel). |
|
disabled | Indicates whether the layer is disabled or not. | |
isZooming | Specifies whether the map is on zooming. | |
slices | Default value: [] Specifies how the map is partitioned for virtualization. |
|
targetCenter | The target center of the layer, in geographic unit. |
|
targetZoom | The target zoom of the layer. | |
type | The type of the wijlayer. Wijmaps supports built-in vector, items and virtual layer. For custom layer, the type is "custom". | |
zoom | The current zoom of the layer. |
Name | Description | |
---|---|---|
beginUpdate | Called when the wijmaps begins to update the layer status. | |
destroy | Removes the wijvirtuallayer functionality completely. This will return the element back to its pre-init state. | |
endUpdate | Called when the wijmaps ends update the layer status. The layer will be updated after this function called. | |
refresh | Force to request the data to get the newest one. | |
update | Update the layer, redraw the layer if needed. It's called when the center and zoom changed. | |
widget | Returns a jQuery object containing the original element or other relevant generated element. |