Skip to content

Commit

Permalink
docs(url-param): add default value for url param
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Jun 8, 2017
1 parent 8596da4 commit 741afce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const searchUrl = `${mapzenUrl}/search`
* {@link https://mapzen.com/documentation/search/autocomplete/#layers|layer types}
* @param {string} [$0.sources='gn,oa,osm,wof']
* @param {string} $0.text query text
* @param {string} [$0.url] optional URL to override Mapzen autocomplete endpoint
* @param {string} [$0.url='https://search.mapzen.com/v1/autocomplete'] optional URL to override Mapzen autocomplete endpoint
* @return {Promise} A Promise that'll get resolved with the autocomplete result
*/
export function autocomplete ({
Expand Down Expand Up @@ -94,7 +94,7 @@ export function autocomplete ({
* @param {number} [$0.size=10]
* @param {string} [$0.sources='gn,oa,osm,wof']
* @param {string} $0.text The address text to query for
* @param {string} [$0.url] optional URL to override Mapzen search endpoint
* @param {string} [$0.url='https://search.mapzen.com/v1/search'] optional URL to override Mapzen search endpoint
* @return {Promise} A Promise that'll get resolved with search result
*/
export function search ({
Expand Down Expand Up @@ -150,7 +150,7 @@ export function search ({
* @param {string} $0.apiKey The Mapzen API key
* @param {boolean} $0.format
* @param {{lat: number, lon: number}} $0.point Point to reverse geocode
* @param {string} [$0.url] optional URL to override Mapzen reverse endpoint
* @param {string} [$0.url='https://search.mapzen.com/v1/reverse'] optional URL to override Mapzen reverse endpoint
* @return {Promise} A Promise that'll get resolved with reverse geocode result
*/
export function reverse ({
Expand Down

0 comments on commit 741afce

Please sign in to comment.