Get marker.js 2

You can add marker.js 2 to your web app in one of the following ways:

From npm

Add marker.js 2 to your app by running one of the following commands.

npm install markerjs2
yarn add markerjs2

From CDN

Use UNPKG to add marker.js 2 directly to your page.

Add this code to the head section of your HTML.

<script src=""></script>

Download standalone files

Download complied marker.js 2 files or source code from GitHub.

Build from source

Clone the repository:

git clone

Run the build script:

yarn build

You can now get the library files in the /dist directory.

Current version

Looking for marker.js v.1.x?

Click here to get the latest version of the v.1 branch.