CFMAP - How to change google map marker color in ColdFusion

CFmap - Marker color in Google map

cfmapmarkercolor.cfm


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfmap tag - how to change marker color in google map in coldfusion</title>
</head>

<body style="margin:5px 5px 5px 15px;">
<h2 style="color:DarkBlue; font-style:italic">
 cfmap tag - how to change marker color
    <br /> in google map in coldfusion
</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'}#">
<table>
 <tr>
     <td>
            <cfmap 
                centeraddress="Dhaka"
                height="300"    
                width="300"
                hideborder="no"
                title="Marker color: DeepPink"
                markercolor="FF1493"
                >
            </cfmap>
        </td>
     <td>
            <cfmap 
                centeraddress="Mumbai"
                height="300"    
                width="300"
                hideborder="no"
                title="Marker color: Orange"
                markercolor="FFA500"
                >
            </cfmap>
        </td>
    </tr>
</table>

</body>
</html>








More ColdFusion tutorials