| 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.mapcss |
Drawing system based on MapCSS map styles.
|
| org.openstreetmap.josm.gui.mappaint.xml |
Drawing system based on XML map styles.
|
| Modifier and Type | Field and Description |
|---|---|
MultiCascade |
Environment.mc |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
StyleSource.apply(MultiCascade mc,
OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed)
Apply style to osm primitive.
|
| Constructor and Description |
|---|
Environment(OsmPrimitive osm,
MultiCascade mc,
String layer,
StyleSource source)
Creates a new environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MapCSSStyleSource.apply(MultiCascade mc,
OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed) |
| Modifier and Type | Method and Description |
|---|---|
void |
XmlStyleSource.apply(MultiCascade mc,
OsmPrimitive osm,
double scale,
boolean pretendWayIsClosed) |
private void |
XmlStyleSource.get(OsmPrimitive primitive,
boolean closed,
XmlStyleSource.WayPrototypesRecord p,
Double scale,
MultiCascade mc) |
private IconPrototype |
XmlStyleSource.getNode(OsmPrimitive primitive,
Double scale,
MultiCascade mc) |
private static boolean |
XmlStyleSource.requiresUpdate(Prototype current,
Prototype candidate,
Double scale,
MultiCascade mc)
checks whether a certain match is better than the current match
|
private <T extends Prototype> |
XmlStyleSource.update(T current,
T candidate,
Double scale,
MultiCascade mc) |