Merge pull request #4273 from Barryrowe/projection-documentation

Expand docs on ol.source url prop.
This commit is contained in:
Andreas Hocevar
2015-10-20 17:26:01 +02:00

View File

@@ -5155,6 +5155,12 @@ olx.source.VectorOptions.prototype.strategy;
* the given URL. Use a {@link ol.FeatureUrlFunction} to generate the url with
* other loading strategies.
* Requires `format` to be set as well.
* When default XHR feature loader is provided, the features will
* be transformed from the data projection to the view projection
* during parsing. If your remote data source does not advertise its projection
* properly, this transformation will be incorrect. For some formats, the
* default projection (usually EPSG:4326) can be overridden by setting the
* defaultDataProjection constructor option on the format.
* @type {string|ol.FeatureUrlFunction|undefined}
* @api
*/