android - Google map 的自定义信息窗口,其中包含使用Kotlin单击的项目

标签 android google-maps kotlin

我试图从Google map 的信息窗口中单击项目。
我从这里参考:Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)

但是在 Kotlin 无法正常工作。

最佳答案

这是kotlin中打开和获取 map 信息窗口项目点击的示例。
示例代码:https://github.com/ParthThakar2012/GoogleMapKotlin

关于android - Google map 的自定义信息窗口,其中包含使用Kotlin单击的项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52714648/

相关文章:

Android Studio 3.0支持Kotlin : Activity as Context

java - 从固定选项卡中删除滑动操作

android - 如何在sqlite数据库中找到列的最大值

android - 在 Android 的 SQLiteCursor 中防止 IllegalStateException

android - 使用 rxkotlin : The Recyclerview stay empty 填充 RecyclerView

android - 将列从 Arrangement.Center 动画到 Arrangement.Top

android - 在ListView下面添加一个LinearLayout

google-maps - 在 Google Cloud 项目上启用结算功能

javascript - 将经度和纬度保存到数组中 JavaScript Google Maps API EVENT

javascript - Google Map API - 如何更改标记上的默认光标