ProfessionalWiki / ProfessionalWiki/Maps
Different icons based on query result
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
Requested by @c-ern at https://github.com/SemanticMediaWiki/SemanticMaps/issues/24
In order to being able to distinguish each query result displayed on a map it would be great if each one was shown with the according icon.
I.e. one would search for fast food restaurants in a town, the location of McD would be displayed with its signature golden M, BK with its logo and so on.
One possibility to implement this would be to add a new attribute like "has custom_marker=mcd.png" to the corresponding page and add this ?has custom_marker to the ask-query.
Contributor guide
No contributing guide indexed for this repository
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
No file or test is named. Start by tracing map query-result marker rendering and the ask-query/custom_marker data path, then define how each result's icon is represented and verify that distinct results can display distinct markers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100