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. |
org.openstreetmap.josm.gui.mappaint.styleelement |
Modifier and Type | Method and Description |
---|---|
StyleElementList |
ElemStyles.get(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles for one primitive.
|
Modifier and Type | Method and Description |
---|---|
Pair<StyleElementList,Range> |
ElemStyles.generateStyles(OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Create the list of styles and its valid scale range for one primitive.
|
private Pair<StyleElementList,Range> |
ElemStyles.getImpl(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
ElemStyles.getStyleCacheWithRange(OsmPrimitive osm,
double scale,
NavigatableComponent nc)
Create the list of styles and its valid scale range for one primitive.
|
Pair<StyleElementList,Range> |
StyleCache.getWithRange(double scale,
boolean selected) |
Modifier and Type | Method and Description |
---|---|
StyleCache |
StyleCache.put(StyleElementList o,
Range r,
boolean selected)
Creates a new copy of this style cache with a new entry added.
|
Constructor and Description |
---|
StyleElementList(StyleElementList sl,
StyleElement s) |
Modifier and Type | Field and Description |
---|---|
static StyleElementList |
NodeElement.DEFAULT_NODE_STYLELIST |
static StyleElementList |
NodeElement.DEFAULT_NODE_STYLELIST_TEXT |