Skip to content

Commit

Permalink
fix: use new value for attribute style for web api
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Aug 8, 2024
1 parent ee0270c commit 870072b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Sherlock.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ class WebApi {
this.baseUrl = 'https://api.mapserv.utah.gov/api/v1/';

// defaultAttributeStyle: String
this.defaultAttributeStyle = 'identical';
this.defaultAttributeStyle = 'input';

// xhrProvider: dojo/request/* provider
// The current provider as determined by the search function
Expand Down Expand Up @@ -459,14 +459,13 @@ class WebApi {
// 2000 meters is the maximum buffer.
// options.pageSize: Number (not implemented)
// options.skip: Number (not implemented)
// options.attributeStyle: String (defaults to 'identical')
// options.attributeStyle: String (defaults to 'input')
// Controls the casing of the attributes that are returned.
// Options:
//
// 'identical': as is in data.
// 'input': match input attribute casing.
// 'upper': upper cases all attribute names.
// 'lower': lower cases all attribute names.
// 'camel': camel cases all attribute names
//
// returns: Promise
console.log('WebApi:search', arguments);
Expand Down

0 comments on commit 870072b

Please sign in to comment.