如何在视图外谷歌地图Android版API V2手柄标志物 [英] How Google Maps Android API v2 handle markers outside the view are

查看:154
本文介绍了如何在视图外谷歌地图Android版API V2手柄标志物的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在CameraChange事件中,我添加新的标记到地图中,所以我想知道,如果当他们成为无形的相机移动,它们会自动删除。

During the CameraChange event I add new markers to the map, so I want to know if they are removed automatically when they become invisible as the camera has moved.

有没有人有这个信息?

推荐答案

你的意思是,标记去掉?如果是这样,答案是否定的,标记仍然是在地图上,即使关闭屏幕。

Do you mean, are markers removed when the map is panned such that the marker is no longer on the screen? If so, the answer is no, the markers are still "on the map" even when "off screen".

如果你想删除标记,因为它们移出地图,请参阅我的回答<一个href=\"http://stackoverflow.com/questions/13713066/google-maps-android-api-v2-very-slow-when-adding-lots-of-markers\">this问题

If you would like to remove markers as they are moved off the map, please see my answer to this question

这篇关于如何在视图外谷歌地图Android版API V2手柄标志物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆