Description


The function opens the marker info window for the marker with selected marker-id (Marker.Index). Extra information can be passed via the HtmlText string.




Example


procedure Form1_Map1_OnMarkerClick (Sender: TObject; MarkerTitle: string; IdMarker: Integer; Latitude, Longitude: Double; MouseLeft, MouseRight, MouseMiddle: boolean);
begin
    Form1.Map1.CloseAllMarkersInfoWindow; // closes the previous info windows
    Form1.Map1.OpenMarkerInfoWindowHtml(IdMarker,'<b>'+ MarkerTitle + '<br>' + 'Lat : ' + floattostr(latitude)+ '<br>' + 'Lon : ' + floattostr(longitude) + '</b>');
end;