133rd
The purpose of this example is to introduce and demonstrate how to set a polygon according to coordinate points in vue+leaflet, generate a geojson file through .toGeoJSON(), and calculate the area value through turf.area.
Directly copy the following vue+leaflet source code, operate in 2 minutes to achieve the effect