Class MMSearch

Object
   |
   +--MMSearch

class MMSearch

Defined in MultimapAPI


Field Summary
 MMAddress address
          Specifies an address to search from.
 MMBounds bounding_box
          Specifies a bounding box that limits the area in which a search can take place.
 String compound_order
          Comma separated list specifying the order in which individual operators should be applied when using the "com" (compound) search operator within an MMSearchFilter.
 integer compound_threshold
          Specifies the number of records the compound search operator should try to retrieve.
 integer count
          Specifies the number of records to return.
 String data_source
          The data source to be queried when the search executes.
 String distance_units
          Specifies the units to use in conjunction with max_distance and min_distance.
 Object endpoint
          
 Array filters
          Array of MMSearchFilter for filtering results using non-spatial values.
 String format
          Specifies whether to return all record details or only the count of the records returned.
 Object locale
          
 String logic
          Comma separated list of logic operator to use when more than one value for 'filters' is provided.
 float max_distance
          Limits the search results to those within a certain distance of the point, address or pre_search.
 float min_distance
          Limits the search results to those outside a certain distance from the point or address.
 Object morton
          
 Array order_by_fields
          Array of strings containing fields to be used to order the search results.
 Array order_by_order
          Array of order direction values to match up with fields provided in order_by_fields.
 MMLatLon point
          Specifies a lat/lon point to search from.
 MMSearch pre_search
          A MMSearch object whose results can be used as the source for another search.
 integer result_set_size
          Used when point queries also have order by settings to first get a result set of the specified size sorted by distance from the point before doing the order bys.
 Array return_fields
          Array of fields to return in the search results.
 String route_modes
          /** Comma separated list specifying routing modes, calculates and adds routed distances and durations to all search results.
 integer start_index
          Specifies the index of the first record to display.
 
Constructor Summary
MMSearch ( <Object> init_search )
            The Multimap API Searching module - JavaScript library.
 
Method Summary
 MMSearch copy()
           Makes a new MMSearch object containing a copy of the data within this one.
 String toString()
           Function to return a simple string representation of the object.

Field Detail

address

MMAddress address

bounding_box

MMBounds bounding_box

compound_order

String compound_order

compound_threshold

integer compound_threshold

count

integer count

data_source

String data_source

distance_units

String distance_units

endpoint

Object endpoint

filters

Array filters

format

String format

locale

Object locale

logic

String logic

max_distance

float max_distance

min_distance

float min_distance

morton

Object morton

order_by_fields

Array order_by_fields

order_by_order

Array order_by_order

point

MMLatLon point

pre_search

MMSearch pre_search

result_set_size

integer result_set_size

return_fields

Array return_fields

route_modes

String route_modes

start_index

integer start_index

Constructor Detail

MMSearch

MMSearch( <Object> init_search )

Method Detail

copy

MMSearch copy()

toString

String toString()


Documentation generated by JSDoc on Tue Jun 30 13:55:23 2009