@nextgis/ngw-uploader
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

Ngw Uploader

size version

Library providing tools for uploading data to the NextGIS Web

Installation

In Browser

Include assets

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>

CDN

<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>

In Node.js

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 });

Commercial support

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!

http://nextgis.com

Readme

Keywords

Package Sidebar

Install

npm i @nextgis/ngw-uploader

Weekly Downloads

8

Version

2.2.3

License

MIT

Unpacked Size

1.61 MB

Total Files

21

Last publish

Collaborators

  • rendrom
  • maximdubinin
  • karavanjo