// Create 50 random features, and give them a "type" attribute that // will be used for the label text. var features = new Array(50); for (var i=0; i