Library providing tools for uploading data to the NextGIS Web
Simply download and include with a script tag. NgwUploader
will be registered as a global variable.
<script src="../lib/ngw-uploader.global.prod.js"></script>
<script>
const ngwUploader = new NgwUploader({
baseUrl: 'https://sandbox.nextgis.com',
});
</script>
<script src="https://unpkg.com/@nextgis/ngw-uploader"></script>
We recommend linking to a specific version number that you can update manually:
<script src="https://unpkg.com/@nextgis/ngw-uploader@[verion]"></script>
NPM is the recommended installation method when building large scale applications with NgwUploader. It pairs nicely with module bundlers such as Webpack
# latest stable
npm install @nextgis/ngw-uploader
import NgwUploader from '@nextgis/ngw-uploader';
const ngwUploader = new NgwUploader({
baseUrl: 'https://sandbox.nextgis.com',
});
ngwUploader.uploadVector(File, { parentId, pain });
ngwUploader.uploadRaster(File, { parentId });
Need to fix a bug or add a feature to @nextgis/ngw-uploader
? We provide custom development and support for this software. Contact us to discuss options!
Generated using TypeDoc