lundegaard / lundegaard/react-mapy-cz
Refactor BaseLayers and add utility layers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
BaseLayer constant now contains all map layers available in Mapy.cz API, but some of those layers do not contain a name and actual map tiles. So showing those layers in LayerControl is not appropriate.
Goal of this task is to go through all layers and put the ones without this info into separate object.
Also create a new layer component that can consume the incomplete layers and show them on top of regular ones.
API should already support this, take a look at
Turist layer or Smart turist layer
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 tracing the BaseLayer constant and how LayerControl consumes it. Compare the incomplete layers with the Mapy.cz Turist and Smart turist layer API documentation, then identify the existing layer component entry points. Done means incomplete layers are separated from regular layers and a new component can render them above the regular layers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100