Google Map and Open street are both on the 'roadmap' (nice play of words).
For the moment, if you need this, you should create a new JDom object.
In JDom, better is to don't touch the dom.php and html.php which are the 2 mains files of the framework.
Then, create new files in the JDom file tree, with the same architecture.
Something like :
html.fly.map
html.fly.map.openstreet
html.form.input.map
html.form.input.map.openstreet
You must handle your JS files and calls properly with the JDom functions
well, it is bit complicated for the first time.
Try to look for the colorpicker source code.
-> Use of asset directory (JS files autocall)
Or in the imagepicker source
-> Can call JS manually with the addScript() function
You can add a script inline with addScriptInline() function
-> But be carefull to not call same JS twice time.
All JS calls must be defined inside the buildJS() function od your new JDom class.
These are only some clues, the whole explaination is too long, you have to search little bit.
If you do well, you will be able to reuse (and share) your classes.
Well.
I know it is not easy. I have to do some documentation here, but lot of priorities before.
JDom is under GPL, it is open and when possible on github.
For the moment try to work with that, and if you cannot, use your old methods without JDom.
Cook furnish you all the datas you needs !