Planit.js

zoomIn ()

Class: Plan

If your plan is an image, this will zoom in one level closer. The level is equivalent to 50% of the width of the container.

It will always zoom into the middle of the current view.

Returns: true

Example

// assuming you already have access to `plan` as a Plan object
// and that plan has an image
plan.zoomIn();