ProfessionalWiki / ProfessionalWiki/Maps
activeicon is ignored in AJAX queries
Open
@PeterTheOne is already working on this.
Since Sep 23, 2017.
bug
SMW
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
Setup
- MW version: 1.29.1
- DB (MySQL etc.): 5.5.57
- PHP version: 5.6.31-1~dotdeb+7.1
- Maps version: 4.2.1 and 4.4.0
- SMW version (if applicable): 2.5.4
Issue
I have a query like this:
{{#ask: [[Adresse:+]]
|?Coordonnées
|format=leaflet
|width=300px
|hidenamespace=yes
|icon=/assets/oval-15.png
|activeicon=/assets/pin.png
|enablefullscreen=yes
|limit=2000
|ajaxcoordproperty = Coordonnées
|ajaxquery = [[Adresse:+]]
|zoom=17
}}
On initial display, the current page is correctly represented by the icon set in activeicon:

But if I move the map, all markers are replaced by the result of the AJAX query and the current page marker is replaced by the regular icon:

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.
Assessment
This issue has not been assessed yet.