Question

Displaying total number as text for multiple pins at the same location in map in android

I have 5 images to display on same latitude and longitude.. so I want to give total number as text with one image.. and when I click on that image than display all 5 images in grid view... so how to display total number as text for multiple pins with the one pin at the same location?

a busy cat ![two muppets][1]

Was it helpful?

Solution

Here is my question and answer where u can dynamically number your pin's text. Check it and let me know if you need any help.

How to Create Dynamically numbered Pin Pointers on MapView?

OTHER TIPS

You can use BadgeView here and add Text over the ImageView and you can update the text of the Badge every time you get the update.

Pseudo code,

BadgeView badge = new BadgeView(mContext, your_image_view);
badgeViewCart.setText(updated_data);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top