Skip to main content

Posts

Showing posts from March, 2011

CFMAP - Generate an earth type google map in ColdFusion

CFmap - earth type Google map cfmaptypeearth.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 generate earth type google map in coldfusion</title> </head> <body style="margin:5px 5px 5px 15px;"> <h2 style="color:IndianRed; font-style:italic"> cfmap tag - how to generate earth <br /> type google map in coldfusion </h2> <hr width="525" align="left" color="Pink" /> <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="Nebraska" heigh...

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

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

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

ColdFusion CFscript - Invoke a component in script

cfscript - invoke component artscomponent.cfc <cfcomponent displayname="ArtsCFC" hint="Art Discover"> <cffunction name="GetArts" access="remote" returntype="query"> <cfargument name="ArtistID" type="numeric" required="yes"> <cfargument name="MaximumPrice" type="numeric" required="yes"> <cfquery name="ArtDetails" datasource="cfcodeexplorer"> Select ArtName, Description, Price From ART Where ArtistID = #arguments.ArtistID# And Price <= #arguments.MaximumPrice# </cfquery> <cfreturn ArtDetails> </cffunction> </cfcomponent> invokecomponentcfscript.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...