how add marker in map ?
I encountered an error when adding a marker to the map.
RemoveAllRoutes;
RemoveMarker(1);
Mark.Latitude := Lat_;
Mark.Longitude:= Lng_;
Mark.Tag := 0;
Mark.clickable:= True;
Mark.draggable:= false;
Mark.animation:= maNone;
Mark.labelClass := 'mylabelInst';
Mark.labelVisible := false;
Mark.AddToCluster := True;
if not Ins_View.FieldByName('latitude').isnull then
begin
AddMarker(Mark,false);
SetCoord(Ins_View.FieldByName('latitude').Value,Ins_View.FieldByName('longitude').Value);
end;