mjslive-plugin-animate
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Animation plugin for marker.js Live

This plugin adds basic marker animation features to marker.js Live

Installation

Make sure you have marker.js Live installed. Then run

npm install mjslive-plugin-animate

or

yarn add mjslive-plugin-animate

Usage

To add basic animation to your marker.js Live instance simply pass a new instance of Animate to its addPlugins() method.

import { Animate } from 'mjslive-plugin-animate';

...
markerView.addPlugin(new Animate());

markerView1.show(markerViewState);

Configuration

The first release applies a simple "staged reveal" animation when markers are loaded.

More configuration options are coming soon.

License

This marker.js Live plugin is distributed under the MIT License. See LICENSE file for details.

Readme

Keywords

none

Package Sidebar

Install

npm i mjslive-plugin-animate

Weekly Downloads

27

Version

1.0.2

License

MIT

Unpacked Size

14 kB

Total Files

8

Last publish

Collaborators

  • ailon