Add urls option to ol.source.GeoJSON
This commit is contained in:
@@ -525,6 +525,7 @@
|
|||||||
* @property {ol.proj.ProjectionLike} reprojectTo Re-project to.
|
* @property {ol.proj.ProjectionLike} reprojectTo Re-project to.
|
||||||
* @property {string|undefined} text Text.
|
* @property {string|undefined} text Text.
|
||||||
* @property {string|undefined} url URL.
|
* @property {string|undefined} url URL.
|
||||||
|
* @property {Array.<string>|undefined} urls URLs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -25,7 +25,8 @@ ol.source.GeoJSON = function(opt_options) {
|
|||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
reprojectTo: options.reprojectTo,
|
reprojectTo: options.reprojectTo,
|
||||||
text: options.text,
|
text: options.text,
|
||||||
url: options.url
|
url: options.url,
|
||||||
|
urls: options.urls
|
||||||
});
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user