All Downloads are FREE. Search and download functionalities are using the official Maven repository.

solr.Items.conf.velocity.query_spatial.vm Maven / Gradle / Ivy

Go to download

The project contains a set of convenience methods on top of common data repositories.

The newest version!
#**
 *  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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy