繁体   English   中英

如何在Google地图上更改/自定义街景小人的图标?

[英]How do I change/customize the icon for the pegman on Google Maps?

我搜索了stackexchange,但我只找到了改变街景小人的位置的问题/答案。 有没有办法改变它的源图像? 我试过影响这样的风格:

#map-canvas > div > div:nth-child(8) > div:nth-child(2) > div:nth-child(4) > img:nth-child(1) {
    background:url(images/man.jpg);
  }

但它没有显示任何变化。 我似乎无法在此处找到它: https//developers.google.com/maps/documentation/javascript/reference#StreetViewService

Pegman图标是Google Streetview品牌的一部分,无法更改。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM