Please can anyone explain me how to Change the Marker Icon in Delphi for a android App?
My try don't work
s.Create(16, 16); //Image size
position.Latitude := mapview1.Location.Latitude;
position.Longitude := mapview1.Location.Longitude;
MyMarker := TMapMarkerDescriptor.Create(Position, 'MyMarker');
MyMarker.Draggable := True;
Mymarker.Icon := imagelist1.Bitmap(s,0);
MyMarker.Visible :=True;
Fmarkers.Add(MapView1.AddMarker(MyMarker));
Imagelist is a Timagelist on the form. added with a 16x16 image.
If i run my app, no marker is shown. do i comment // the line with the icon then all works fine but i have no custom marker icon.
i want a set of 4 different marker icons.
s
declared as? – MartynA