Changeset 12444 in osm for applications/editors/josm
- Timestamp:
- 2008-12-20T22:53:32+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/Map_Rectifier_WMSmenuAction.java
r12187 r12444 22 22 23 23 public void actionPerformed(ActionEvent e) { 24 String newid = JOptionPane.showInputDialog(Main.parent, tr("Metacarta Map Rectifier image id")); 24 String newid = JOptionPane.showInputDialog(Main.parent, tr("Metacarta Map Rectifier image id"), 25 Main.pref.get("wmsplugin.rectifier_id")); 25 26 26 27 if (newid != null && !newid.equals("")) { … … 28 29 "&srs=EPSG:4326&Service=WMS&Version=1.1.0&Request=GetMap&format=image/png"; 29 30 31 Main.pref.put("wmsplugin.rectifier_id", newid); 30 32 WMSLayer wmsLayer = new WMSLayer(tr("rectifier id={0}",newid), newURL); 31 33 Main.main.addLayer(wmsLayer);
Note:
See TracChangeset
for help on using the changeset viewer.