adding getZoomLevel method

This method was added in the comments section of the original wepage.  please accept.