Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sprite specific inputs to the IconSelector #2390

Open
KaiVolland opened this issue Dec 4, 2023 · 0 comments
Open

Add sprite specific inputs to the IconSelector #2390

KaiVolland opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KaiVolland
Copy link
Collaborator

Description

It would be nice to enhance the IconSelector with inputs for handling sprites.

There are several options to ehance the usage of sprite data within the IconSelector

  1. Show the sprite base image and mark the selected icon with a box
  2. Allow to drag the box or switch between the icons (button click moves the box width pixels to the right)
  3. Add mapbox specific inputs
    3.1. Fetch the sprite metdata json and automatically split the image into single icons as specified by the json

Example

No response

Alternatives

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants