Load images automated if the the given name is a url
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Motivation
I dont work with sprites because for me its more flexible to load dynamic specific images. For that i used the loadImage and addImage. To make this easy work i take the url as image name.
Now i iterate over the style expressions recursive and call this functions whenever there is a url given. This only works for static image names, not if the image name is genereted dynamically by expression.
So it would make it much easier if whenever image name is a valid url then the image is loaded automated without the need of calling loadImage and addImage.
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 loadImage and addImage entry points and the recursive style-expression handling described in the issue. Determine how dynamically generated image names are resolved, then verify that valid URL names load automatically without manual calls while existing static image behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100