IlvFeatureRenderer* renderer = featureIterator->getDefaultFeatureRenderer(display); for (const IlvMapFeature* feature = featureIterator->getNextFeature(status); feature; feature = featureIterator->getNextFeature(status)) { if (status != IlvMaps::NoError()) { IlvPrint(IlvMaps::GetErrorMessage(status, display)); return; } IlvGraphic* graphic = renderer->makeGraphic(feature, mapinfo, status); if(graphic) manager->addObject(graphic, IlvFalse, layerIndex); else if(status != IlvMaps::NoError()) IlvPrint(IlvMaps::GetErrorMessage(status, display)); } |