Changeset 361 for trunk


Ignore:
Timestamp:
Nov 7, 2006, 1:27:08 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

fclass=T gives us search access to some other interesting features such as

  • Dartmoor
  • Scilly Isles
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/tiles/mapTiles.js

    r313 r361  
    513513  var where = $('where').value;
    514514  if (where.length > 0) {
    515      request = 'http://ws.geonames.org/searchJSON?name=' +  encodeURIComponent(where)  + '&callback=getLocation&country=GB&fclass=P&style=SHORT';
     515     request = 'http://ws.geonames.org/searchJSON?name=' +  encodeURIComponent(where)  + '&callback=getLocation&country=GB&fclass=P&fclass=T&style=SHORT';
    516516    aObj = new JSONscriptRequest(request);
    517517    // Build the script tag
Note: See TracChangeset for help on using the changeset viewer.