views:

888

answers:

3

I am using google map, displaying overlayitems on the google map.

To create balloon effect, i am using customize view and using geopoints with MapView.LayoutParams to display it at particular location.

overlayitem's icon and baloon both having same geopoint thats why they both are overriding eatch other.

I want to display baloon over the overlayitem icon look like it should point to the icon.

Follwing is my code

MapView.LayoutParams mapParams = new MapView.LayoutParams(MapView.LayoutParams.WRAP_CONTENT, MapView.LayoutParams.WRAP_CONTENT, mapEvent.getGeoPoint(), MapView.LayoutParams.BOTTOM_CENTER);

alt text

I want to display baloon like following please tell me should i decrease lat long to make it top ? or should i change the layout param.Bottom or what i tried different variation not working like following

alt text

A: 

well i wanted to do the same but your balloon for me is okay i just need to ad button in the balloon and when clicked will trigger an event

mikedroid
i found the solution for mine, you need any help ?
Faisal khan
A: 

in Question there is solution of it.

http://www.anddev.org/thread_error_in_ontap-t8252.html

Faisal khan
A: 

How you put this ballon over the item? Could you please share with me the way you used? [email protected]

Thanks in advance. BR

Danilo
look at this post http://www.anddev.org/thread_error_in_ontap-t8252.htmladd balloon over the map, when any item tap event called change x,y position of the bolloon and balloon contents.
Faisal khan