You can add marker.js 2 to your web app in one of the following ways:
Add marker.js 2 to your app by running one of the following commands.
npm install markerjs2
yarn add markerjs2
Use UNPKG to add marker.js 2 directly to your page.
Add this code to the
head section of your HTML.
Download standalone files
Download complied marker.js 2 files or source code from GitHub.
Build from source
Clone the repository:
git clone https://github.com/ailon/markerjs2
Run the build script:
You can now get the library files in the
Looking for marker.js v.1.x?
Click here to get the latest version of the v.1 branch.