centerOn (coords)

Class: Plan

If your plan is an image, this will center the plan on the coordinates you give it. These coordinates must be passed as an array of percentages of 100, or [xPc, yPc].

Centering attempts to stay at the same zoom level that you are currently on. But if there is not enough image space to the side, it will zoom until it has enough space. This is why you'll see it zoom more when you try to center on positions near the edge of the image.

Returns: coords (returns the argument you sent it)


Assuming you already have access to `plan` as a Plan object, and that 
plan has an image, and you also have a marker as `marker` within that
plan, you could center the plan on the marker