Finally, iterate over the features, render them with
an appropriate IlvFeatureRenderer
, and
assign them to a manager:
IlvMapFeature feature = VMAPReader.getNextFeature();
IlvManager manager = view.getManager();
// Create default renderer
IlvFeatureRenderer renderer = new IlvDefaultFeatureRenderer();
while(feature != null) {
// Render map feature into graphic object
IlvGraphic graphic = renderer.makeGraphic(feature,null);
// Add this object on the first layer of the manager
manager.addObject(graphic, 0, false);
feature = VMAPReader.getNextFeature();
}