Loading mechanisms for vector data.
Methods
-
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 | ol.FeatureUrlFunction Feature URL service.
format
ol.format.Feature Feature format.
Returns:
The feature loader.