Android Studio edit marker size

Hi everyone,

I have a problem relative to my Android Studio project.
Basically the app create thousend of marker on the google map, i want to use the default google marker but smaller, because that are too big.

I don’t want use other marker like png or vector xml becouse that are too heavy to load

How i can resize it?

this is my code to create marker:

marker = mMap.addMarker(new MarkerOptions()
.title(line[NomePlINT])
.position(latLng)
.icon(Palo)
.zIndex(1.0f)
);


Imported from GitHub discussion by @Giovanninho00 on 2024-01-03T11:53:13Z