In Wix you can do everything by code (if you are expirienced enough).
So back to your question, if this is possible? —> Yes, it is. (possible in both of editors)
How to generate it?
For this purpose you can use an HTML-COMPONENT or even better you can create your own CUSTOM-ELEMENT, where you can create the CODE you need to create your wished function (app).
You also can try to use the out of the box GOOGLE-MAPS provided by wix, but i don’t think it will fit all your needs.
But you should also know, that this will be a time-consuming work.