mjslive-plugin-animate
v1.0.2
Published
Animation plugin for marker.js Live
Readme
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-animateor
yarn add mjslive-plugin-animateUsage
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.
