Delete the item at the specified index.
Namespace: MindFusion.Mapping
Package: ObservableCollection.js
JavaScript Copy Code |
---|
function removeAt (itemIndex) |
Number. The index to remove at.
The following code checks if the count of items in a decorations list is more than 10 and if yes - removes the item at the 6th place in the collection. The decorations property is of type ObservableCollection.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); // create some markers with images ..................... |