ProfessionalWiki / ProfessionalWiki/Maps

Support images in map result formats

Open
#479 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Setup
  • Maps version: 5.6
  • MW version: 1.31.1
  • PHP version: 7.0.30-0+deb9u1
  • SMW version (if applicable): 3.0.0-rc.2
Issue

When a page has an image property, it is possible to display it in a list of results when using formats like table.
However, it is not possible to do the same thing when displaying results as a Leaflet map. The map marker popup does not display the image.

Here is an example: https://sandbox.semantic-mediawiki.org/wiki/Issue/M/479

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

Reproduce the example from the linked sandbox page and trace the Leaflet map result format's marker-popup rendering. Identify how image properties are handled in other result formats, then verify that a map marker popup displays the page image when the issue's setup is used.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.