简体   繁体   English

有没有办法在Android的谷歌地图上更改我的位置点的颜色?

[英]Is there a way to change the color of my location's dot on google map in Android?

I am using google map API in Android.我在 Android 中使用谷歌地图 API。 Now I want to change the color of my location's dot on google map, from blue to purple.现在我想改变我在谷歌地图上的位置点的颜色,从蓝色到紫色。 I've researched, but google map API doesn't support the way to change the color.我已经研究过,但谷歌地图 API 不支持更改颜色的方式。 Also I don't want to use marker instead of dot.另外我不想使用标记而不是点。 Just want to use the same dot, only change the color.只想用同一个点,只改变颜色。 Is there any way to change to the color?有什么办法可以改变颜色吗? Thanks.谢谢。

我建议不要使用默认的标记图标,而是创建自己的标记图标。

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

相关问题 如何在Android谷歌地图上更改群集的颜色? - How can I change the color of the clusters on my android Google map? Android Google Map没有显示我的位置? - Android Google Map not showing my location? 有没有一种方法可以在Android中对我的Google Map进行网格化? - Is there a way to grid my google map in Android? 有没有办法更改 Android Google Map API 的地图数据? - Is there a way to change the map data for the Android Google Map API? 在Google Map Android上将“我的位置”按钮左对齐 - Left align My Location button on Google Map Android Android | 更改溢出图标(3点菜单)的颜色? - Android | Change overflow icon(3 dot menu) color? 如何在Android(Google Map API)中设置标记颜色的验证 - How to set validation of marker's color in android (Google Map API) 更改Google Maps API的“我的位置”按钮的位置 - Change position of Google Maps API's “My location” button 位置模拟-Google Map检测到移动,但我自己的应用程序未触发位置更改 - Location mocking - google map detects the movement but my own application not triggering location change Android Google Map v2-在自定义标记上显示地图当前位置的推荐方法是什么? - Android Google Map v2 - What is the recommended way to show current location on a map along with custom markers?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM