Class Index | File Index

Classes


Class AjaxSolr.AbstractSpatialWidget


Extends AjaxSolr.AbstractWidget.
AbstractSpatialWidget
Defined in: AbstractSpatialWidget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Offers an interface to the local parameters used by the Spatial Solr plugin.
Fields borrowed from class AjaxSolr.AbstractWidget:
id, manager, target
Method Summary
Method Attributes Method Name and Description
 
Removes the Spatial Solr local parameters.
 
set(params)
Sets the Spatial Solr local parameters.
Methods borrowed from class AjaxSolr.AbstractWidget:
afterRequest, beforeRequest, init
Class Detail
AjaxSolr.AbstractSpatialWidget()
Offers an interface to the local parameters used by the Spatial Solr plugin.
See:
http://www.jteam.nl/news/spatialsolr
Method Detail
clear()
Removes the Spatial Solr local parameters.

set(params)
Sets the Spatial Solr local parameters.
Parameters:
{Object} params
The local parameters to set.
{Number} params.lat
Latitude of the center of the search area.
{Number} params.lng
Longitude of the center of the search area.
{Number} params.radius
Radius of the search area.
{String} params.unit Optional
Unit the distances should be calculated in: "km" or "miles".
{String} params.calc Optional
GeoDistanceCalculator that will be used to calculate the distances. "arc" for ArchGeoDistanceCalculator and "plane" for PlaneGeoDistanceCalculator.
{Number} params.threadCount Optional
Number of threads that will be used by the ThreadedDistanceFilter.

Documentation generated by JsDoc Toolkit 2.3.0 on Wed Sep 07 2011 22:31:36 GMT-0400 (EDT)