$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijitemslayer("option", "type"); // Set value var newValue; // Type: string $(".selector").wijitemslayer("option", "type", newValue); });
var type : string;
The type of the wijlayer. Wijmaps supports built-in vector, items and virtual layer. For custom layer, the type is "custom".
$(function () { // Get value var returnsValue; // Type: string returnsValue = $(".selector").wijitemslayer("option", "type"); // Set value var newValue; // Type: string $(".selector").wijitemslayer("option", "type", newValue); });
var type : string;