Add "url" option to ol.source.MapQuest

This commit is contained in:
Éric Lemoine
2015-01-25 21:46:45 +01:00
parent 9e7e5efd27
commit df2d71ef83
2 changed files with 12 additions and 2 deletions

View File

@@ -4301,7 +4301,8 @@ olx.source.KMLOptions.prototype.urls;
/**
* @typedef {{layer: string,
* tileLoadFunction: (ol.TileLoadFunctionType|undefined)}}
* tileLoadFunction: (ol.TileLoadFunctionType|undefined),
* url: (string|undefined)}}
* @api
*/
olx.source.MapQuestOptions;
@@ -4323,6 +4324,14 @@ olx.source.MapQuestOptions.prototype.layer;
olx.source.MapQuestOptions.prototype.tileLoadFunction;
/**
* URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
* @type {string|undefined}
* @api
*/
olx.source.MapQuestOptions.prototype.url;
/**
* @typedef {{projection: ol.proj.ProjectionLike,
* tileGrid: (ol.tilegrid.TileGrid|undefined)}}