【问题标题】:Is there a way to turn off the blue circle while using MyLocationOverlay in android在android中使用MyLocationOverlay时有没有办法关闭蓝色圆圈
【发布时间】:2011-05-04 12:49:35
【问题描述】:

我目前正在使用 MyLocationOverlay 来显示我的位置。在 MapView 上时,我也强制打开 GPS。然而,标记周围的蓝色圆圈非常烦人,我很好奇是否有办法将其移除?

谢谢 拉贾特

【问题讨论】:

    标签: android maps mylocationoverlay


    【解决方案1】:

    最好的办法是编写一个自定义类来专门扩展 MyLocationOverlayOverride drawMyLocation()。这将允许您绘制您想要的任何内容,并留下您想要遗漏的任何内容。这是我遵循的示例:

    How can I use a custom bitmap for the "you are here" point in a MyLocationOverlay?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-30
      • 2021-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-09
      相关资源
      最近更新 更多