Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFDOCUMENT PDF & Javscript

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
0
0
GB
I am trying to use CFDOCUMENT to create a pdf file with an embedded link to the goolge maps API.
I use the code
Code:
<script src="[URL unfurl="true"]http://maps.google.com/maps?file=api&#Chr(35)#038;v=2&#Chr(35)#038;key=ABQIAAAAGObV6T8B_zpXgwVZWvNwuxQQCKZWhYPeOwJCc-_-DB9RAo9IthR-zOOdtE6I-G8eSTKCApqMjo44Ig"[/URL] type="text/javascript"></script><br />

<script src="[URL unfurl="true"]http://www.google.com/uds/api?file=uds.js&#Chr(35)#038;v=1.0&#Chr(35)#038;key=ABQIAAAAGObV6T8B_zpXgwVZWvNwuxQQCKZWhYPeOwJCc-_-DB9RAo9IthR-zOOdtE6I-G8eSTKCApqMjo44Ig"[/URL] type="text/javascript"></script><br />
<script src="js/gmap.js" type="text/javascript"></script></p>
<script>
     window.onload = function() {
     mapLoad();
     usePointFromPostcode("#postcode#", setCenterToPoint);
     }
</script>
On the browser page and it work fine, when I produce the PDF there is no map, nor any errors that I can find.

Any help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top