Sub MapFragment1_Ready
gmap = MapFragment1.GetMap
Private BitMap1 as BitMap = LoadBitmapResize(File.DirAssets, "smiley",25dip,25dip,True)
Private BitMap2 as BitMap = LoadBitmapResize(File.DirAssets, "smiley2",25dip,25dip,True)
Private m1 As Marker = gmap.AddMarker3(10, 30, "test", BitMap1)
m1.Snippet = "This is the snippet"
Private m2 As Marker = gmap.AddMarker3(10, 35, "test", BitMap2)
m2.Snippet = "This is the snippet"
End Sub
I have tried this code on a LG V20 and a Galaxy Tab A 10.1" and the markers were the same physical size.
I have also used GoogleMapsExtras with the same success. [I use GoogleMapsExtras to set the anchor to the centre of the marker]
Many thanks to Erel for his usual support.
Regards Roger