Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created May 29, 2015 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/4a7b84cbde22950fb7b1 to your computer and use it in GitHub Desktop.
Save tmcw/4a7b84cbde22950fb7b1 to your computer and use it in GitHub Desktop.
/**
* MIME types accepted by this application
*
* http://www.iana.org/assignments/media-types/media-types.xhtml
*/
const mimes = [
// Shapefiles
'application/zip',
// GeoJSON
'application/json',
'application/vnd.geo+json',
'text/x-json',
// KML
'application/vnd.google-earth.kml+xml',
// GPX
'application/xml',
'text/plain',
// GeoTIFF
'application/x-gpx+xml',
'image/geotiff',
// CSV
'text/csv',
// MBTiles
'application/octet-stream'
].join(',');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment