Make Google Maps API Default Marker Smaller

1.9k views Asked by At

Im using Google Maps API in my app and placing a lot of markers on the map. I need to make the size of the markers smaller, so they won't cover the whole country.

Note that i gotta use the default marker BitmapDescriptorFactory.defaultMarker because i wrote an algo that defines the color of each marker group.

Thanks for the help in advance!

EDIT: I know there is a way to resize the marker by setting a custom Marker image, But i need to use the defualt marker,Therefore this topic is NOT duplicate

enter image description here

1

There are 1 answers

2
eli On

Follow these two steps down here:

  1. Replace the Default Google Map Marker with the Bitmap icon as explained here

  2. Then resize the particular Bitmap Icon in Activity as shown here.