Modify ↓
#21990 closed task (invalid)
Which framework JOSM uses for importing and rendering .osm files?
Reported by: | AFa1a | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | unspecified | Version: | |
Keywords: | Cc: |
Description
I'm making my own application and I want to add offline import and rendering of .osm files. I'm interested in which framework JOSM uses for importing and rendering .osm files? Thanks
Attachments (0)
Change History (2)
comment:1 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 3 years ago
Component: | Core → unspecified |
---|---|
Type: | defect → task |
Note:
See TracTickets
for help on using tickets.
Java Swing is used for the actual rendering. Everything else is in the JOSM codebase. For example, we use mapcss to determine how to render the data, we have an xml parser for OSM data, etc.
See source:/trunk/src/org/openstreetmap/josm/gui/mappaint for the MapCSS implementation, see source:trunk/src/org/openstreetmap/josm/io/OsmReader.java for the XML parser.