ProfessionalWiki / ProfessionalWiki/Maps

Display data from OpenStreetMap.org

Open
#589 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Leaflet
Dominant language
JavaScript
Stars
78
Forks
65
Avg merge
9h 17m
Merged PRs (30d)
6

Description

Feature request

OpenStreetMap stores ways like e.g. https://www.openstreetmap.org/way/27040489 which consist of multiple pre-combined coordinate pairs defining points along a way allowing to display them as lines on a map.

Currently one has to fetch the coordinates somehow and add them to a map using the lines parameter like, e.g. https://sandbox.semantic-mediawiki.org/wiki/Leaflet_lines to get the same result. This is a bit tedious. The more points are needed to define a specific way the more painful this gets.

I guess it will be nice to have a parameter called way which allows to add the identifier of a specific way thus displaying it on a map.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the existing handling for the lines parameter and reviewing the linked Leaflet example and OpenStreetMap way URL. Determine how a way identifier could provide the way's coordinates for map display; done means a way parameter renders the referenced way without manually entering coordinate pairs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.