[英]Google Maps custom marker's icon doesn't load
I tried the solutions from other answers in StackOverflow, but I got no result.我在 StackOverflow 中尝试了其他答案中的解决方案,但没有结果。
When loading the page, the icons of custom markers doesn't load.加载页面时,自定义标记的图标不会加载。
The icon is in the same directory.图标位于同一目录中。 Here is the code: Pastebin_link
这是代码: Pastebin_link
Please help me.请帮我。
Thank you!谢谢!
您必须将图像文件放在您在第 71 行初始化的行中,而不是您现在放置它的位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.