- Timestamp:
- 2018-10-28T16:16:53+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/LoadAndZoomHandler.java
r14221 r14377 57 57 */ 58 58 public static final String command2 = "zoom"; 59 private static final String CURRENT_SELECTION = "currentselection"; 59 60 60 61 // Mandatory arguments … … 112 113 "/zoom?left=8.19&right=8.20&top=48.605&bottom=48.590&select=node413602999", 113 114 "/zoom?left=8.19&right=8.20&top=48.605&bottom=48.590&search=highway+OR+railway", 115 "/zoom?left=8.19&right=8.20&top=48.605&bottom=48.590&search=" + CURRENT_SELECTION + "&addtags=foo=bar", 114 116 }; 115 117 } … … 316 318 for (String item : args.get("select").split(",")) { 317 319 if (!item.isEmpty()) { 318 if ( "currentselection".equals(item.toLowerCase(Locale.ENGLISH))) {320 if (CURRENT_SELECTION.equals(item.toLowerCase(Locale.ENGLISH))) { 319 321 isKeepingCurrentSelection = true; 320 322 continue;
Note:
See TracChangeset
for help on using the changeset viewer.