开发者

Android Google map balloon over overlayitem

开发者 https://www.devze.com 2022-12-28 21:15 出处:网络
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 locatio

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);

Android Google map balloon over overlayitem

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 d开发者_JS百科ifferent variation not working like following

Android Google map balloon over overlayitem

0

精彩评论

暂无评论...
验证码 换一张
取 消