Skip to content

Clamp to ground also for polygons to improve 3D feature styling #9067

Closed

Description

Description

It should be possible to apply the Clamp to ground option not only to the ountline in order to have a better control of volumes styling (features with 3 dims availables). That's possible introducing the support in MS of perPositionHeight option.

Now, without support of perPositionHeight

image

After, supporting perPositionHeight

image

The Clamp to ground option should be applied to both line and polygon:

  • If it is false it should be like in the screenshot above and Polygon type should be disabled
  • While if it is true both polygon and line must be clamped on the surface of the terrain or 3D Tiles

As a further improvement to make more clear involved options and values, it is requested to change:

  • Clamp outline to ground to simply Clamp to ground
  • Polygon type to Clamp to ground reference
    • and 3D value to 3D Tiles
  • move "Clamp to ground reference" below "Clamp to ground"

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Sample data can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions