CFAJAXIMPORT to specify Google map API Key in ColdFusion

CFajaximport - params attribute to specify Google map API Key

cfajaximportparams.cfm


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>How to use cfajaximport params attribute to specify Google map API Key in coldfusion</title>
</head>

<body style="margin:5px 5px 5px 15px;">
<h2 style="color:DarkBlue; font-style:italic">
 How to use cfajaximport params attribute
    <br /> to specify Google map API Key in coldfusion
</h2>  
<hr width="400" align="left" color="PowderBlue" />  
<br />

<!--- 
Generate a Google map api key for this domain
http://localhost:8500/
----------------
Use your own google map api key to test this example
 --->

<cfajaximport params="#{googlemapkey='please use your own Google map API Key here'}#">

<cfmap 
 centeraddress="Dhaka"
    height="375"    
    width="625"
    hideborder="no"
    title="Dhaka in google map as center address"
    >
</cfmap>

</body>
</html>








More ColdFusion tutorials