SemanticMediaWiki / SemanticMediaWiki/SemanticCompoundQueries

Custom markers should be shown

Open
#98 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Setup

Issue

The following query no longer displays custom markers on the map but shows. The issue started after upgrading SMW from 6 to 7 and SCQ from 3 to 4.

{{#compound_query:
  [[Har sidtyp::socken]] [[Har status::aktiv]] ;?Har koordinat ;icon=Marker_Chartreuse.svg
 |[[Har sidtyp::socken]] [[Har status::startgrop]] ;?Har koordinat ;icon=Marker_LightGrey.svg
 |[[Har sidtyp::socken]] [[Har status::bara not]] ;?Har koordinat ;icon=Marker_LightGrey.svg
 |format=leaflet
 |geojson=Sverige-Socknar
 |fullscreen=yes
 |height=400
 |width=80%
}}
Image

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 supplied #compound_query with format=leaflet on Semantic MediaWiki 7 and Semantic Compound Queries 4, then inspect the Leaflet marker and custom-icon handling entry point. Done means the custom Marker_Chartreuse.svg and Marker_LightGrey.svg icons render for their respective query groups, as they did before the upgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.