Changeset 7477 in osm
- Timestamp:
- 2008-04-21T14:11:37+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/namefinder/namefinder/PlaceSelection.java
r4821 r7477 165 165 component.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); 166 166 component.repaint(); 167 URL url = new URL("http:// www.frankieandshadow.com/osm/search.xml?find="+java.net.URLEncoder.encode(searchTerm.getText(), "UTF-8"));167 URL url = new URL("http://gazetteer.openstreetmap.org/namefinder/?find="+java.net.URLEncoder.encode(searchTerm.getText(), "UTF-8")); 168 168 HttpURLConnection activeConnection = (HttpURLConnection)url.openConnection(); 169 169 System.out.println("got return: "+activeConnection.getResponseCode());
Note:
See TracChangeset
for help on using the changeset viewer.