#** * Query logic for selecting location / Geospatial search *# #set($queryOpts = $params.get("queryOpts")) #if($queryOpts == "spatial")
#set($loc = $request.params.get('pt')) ## Normalize first trip through to "none" because ## an empty string generates an error message later on #if( ! $loc ) #set( $loc = "none" ) #end #set($dist = $request.params.get('d', "10")) ## Cities for The Select List #set( $cities = { "none": "No Filter", "45.17614,-93.87341": "Buffalo, MN", "37.7752,-100.0232": "Dodge City, KS", "35.0752,-97.032": "Oklahoma City, OK", "37.7752,-122.4232": "San Francisco CA" }) Distance (KM):
#end