var data = { "type": "FeatureCollection", "name": "cook", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "06099", "State_A": "Illinois", "County_A": "Cook County", "State_B": "California", "County_B": "Stanislaus County", "Flow_B2A": 207, "Flow_A2B": 0, "Net_B2A": 207, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -120.998, "B_lat": 37.5587 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "09003", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Connecticut", "County_B": "Hartford County", "Flow_B2A": 335, "Flow_A2B": 38, "Net_B2A": 297, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -72.7329, "B_lat": 41.8064 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "09009", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Connecticut", "County_B": "New Haven County", "Flow_B2A": 420, "Flow_A2B": 190, "Net_B2A": 230, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -72.9314, "B_lat": 41.4105 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "16027", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Idaho", "County_B": "Canyon County", "Flow_B2A": 225, "Flow_A2B": 0, "Net_B2A": 225, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -116.7093, "B_lat": 43.6249 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "18141", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Indiana", "County_B": "St. Joseph County", "Flow_B2A": 792, "Flow_A2B": 433, "Net_B2A": 359, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -86.2899, "B_lat": 41.6167 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "21111", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Kentucky", "County_B": "Jefferson County", "Flow_B2A": 637, "Flow_A2B": 204, "Net_B2A": 433, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -85.6593, "B_lat": 38.1873 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "24033", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Maryland", "County_B": "Prince George's County", "Flow_B2A": 411, "Flow_A2B": 81, "Net_B2A": 330, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -76.8471, "B_lat": 38.8299 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "24510", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Maryland", "County_B": "Baltimore City", "Flow_B2A": 534, "Flow_A2B": 188, "Net_B2A": 346, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -76.6144, "B_lat": 39.3051 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "48141", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Texas", "County_B": "El Paso County", "Flow_B2A": 308, "Flow_A2B": 90, "Net_B2A": 218, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -106.2347, "B_lat": 31.7686 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } }, { "type": "Feature", "properties": { "GEOID_A": "17031", "GEOID_B": "48453", "State_A": "Illinois", "County_A": "Cook County", "State_B": "Texas", "County_B": "Travis County", "Flow_B2A": 880, "Flow_A2B": 629, "Net_B2A": 251, "A_lon": -87.8169, "A_lat": 41.84, "B_lon": -97.7816, "B_lat": 30.3346 }, "geometry": { "type": "Point", "coordinates": [ -87.8169, 41.84 ] } } ] }