The following code works on Windows but not on Android
Yes, LocalFileAccess is True
The image is a .png and is stored at location 'file://' + DocumentsPath(cSmallHouse);
If I do a FileExists( DocumentsPath(cSmallHouse)) on it returns true.
Any ideas.
for NO in FSelectedNearby do
begin
GMM := mapGoogle.Markers.Add;
GMM.Longitude := NO.Longitude;
GMM.Latitude := NO.Latitude;
GMM.IconURL := 'file://' + DocumentsPath(cSmallHouse);
GMM.AddOverlayView(NO.Marker);
GMM.Title := NO.OrderID.ToString;
OV := mapGoogle.AddOverlayView;
OV.Coordinate.Latitude := NO.Latitude;
OV.Coordinate.Longitude := NO.Longitude;
OV.Mode := omCoordinate;
OV.Text := NO.Overlay;
OV.Visible := False;
end;