Why search all of geonames if you know the state(s) of interest?
1 | gn_search_state(text, states)
|
text |
Text to be searched for geonames; should be 'clean,' i.e., no eol characters, multi-spaces replaced with singles, etc. |
state |
Two-letter state abbreviation, e.g., VA for Virginia |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.