Created
May 29, 2015 19:07
-
-
Save tmcw/4a7b84cbde22950fb7b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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