From b73a6384d7fa3a6a507322d3859a39f8beb8a018 Mon Sep 17 00:00:00 2001 From: Denis Date: Wed, 25 Jan 2017 00:21:53 -0500 Subject: [PATCH] Update docs --- README.md | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35aaa3f..cbf866c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Get Capabilities - `options.abstract` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)?** Abstract - `options.identifier` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)?** Identifier - `options.keywords` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)>?** Keywords - - `options.bbox` **BBox?** BBox [west, south, east, north] (optional, default `[-180,-85,180,85]`) + - `options.bbox` **BBox?** BBox [west, south, east, north] - `options.spaces` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)?** Spaces created for XML output (optional, default `2`) **Examples** diff --git a/index.js b/index.js index 27e788e..d029f7b 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ const BBOX = [-180, -85, 180, 85] * @param {string} [options.abstract] Abstract * @param {string} [options.identifier] Identifier * @param {string[]} [options.keywords] Keywords - * @param {BBox} [options.bbox=[-180, -85, 180, 85]] BBox [west, south, east, north] + * @param {BBox} [options.bbox] BBox [west, south, east, north] * @param {number} [options.spaces=2] Spaces created for XML output * @returns {string} XML string * @example