It would be possible to implement this without altering Mappero itself and instead just use a local webserver that accepts the destination, etc., and returns the same set of waypoints as expected to come from Google. In terms of the backend, locally hosted OSM data might be a goer, and there are iirc projects that already use this (does Navit...?) to do offline route calcs.