[英]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.