Generate a google map with specific latitude and longitude in ColdFusion

cfmap - generate google map with specific latitude and longitude as map center address

cfmaplatitudelongitude.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 generate google map with specific latitude and longitude as map center address</title>
</head>

<body style="margin:5px 5px 5px 15px;">
<h2 style="color:DarkBlue; font-style:italic">
 How to generate google map with specific
    <br /> latitude and longitude as map center address
</h2>  
<hr width="525" align="left" color="DarkBlue" />  
<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 
    centerlatitude="23.7230556"
    centerlongitude="90.4086111"
    height="350"    
    width="600"
    hideborder="no"
    title="Map center latitude:23.7230556 and longitude:90.4086111 [Dhaka City]"
    >
</cfmap>

</body>
</html>