In the example SVG below, how can the marker/pin (red circle) be given a fixed size (say in pixels) whilst at the same time being relatively positioned within its parent viewbox? That is, so that the marker/pin is always visually the same size but can easily be positioned relative part of the map we are viewing.
We've added the code to a fiddle here: https://jsfiddle.net/krbgxqtm/13/
Additional comments:
- We would like to avoid the use of client-side code (i.e JavaScript).
- We will not always know the container's dimensions exactly due to the responsive positioning it will be within.
- We've seen examples of using CSS
background-imagefor achieving the sizing, but this will not satisfy the size of the surrounding hyperlink.
