Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
Modifier and Type | Class and Description |
---|---|
static class |
LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy |
static class |
LabelCompositionStrategy.StaticLabelCompositionStrategy |
static class |
LabelCompositionStrategy.TagLookupCompositionStrategy |
Modifier and Type | Field and Description |
---|---|
static LabelCompositionStrategy |
TextElement.AUTO_LABEL_COMPOSITION_STRATEGY |
LabelCompositionStrategy |
TextElement.labelCompositionStrategy
the strategy for building the actual label value for a given a
OsmPrimitive . |
Modifier and Type | Method and Description |
---|---|
protected static LabelCompositionStrategy |
TextElement.buildLabelCompositionStrategy(Cascade c,
boolean defaultAnnotate)
Derives a suitable label composition strategy from the style properties in
c . |
Constructor and Description |
---|
TextElement(LabelCompositionStrategy strategy,
java.awt.Font font,
int xOffset,
int yOffset,
java.awt.Color color,
java.lang.Float haloRadius,
java.awt.Color haloColor)
Creates a new text element
|