Creates a copy of the collection.
Namespace: MindFusion.Mapping
Package: IEnumerable.js
JavaScript Copy Code |
---|
function clone () |
IEnumerable. A copy of this collection.
The following code creates new Marker-s and add them to the decorations collection of a DecorationLayer called markers. Then it copies the collection.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); // create some markers with images mark = new m.Marker(); |