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:
The 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-appMove 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.tgzyarn remove mapweave
yarn add ./your_downloaded_file_name.tgzpnpm remove mapweave
pnpm install file:your_downloaded_file_name.tgzTo verify the upgrade was successful, you can either ask your package manager which version was installed:
npm list mapweaveyarn list --pattern mapweavepnpm list mapweaveOtherwise, 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.tgzyarn 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.