3

For example I have some GeoJSON here that represents airspace regions and they have in their properties "HIGHALT" in feet, so it would be very natural for me to map this to the fill-extrusion-height paint property (which takes meters), however these values are on an individual feature basis rather than across the entire set of features.

I tried just adding it into the properties, but it didn't work.

1 Answer 1

3

Use an identity function to specify the field with your heights.

Two useful examples:

1
  • 1
    that's exactly what I was looking for... doc was hard to find. Thanks for linking me to them!
    – Steven Lu
    Jan 21, 2017 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.