React leaflet: Array.map function not rendering Marker component to Map

前端 未结 0 1543
情话喂你
情话喂你 2020-12-13 07:37

I\'m trying to add two components to my map, I am using the useState hook to keep track of the markers.

When a user clicks the map it add

相关标签:
回答
  • 消灭零回复
提交回复
热议问题