Can you please provide one example of using the syntax?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 124
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
var geojsonArea = require('@mapbox/geojson-area');
var area = geojsonArea.geometry(obj);
Here what is the format of the **obj**, I want to calculate the area of 2 polygons intersecting each other.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the package's existing usage documentation and entry points to determine how the geometry argument is described. Add one concrete syntax example that clarifies the expected object format and the supported polygon-area use case; done means a newcomer can follow the example without guessing the input shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100