Solved! Go to Solution.
'Services':[ {"Name":"Libraries","Image":"images/library.png","hasRendererImage":true,"ServiceUrl": "http://maps.tob.int/ArcGIS/rest/services/Amazon_Testing/GovernmentServices/MapServer/4","distance" : 4,"FieldNames" : [{"ContactField":"FacilitySitePoint.NAME"},{"AddressField":"FacilitySitePoint.FULLADDR"},{"PhoneField":"GovServiceInfo.PHONE"}],"LayerVisibility":true}, {"Name":"Post Offices","Image":"images/postOffice.png","hasRendererImage":true,"ServiceUrl": "http://maps.tob.int/ArcGIS/rest/services/Amazon_Testing/GovernmentServices/MapServer/3","distance" : 4,"FieldNames" : [{"ContactField":"FacilitySitePoint.NAME"},{"AddressField":"FacilitySitePoint.FULLADDR"},{"PhoneField":"GovServiceInfo.PHONE"}],"LayerVisibility":true}, {"Name":"Police Stations","Image":"images/policestations.png","hasRendererImage":true,"ServiceUrl": "http://maps.tob.int/ArcGIS/rest/services/Amazon_Testing/GovernmentServices/MapServer/1","distance" : 4,"FieldNames" : [{"ContactField":"FacilitySitePoint.NAME"},{"AddressField":"FacilitySitePoint.FULLADDR"},{"PhoneField":"GovServiceInfo.PHONE"}],"LayerVisibility":true}, {"Name":"Fire Stations","Image":"images/fireStations.png","hasRendererImage":true,"ServiceUrl": "http://maps.tob.int/ArcGIS/rest/services/Amazon_Testing/GovernmentServices/MapServer/2","distance" : 4,"FieldNames" : [{"ContactField":"FacilitySitePoint.NAME"},{"AddressField":"FacilitySitePoint.FULLADDR"},{"PhoneField":"GovServiceInfo.PHONE"}],"LayerVisibility":true}, {"Name":"Hospitals","Image":"images/hospital.png","hasRendererImage":true,"ServiceUrl": "http://maps.tob.int/ArcGIS/rest/services/Amazon_Testing/GovernmentServices/MapServer/0","distance" : 4,"FieldNames" : [{"ContactField":"FacilitySitePoint.NAME"},{"AddressField":"FacilitySitePoint.FULLADDR"},{"PhoneField":"GovServiceInfo.PHONE"}],"LayerVisibility":true} ],