Calling the Google API for an embedded report containing Google Maps
Javascript API version 2.x includes support for interactive Google Maps reports. For this, you must include the Google API script in your page before loading the report. If the Google API script is not available, the report falls back to a non-interactive version. The Javascript API uses Google Maps API version 3. To use this Google API version, you need an API key for the domain under which your page is hosted.
The following example includes the Google API to load interactive Google Maps reports:
<!-- include the Google API -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=..."></script>
<!-- embed the Yellowfin report -->
<script type="text/javascript" src="http://localhost/JsAPI?reportUUID=e5e5aaf3-c3b8-4f9b-8280-e21e4d848e63"></script>
Comments
Log in or register to comment.