To update the version of MapWeave, or to update your license, you need to replace your existing MapWeave bundle with the latest version and add it to your project.
First, download the latest MapWeave bundle:
Download MapWeaveThe download contains a package.json file referencing external dependencies as well as a pre-built set of bundled dependencies. See the dependencies page for more information.
Open a new terminal window and access your project's root folder:
cd my-mapweave-app Move the downloaded package into your project's root folder.
Then remove the old version and install the new bundle as a local package from inside your project's root folder:
npm uninstall mapweave
npm install file:your_downloaded_file_name.tgz yarn remove mapweave
yarn add ./your_downloaded_file_name.tgz pnpm remove mapweave
pnpm install file:your_downloaded_file_name.tgz To verify the upgrade was successful, you can either ask your package manager which version was installed:
npm list mapweave yarn list --pattern mapweave pnpm list mapweave Or consult the dependencies section of package.json.
If you can't see the correct version installed or if the map isn't displaying correctly, try clearing the package manager's cache and installing the package again:
npm cache clean --force
npm install file:your_downloaded_file_name.tgz yarn cache clean --force
yarn add file:your_downloaded_file_name.tgz # This step is not required when using pnpm. If you need any help with updating please contact support.