I fetch the data from database which is not a geoJson, so I use array.map function dynamically making one base on the data I fetched, then passing to component. But it seems this geoJson paste to URL as GET parameters...
if I save the geoJson as static file then import, it works.
How can I change the GET method to POST method in React-map-gl??
<Source
type="geojson"
data={myData}
ref={_sourceRef}
>
<Layer {...stopPointLayer} />
</Source>