How do I add google map api code to dmx google maps?

This may help with what you are trying to achieve without the need for custom code.