Class: CsvPointFeatureLoader maps.nyc.gov

nyc.ol.source.CsvPointFeatureLoader

new CsvPointFeatureLoader(options) → {function}

A ol.FeatureLoader function for loading CSV point features
Parameters:
Name Type Description
options nyc.ol.source.CsvPointFeatureLoader.Options Options specifying the file parameters for loading features
Source:
See:
Fires:
Returns:
Type
function

Type Definitions

Options

Options for {nyc.ol.source.CsvPointFeatureLoader}
Type:
  • Object
Properties:
Name Type Description
url string URL to a CSV file
xCol string Name of the CSV column containing X coordinate of feature location
yCol string Name of the CSV column containing Y coordinate of feature location
projection string Source data projection
Source: