can anyone tell me what I am doing wrong here as as the hotspots does not seem
to like this array i.e. the web service responses back "Required field 'title'"
etc for all fields
<cfscript>
var response = StructNew();
response['hotspots'] = [
{
hotspots.distance ='100',
attribution="This is a test layer POI provider",
title= "My layer - snowy4",
lon= "53.472696",
lat= '-2.261843',
imageURL='null',
line4= 'RADIOLIST-None,CustSlider-None',
line3= 'SEARCHBOX - asdfdgxdg',
line2= 'DevlId - 896Settings: range=1000',
actions='',
type='0',
id='test_1'
}
];
response['layer'] = "genciamedialtd";
response['errorString']='ok';
response['morePages']='false';
response['errorCode']= '0';
response['nextPageKey']='null';
</cfscript>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334963
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm