+void MapWidget::drawHelipad(FGHelipad* hp)
+{
+ SGVec2d pos = project(hp->geod());
+ glLineWidth(1.0);
+ glColor3f(1.0, 1.0, 1.0);
+ circleAt(pos, 16, 5.0);
+
+ if (validDataForKey(hp)) {
+ setAnchorForKey(hp, pos);
+ return;
+ }
+
+ char buffer[1024];
+ ::snprintf(buffer, 1024, "%s\n%03d\n%.0f'",
+ hp->ident().c_str(),
+ displayHeading(hp->headingDeg()),
+ hp->lengthFt());
+
+ MapData* d = createDataForKey(hp);
+ d->setText(buffer);
+ d->setLabel(hp->ident());
+ d->setPriority(40);
+ d->setOffset(MapData::HALIGN_CENTER | MapData::VALIGN_BOTTOM, 8);
+ d->setAnchor(pos);
+}
+