Embedding the GEOLocate light web client into another web application

Based on this link

Using postMessage to transfer the result from the GEOLocate light web client embedded in an iframe to a parent site on another domain.

Listening for a message from GEOLocate.