开发者

How to position the marker to the correct position?

How to position the marker to the correct position?

As you can see on my screenshot, the marker is placed beside of the correct coordinate position, how to make it placed on the correct position (in the center of the circle) ?

in my code :

Drawable icon = getResources().getDrawable(R.drawable.marker);
icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());

are the values on the setBounds() are the pos开发者_高级运维itions that i should change to move the marker? i've tried it but nothing changes so, how to fix the position?

thanks

i love stackoverflow, hehe :D


Maybe this will help, as I don't know how you are implementing it: http://developer.android.com/guide/tutorials/views/hello-mapview.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜