As far as I am aware it is not possible, the library functions often call external services for processing and the map tiles themselves cannot be downloaded. You could on the other hand use a local copy of OpenStreetMap as a base layer and then either use a local copy of the maps API over the top (being careful which methods to call to avoid errors) or even using OpenLayers for your mapping functionality.
Hope this helps.