ProfessionalWiki / ProfessionalWiki/Maps
Length scale with leaflet maps
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
I am using compound_query to display maps of different items:
{{#compound_query:
[[Category:Metzgerei]] ; ?Koordinaten
| format=leaflet
| cluster=on
| height=600
| width=1024
}}
Is there a way to display a length scale in a corner (e.g. lower right) so see, how far things are approximately from each other?
If there is a way, please recategorize this posting as a "question", otherwise I would like to ask for a feature request.
Cheers
Rainer
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
Start with the compound_query map output using format=leaflet and trace where its Leaflet controls are configured. Confirm how a scale control should appear in the map corner, then verify that the rendered map displays an approximate distance scale without affecting clustering, height, or width options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100