I have just seen a video in youtube.

I want use BubbleIconFactory in map v2, but BubbleIconFactory is showing as deprecated in eclipse.

I don't how to use this library.

有帮助吗?

解决方案

if you look into the source code - this class does nothing and indeed deprecated :) https://github.com/googlemaps/android-maps-utils/blob/master/library/src/com/google/maps/android/ui/BubbleIconFactory.java

package com.google.maps.android.ui;

/**
 * Use {@link IconGenerator} instead.
 */
@Deprecated
public class BubbleIconFactory {
}

I suppose you need to use equivalent to this class: IconGenerator

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top