* @param font a string describing the font to be used.
* @param color the color to be used as an hexadecimal coded string.
*/
public void addLabel(String text, double lat, double lon, String font, String color)
{
GlobeAnnotation ga = new GlobeAnnotation(text, Position.fromDegrees(lat, lon, 0),
Font.decode(font), Color.decode(color));
ga.getAttributes().setBackgroundColor(Color.BLACK);
ga.getAttributes().setDrawOffset(new Point(0, 0));
ga.getAttributes().setFrameShape(AVKey.SHAPE_NONE);
ga.getAttributes().setEffect(AVKey.TEXT_EFFECT_OUTLINE);
ga.getAttributes().setTextAlign(AVKey.CENTER);
this.labelsLayer.addRenderable(ga);
}