Reputation: 23
Below is the sample code that works locally, but not on the server. The local dev environment is not in IIS, but in Coldfusion 9.
<cfmap name="name"
centerlatitude="36.82617"
centerlongitude="-1.27431"
doubleclickzoom="true"
overview="true"
scrollwheelzoom="true"
showscale="true"
tip="My Map"
zoomlevel="13"
typecontrol="basic"
height="600"
width ="600"/>
The google map key is intered via cfajaximport.
Thank you.
Upvotes: 2
Views: 175
Reputation: 9616
Posting this as the answer, since I had it as part of the comment.
In order to make sure that any CF ajax functionality works correctly, you have to make sure that the CFIDE directory is properly configured under the site. It needs to be at the root of the site, and publicly accessible.
Dan
Upvotes: 1