This example demonstrates how to zoom the map to an extent specified by a MGRS location reference. It also shows MGRS references for the current mouse cursor position.
Note that the js is not minified so it is readable. See mgrs.js.