Package org.openstreetmap.josm.gui.mappaint
package 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:
Two implementations are provided:
- XML: this was the system used by default JOSM map style for a long time. Kept for compatibility but not maintained anymore
- MapCSS: new default system, more powerful than XML, and easier to use to write map styles. Only system maintained
-
ClassDescriptionGUI elements for a
StyleSetting.BooleanStyleSettingclass.Simple map of properties with dynamic typing.A GUI to set a color styleDividedScale<T>Splits the range of possible scale values (0 < scale < +Infinity) into multiple subranges, for each scale range it keeps a data object of a certain type T (can be null).This exception type is for debugging #8997 and can later be replaced by AssertionErrorGenerates a list ofStyleElements for a primitive, to be drawn on the map.Environment is a data object to provide access to various "global" parameters.A MapCSS keyword.The View → Map Paint Styles menuThis class manages the list of available map paint styles and gives access to the ElemStyles singleton.IconReference is used to remember the associated style source for each icon URL.MapPaintStylesUpdateListener & related code (get informed when the list of MapPaint StyleSources changes)Value holder for a reference to a tag name.Several layers / cascades, e.g.GUI elements for aStyleSetting.PropertyStyleSettingclass.A scale interval of the form "lower < x <= upper" where 0 <= lower < upper.Command line interface for rendering osm data to an image file.Data class to hold return values forRenderingCLI.determineRenderingArea(DataSet).Class to render osm data to a file.Data class to save style settings along with the corresponding style URL.Caches styles for a single primitive.List ofStyleElements, immutable.Interface defining string constants (MapCSS property keys).Setting to customize a MapPaint style.A style setting for boolean value (yes / no).A style setting for color values.Superclass of style settings and groups.A setting for a styleA style setting group.Factory to create matchingStyleSettinginstances.GUI elements for aStyleSetting.StyleSettingGroupclass.GUI elements for aStyleSettingclass.A mappaint style (abstract class).