+ if (producers[i].latitude && producers[i].longitude) {
+ producer_latlng = new google.maps.LatLng(producers[i].latitude,
+ producers[i].longitude);
+ }
+ else {
+ producer_latlng = producers[i].name;
+ }
+
+ if (consumers[j].latitude && consumers[j].longitude) {
+ consumer_latlng = new google.maps.LatLng(consumers[j].latitude,
+ consumers[j].longitude);
+ }
+ else {
+ consumer_latlng = consumers[j].name;
+ }
+