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>
- 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