简体   繁体   English

什么是Mapbox android SDK的BubbleLayout(不推荐使用)标记选择上的信息窗口的替代方法?

[英]What is the alternative to BubbleLayout(Deprecated) of Mapbox android SDK for info window on Markers Selection?

I want to pop up info window on the marker when selected, to show information about the markered location on Mapbox map in android, something like this: 选择后,我想在标记上弹出信息窗口,以在android中显示有关Mapbox地图上标记位置的信息,如下所示: 例

I tried this code link but here the bubble layout is depricated and due to which I am having error messages. 我尝试了此代码链接,但是气泡布局在这里不完整,因此出现错误消息。

There is no standard way to show info window with the new SDK. 新的SDK没有标准的方式来显示信息窗口。 Try to implement it using RecyclerView RecyclerViewOnMapActivity . 尝试使用RecyclerView RecyclerViewOnMapActivity实现它。 And this way you get full customization and an option to click on inner views inside your info view. 这样,您就可以进行完全自定义,并且可以选择单击信息视图内的内部视图。

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

相关问题 Android MapBox - 添加带有信息 window 的标记的最佳方法是什么? - Android MapBox - What is the best way to add markers with info window? 如何使用MAPBOX android SDK添加/删除标记 - How to add/remove markers with MAPBOX android SDK 使用Android Mapbox SDK显示多个标记的自定义infoWindow - Show custom infoWindow for multiple markers using Android Mapbox SDK Android 13 (SDK 33):Bundle.getSerializable(String) 已弃用,有什么替代方案? - Android 13 (SDK 33): Bundle.getSerializable(String) is deprecated, what is alternative? Android 13 (SDK 33):不推荐使用 PackageManager.getPackageInfo(String, int)。 有什么选择? - Android 13 (SDK 33): PackageManager.getPackageInfo(String, int) deprecated. what is the alternative? 如何在Mapbox Sdk中过滤标记 - How to filter markers in Mapbox Sdk HttpEntity现在在Android上被弃用了,还有什么选择? - HttpEntity is deprecated on Android now, what's the alternative? Android中不推荐使用的AbsoluteLayout替代品是什么? - What's alternative to deprecated AbsoluteLayout in Android? Android:StatusLine 现在已弃用,有什么替代方案? - Android: StatusLine now deprecated, what is the alternative? android中已弃用的cachemanager类的替代方法是什么? - what is the alternative for the deprecated cachemanager class in android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM