Fix code block in comment

This commit is contained in:
ahocevar
2018-06-17 13:13:47 +02:00
parent 6903c1a88a
commit 4127c26ecc
+1
View File
@@ -40,6 +40,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid.
* tile.setExtent(format.getLastExtent()); * tile.setExtent(format.getLastExtent());
* }; * };
* }); * });
* ```
* @property {module:ol/Tile~UrlFunction} [tileUrlFunction] Optional function to get tile URL given a tile coordinate and the projection. * @property {module:ol/Tile~UrlFunction} [tileUrlFunction] Optional function to get tile URL given a tile coordinate and the projection.
* @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders. * @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
* A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`, may be * A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`, may be