问题
I am having issue with Bing Maps v8 with inline SVG string image for pushpin. I have added multiple pushpin with infobox using SVG inline image.
Once map is loaded with pushpin (https://jsfiddle.net/pakpatel/9dc4oxfk/5/show/). I click pushpin #3 , #7 and #6, it always trigger pushpin #2. After I zoom in to map and try it again it works fine.
Here is jsfiddle https://jsfiddle.net/pakpatel/9dc4oxfk/5
enter code here
回答1:
The issue is with the width and height setting of the svg icon element. Currently you sets width="500" height="500"
. Try after changing it to small width and height width="70" height="20"
来源:https://stackoverflow.com/questions/44461347/bing-maps-v8-svg-inline-pushpin-not-trigger-correct-infobox