mapbox / mapbox/mapbox-maps-ios
Use DEM or Raster data for client side rendering in a CustomLayer.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
New Feature
How can I replicate the HillshadeLayer to create my own coloured shaded layers using DEM data ?
There could be some nice effects produced by doing this, especially in conjunction with Terrain layer, but I haven't been unable to see how this is done. The closest is the CustomLayer example but can't see how this could be used with a Raster or DEM source..
Could this be a new Layer type perhaps ? DEMRasterLayer ?
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 with Apps/Examples/Examples/All Examples/CustomLayerExample.swift and compare it with the existing HillshadeLayer and Terrain layer implementations. Determine how a CustomLayer could consume Raster or DEM data and whether the desired result requires a new layer type. Done should include a documented, usable path for client-side coloured shaded rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- computer-graphics, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100