Leaflet / Leaflet/Leaflet.VectorGrid

Point Style with Icon do not display with SVG Renderer

Open
#53 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
676
Forks
202
PR merge metrics
No merged PRs in 30d

Description

With the last Firefox 50.1, the icons aren't displayed with SVG Renderer. The SVG images are in the dom, but not displayed.

A way to solve maybe using xlink:href in place of href in svg image, but not sure.

To reproduce simply use the SVG render in place of Canvas in the demo demo-points-icons.html

It's OK with the Canvas Renderer.

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 with demo-points-icons.html and the SVG renderer path, reproducing the issue in Firefox with SVG instead of Canvas. Compare the SVG output where the images appear in the DOM but are not displayed, and consider the reported href/xlink:href difference; done means point icons display with the SVG renderer while Canvas remains working.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.