Search in attributes

Sample for request assets by attribute
  1. Three ways to search
  2. Sample Usage

You can edit or play with this Sample on jsFiddle and download or fork the source code on GitHub.

Sample Usage

var sp ={
    query: 'type:"a_type" and tag:"hockey"'

is equivalent to

var q = woosmap.query;
var sp ={
    query: q.and([q.F('type', 'a_type'), q.F('tag', 'hockey')])

For more details, see the SearchQuery Search API Documentation.

Was this article helpful?
Have more questions? Submit a request