Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何/是否可以使标记图标看起来比谷歌地图街景中的默认值更大。(它们目前显示得非常小/很难看到。)
谢谢。
您需要使用更大的图标(以像素为单位)并设置size图标和/或scaledSize通过MarkerImage类。
size
scaledSize
MarkerImage
这是一个快速而肮脏的例子:
http://jsfiddle.net/AdnGH/
以下是相关文档:
http://code.google.com/apis/maps/documentation/javascript/reference.html#MarkerImage