公告
财富商城
积分规则
提问
发文
2019-06-23 18:35发布
We Are One
I have a custom image for Google Marker but another image i have to set on its background.
Is it possible to set background image of a map Marker?
From the answer of @Abx
You can add custom marker like that,
googleMap.addMarker(new MarkerOptions() .icon(BitmapDescriptorFactory.fromResource(R.drawable.ic_marker_me)) .anchor(0.5f, 1.0f) // Anchors the marker on the bottom left .position(new LatLng(latitude, longitude)));
Thanks to @Abx
Yes ,You can
Try this so question How to create a custom-shaped bitmap marker with Android map API v2
Also read this
最多设置5个标签!
From the answer of @Abx
You can add custom marker like that,
Thanks to @Abx
Yes ,You can
Try this so question How to create a custom-shaped bitmap marker with Android map API v2
Also read this