Closed Kiollpt closed 7 months ago
The react app get an event that is sent by server side and then updates it to the map.
1st event (Queensbridge)
Queensbridge
{ "type": "FeatureCollection", "features": [ {"type":"Feature","properties":{"boro_code":"1","boro_name":"Queensbridge","shape_area":"636603803.361","shape_leng":"361611.82395","test": 20000 },"geometry":{"type":"MultiPolygon","coordinates":""} }]
2nd event (Union Sq)
Union Sq
{ "type": "FeatureCollection", "features": [ {"type":"Feature","properties":{"boro_code":"2","boro_name":"Union Sq","shape_area":"36603803.361","shape_leng":"261611.82395","test": 200 },"geometry":{"type":"MultiPolygon","coordinates":""} }]
I want to update all events on the map. And if the same boro_name have been occured then updates the value of test.
boro_name
test
Any suggestion?
The react app get an event that is sent by server side and then updates it to the map.
1st event (
Queensbridge
)2nd event (
Union Sq
)I want to update all events on the map. And if the same
boro_name
have been occured then updates the value oftest
.Any suggestion?