Class Caption


  • public class Caption
    extends RenderInstruction
    Represents a text label on the map.

    If a bitmap symbol is present the caption position is calculated relative to the bitmap, the center of which is at the point of the POI. The bitmap itself is never rendered.

    • Constructor Detail

      • Caption

        public Caption​(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
                       DisplayModel displayModel,
                       java.lang.String elementName,
                       org.xmlpull.v1.XmlPullParser pullParser,
                       java.util.Map<java.lang.String,​Symbol> symbols)
                throws org.xmlpull.v1.XmlPullParserException
        Throws:
        org.xmlpull.v1.XmlPullParserException