[Feature Request] Add `clampToGround` to polygon options
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
Now we have both `zIndex` and `clampToGround` options available for `polyline`, but for `polygon`, we only have the `zIndex` option.
Additionally, we cannot use the `zIndex` option on a `polygon` that is not a ground entity.
This behavior is confusing and unintuitive. It is necessary to reach a consensus and make the behavior consistent
Contributor guide
Research direction
Start by comparing the existing clampToGround and zIndex behavior for polylines with the polygon options described in this issue. Determine the intended consistent behavior for ground and non-ground polygons, then verify the result against the relevant polygon and polyline behavior; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100