[Feat] Add custom overlays example to website examples

Open
#2,215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
react, typescript

Research direction

Start with website/src/examples-sidebar.js and compare website/src/examples/custom-cursor.mdx, then review the existing examples/custom-overlay code from the 7.0-release branch. Add the custom overlay example to the website examples navigation and page structure; done means the example appears in the examples list and its URL no longer returns 404.

Written by the indexing model from the issue text.

Description

feature
Target Use Case

The update guide https://visgl.github.io/react-map-gl/docs/upgrade-guide#module-exports references the custom overlays https://github.com/visgl/react-map-gl/tree/7.0-release/examples/custom-overlay.

However, those are not part of the website examples https://visgl.github.io/react-map-gl/examples/; https://visgl.github.io/react-map-gl/examples/custom-overlay returns a 404.

Proposal

Add the custom overlay example to the website.

It looks like the code for that is https://github.com/visgl/react-map-gl/blob/master/website/src/examples-sidebar.js#L24. And it looks like and MDX file like https://github.com/visgl/react-map-gl/blob/master/website/src/examples/custom-cursor.mdx is needed as well.

Dominant language
TypeScript
Stars
8.5k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from visgl/react-map-gl

All issues in visgl/react-map-gl

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.