From e6f4054d3bebd898e6979d87ce0e2de429ba46d0 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Sat, 25 Jul 2015 13:39:51 +0000 Subject: [PATCH] Document {?-?} pattern in expandUrl --- externs/olx.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/externs/olx.js b/externs/olx.js index 4f8aa300cf..15fb67f4ea 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -5342,7 +5342,9 @@ olx.source.WMTSOptions.prototype.dimensions; /** * A URL for the service. For the RESTful request encoding, this is a URL - * template. For KVP encoding, it is normal URL. + * template. For KVP encoding, it is normal URL. A `{?-?}` template pattern, + * for example `subdomain{a-f}.domain.com`, may be used instead of defining + * each one separately in the `urls` option. * @type {string|undefined} * @api stable */ @@ -5499,6 +5501,8 @@ olx.source.XYZOptions.prototype.tileUrlFunction; /** * URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders. + * A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`, may be + * used instead of defining each one separately in the `urls` option. * @type {string|undefined} * @api stable */