Get a download URL.

Returns a download URL or undefined if a callback was specified.

FeatureCollection.getDownloadURL(format, selectors, filename, callback)Object|String
this: featurecollectionFeatureCollection

The FeatureCollection instance.

formatString, optional

The format of download, one of:

"csv", "json", "kml", "kmz".

selectorsList, optional

Selectors that should be used to determine which attributes will be downloaded.

filenameString, optional

Name of the file to be downloaded.

callbackFunction, optional

An optional callback. If not supplied, the call is made synchronously.