mapbox / leaflet-omnivore

universal format parser for Leaflet & Mapbox.js
https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-gpx/
Other
651 stars 126 forks source link

Docs(README): match API with actual arguments #100

Open ghybs opened 7 years ago

ghybs commented 7 years ago

All API's accept 3 arguments:

  1. url (for loading) or direct object or string (for parsing)
  2. parser_options (optional)
  3. customLayer (optional)

Correct the API section in README to reflect the actual accepted arguments.