What is the error?
The map displays perfectly in much better browsers such as Chrome and Safari. I am not using IE. Haven’t for years.
I couldn’t agree with you more, but one of my clients is using it…
In the generated script “var locations=…” there is a line “var marker=new L.marker([locations[i][1],locations[i][2]],{icon:thisIcon},).addTo(thisMap)…” and IE just says Syntax Error at the position behind “{icon:thisIcon},”
Thank you for your help!
I couldn’t agree with you more
Hehehe 🙂
Since I can not test it for you, could you please do a little test yourself?
Please delete the comma after {icon:thisIcon}.
I think jQuery then expects another parameter and better browsers might have a fall-save builtin. 😉
Yes, this seems to be the problem. Can you do anything about it?
Of course I can 😉
I will remove the comma in the next update. I will release it later this week. There are many new features coming up. 😉
For now, you can leave the comma out in your own copy, so IE11 will display the map correctly.
Thanks so much, that solved the case!
Hello,
I have the same problem.
Where do you find the script “var marker=new L.marker([locations[i][1],locations[i][2]],{icon:thisIcon},).addTo(thisMap)…” ?