我正在使用谷歌地图实用程序库演示代码,并更改为使用毕加索进行图像加载.
我的问题是跟随捕获.
毕加索无法加载图像并使用占位符图像

放大和缩小后,刷新标记.可以加载图像

我的问题与谷歌地图V2延迟加载标记图像相同
但是我无法从答案得到帮助,我卡住了Bitmap bitmap = thumbCache.get(url);
我也尝试了毕加索onSuccess回调,但也对它感到厌烦.
下载URL图像完成后如何刷新制造商图标?我可以使用另一个URL图像加载器库.
/**
* Draws profile photos inside markers (using IconGenerator).
* When there are multiple people in the cluster, draw multiple photos (using MultiDrawable).
*/
private class PersonRenderer extends DefaultClusterRenderer<Person> {
private final IconGenerator mIconGenerator = new IconGenerator(getApplicationContext());
private final IconGenerator mClusterIconGenerator = new IconGenerator(getApplicationContext());
private final ImageView mImageView;
private final ImageView mClusterImageView;
private final int mDimension;
public PersonRenderer() {
super(getApplicationContext(), getMap(), mClusterManager);
View multiProfile = getLayoutInflater().inflate(R.layout.multi_profile, null); …Run Code Online (Sandbox Code Playgroud) android google-maps image google-maps-markers android-maps-v2