Loading mechanisms for vector data.
Methods
-
ol.featureloader.xhr(url, format){ol.FeatureLoader} experimental
src/ol/featureloader.js, line 94 -
Create an XHR feature loader for a
url
andformat
. The feature loader loads features (with XHR), parses the features, and adds them to the vector source.Name Type Description url
string Feature URL service.
format
ol.format.Feature Feature format.
Returns:
The feature loader.