Planit.js

resetImage ()

Class: Plan

If your plan is an image, this will reset it back to the size and positioning of the container.

It is the equivalent of zoomTo(0).

Returns: true

Example

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