Hi Andrew, I think I know what the issue is. If you look at the section of the config file below you will see two little sections, Street Cleaning & Libraries The street cleaning section is expecting a polygon. The libraries section is expecting a point. They are very similar, but slightly different.If you intend on configuring your application with only point data, you should make sure that your configuration file is using configurations based on the pattern you see with libraries, instead of street cleaning. Hopefully this helps, Cheers, Lindsay ThomasStreetCleaning:
{
Name: "Street Cleaning",
Image: "images/streetCleaning.png",
HasRendererImage: false,
ServiceUrl: "http://arcgis-tenone2012-1974758903.us-west-1.elb.amazonaws.com/arcgis/rest/services/GovernmentServices/MapServer/7",
FieldNames: [
{ ServiceAvailability:
[
{ FieldName: "WEEKONE", DisplayText: "Week 1" },
{ FieldName: "WEEKTWO", DisplayText: "Week 2" },
{ FieldName: "WEEKTHREE", DisplayText: "Week 3" },
{ FieldName: "WEEKFOUR", DisplayText: "Week 4" }
]
},
{ Field: "Agency: ${AGENCY}" },
{ Field: "Contact: ${CONTACT}" },
{ Field: "Phone: ${PHONE}" },
{ Links:
[
{ DisplayText: "Website", FieldName: "AGENCYURL" },
{ DisplayText: "Email", FieldName: "EMAIL" }
]
}
],
Color: "#00FF00",
isRendererColor: true,
LayerVisibility: true
},
Libraries:
{
Name: "Libraries",
Image: "images/library.png",
HasRendererImage: false,
ServiceUrl: "http://arcgis-tenone2012-1974758903.us-west-1.elb.amazonaws.com/arcgis/rest/services/GovernmentServices/MapServer/4",
distance: 4,
FieldNames: [
{ FieldName: "FacilitySitePoint.NAME" },
{ FieldName: "FacilitySitePoint.FULLADDR" },
{ FieldName: "GovServiceInfo.PHONE" }
],
LayerVisibility: true,
ShowBeyondBuffer: true
},