Use protocol relative URL for OSM tiles

This commit is contained in:
Frederic Junod
2014-02-13 11:21:27 +01:00
parent 20402a6e71
commit 4cb4ab89db
2 changed files with 2 additions and 2 deletions

View File

@@ -697,7 +697,7 @@
* function to load a tile given a URL.
* @property {string|undefined} url URL template. Must include `{x}`, `{y}`,
* and `{z}` placeholders. Default is
* `http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png`.
* `//{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png`.
* @todo stability experimental
*/