Domanda

I have an app which displays icons a user can place and add details to. Recently I noticed, when a User clicks one of the icons, it moves down slightly. Any suggestions welcome !

Before before click

After after click

È stato utile?

Soluzione

The problem was that in myItemizedOverlay, I had an onTap method which displayed information about the point including it's icon.

When opening the dialog, I used a reference to the icon which was placed on the map.

The solution was to create an entirely new icon (Drawable) and use that instead of the reference.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top