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>
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSV3WI3VPgzE1nFc0Lx2VOU5jkpDNXSWSCs3U0k107-MpdkR_Vzw8zWC1_UQRjbXiVUxzPXLk5haRY_hxLGWDCRpVoJs57kSgBWapw-q-w_qOUC9beptCzEZfZqSfD_mZ1ZsKXX1H2DRA/s640/cfajaximportparams.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBXORZ2Qqz0PNwj_8Vwt0zNxWKXDgFYSFQfuzRh9Zb_ijr6mRxO7-92tRSZbBXFzCvHWvfsKsJ5v5g3M5IabwEyEvgk-qza6t9DZh8dHSie85q9yF_3KZwr44f3qGXd_qGSlQqFke7KmY/s640/cfajaximportparams1.jpg)
- CFMAP - Generate an earth type google map in ColdFusion
- CFMAP - How to change google map marker color in ColdFusion
- Generate a google map with specific latitude and longitude in ColdFusion
- ColdFusion CFscript - Invoke a component in script
- cfqueryparam- how to use cfqueryparam in cfquery tag
- How to use cfsqltype in cfqueryparam tag in ColdFusion
- ColdFusion - How to use IS NOT operator in cfif conditional processing
- How to use variable prefixes in ColdFusion
- How to get coldfusion DataSource list programmatically
- How to get output in a file or browser using cfdump in coldfusion