- Timestamp:
- 2025-04-03T16:55:47+02:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddTMSLayerPanel.java
r13591 r19382 49 49 )) + "</html>"), GBC.eol().fill()); 50 50 51 add(rawUrl, GBC.eo p().fill());51 add(rawUrl, GBC.eol().fill(GBC.HORIZONTAL)); 52 52 rawUrl.setLineWrap(true); 53 53 rawUrl.addKeyListener(keyAdapter); … … 55 55 add(new JLabel(tr("{0} Enter maximum zoom (optional)", "3.")), GBC.eol()); 56 56 tmsZoom.addKeyListener(keyAdapter); 57 add(tmsZoom, GBC.eo p().fill());57 add(tmsZoom, GBC.eol().fill(GBC.HORIZONTAL)); 58 58 59 59 add(new JLabel(tr("{0} Edit generated {1} URL (optional)", "4.", "TMS")), GBC.eol()); 60 add(tmsUrl, GBC.eo p().fill());60 add(tmsUrl, GBC.eol().fill(GBC.HORIZONTAL)); 61 61 tmsUrl.setLineWrap(true); 62 62 63 addCommonSettings(); 64 63 65 add(new JLabel(tr("{0} Enter name for this layer", "5.")), GBC.eol()); 64 add(name, GBC.eop().fill()); 66 add(name, GBC.eop().fill(GBC.HORIZONTAL)); 65 67 66 68 registerValidableComponent(tmsUrl); … … 81 83 ImageryInfo ret = new ImageryInfo(getImageryName(), getTmsUrl()); 82 84 ret.setImageryType(ImageryType.TMS); 85 ret.setCustomHttpHeaders(getCommonHeaders()); 86 ret.setGeoreferenceValid(getCommonIsValidGeoreference()); 83 87 return ret; 84 88
Note:
See TracChangeset
for help on using the changeset viewer.