【发布时间】:2020-02-07 15:27:31
【问题描述】:
我正在使用 android 谷歌地图中的地理围栏。 我可以在地图中添加地理围栏。 我需要在圆圈或圆圈底部添加地理围栏的标题。 我不想在 Marker 上添加标题。
map.addCircle(CircleOptions()
.center(reminder.latLng)
.radius(radius)
.strokeColor(ContextCompat.getColor(context, R.color.colorAccent))
.fillColor(ContextCompat.getColor(context, R.color.colorReminderFill)))
标记我可以用这个
map.addMarker(MarkerOptions().position(latLng).title(reminder.name)
.snippet("Radius: " + reminder.radius)).showInfoWindow()
要求是在圆圈内部或底部添加标题而不是标记
【问题讨论】:
标签: android google-maps android-geofence