Search in attributes

Sample for request assets by attribute

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

Sample Usage

var sp = woosmap.search.SearchParameters({
    query: 'type:"a_type" and tag:"hockey"'
});

is equivalent to

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

For more details, see the SearchQuery Search API Documentation.